This file contains hidden or 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
| -- changes from advmode to fort safely and back (hopefully) | |
| --[[Now to warn you about saving and loading in either game mode might lead | |
| to some side issues, for saving in fort mode switching to adv mode needs the adv to be `bodyswap` | |
| back in again. for Saving in Adv to switch to Fort mode you probably be safe-ish if the site. | |
| isn't a nano fort or a site that isn't 3x3 small. otherwise the game will try to resize the map. | |
| oh and switching to fort mode on any pre-gen site larger than 4x4 might implode one pc if | |
| you don't have like 20 gigs of memory for the 16x16 embark size. | |
| ok so this version of this script has be updated again so that caravans and visitors and migrants | |
| could show up at any edge of the map... and maybe leave from any spot... of the z level you assign the site too. |
This file contains hidden or 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
| //combined RTD and Killstreak+BUFFS by Rumrusher/ZaSpai | |
| //designed with partial Upgradeable Sentries (BassMakesPaste) compatibility | |
| //original killstreak plugin by Lorgan (original idea by Vindicator) | |
| //original rtd plugin by Lorgan | |
| //edits the following: Sentry creation, begin and end steps, Sentry and N+B HUDs, numerous Character events, StabMask collision with Sentry and Character. Adds alarm[8] to Sentry and Character | |
| //uses global.SerializeBuffer to sync new data. WILL CAUSE A HANG AND CRASH if you forget to take this plugin out when you join another server as client!!! | |
| //known issues: incorrect new sentry build HP with respect to sentryBuffStats (IDK how to reference the Character object of the owner player of sentry). Haven't checked the sentry gibs issue thing (I may need to sync its bolt gain value) | |
| //RTD mostly untouched apart from Rummy's inclusion of the Stomp attack for effect 16 | |
| //Now with Vindicators weapon mod thrown into the mix may god have mercy on our souls if this work. | |
| //kinda wigs out i |
This file contains hidden or 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
| //combined RTD and Killstreak+BUFFS by Rumrusher/ZaSpai | |
| //designed with partial Upgradeable Sentries (BassMakesPaste) compatibility | |
| //original killstreak plugin by Lorgan (original idea by Vindicator) | |
| //original rtd plugin by Lorgan | |
| //edits the following: Sentry creation, begin and end steps, Sentry and N+B HUDs, numerous Character events, StabMask collision with Sentry and Character. Adds alarm[8] to Sentry and Character | |
| //uses global.SerializeBuffer to sync new data. WILL CAUSE A HANG AND CRASH if you forget to take this plugin out when you join another server as client!!! | |
| //known issues: incorrect new sentry build HP with respect to sentryBuffStats (IDK how to reference the Character object of the owner player of sentry). Haven't checked the sentry gibs issue thing (I may need to sync its bolt gain value) | |
| //RTD mostly untouched apart from Rummy's inclusion of the Stomp attack for effect 16 | |
| object_event_add(Character,ev_create,0," |
This file contains hidden or 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
| -- allows to do jobs in adv. mode. | |
| keybinds={ | |
| nextJob={key="CUSTOM_B",desc="Next job in the list"}, | |
| prevJob={key="CUSTOM_V",desc="Previous job in the list"}, | |
| continue={key="A_WAIT",desc="Continue job if available"}, | |
| down_alt1={key="CUSTOM_CTRL_D",desc="Use job down"}, | |
| down_alt2={key="CURSOR_DOWN_Z_AUX",desc="Use job down"}, | |
| up_alt1={key="CUSTOM_CTRL_E",desc="Use job up"}, | |
| up_alt2={key="CURSOR_UP_Z_AUX",desc="Use job up"}, | |
| use_same={key="A_MOVE_SAME_SQUARE",desc="Use job at the tile you are standing"}, |
This file contains hidden or 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
| --show a list of 'spells' | |
| local dlg=require("gui.dialogs") | |
| function doNothing() | |
| print("doing nothing real good but here have a site") | |
| require("plugins.dfusion.adv_tools").addSite(nil,nil,nil,nil,nil,nil,df.global.world.units.active[0].civ_id) | |
| end | |
| function SummonSelf() | |
| for k,v in pairs(df.global.world.nemesis.all) do |