disappearing_potion.xml
<items>
<item>
<key>disappearing_potion</key>
<name>Disappearing Potion</name>
<description>
A flask of cloudy, whitish liquid which seems to shimmer and sparkle even when perfectly still.
Drink this to vanish before your foes eyes and make a quick escape.
</description>
<type>Potion</type>
<icon>itemalchemy2_5</icon>
<sortKey>_potion21</sortKey>
<weight>0.5</weight>
<useSpeed>0</useSpeed>
<statusEffects>
<statusEffects>
<turns>7</turns>
<key>disappearing_potion</key>
<modifiers>
<modifiers>
<type>IsStealth</type>
<amount>1.0</amount>
</modifiers>
<modifiers>
<type>Vision</type>
<amount>-6.0</amount>
</modifiers>
</modifiers>
<triggers>
<triggers>
KEY remove_disappearing_potion1;
WHEN PlayerTrades;
THEN RemoveStatusEffect -> key:disappearing_potion, target:player;
</triggers>
<triggers>
KEY remove_disappearing_potion2;
WHEN PlayerAttacks;
THEN RemoveStatusEffect -> key:disappearing_potion, target:player;
</triggers>
</triggers>
</statusEffects>
</statusEffects>
<priceDetails>
<buy>120</buy>
<sell>40</sell>
<canTrade>true</canTrade>
</priceDetails>
<identifyInfo>
<identified>false</identified>
<unidentifiedItem>unidentified_potion_w050</unidentifiedItem>
<consumeText>You drink the unidentified potion. You disappear!</consumeText>
<identifyRecipe>disappearing_potion</identifyRecipe>
<identifyAbilities>alchemy_ability_identify</identifyAbilities>
</identifyInfo>
</item>
</items>