Files
barotrauma-localmods/tr_mod/Healing_Potion/Healing_Potion.xml
2025-04-13 10:56:23 +02:00

185 lines
12 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="" identifier="HP_Potion_S" category="Medical" description="" Tags="smallitem,medical" maxstacksize="60" cargocontaineridentifier="mediccrate" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light" RequireAimToUse="True">
<Price baseprice="200">
<Price locationtype="outpost" multiplier="1" minavailable="2" />
<Price locationtype="city" multiplier="0.9" minavailable="4" />
<Price locationtype="research" multiplier="0.9" minavailable="4" />
<Price locationtype="military" multiplier="1" minavailable="2" />
<Price locationtype="mine" multiplier="0.75" minavailable="2" />
</Price>
<Fabricate suitablefabricators="medicalfabricator" requiredtime="30" amount="1">
<RequiredSkill identifier="medical" level="40" />
<RequiredItem identifier="antibleeding1" />
<RequiredItem identifier="opium" />
<RequiredItem identifier="pomegrenadeextract" />
</Fabricate>
<InventoryIcon texture="%ModDir:tr_mod%/Healing_Potion/Lesser_Healing_Potion.png" sourcerect="0,0,40,52" origin="0.5,0.5" />
<Sprite texture="%ModDir:tr_mod%/Healing_Potion/Lesser_Healing_Potion.png" sourcerect="0,0,40,52" depth="0.6" origin="0.5,0.5" />
<Body width="40" height="52" density="20" />
<SuitableTreatment type="damage" suitability="100" />
<SuitableTreatment type="bleeding" suitability="100" />
<SuitableTreatment type="bloodloss" suitability="100" />
<SuitableTreatment type="burn" suitability="100" />
<MeleeWeapon canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="40,5" handle1="0,0" holdangle="10" reload="1.0" msg="ItemMsgPickUpSelect" HitOnlyCharacters="true">
<StatusEffect type="OnUse" target="This" Condition="-100.0" disabledeltatime="true" />
<StatusEffect tags="medical" type="OnUse" target="UseTarget" disabledeltatime="true">
<Sound file="%ModDir:tr_mod%/Healing_Potion/drink.ogg" range="500" />
<ReduceAffliction type="damage" amount="100" />
<ReduceAffliction type="bleeding" amount="100" />
<ReduceAffliction type="bloodloss" amount="100" />
<ReduceAffliction type="burn" amount="100" />
</StatusEffect>
<StatusEffect type="OnUse" target="UseTarget" disabledeltatime="true" multiplyafflictionsbymaxvitality="true">
<Affliction identifier="Potion_Sickness" amount="60" />
</StatusEffect>
<StatusEffect type="OnBroken" target="This">
<Remove />
</StatusEffect>
</MeleeWeapon>
<Upgrade gameversion="0.10.0.0" scale="0.5" />
</Item>
<Item name="" identifier="HP_Potion_M" category="Medical" description="" Tags="smallitem,medical" maxstacksize="60" cargocontaineridentifier="mediccrate" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light" RequireAimToUse="True">
<Price baseprice="300" minleveldifficulty="40">
<Price locationtype="outpost" multiplier="1" minavailable="1" />
<Price locationtype="city" multiplier="0.9" minavailable="2" />
<Price locationtype="research" multiplier="0.9" minavailable="2" />
<Price locationtype="military" multiplier="1" minavailable="1" />
<Price locationtype="mine" multiplier="0.75" minavailable="1" />
</Price>
<Fabricate suitablefabricators="medicalfabricator" requiredtime="30" amount="1">
<RequiredSkill identifier="medical" level="40" />
<RequiredItem identifier="antibleeding2" />
<RequiredItem identifier="antidama1" />
<RequiredItem identifier="stabilozine" />
</Fabricate>
<InventoryIcon texture="%ModDir:tr_mod%/Healing_Potion/Healing_Potion.png" sourcerect="0,0,40,52" origin="0.5,0.5" />
<Sprite texture="%ModDir:tr_mod%/Healing_Potion/Healing_Potion.png" sourcerect="0,0,40,52" depth="0.6" origin="0.5,0.5" />
<Body width="40" height="52" density="20" />
<SuitableTreatment type="damage" suitability="200" />
<SuitableTreatment type="bleeding" suitability="200" />
<SuitableTreatment type="bloodloss" suitability="200" />
<SuitableTreatment type="burn" suitability="200" />
<MeleeWeapon canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="40,5" handle1="0,0" holdangle="10" reload="1.0" msg="ItemMsgPickUpSelect" HitOnlyCharacters="true">
<StatusEffect type="OnUse" target="This" Condition="-100.0" disabledeltatime="true" />
<StatusEffect tags="medical" type="OnUse" target="UseTarget" disabledeltatime="true">
<Sound file="%ModDir:tr_mod%/Healing_Potion/drink.ogg" range="500" />
<ReduceAffliction type="damage" amount="200" />
<ReduceAffliction type="bleeding" amount="200" />
<ReduceAffliction type="bloodloss" amount="200" />
<ReduceAffliction type="burn" amount="200" />
</StatusEffect>
<StatusEffect type="OnUse" target="UseTarget" disabledeltatime="true" multiplyafflictionsbymaxvitality="true">
<Affliction identifier="Potion_Sickness" amount="60" />
</StatusEffect>
<StatusEffect type="OnBroken" target="This">
<Remove />
</StatusEffect>
</MeleeWeapon>
<Upgrade gameversion="0.10.0.0" scale="0.5" />
</Item>
<Item name="" identifier="HP_Potion_L" category="Medical" description="" Tags="smallitem,medical" maxstacksize="60" cargocontaineridentifier="mediccrate" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light" RequireAimToUse="True">
<Price baseprice="500" minleveldifficulty="70">
<Price locationtype="outpost" multiplier="1" minavailable="1" />
<Price locationtype="city" multiplier="0.9" minavailable="2" />
<Price locationtype="research" multiplier="0.9" minavailable="2" />
<Price locationtype="military" multiplier="1" minavailable="1" />
<Price locationtype="mine" multiplier="0.75" minavailable="1" />
</Price>
<Fabricate suitablefabricators="medicalfabricator" requiredtime="30" amount="1">
<RequiredSkill identifier="medical" level="40" />
<RequiredItem identifier="antibleeding3" />
<RequiredItem identifier="antibloodloss2" />
<RequiredItem identifier="antidama2" />
</Fabricate>
<InventoryIcon texture="%ModDir:tr_mod%/Healing_Potion/Greater_Healing_Potion.png" sourcerect="0,0,40,52" origin="0.5,0.5" />
<Sprite texture="%ModDir:tr_mod%/Healing_Potion/Greater_Healing_Potion.png" sourcerect="0,0,40,52" depth="0.6" origin="0.5,0.5" />
<Body width="40" height="52" density="20" />
<SuitableTreatment type="damage" suitability="400" />
<SuitableTreatment type="bleeding" suitability="400" />
<SuitableTreatment type="bloodloss" suitability="400" />
<SuitableTreatment type="burn" suitability="400" />
<MeleeWeapon canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="40,5" handle1="0,0" holdangle="10" reload="1.0" msg="ItemMsgPickUpSelect" HitOnlyCharacters="true">
<StatusEffect type="OnUse" target="This" Condition="-100.0" disabledeltatime="true" />
<StatusEffect tags="medical" type="OnUse" target="UseTarget" disabledeltatime="true">
<Sound file="%ModDir:tr_mod%/Healing_Potion/drink.ogg" range="500" />
<ReduceAffliction type="damage" amount="400" />
<ReduceAffliction type="bleeding" amount="400" />
<ReduceAffliction type="bloodloss" amount="400" />
<ReduceAffliction type="burn" amount="400" />
</StatusEffect>
<StatusEffect type="OnUse" target="UseTarget" disabledeltatime="true" multiplyafflictionsbymaxvitality="true">
<Affliction identifier="Potion_Sickness" amount="60" />
</StatusEffect>
<StatusEffect type="OnBroken" target="This">
<Remove />
</StatusEffect>
</MeleeWeapon>
<Upgrade gameversion="0.10.0.0" scale="0.5" />
</Item>
<Item name="" identifier="Horn_o_plenty" category="Medical" description="" Tags="smallitem,medical" maxstacksize="60" cargocontaineridentifier="mediccrate" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light" RequireAimToUse="True">
<Price baseprice="24000" minleveldifficulty="70">
<Price locationtype="outpost" multiplier="1" minavailable="1" />
<Price locationtype="city" multiplier="0.9" minavailable="2" />
<Price locationtype="research" multiplier="0.9" minavailable="2" />
<Price locationtype="military" multiplier="1" minavailable="1" />
<Price locationtype="mine" multiplier="0.75" minavailable="1" />
</Price>
<Fabricate suitablefabricators="medicalfabricator" requiredtime="30" amount="1">
<RequiredSkill identifier="medical" level="90" />
<RequiredItem identifier="HP_Potion_L" />
<RequiredItem identifier="HP_Potion_L" />
<RequiredItem identifier="HP_Potion_L" />
<RequiredItem identifier="HP_Potion_L" />
<RequiredItem identifier="HP_Potion_L" />
<RequiredItem identifier="HP_Potion_L" />
<RequiredItem identifier="HP_Potion_L" />
<RequiredItem identifier="HP_Potion_L" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
<RequiredItem identifier="Life_Crystal" />
</Fabricate>
<InventoryIcon texture="%ModDir:tr_mod%/Healing_Potion/Horn_o_plenty.png" sourcerect="0,0,128,112" origin="0.5,0.5" />
<Sprite texture="%ModDir:tr_mod%/Healing_Potion/Horn_o_plenty.png" sourcerect="0,0,128,112" depth="0.6" origin="0.5,0.5" />
<Body width="128" height="112" density="20" />
<SuitableTreatment type="damage" suitability="100" />
<SuitableTreatment type="bleeding" suitability="100" />
<SuitableTreatment type="bloodloss" suitability="100" />
<SuitableTreatment type="burn" suitability="100" />
<SuitableTreatment type="paralysis" suitability="100" />
<SuitableTreatment type="poison" suitability="100" />
<SuitableTreatment type="radiationsickness" suitability="100" />
<SuitableTreatment type="infection" suitability="100" />
<MeleeWeapon canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="40,5" handle1="0,0" holdangle="10" reload="1.0" msg="ItemMsgPickUpSelect" HitOnlyCharacters="true">
<StatusEffect tags="medical" type="OnUse" target="UseTarget" disabledeltatime="true">
<Sound file="%ModDir:tr_mod%/Healing_Potion/drink.ogg" range="500" />
<ReduceAffliction type="damage" amount="100" />
<ReduceAffliction type="bleeding" amount="100" />
<ReduceAffliction type="bloodloss" amount="100" />
<ReduceAffliction type="burn" amount="100" />
<ReduceAffliction type="stun" amount="100" />
<ReduceAffliction type="paralysis" amount="100" />
<ReduceAffliction type="poison" amount="100" />
<ReduceAffliction type="radiationsickness" amount="100" />
<ReduceAffliction type="infection" amount="100" />
</StatusEffect>
<StatusEffect type="OnUse" target="UseTarget" disabledeltatime="true" multiplyafflictionsbymaxvitality="true">
<Affliction identifier="Potion_Sickness" amount="60" />
</StatusEffect>
</MeleeWeapon>
<Upgrade gameversion="0.10.0.0" scale="0.5" />
</Item>
</Items>