Skip to content

Releases

v0.1.33

Choose a tag to compare

@dom111 dom111 released this 24 Nov 20:48
bc4ab1c
  • DelayedActionDefinition.action gets the loading game's BusyContext as action(unit, context), through the rebuilt Busy and the loading game's handler. A completion after a load can then write to that game's registries (#10, civ-clone/web-renderer#248).
  • BusyContext gains units, and documents reading other Game slots by name.

v0.1.32

Choose a tag to compare

@dom111 dom111 released this 15 Nov 10:33
59c055b
  • Combat and work seams: HitPoints/Firepower, lazy damage, CombatResolver, DefenderRank, Damaged, WorkRate (#9, civ-clone/web-renderer#1007, Civ2 M2b). No change in play.

v0.1.31

Choose a tag to compare

@dom111 dom111 released this 12 Nov 18:16
af67967
  • Unit traits: marker classes (some parameterised) declared per unit class as UnitTraits rules, queried with unit.hasTrait(T) / traits(T), hasTrait/traitsOf/traitCriterion; unitAction accepts trait classes. Never saved. Requires core-rule ^0.1.9 (#8, civ-clone/web-renderer#1008).

v0.1.30

Choose a tag to compare

@dom111 dom111 released this 12 Nov 13:50
c6950af

Unit#setCity(null) leaves a unit with no home city, as the constructor and transfer(player, null) already could (civ-clone/web-renderer#969). Nothing changes in a game until a ruleset uses it.

v0.1.29

Choose a tag to compare

@dom111 dom111 released this 24 Oct 15:26
7f5f677

UnitLoss and UnitLossRegistry: each player's losses by unit type, for the Military report (#6, civ-clone/web-renderer#405).

v0.1.28

Choose a tag to compare

@dom111 dom111 released this 20 Oct 13:11
91b1f2e

v0.1.27

Choose a tag to compare

@dom111 dom111 released this 12 Oct 19:47
fb97a8e

Adds a Strength rule type and strength(attacker, defender), for combat bonuses that depend on both units, such as terrain, City Walls and fortification (#4). For civ-clone/web-renderer#31.