User Tools

Site Tools


changelogs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

changelogs [2024/11/03 19:20] – created justinchangelogs [2024/11/03 19:25] (current) justin
Line 568: Line 568:
   * Fixed issue where conditional expressions in the Dialogue Editor would show the default expression in compact mode after saving and reopening the dialogue   * Fixed issue where conditional expressions in the Dialogue Editor would show the default expression in compact mode after saving and reopening the dialogue
   * Fixed issue where duplicating a "Display Choices" node in the Script Editor would use the "Assign Value" node for the copy instead of "Display Choices"   * Fixed issue where duplicating a "Display Choices" node in the Script Editor would use the "Assign Value" node for the copy instead of "Display Choices"
-  * Fixed issue where compound operators (+=, -=, *=, /=) were not working properly when used to modify the value of a custom numeric item property+  * Fixed issue where compound operators (+=, -=, *=, /%%=)%% were not working properly when used to modify the value of a custom numeric item property
   * Fixed issue where built-in entity properties were not being accepted when used with a local variable and the "==" operator in a conditional expression   * Fixed issue where built-in entity properties were not being accepted when used with a local variable and the "==" operator in a conditional expression
   * Fixed issue where names for items assigned to a container in the Map Editor would display as blank if a translations file didn't exist for the default locale   * Fixed issue where names for items assigned to a container in the Map Editor would display as blank if a translations file didn't exist for the default locale
Line 2620: Line 2620:
   * Updated scripting language to support comparison of entities with "==" and "!=" (example: if initiator == entity["xyz"] then ... end)   * Updated scripting language to support comparison of entities with "==" and "!=" (example: if initiator == entity["xyz"] then ... end)
   * Updated scripting language to support conditional expressions for a few functions that previously expected explicit "true" or "false" values   * Updated scripting language to support conditional expressions for a few functions that previously expected explicit "true" or "false" values
-  * Updated "Assign Value" visual script node to support compound operators (+=, -=, *=, /=)+  * Updated "Assign Value" visual script node to support compound operators (+=, -=, *=, /%%=)%%
   * Updated "Put Entity" scripting function to allow entity references (self, entity["xyz"], etc.) instead of just an entity ID   * Updated "Put Entity" scripting function to allow entity references (self, entity["xyz"], etc.) instead of just an entity ID
   * Updated "Put Entity" scripting function to allow player entity (will just call "Put Player" function behind the scenes)   * Updated "Put Entity" scripting function to allow player entity (will just call "Put Player" function behind the scenes)
Line 2676: Line 2676:
   * Added ability to check if a group contains a specific entity using the "contains" conditional operator (e.g. if group["xyz"] contains entity["abc"] then ... end)   * Added ability to check if a group contains a specific entity using the "contains" conditional operator (e.g. if group["xyz"] contains entity["abc"] then ... end)
   * Added ability to reference or modify a character's experience points in scripts (e.g. if player.xp > 1000 then ... end)   * Added ability to reference or modify a character's experience points in scripts (e.g. if player.xp > 1000 then ... end)
-  * Added ability to use compound assignment operators (+=, -=, *=, /=) in scripts (e.g. global.property["counter"] += 1, which adds 1 to the counter property)+  * Added ability to use compound assignment operators (+=, -=, *=, /%%=)%% in scripts (e.g. global.property["counter"] += 1, which adds 1 to the counter property)
   * Added ability to reference and modify character stats via scripting (e.g. player.stat["attack"], supported stats in this release include "hp", "max_hp", "xp", "attack", "defense", and "move_range")   * Added ability to reference and modify character stats via scripting (e.g. player.stat["attack"], supported stats in this release include "hp", "max_hp", "xp", "attack", "defense", and "move_range")
   * Added ability to reference tile entities in scripts by their coordinates (e.g. tile[0, 0, 0])   * Added ability to reference tile entities in scripts by their coordinates (e.g. tile[0, 0, 0])
changelogs.1730690416.txt.gz · Last modified: 2024/11/03 19:20 by justin