v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing User:Fleeting Frames
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 165: | Line 165: | ||
With no arguments, it waits until cart moves off the tile, then pauses the game and tells you which cart moved. | With no arguments, it waits until cart moves off the tile, then pauses the game and tells you which cart moved. | ||
− | With | + | With `cposchange flip` it waits until the cart returns to the tile. |
=====UnsuspendSelectedBuilding===== | =====UnsuspendSelectedBuilding===== | ||
Line 171: | Line 171: | ||
[[User:Fleeting_Frames/UnsuspendSelectedBuilding|UnsuspendSelectedBuilding.lua]] is a script that applies the idea of autounsuspend to single building selected; | [[User:Fleeting_Frames/UnsuspendSelectedBuilding|UnsuspendSelectedBuilding.lua]] is a script that applies the idea of autounsuspend to single building selected; | ||
− | giving an announcement on start, stop and completion; Intended to be used with keybinds such as | + | giving an announcement on start, stop and completion; Intended to be used with keybinds such as ''keybinding add Alt-S@dwarfmode/QueryBuilding/Some UnsuspendSelectedBuilding'' |
=====setwarning===== | =====setwarning===== | ||
Line 177: | Line 177: | ||
[[User:Fleeting_Frames/setwarning|setwarning.lua]] is a script for helping to save-scum migrants, caravans as well as catch other events (presently, gremlins and werebeasts, on account of not seeing any). | [[User:Fleeting_Frames/setwarning|setwarning.lua]] is a script for helping to save-scum migrants, caravans as well as catch other events (presently, gremlins and werebeasts, on account of not seeing any). | ||
− | As I play more than once a season, I set it to simply run once in | + | As I play more than once a season, I set it to simply run once in onMapLoad.init. |
====listexoticpreferences==== | ====listexoticpreferences==== | ||
Line 183: | Line 183: | ||
[[User:Fleeting_Frames/listexoticpreferences|lep.lua]] goes well with above, listing the names of all units who likes a whip, morningstar, longsword, two-handed sword, pike or great axe, for the purpose of weaponsmithing moods. | [[User:Fleeting_Frames/listexoticpreferences|lep.lua]] goes well with above, listing the names of all units who likes a whip, morningstar, longsword, two-handed sword, pike or great axe, for the purpose of weaponsmithing moods. | ||
− | Usage is slightly eased by having a command like | + | Usage is slightly eased by having a command like '':lua dfhack.timeout(30, 'frames', function() if (#(dfhack.run_command_silent('lep'))<123) then dfhack.run_command('die') else print("Found mooddorf") df.global.pause_state = true end end)'' in onMapLoad.init, where 123 would be number 1 greater than the current length of lep's output. |
====listobituary==== | ====listobituary==== | ||
Line 200: | Line 200: | ||
A lua [[User:Fleeting_Frames/selectSquads|script]] to select individuals with metal weapon (or bolts, when passed R as parameter) in squad menu. Future changes tbc. | A lua [[User:Fleeting_Frames/selectSquads|script]] to select individuals with metal weapon (or bolts, when passed R as parameter) in squad menu. Future changes tbc. | ||
+ | |||
+ | ====zoomToStop==== | ||
+ | |||
+ | A lua [[User:Fleeting_Frames/zoomToStop|script]] to enable player to zoom to stop or cart of a hauling route, as well as indicator for the same. Tested in 43.03; works off keybinds and dwarfmode.lua. For latter, [https://i.imgur.com/6EK5Sh7.png example ss]. | ||
===Bugfixing scripts=== | ===Bugfixing scripts=== | ||
Line 226: | Line 230: | ||
Like above, it runs once, intended to use with ``repeat -time 1 -timeUnits days -command [ fix/militarygearclaims -textlessifempty ] -name militarygearclaims``. Or could also use months instead of days. | Like above, it runs once, intended to use with ``repeat -time 1 -timeUnits days -command [ fix/militarygearclaims -textlessifempty ] -name militarygearclaims``. Or could also use months instead of days. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Script modifications=== | ===Script modifications=== | ||
Line 259: | Line 240: | ||
[[User:Fleeting_Frames/librarian|librarian.lua]] - edited to convert int to bitfield so it can work in 43.03 (higher game versions should use [https://github.com/PatrikLundell/scripts/blob/own_scripts/librarian.lua PatrikLundell's original]) | [[User:Fleeting_Frames/librarian|librarian.lua]] - edited to convert int to bitfield so it can work in 43.03 (higher game versions should use [https://github.com/PatrikLundell/scripts/blob/own_scripts/librarian.lua PatrikLundell's original]) | ||
− | |||
− | |||
− | |||
− |