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

47 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="" identifier="Holy_Hand_Grenade" category="Equipment" description="" maxstacksize="60" cargocontaineridentifier="explosivecrate" tags="smallitem,weapon,explosive,demolitionsexpert" scale="0.5" impactsoundtag="impact_metal_heavy">
<Price baseprice="750" soldeverywhere="false">
<Price locationtype="outpost" multiplier="1.35" sold="false" />
<Price locationtype="city" multiplier="1.25" minavailable="2" />
<Price locationtype="research" multiplier="1.25" sold="false" />
<Price locationtype="military" multiplier="0.9" minavailable="3" />
<Price locationtype="mine" multiplier="1.25" sold="false" />
</Price>
<Deconstruct time="10">
<RequiredItem identifier="uranium" />
<RequiredItem identifier="ic4block" />
<RequiredItem identifier="sonarbeacon" />
</Deconstruct>
<Fabricate suitablefabricators="fabricator" requiredtime="20">
<RequiredSkill identifier="weapons" level="60" />
<RequiredItem identifier="iron" amount="2" />
<RequiredItem identifier="uranium" />
<RequiredItem identifier="ic4block" />
<RequiredItem identifier="sonarbeacon" />
</Fabricate>
<InventoryIcon texture="%ModDir:tr_mod%/Holy_Hand_Grenade/Holy_Hand_Grenade.png" sourcerect="0,0,55,64" origin="0.5,0.5" />
<Sprite texture="%ModDir:tr_mod%/Holy_Hand_Grenade/Holy_Hand_Grenade.png" sourcerect="0,0,55,64" depth="0.55" origin="0.5,0.5" />
<Body radius="55" height="64" density="30" />
<ItemComponent characterusable="false">
<StatusEffect type="OnUse" target="This" Condition="-100.0" disabledeltatime="true" />
<StatusEffect type="OnBroken" target="This">
<sound file="%ModDir:tr_mod%/Holy_Hand_Grenade/Holy_Hand_Grenade.ogg" type="OnUse" range="10000" selectionmode="All" />
<Explosion range="1000.0" structuredamage="1000" ballastfloradamage="120" itemdamage="500" force="10" severlimbsprobability="1" decal="explosion" decalsize="0.5">
<Affliction identifier="bleeding" strength="200" />
<Affliction identifier="explosiondamage" strength="1600" />
<Affliction identifier="stun" strength="5" />
</Explosion>
<Remove />
</StatusEffect>
</ItemComponent>
<Throwable slots="Any,RightHand,LeftHand" holdpos="0,0" handle1="0,0" throwforce="4.0" msg="ItemMsgPickUpSelect">
<StatusEffect type="OnSecondaryUse" target="This" Condition="-100.0" delay="5.0" disabledeltatime="true" checkconditionalalways="true" />
</Throwable>
<Quality>
<QualityStat stattype="ExplosionRadius" value="0.75" />
<QualityStat stattype="ExplosionDamage" value="0.75" />
</Quality>
<Upgrade gameversion="0.9.3.0" scale="0.5" />
</Item>
</Items>