Created
October 5, 2017 13:39
-
-
Save mloc/d31686803b4dcd526a5d95bdbaf1ceb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define CONFIG_ITEM(set_id, item_type, item_id, default, desc) \ | |
/datum/config_set/set_id { \ | |
var/item_id; \ | |
} \ | |
/datum/config_builder/pop_items(list/l) { \ | |
. = ..(); \ | |
.[#set_id] += list(list(item_type, #item_id, default, desc)); \ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment