Mid-round chat messages have a limited range, headset item which can be used to communicate with players further away, new inventory slot for items like masks and headsets

This commit is contained in:
Regalis
2016-04-20 17:19:38 +03:00
parent a45f58cd08
commit e33f30dad1
21 changed files with 597 additions and 177 deletions
@@ -38,7 +38,7 @@
<Body radius="18" density="15"/>
<Wearable limbtype="Head" slots="Any,Head">
<Wearable limbtype="Head" slots="Any,Face">
<sprite texture="DivingMask.png" limb="Head" sourcerect="1,1,37,38"/>
<StatusEffect type="OnWearing" target="Character" ObstructVision="true" setvalue="true" disabledeltatime="true"/>
<StatusEffect type="OnWearing" target="Contained,Character" OxygenAvailable="1000.0" Condition="-0.5">
@@ -10,7 +10,7 @@
<Body width="18" height="6" density="30"/>
<Wearable limbtype="Head" slots="Any,Head">
<Wearable limbtype="Head" slots="Any,Face">
<sprite texture ="doctorgear.png" sourcerect="0,120,20,8" limb="Head" origin="0.45,0.9"/>
</Wearable>
Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

+26 -1
View File
@@ -1,4 +1,29 @@
<Items>
<Item
name="Headset"
category="Equipment"
pickdistance="150"
tags="smallitem">
<Sprite texture ="headset.png" depth="0.6"/>
<Body radius="8" density="10"/>
<WifiComponent range="20000.0" LinkToChat="true">
<RequiredItems name="Battery Cell" type="Contained"/>
</WifiComponent>
<ItemContainer capacity="1" hideitems="true">
<Containable name="Battery Cell"/>
<Containable name="Fulgurium Battery Cell"/>
</ItemContainer>
<Wearable limbtype="Head" slots="Any,Face">
<StatusEffect type="OnWearing" target="Contained" Condition="-0.1"/>
<sprite texture="headset.png" limb="Head" origin="0.5,0.5"/>
</Wearable>
</Item>
<Item
name="Clown Mask"
category="Equipment"
@@ -10,7 +35,7 @@
<Body radius="8" density="10"/>
<Wearable limbtype="Head" slots="Any,Head">
<Wearable limbtype="Head" slots="Any,Face">
<sprite texture="clownmask.png" limb="Head" origin="0.5,0.5"/>
</Wearable>
</Item>