Skip to main content

Breaking Changes

https://github.com/Hub-OS/mod-upgrade-tool

0.28

  • field:reclaim_column(x) now requires a team: field:reclaim_column(x, team)
  • tile:set_team(team, direction) now requires direction

0.27

  • Lifetime.Battle now runs during time freeze, use Lifetime.ActiveBattle for the previous behavior
  • Renamed aux_prop:require_hit_flag() to aux_prop:require_hit_flags()
  • Removed entity:player_hit_state() and entity:player_move_state()
  • Flinch is now mutually exclusive with flinch-like statuses, such as paralyze and freeze
  • PLAYER_ animation prefix changed to CHARACTER_
  • PLAYER_SHOOTING renamed to CHARACTER_SHOOT
    • Related: PLAYER_SWORD has been renamed to CHARACTER_SWING in mods outside of the engine

0.25

  • blocks_flags and blocked_by fields in statuses, replaced by mutual_exclusions
  • Renamed defense_rule.can_block_func to defense_rule.defense_func
  • Renamed defense_rule.filter_statuses_func to defense_rule.filter_func
  • Renamed DefenseJudge to Defense

0.20

  • Renamed TileState.Hidden to TileState.Void
  • Renamed entity:tile_offset() to entity:movement_offset()
  • Split tile_state.change_request_func into tile_state.can_replace_func and tile_state.on_replace_func

0.17

0.13

0.12

  • Actions no longer revert to previous animation state on completion for non Players.
  • Renamed [tile:highlight()] to tile:set_highlight()
  • Renamed component Lifetimes to Lifetime
  • AuxProp increase_/decrease_ effects now add/subtract rather than set final values.

0.11

0.10

0.9

0.3

0.2

  • package_init and package_requires_scripts removed, replaced with package.toml
    • mods/blocks -> mods/augments
    • block:set_mutator() -> function augment_init(augment)
    • charge_boost + attack_boost + rapid_boost in package.toml for blocks
  • For battles: package_build -> battle_init
  • For characters: package_init -> character_init

0.1