- Finally added health, stamina, and charge bars for the player to the main UI.
- Adjusted vertical offset of the action button label to clear the new charge bar.
- Added net.lugdunon.ui.PlayerStatus to the client-side code base.
- Added game.playerStatus to the client-side API.
- net.lugdunon.command.core.console.LogConsoleCommand is now general purpose.
- Added stamina check to net.lugdunon.command.core.edit.PlaceItemCommand.
- Added stamina check to net.lugdunon.command.core.edit.UpdateSignCommand.
- Added stamina check to net.lugdunon.command.core.play.DamagePlaceableCommand.
- Added stamina check to net.lugdunon.command.core.play.ExtinguishFireCommand.
- Added stamina check to net.lugdunon.command.core.play.FillBucketCommand.
- Added stamina check to net.lugdunon.command.core.play.FillMugCommand.
- Added stamina check to net.lugdunon.command.core.play.MeleeWeaponSwingCommand.
- Added stamina check to net.lugdunon.command.core.play.PlaceSlateCommand.
- Added stamina check to net.lugdunon.command.core.play.PlaceTurfCommand.
- Added stamina check to net.lugdunon.command.core.play.RangedWeaponFireCommand.
- Added stamina check to net.lugdunon.command.core.play.ReturnToHomeCommand.
- Added stamina check to net.lugdunon.command.core.play.ThrowEggCommand.
- Added stamina check to net.lugdunon.command.core.play.TillEarthCommand.
- Added stamina check to net.lugdunon.command.core.play.UseShearsCommand.
- Added stamina check to net.lugdunon.command.core.spell.AssignSpellCommand.
- Added stamina check to net.lugdunon.command.core.spell.DirectDamageCommand.
- Added stamina check to net.lugdunon.command.core.spell.DirectHealCommand.
- Added stamina check to net.lugdunon.command.core.spell.DirectInterruptCommand.
- Added stamina check to net.lugdunon.command.core.spell.ModifierApplyCommand.
- Added stamina check to net.lugdunon.command.core.spell.ModifierDispelCommand.
- Added playerStatus hook to net.lugdunon.command.core.player.ChargeActionCommand.
- Added playerStatus hook to net.lugdunon.command.core.player.PlayerHealthCommand.
- Added playerStatus hook to net.lugdunon.command.core.player.PlayerStaminaCommand.
- Added net.lugdunon.state.character.advancement.ICharacterStats.STAMINA_MODIFY_CAUSE_TOOL_USE.
- Added net.lugdunon.state.character.advancement.ICharacterStats.STAMINA_MODIFY_CAUSE_WEAPON_USE.
- Removed net.lugdunon.state.character.advancement.ICharacterStats.STAMINA_MODIFY_CAUSE_ITEM_USE.
- Added net.lugdunon.state.character.advancement.ICharacterStats.satisfiesStaminaRequirement(Item item, int useType, boolean deduct) to the server-side API.
- Added net.lugdunon.state.character.advancement.ICharacterStats.getCurrentHealth() to the client-side API.
- Added net.lugdunon.state.character.advancement.ICharacterStats.getMaximumHealth() to the client-side API.
- Added net.lugdunon.state.character.advancement.ICharacterStats.getCurrentStamina() to the client-side API.
- Added net.lugdunon.state.character.advancement.ICharacterStats.getMaximumStamina() to the client-side API.
- Added net.lugdunon.state.item.ITEM.ITEM_USE_TOOL to server-side API.
- Added net.lugdunon.state.item.ITEM.ITEM_USE_WEAPON to server-side API.
Here's an example of the new player status bars in action:
