Version 3.05


  • New Actor properties:
    • numAdjacent: Returns the number of other characters in the area specified by the passed argument. Useful for AI code.
    • guarded: Returns true if the character is guarded by another character in the battle grid.
      • The "guarded" property used by the "Guarded" status effect has been renamed to areaImmune to avoid conflicts.
  • New Enemy properties:
    • actionsThisTurn: Returns the enemy's list from the actionsThisTurn object in the battle controller.
  • New Action properties:
    • delayHold: If true, character will be unable to act while the delayed action is charging.
    • delayMessage: Returns a message to be displayed at the top of rounds if the user is charging a delayed action. Set to null to display no message.
  • Delayed actions are now stored as Action objects rather than just their name. This is to more easily facilitate the behavior described above. The setupAction property is still a string.
  • Equipment can now cover multiple slots! Your dreams of giving your characters two-handed swords and three-piece suits can now be realized. To do this, define the item's slot property as a Set of the slots you want the item to cover rather than a string. A new item, the "Zweihander", has been added to the item database as an example. Credit to A Friendly Irin for providing this code.
  • Fixed an error in Enemy's validTarget function that prevented the guard check clause from behaving correctly.
  • Fixed an error that prevented actorBox from being used outside of battle due to it calling for the battle controller even when it didn't exist.
  • Removed the extra dead space between item entries in the equipment list.
  • Items in the equipment list are now displayed with the Item object's toString function for consistency with other items.
  • Effects' addText and removeText now take the entire character object as an argument, rather than just their name. This allows for more customizable messages.
  • Fixed a typo in the damage reflection code that prevented it from working correctly.
  • Updated the included Chapel macros bundle to be compatible with SugarCube 2.35.

Files

rpgengine source.zip 35 MB
Jul 17, 2021

Get Another RPG Engine

Leave a comment

Log in with itch.io to leave a comment.