# Durability and Dying
###### tags: `combat`
## Durability
- Weapons and armor have durability
- How much durability do we want items to have?
- 8-12 deaths
- Weapons and amror same duraiblity
- Jewelry should not have durability
- Should different materials have different durabilities?
- No
- Persistence (look up previous discussions?)
- Just track deaths with item rather than durability lost
- Items lose durability on character death
- Should all applicable items or a random item(s) lose durability?
- All equipped items with durability lose durability
- Items can be repaired at a town
- What material (coins and related materials?) cost should be associated with repair?
- Materials for when repairing on own
- Coins for when paying NPC to repair equipment
- TODO: Eventually require that NPCs have necessary amterial to repair equipment when tracked/possible to query
- Crafting sprite and/or npc?
- Either, depending on repair items
- Items become less effective at lower durability
- Should the floor of utility be near-uselessness or actually useless?
- At 0 durability, items have `min + percentage of max`
- How quickly should items lose effectiveness as they become damaged?
- First set of deaths no effectiveness is lost, after drops of linearly
## Downed State
- When reduced to 0 HP, entities enter a downed state
- Should it be restricted to humanoids?
- Humanoids and things owned by humanoids (e.g. pets)
- How long before death (if any limit?)?
- Entities should be able to accept death and immediately die
- Static duration (e.g. 30 seconds)
- Should execution of downed creatures be allowed?
- Downed entities can be exectued
- Any damage is execution
- Decision on making a separate state wait until UX testing
- Should downed entities be able to do anything?
- Movement at 20%
- Maybe allow limited one handed tool use?
- When in a downed state, a creature can be restored by an ally
- Should it be free or require some item?
- Require a skill, in general combat, takes up ability slot
- Should being restored inflict any death penalties?
- No