Spark & smoke particle effects when welding or cutting something. Closes #155.
This commit is contained in:
@@ -28,6 +28,13 @@
|
||||
<!-- the item must contain a welding fuel tank for it to work -->
|
||||
<RequiredItems name="Welding Fuel Tank" type="Contained" msg="Welding fuel required"/>
|
||||
|
||||
<ParticleEmitter particle="weld" particlespersecond="50"/>
|
||||
<ParticleEmitterHitStructure particle="weldspark" particlespersecond="100" anglemin="-40" anglemax="40" velocitymin="100" velocitymax="800"/>
|
||||
<ParticleEmitterHitItem particle="weldspark" particlespersecond="100" anglemin="-40" anglemax="40" velocitymin="100" velocitymax="800"/>
|
||||
<ParticleEmitterHitStructure particle="weldsmoke" particlespersecond="3" anglemin="-5" anglemax="5" velocitymin="10" velocitymax="20"/>
|
||||
<ParticleEmitterHitItem particle="weldsmoke" particlespersecond="3" anglemin="-5" anglemax="5" velocitymin="10" velocitymax="100"/>
|
||||
<ParticleEmitterHitCharacter particle="fleshsmoke" particlespersecond="3" anglemin="-5" anglemax="5" velocitymin="10" velocitymax="100"/>
|
||||
|
||||
<sound file="weldingTool.ogg" type="OnUse" range="500.0" loop="true"/>
|
||||
|
||||
<!-- when using, the contained welding fuel tank will detoriate (= lose fuel) -->
|
||||
@@ -77,11 +84,18 @@
|
||||
<Holdable slots="Any,RightHand+LeftHand" controlpose="true"
|
||||
aimpos="50,0" handle1="-12,4"/>
|
||||
|
||||
<RepairTool structurefixamount="-2.0" limbfixamount="-0.5" range="100" barrelpos="28,8" particles="plasma">
|
||||
<RepairTool structurefixamount="-2.0" limbfixamount="-0.5" range="100" barrelpos="28,8">
|
||||
<RequiredItems name="Oxygen Tank" type="Contained" msg="Oxygen tank required"/>
|
||||
<StatusEffect type="OnUse" target="Contained" targetnames="Oxygen Tank" Condition="-1.0"/>
|
||||
<StatusEffect type="OnUse" target="UseTarget" targetnames="Door,Windowed Door" Stuck="-20.0" Condition="-3.0"/>
|
||||
|
||||
<ParticleEmitter particle="plasma" particlespersecond="50"/>
|
||||
<ParticleEmitterHitStructure particle="plasmaspark" particlespersecond="100" anglemin="-40" anglemax="40" velocitymin="100" velocitymax="800"/>
|
||||
<ParticleEmitterHitItem particle="plasmaspark" particlespersecond="100" anglemin="-40" anglemax="40" velocitymin="100" velocitymax="800"/>
|
||||
<ParticleEmitterHitStructure particle="plasmasmoke" particlespersecond="3" anglemin="-5" anglemax="5" velocitymin="10" velocitymax="20"/>
|
||||
<ParticleEmitterHitItem particle="plasmasmoke" particlespersecond="3" anglemin="-5" anglemax="5" velocitymin="10" velocitymax="100"/>
|
||||
<ParticleEmitterHitCharacter particle="fleshsmoke" particlespersecond="3" anglemin="-5" anglemax="5" velocitymin="10" velocitymax="100"/>
|
||||
|
||||
<sound file="plasmaCutter.ogg" type="OnUse" range="500.0" loop="true"/>
|
||||
|
||||
<Fixable name="structure"/>
|
||||
@@ -144,7 +158,8 @@
|
||||
<Holdable slots="Any,RightHand+LeftHand" controlpose="false"
|
||||
aimpos="40,-20" handle1="-2,30"/>
|
||||
|
||||
<RepairTool extinquishamount="30.0" range="300" barrelpos="21,25" particles="extinguisher" particlespeed="650.0">
|
||||
<RepairTool extinquishamount="60.0" range="500" barrelpos="21,25">
|
||||
<ParticleEmitter particle="extinguisher" velocitymin="500.0" velocitymax="650.0" particlespersecond="50"/>
|
||||
<StatusEffect type="OnUse" target="This" Condition="-2.0"/>
|
||||
<sound file="extinguisher.ogg" type="OnUse" range="500.0" loop="true"/>
|
||||
</RepairTool>
|
||||
|
||||
Reference in New Issue
Block a user