mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
Remove sandstorm edit, fix suit storage
This commit is contained in:
@@ -184,25 +184,13 @@
|
|||||||
if(neck)
|
if(neck)
|
||||||
H.equip_to_slot_or_del(new neck(H), ITEM_SLOT_NECK, TRUE)
|
H.equip_to_slot_or_del(new neck(H), ITEM_SLOT_NECK, TRUE)
|
||||||
if(ears)
|
if(ears)
|
||||||
H.equip_to_slot_or_del(new ears(H), ITEM_SLOT_EARS_LEFT, TRUE) // Sandstorm edit
|
H.equip_to_slot_or_del(new ears(H), ITEM_SLOT_EARS, TRUE)
|
||||||
if(glasses)
|
if(glasses)
|
||||||
H.equip_to_slot_or_del(new glasses(H), ITEM_SLOT_EYES, TRUE)
|
H.equip_to_slot_or_del(new glasses(H), ITEM_SLOT_EYES, TRUE)
|
||||||
if(id)
|
if(id)
|
||||||
H.equip_to_slot_or_del(new id(H), ITEM_SLOT_ID, TRUE)
|
H.equip_to_slot_or_del(new id(H), ITEM_SLOT_ID, TRUE)
|
||||||
if(suit_store)
|
if(suit_store)
|
||||||
H.equip_to_slot_or_del(new suit_store(H), ITEM_SLOT_SUITSTORE, TRUE)
|
H.equip_to_slot_or_del(new suit_store(H), ITEM_SLOT_SUITSTORE, TRUE)
|
||||||
// Sandstorm edit
|
|
||||||
if(ears_extra)
|
|
||||||
H.equip_to_slot_or_del(new ears_extra(H), ITEM_SLOT_EARS_RIGHT, TRUE)
|
|
||||||
if(underwear)
|
|
||||||
H.equip_to_slot_or_del(new underwear(H), ITEM_SLOT_UNDERWEAR, TRUE)
|
|
||||||
if(socks)
|
|
||||||
H.equip_to_slot_or_del(new socks(H), ITEM_SLOT_SOCKS, TRUE)
|
|
||||||
if(shirt)
|
|
||||||
H.equip_to_slot_or_del(new shirt(H), ITEM_SLOT_SHIRT, TRUE)
|
|
||||||
if(wrists)
|
|
||||||
H.equip_to_slot_or_del(new wrists(H), ITEM_SLOT_WRISTS, TRUE)
|
|
||||||
//
|
|
||||||
|
|
||||||
if(accessory)
|
if(accessory)
|
||||||
var/obj/item/clothing/under/U = H.w_uniform
|
var/obj/item/clothing/under/U = H.w_uniform
|
||||||
|
|||||||
@@ -499,6 +499,10 @@
|
|||||||
data["mask"] = mask.name
|
data["mask"] = mask.name
|
||||||
else
|
else
|
||||||
data["mask"] = null
|
data["mask"] = null
|
||||||
|
if(mod)
|
||||||
|
data["mod"] = mod.name
|
||||||
|
else
|
||||||
|
data["mod"] = null
|
||||||
if(storage)
|
if(storage)
|
||||||
data["storage"] = storage.name
|
data["storage"] = storage.name
|
||||||
else
|
else
|
||||||
@@ -529,7 +533,7 @@
|
|||||||
if("uv")
|
if("uv")
|
||||||
if(occupant && safeties)
|
if(occupant && safeties)
|
||||||
return
|
return
|
||||||
else if(!helmet && !mask && !suit && !storage && !occupant)
|
else if(!helmet && !mask && !mod && !suit && !storage && !occupant)
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
if(occupant)
|
if(occupant)
|
||||||
@@ -541,7 +545,7 @@
|
|||||||
if(!state_open)
|
if(!state_open)
|
||||||
return
|
return
|
||||||
|
|
||||||
var/static/list/valid_items = list("helmet", "suit", "mask", "storage")
|
var/static/list/valid_items = list("helmet", "suit", "mask", "mod", "storage")
|
||||||
var/item_name = params["item"]
|
var/item_name = params["item"]
|
||||||
if(item_name in valid_items)
|
if(item_name in valid_items)
|
||||||
var/obj/item/I = vars[item_name]
|
var/obj/item/I = vars[item_name]
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ export const SuitStorageUnit = (props, context) => {
|
|||||||
suit,
|
suit,
|
||||||
helmet,
|
helmet,
|
||||||
mask,
|
mask,
|
||||||
|
mod,
|
||||||
storage,
|
storage,
|
||||||
} = data;
|
} = data;
|
||||||
return (
|
return (
|
||||||
@@ -89,6 +90,15 @@ export const SuitStorageUnit = (props, context) => {
|
|||||||
item: 'mask',
|
item: 'mask',
|
||||||
})} />
|
})} />
|
||||||
</LabeledList.Item>
|
</LabeledList.Item>
|
||||||
|
<LabeledList.Item label="MOD">
|
||||||
|
<Button
|
||||||
|
icon={mod ? 'square' : 'square-o'}
|
||||||
|
content={mod || 'Empty'}
|
||||||
|
disabled={!mod}
|
||||||
|
onClick={() => act('dispense', {
|
||||||
|
item: 'mod',
|
||||||
|
})} />
|
||||||
|
</LabeledList.Item>
|
||||||
<LabeledList.Item label="Storage">
|
<LabeledList.Item label="Storage">
|
||||||
<Button
|
<Button
|
||||||
icon={storage ? 'square' : 'square-o'}
|
icon={storage ? 'square' : 'square-o'}
|
||||||
|
|||||||
Reference in New Issue
Block a user