Internals
-
supported per save script folders
-
Items module: added createItem function
-
Sorted CMakeList for plugins and plugins/devel
-
diggingInvaders
no longer builds if plugin building is disabled -
EventManager
: EQUIPMENT_CHANGE now triggers for new units. New events::ON_REPORT UNIT_ATTACK UNLOAD INTERACTION
New Scripts
- lua/repeat-util: makes it easier to make things repeat indefinitely
- lua/syndrome-util: makes it easier to deal with unit syndromes
forum-dwarves
: helps copy df viewscreens to a filefull-heal
: fully heal a unitremove-wear
: removes wear from all items in the fortrepeat
: repeatedly calls a script or a plugin- ShowUnitSyndromes: shows syndromes affecting units and other relevant info
teleport
: teleports unitsdevel/print-args
fix/blood-del
: makes it so civs don't bring barrels full of blood ichor or goofix/feeding-timers
: reset the feeding timers of all unitsgui/hack-wish
: creates items out of any materialgui/unit-info-viewer
: displays information about unitsmodtools/add-syndrome
: add a syndrome to a unit or remove onemodtools/anonymous-script
: execute an lua script defined by a string. Useful for the*-trigger
scripts.modtools/force
: forces events: caravan, migrants, diplomat, megabeast, curiousbeast, mischievousbeast, flier, siege, nightcreaturemodtools/item-trigger
: triggers commands based on equipping, unequipping, and wounding units with itemsmodtools/interaction-trigger
: triggers commands when interactions happenmodtools/invader-item-destroyer
: destroys invaders' items when they diemodtools/moddable-gods
: standardized version of Putnam's moddable gods scriptmodtools/projectile-trigger
: standardized version of projectileExpansionmodtools/reaction-trigger
: trigger commands when custom reactions complete; replaces autoSyndromemodtools/reaction-trigger-transition
: a tool for converting mods from autoSyndrome to reaction-triggermodtools/random-trigger
: triggers random scripts that you registermodtools/skill-change
: for incrementing and setting skillsmodtools/spawn-flow
: creates flows, like mist or dragonfiremodtools/syndrome-trigger
: trigger commands when syndromes happenmodtools/transform-unit
: shapeshifts a unit, possibly permanently
Misc improvements
- new function in utils.lua for standardized argument processing
Removed
- digmat.rb: digFlood does the same functionality with less FPS impact
- invasionNow:
modtools/force
does it better - autoSyndrome replaced with
modtools/reaction-trigger
- syndromeTrigger replaced with
modtools/syndrome-trigger
- devel/printArgs plugin converted to
devel/print-args
- outsideOnly plugin replaced by
modtools/outside-only