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 9: | Line 9: | ||
====Repeaters==== | ====Repeaters==== | ||
− | + | :5-tile 4-cart bumper: | |
{{diagram|spaces=yes|\ | {{diagram|spaces=yes|\ | ||
Line 53: | Line 53: | ||
− | + | : Weight-adjustable two-cart repeaters | |
Idea is simple: A light cart delivers periodic impacts to heavy cart on a track stop, only moving a bit. Once the heavy cart goes over the tile, it does a small ring over a pressure plate and returns to start. | Idea is simple: A light cart delivers periodic impacts to heavy cart on a track stop, only moving a bit. Once the heavy cart goes over the tile, it does a small ring over a pressure plate and returns to start. | ||
Line 94: | Line 94: | ||
− | + | : 1-cart 1200 (1 day) step repeater | |
Line 110: | Line 110: | ||
Of course, one could also easily rig 48 or 50-step repeater to 24/25 step counter, and possibly more compactly. | Of course, one could also easily rig 48 or 50-step repeater to 24/25 step counter, and possibly more compactly. | ||
− | + | : Simple powerless ternary counter | |
{{diagram|spaces=yes|\ | {{diagram|spaces=yes|\ | ||
Line 131: | Line 131: | ||
Relaying from a signal from this is a bit troublesome, though - one could link ╚ to a door and ╗ to a floodgate so that both are only open simultaneously for a time when one cart is keeping the door open, thus preventing it from closing before floodgate opens. | Relaying from a signal from this is a bit troublesome, though - one could link ╚ to a door and ╗ to a floodgate so that both are only open simultaneously for a time when one cart is keeping the door open, thus preventing it from closing before floodgate opens. | ||
− | ====Searcher==== | + | ====Scripts==== |
+ | |||
+ | =====Searcher===== | ||
HTML 5-tile 4 cart exhaustive searcher for above: https://pastebin.com/Yfik6tF2 | HTML 5-tile 4 cart exhaustive searcher for above: https://pastebin.com/Yfik6tF2 | ||
Line 138: | Line 140: | ||
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. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=====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. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=====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'' |