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

100 lines
7.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="" identifier="The_Anomalys_Nanogun" category="Weapon" cargocontaineridentifier="metalcrate" allowasextracargo="true" tags="mediumitem,weapon,gun,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_heavy">
<Price baseprice="900" sold="false">
<Price storeidentifier="merchantoutpost" multiplier="1.5" />
<Price storeidentifier="merchantcity" multiplier="1.25" />
<Price storeidentifier="merchantresearch" multiplier="1.25" />
<Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="1" maxavailable="2" sold="true">
<Price storeidentifier="merchantmine" multiplier="1.25" />
</Price>
<Deconstruct time="10">
<Item identifier="copper" />
<Item identifier="plastic" />
<Item identifier="lead" />
<Item identifier="titaniumaluminiumalloy" />
<Item identifier="fulgurium" />
</Deconstruct>
<Fabricate suitablefabricators="fabricator" requiredtime="70" requiresrecipe="true">
<RequiredSkill identifier="electrical" level="65" />
<RequiredItem identifier="fpgacircuit" />
<RequiredItem identifier="lead" amount="2"/>
<RequiredItem identifier="titaniumaluminiumalloy" amount="2" />
<RequiredItem identifier="fulgurium" amount="2" />
</Fabricate>
<InventoryIcon texture="%ModDir:tr_mod%/The_Anomalys_Nanogun/The_Anomalys_Nanogun.png" sourcerect="0,0,204,88" origin="0.5,0.5" />
<Sprite texture="%ModDir:tr_mod%/The_Anomalys_Nanogun/The_Anomalys_Nanogun.png" sourcerect="0,0,204,88" depth="0.55" origin="0.5,0.5" />
<Body width="204" height="88" density="25" />
<Holdable slots="RightHand+LeftHand" controlpose="true" holdpos="60,-15" aimpos="70,4" handle1="-50,-10" handle2="10,-3" holdangle="-25" />
<RangedWeapon reload="1.7" holdtrigger="true" barrelpos="118,14" spread="0" unskilledspread="10" combatPriority="80" drawhudwhenequipped="true" crosshairscale="0.2" maxchargetime="0.63">
<Crosshair texture="Content/Items/Weapons/Crosshairs.png" sourcerect="0,256,256,256" />
<CrosshairPointer texture="Content/Items/Weapons/Crosshairs.png" sourcerect="256,256,256,256" />
<ParticleEmitter particle="FlareBubbles" scalemin="1.4" scalemax="1.8" particleamount="14" anglemin="0" anglemax="360" velocitymin="0" velocitymax="50"/>
<ParticleEmitter particle="pulselasermist" particleamount="30" anglemin="-10" anglemax="10" scalemin="1" scalemax="1" distancemin="0" distancemax="250" velocitymin="0" velocitymax="100" />
<ParticleEmitter particle="GlowDot" scalemin="4.0" scalemax="4.0" particleamount="20" anglemin="0" anglemax="360" velocitymin="0" velocitymax="0" colormultiplier="255,0,0,255" />
<ParticleEmitterCharge particle="chargepulselaser" particlespersecond="60" scalemin="1.0" scalemax="1.0" anglemax="360" />
<Sound file="%ModDir:tr_mod%/The_Anomalys_Nanogun/nano_laser.ogg" type="OnUse" range="3000" selectionmode="Random" />
<ChargeSound file="%ModDir:tr_mod%/The_Anomalys_Nanogun/nano_charge.ogg" range="1000" />
<StatusEffect type="OnUse">
<Explosion range="150.0" force="3" shockwave="false" smoke="false" flash="true" sparks="false" flames="false" underwaterbubble="false" camerashake="6.0" />
</StatusEffect>
<StatusEffect type="OnUse" target="Contained">
<Use />
</StatusEffect>
<StatusEffect type="OnUse" target="This" reload="0.4" setvalue="true" delay="0.4" />
<StatusEffect type="OnUse" target="This" reload="0.6" setvalue="true" delay="0.6" />
<StatusEffect type="OnUse" target="This" reload="0.8" setvalue="true" delay="0.8" />
<StatusEffect type="OnUse" target="This" reload="1.0" setvalue="true" delay="1.0" />
<RequiredItems items="pulselaserammobox" type="Contained" msg="ItemMsgAmmoRequired" />
<RequiredSkill identifier="weapons" level="25" />
<RequiredSkill identifier="electrical" level="45" />
</RangedWeapon>
<ItemContainer hideitems="true" capacity="1" drawinventory="false" canbeselected="false" ShowConditionInContainedStateIndicator="true" removecontaineditemsondeconstruct="true" containedstateindicatorstyle="bullet">
<StatusEffect type="OnUse" target="This" disabledeltatime="true">
<SpawnItem identifiers="pulselaserbolt" spawnposition="ThisInventory" />
</StatusEffect>
<StatusEffect type="OnUse" target="This" condition="-2.25" disabledeltatime="true">
<RequiredItem items="pulselaserbolt" type="Contained" />
</StatusEffect>
<Containable items="pulselaserbolt" />
</ItemContainer>
<aitarget sightrange="3000" soundrange="5000" fadeouttime="5" />
<Quality>
<QualityStat stattype="FirepowerMultiplier" value="0.3" />
</Quality>
<SkillRequirementHint identifier="weapons" level="25" />
<SkillRequirementHint identifier="electrical" level="45" />
</Item>
<Item name="" identifier="pulselaserbolt" category="Weapon" scale="0.5" sonarsize="2" hideinmenus="true">
<Sprite texture="weapons_new.png" sourcerect="143,414,113,9" depth="0.55" />
<Body width="170" height="10" density="20" />
<Holdable slots="RightHand+LeftHand" holdpos="0,-50" handle1="-10,0" handle2="10,0" aimable="false" />
<Projectile characterusable="false" hitscan="true" removeonhit="true" damagedoors="true" penetration="0.5">
<ParticleEmitter particle="tracerpulselaser" particleamount="1" velocitymin="0" velocitymax="0"/>
<ParticleEmitter particle="FlareBubbles" emitacrossrayinterval="50"/>
<Attack structuredamage="50" targetforce="100" itemdamage="25" severlimbsprobability="1.0" penetration="0.5">
<Affliction identifier="explosiondamage" strength="40" />
<Affliction identifier="stun" strength="0.5" />
</Attack>
<StatusEffect type="OnImpact" target="UseTarget">
<ParticleEmitter particle="muzzleflashpulselaser" anglemin="0" anglemax="360" particleamount="10" velocitymin="0" scalemin="0.5" scalemax="0.8" />
<ParticleEmitter particle="weldspark" particleamount="5" anglemin="0" anglemax="360" velocitymin="300" velocitymax="350" scalemin="1.5" scalemax="1.9" drawontop="true" colormultiplier="255,200,225,180" />
<ParticleEmitter particle="FlareBubbles" particleamount="3" anglemin="0" anglemax="360" velocitymin="0" velocitymax="50"/>
<Explosion range="150.0" ballastfloradamage="50" structuredamage="50" itemdamage="250" force="10.0" flames="false" smoke="false" sparks="false" underwaterbubble="false" flashcolor="255,0,0,255" >
<Affliction identifier="burn" strength="100" />
<Affliction identifier="stun" strength="3" />
</Explosion>
</StatusEffect>
<StatusEffect type="OnImpact" target="UseTarget">
<Conditional entitytype="eq Structure"/>
<Conditional hastag="eq door"/>
<ParticleEmitter particle="spark" copyentityangle="true" anglemin="-10" anglemax="10" particleamount="5" velocitymin="-10" velocitymax="-200" scalemin="0.5" scalemax="1" />
</StatusEffect>
<StatusEffect type="OnNotContained" target="This">
<Remove />
</StatusEffect>
</Projectile>
</Item>
</Items>