Created
October 25, 2013 12:10
-
-
Save Rumrusher/7153674 to your computer and use it in GitHub Desktop.
for fort mode though I couldn't find a good way to add military with this so you have to wing it
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
| function addaciv() | |
| local testciv=df.global.world.entities.all | |
| --df.viewscreen_choose_start_sitest.available_civs:insert("#",{new=df.global.world.entities.all,112}) | |
| --require("utils").insert_sorted(df..available_civs,df.global.world.entities.all[1],"id") | |
| require("utils").insert_sorted(dfhack.gui.getCurViewscreen().parent.available_civs,df.global.world.entities.all[112],"id") | |
| require("utils").insert_sorted(dfhack.gui.getCurViewscreen().parent.available_civs,df.global.world.entities.all[302],"id") | |
| require("utils").insert_sorted(dfhack.gui.getCurViewscreen().parent.available_civs,df.global.world.entities.all[234],"id") | |
| require("utils").insert_sorted(dfhack.gui.getCurViewscreen().parent.available_civs,df.global.world.entities.all[134],"id") | |
| require("utils").insert_sorted(dfhack.gui.getCurViewscreen().parent.available_civs,df.global.world.entities.all[32],"id") | |
| require("utils").insert_sorted(dfhack.gui.getCurViewscreen().parent.available_civs,df.global.world.entities.all[274],"id") | |
| require("utils").insert_sorted(dfhack.gui.getCurViewscreen().parent.available_civs,df.global.world.entities.all[47],"id") | |
| require("utils").insert_sorted(dfhack.gui.getCurViewscreen().parent.available_civs,df.global.world.entities.all[16],"id") | |
| require("utils").insert_sorted(dfhack.gui.getCurViewscreen().parent.local_sites,df.global.world.world_data.sites[747],"id") | |
| require("utils").insert_sorted(dfhack.gui.getCurViewscreen().parent.available_civs,df.global.world.entities.all[427],"id") | |
| --require("utils").insert_sorted(dfhack.gui.getCurViewscreen().viewscreen_choose_start_sitest.available_civs,df.global.world.entities.all[1],"id") | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment