u_has_items and u_sell_item do not recognize anesthetic in an anesthesia kit #55918
Labels
Mechanics: Effects / Skills / Stats
Effects / Skills / Stats
NPC / Factions
NPCs, AI, Speech, Factions, Ownership
Describe the bug
The anesthesia kit uses "ammo" instead of count or charges and is therefore not recognized by either
u_has_items
oru_sell_item
in dialogue conditions/effects. This probably affects other items that use ammo as well, but I haven't tested anything else.Steps to reproduce
"condition": { "u_has_items": { "item": "anesthetic", "count": 3000 } }
and effect to"effect": { "u_sell_item": "anesthetic", "count": 3000 }
I'm testing this on a new mission, so I don't believe there are any existing missions that do this.
Expected behavior
Anesthetic should be recognized in dialogue conditions and effects when it's in an anesthesia kit, just the same as in any other liquid container.
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: