Devlogs
Version 1.18
- NEW FEATURE: Equipment locking. If you set the
lockEquipment
attribute on a Puppet, the player will be unable to change their equipment. Note that you can still alter their equipment through manual equip
and unequip
executions.
- Specific equipment can also be locked. If its
sticky
attribute is truthy, you can put it on, but you can't take it off! Perfect for cursed items and the like.
- The equip-from-inventory screen is now neater, with characters who can't equip the selected item not appearing at all.
- Color of Defeat is now restricted to Artist, purely for ease of testing the restriction mechanic.
- It should no longer be possible to bypass an equipment restriction by equipping the item from the inventory screen.
- Character names should no longer disappear when listed in the inventory screen.
checkRestriction
has been reversed, and is now called on an Actor with an Item as an argument. The Item-centric version still exists, but will be depreciated.
- You can now hide specific core stats, preventing them from being displayed in the menu or status pane. To do so, add the stat name to the
setup.hiddenStats
variable in stat class.js
.
- Renamed the
inv
variable to inventory
for clarity. The shorthand inv()
still works.
- Moved the definition for
V
to support functions.
- Reorganized the code for the party menu to be a bit easier to use. Stat display code is now standardized to one template passage, and
equipmentlist
is now a passage rather than a widget.