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 138: | Line 138: | ||
Can only expect relative accuracy (exact or off-by-as-much-as-six, depending on build order) for inelastic collisions. Since carts, notably the corner cart, can have remaining slow speed, this means using carts whose weight ratio is more than 2. On the other hand, looking only them is much faster. | Can only expect relative accuracy (exact or off-by-as-much-as-six, depending on build order) for inelastic collisions. Since carts, notably the corner cart, can have remaining slow speed, this means using carts whose weight ratio is more than 2. On the other hand, looking only them is much faster. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Scripts=== | ===Scripts=== | ||
− | |||
− | |||
− | |||
− | |||
=====Copystockpilelinks===== | =====Copystockpilelinks===== | ||
Line 165: | Line 150: | ||
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 156: | ||
[[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 162: | ||
[[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===== |
[[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. |
− | ==== | + | ====listorbituary==== |
− | [[User:Fleeting_Frames/ | + | [[User:Fleeting_Frames/listorbituary|listorbituary.lua]] - allows displaying and exporting csv of death dates. Requires gui/indicator-screen. [[https://i.imgur.com/OffHH7j.png|Example image made using csv]]. |
====assigndeathdate==== | ====assigndeathdate==== | ||
[[User:Fleeting_Frames/assigndeathdate|assigndeathdate.lua]] - allows assigning butchered deathdate to a unit who doesn't have death record. Will crash on save. | [[User:Fleeting_Frames/assigndeathdate|assigndeathdate.lua]] - allows assigning butchered deathdate to a unit who doesn't have death record. Will crash on save. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Bugfixing scripts=== | ===Bugfixing scripts=== | ||
− | These scripts are intended to fix various bugs | + | These scripts go into hack/scripts/fix folder and are intended to fix various bugs. |
=====fix/wheelbarrow-stuckinside===== | =====fix/wheelbarrow-stuckinside===== | ||
− | [[User:Fleeting_Frames/wheelbarrow-stuckinside|wheelbarrow-stuckinside.lua]] is a script for solving {{Bug|6074}} | + | [[User:Fleeting_Frames/wheelbarrow-stuckinside|wheelbarrow-stuckinside.lua]] is a script for solving {{Bug|6074}}. |
− | Runs once, | + | Runs once, I apply with ''repeat -time 1 -timeUnits days -command [ fix/wheelbarrow-stuckinside ] -name wheelbarrowstuckinside'' in onMapLoad.init |
=====fix/pathchain===== | =====fix/pathchain===== | ||
− | [[User:Fleeting_Frames/pathchain|pathchain.lua]] is a script for solving {{Bug|10564}} | + | [[User:Fleeting_Frames/pathchain|pathchain.lua]] is a script for solving {{Bug|10564}}. |
− | + | Like above, runs once, for use ''repeat -time 1 -timeUnits days -command [ fix/pathchain ] -name pathchain'' | |
=====fix/militarygearclaims===== | =====fix/militarygearclaims===== | ||
Line 225: | Line 202: | ||
Unlike above, has many options, including removing forbidden items from inventory as well as just text output or targeting one unit. | Unlike above, has many options, including removing forbidden items from inventory as well as just text output or targeting one unit. | ||
− | Like above, | + | Like above, 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 255: | Line 209: | ||
[[User:Fleeting_Frames/sort-units|units.lua]] - allows sorting units by death date for sort-units | [[User:Fleeting_Frames/sort-units|units.lua]] - allows sorting units by death date for sort-units | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |