commands.push_back(PluginCommand("memview","Shows memory in real time. Params: adrr length refresh_rate. If addr==0 then stop viewing",memview));
commands.push_back(PluginCommand("memview","Shows DF memory in real time.",memview,false,"Showsmemory in real time.\nParams: adrr length refresh_rate. If addr==0 then stop viewing."));
" Designates layerstone under the cursor for digging.\n"
" Designates layerstone under the cursor for digging.\n"
" Also follows the stone between z-levels with stairs, like 'digl x' would.\n"
" Also follows the stone between z-levels with stairs, like 'digl x' would.\n"
));
));
commands.push_back(PluginCommand("digexp","Select or designate an exploratory pattern. Use 'digexp ?' for help.",digexp));
commands.push_back(PluginCommand("digexp","Select or designate an exploratory pattern.",digexp));
commands.push_back(PluginCommand("digcircle","Dig designate a circle (filled or hollow) with given diameter.",digcircle));
commands.push_back(PluginCommand("digcircle","Dig designate a circle (filled or hollow)",digcircle));
//commands.push_back(PluginCommand("digauto","Mark a tile for continuous digging.",autodig));
//commands.push_back(PluginCommand("digauto","Mark a tile for continuous digging.",autodig));
commands.push_back(PluginCommand("digtype","Dig all veins of a given type.",digtype,Gui::cursor_hotkey,
commands.push_back(PluginCommand("digtype","Dig all veins of a given type.",digtype,Gui::cursor_hotkey,
"For every tile on the map of the same vein type as the selected tile, this command designates it to have the same designation as the selected tile. If the selected tile has no designation, they will be dig designated.\n"
"For every tile on the map of the same vein type as the selected tile, this command designates it to have the same designation as the selected tile. If the selected tile has no designation, they will be dig designated.\n"
commands.push_back(PluginCommand("tiletypes","Paint map tiles freely, similar to liquids.",df_tiletypes,true));
commands.push_back(PluginCommand("tiletypes","Paint map tiles freely, similar to liquids.",df_tiletypes,true));
commands.push_back(PluginCommand("tiletypes-command","Run the given commands (seperated by ' ; '; an empty command is the same as run).",df_tiletypes_command));
commands.push_back(PluginCommand("tiletypes-command","Run tiletypes commands (seperated by ' ; ')",df_tiletypes_command));
commands.push_back(PluginCommand("tiletypes-here","Use the last settings from tiletypes, including brush, at cursor location.",df_tiletypes_here));
commands.push_back(PluginCommand("tiletypes-here","Repeat tiletypes command at cursor (with brush)",df_tiletypes_here));
commands.push_back(PluginCommand("tiletypes-here-point","Use the last settings from tiletypes, not including brush, at cursor location.",df_tiletypes_here_point));
commands.push_back(PluginCommand("tiletypes-here-point","Repeat tiletypes command at cursor (without brush)",df_tiletypes_here_point));
commands.push_back(PluginCommand("workNow","makes dwarves look for jobs whever they finish one, or every time you pause",workNow,false,"When workNow is active, every time the game pauses, DF will make dwarves perform any appropriate available jobs. This includes when you one step through the game using the pause menu. When workNow is in mode 2, it will make dwarves look for jobs every time a job completes.\n"
commands.push_back(PluginCommand("workNow","Don't allow dwarves to idle if any jobs are available",workNow,false,"When workNow is active, every time the game pauses, DF will make dwarves perform any appropriate available jobs. This includes when you one step through the game using the pause menu. When workNow is in mode 2, it will make dwarves look for jobs every time a job completes.\n"
-- Originally created by warmist, edited by Putnam for the dragon ball mod to be used in reactions, modified by Dirst for use in The Earth Strikes Back mod, incorporating fixes discovered by Boltgun then Mifiki wrote the bit where it switches to arena mode briefly to do some of the messy work, then Expwnent combined that with the old script to make it function for histfigs
-- Originally created by warmist, edited by Putnam for the dragon ball mod to be used in reactions, modified by Dirst for use in The Earth Strikes Back mod, incorporating fixes discovered by Boltgun then Mifiki wrote the bit where it switches to arena mode briefly to do some of the messy work, then Expwnent combined that with the old script to make it function for histfigs
-- trigger commands based on attacks with certain items
--author expwnent
--author expwnent
--based on itemsyndrome by Putnam
--based on itemsyndrome by Putnam
--triggers scripts when a unit attacks another with a weapon type, a weapon of a particular material, or a weapon contaminated with a particular material, or when a unit equips/unequips a particular item type, an item of a particular material, or an item contaminated with a particular material
--triggers scripts when a unit attacks another with a weapon type, a weapon of a particular material, or a weapon contaminated with a particular material, or when a unit equips/unequips a particular item type, an item of a particular material, or an item contaminated with a particular material