Medical items, improved falldamage, "power on" sounds

This commit is contained in:
Regalis
2015-07-24 13:46:22 +03:00
parent c2be74324d
commit 461547d949
12 changed files with 105 additions and 12 deletions
@@ -76,12 +76,12 @@
<!-- body to left leg -->
<joint limb1="12" limb1anchor="0,-1" limb2="6" limb2anchor="0,14" lowerlimit="-30" upperlimit="140"/>
<joint limb1="6" limb1anchor="0,-15" limb2="7" limb2anchor="0,20" lowerlimit="-170" upperlimit="0"/>
<joint limb1="7" limb1anchor="-3,-21" limb2="8" limb2anchor="5,7" lowerlimit="10" upperlimit="135"/>
<joint limb1="7" limb1anchor="-3,-21" limb2="8" limb2anchor="5,7" lowerlimit="20" upperlimit="90"/>
<!-- body to right leg -->
<joint limb1="12" limb1anchor="0,-1" limb2="9" limb2anchor="0,14" lowerlimit="-30" upperlimit="140"/>
<joint limb1="9" limb1anchor="0,-15" limb2="10" limb2anchor="0,20" lowerlimit="-170" upperlimit="0"/>
<joint limb1="10" limb1anchor="-3,-21" limb2="11" limb2anchor="5,7" lowerlimit="10" upperlimit="135"/>
<joint limb1="10" limb1anchor="-3,-21" limb2="11" limb2anchor="5,7" lowerlimit="20" upperlimit="90"/>
</ragdoll>
</character>
Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8" ?>
<Items>
<Item
name="Syringe"
Tags="smallitem"
pickdistance="150">
<Sprite texture ="med.png" sourcerect="0,0,24,5"/>
<Body width="24" height="5"/>
<Pickable slots="Any,RightHand,LeftHand"/>
<Holdable RemoveOnUse="true">
<StatusEffect type="OnUse" target="This, Character" Condition="-100.0" health="30.0" disabledeltatime="true"/>
</Holdable>
</Item>
<Item
name="Bandage"
Tags="smallitem"
pickdistance="150">
<Sprite texture ="med.png" sourcerect="0,14,14,18"/>
<Body width="9" height="15"/>
<Pickable slots="Any,RightHand,LeftHand"/>
<Holdable RemoveOnUse="true">
<StatusEffect type="OnUse" target="This, Character" Condition="-100.0" bleeding="-10.0" disabledeltatime="true"/>
</Holdable>
</Item>
</Items>