Add panacea status cure item

This commit is contained in:
2026-06-18 10:02:57 +09:00
parent 23642a14e1
commit dcf45a3cd1
15 changed files with 35 additions and 16 deletions

View File

@@ -302,18 +302,21 @@ Items start as static bonuses and consumable effects. Equipment leveling should
Weapon `range` also uses `[min, max]`. When class and equipment both provide range, the runtime unit keeps the lowest minimum and highest maximum. Accessories use `kind: "accessory"` with an `accessory_type` checked against the class `equipment_slots.accessory` list; `war_drum` and `imperial_seal` are the first branch-choice accessory rewards. Current equipment inventory is stackable stock only; unique equipment instances, durability, and enhancement are planned later. `war_axe` is a stronger axe reward for the Warrior/Bandit weapon family.
Consumables use `kind: "consumable"` with effect records. `heal_hp` restores HP, `heal_mp` restores MP, and `cure_status` removes matching damage-over-time status effects from a valid target; `Bean`, `Wine`, and `Antidote` are the first examples. Item use consumes the acting unit's action and only commits to the save file on victory. Weapons, armor, and accessories can be granted through `rewards.items`; they are shown in inventory, can be equipped through the Equip menu before the unit moves or acts, and are not usable from the battle item menu.
Consumables use `kind: "consumable"` with effect records. `heal_hp` restores HP, `heal_mp` restores MP, and `cure_status` removes active battle-only effects with a matching `status` from a valid target; `Bean`, `Wine`, `Antidote`, and `Panacea` are the first examples. Item use consumes the acting unit's action and only commits to the save file on victory. Weapons, armor, and accessories can be granted through `rewards.items`; they are shown in inventory, can be equipped through the Equip menu before the unit moves or acts, and are not usable from the battle item menu.
```json
{
"antidote": {
"name": "Antidote",
"panacea": {
"name": "Panacea",
"kind": "consumable",
"target": "ally",
"range": [0, 1],
"uses": 1,
"effects": [{ "type": "cure_status", "status": "poison" }],
"price": 70
"effects": [
{ "type": "cure_status", "status": "poison" },
{ "type": "cure_status", "status": "seal" }
],
"price": 140
}
}
```