<drop>
Tag DocumentationThe <drop>
tag is used to discard an item, spell, or herb from the player’s inventory in The Seven Spells of Destruction. This tag can appear in a paragraph and will remove the specified item from the player’s possession when encountered.
<drop Item Name>
"DISCARD"
achievement check for analytics or rewards.<drop Rusty Sword>
This would discard the item “Rusty Sword” from the player’s inventory, spell list, or herb pouch, if present.
>
character.In code, the tag extracts the item name, removes the closing angle bracket, and then performs the following:
drop_possession
drop_spell
drop_herb
It finally performs an achievement_check
for the "DISCARD"
achievement, with the item’s name as context.