mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 22:12:58 +01:00
vaurca vestigial arms (#8280)
Allows Vaurca to hold small items in their lil vestigial arms. The suit slot counts as pseudo-arms.
This commit is contained in:
@@ -371,6 +371,8 @@ var/list/global/slot_flags_enumeration = list(
|
||||
if( w_class > 2 && !(slot_flags & SLOT_POCKET) )
|
||||
return 0
|
||||
if(slot_s_store)
|
||||
if(isvaurca(H) && src.w_class <= ITEMSIZE_SMALL)
|
||||
return TRUE
|
||||
if(!H.wear_suit && (slot_wear_suit in mob_equip))
|
||||
if(!disable_warning)
|
||||
to_chat(H, "<span class='warning'>You need a suit before you can attach this [name].</span>")
|
||||
|
||||
@@ -106,6 +106,11 @@
|
||||
msg += "<span class='warning'>[T.He] [T.is] carrying \icon[s_store] [s_store.gender==PLURAL?"some":"a"] [(s_store.blood_color != "#030303") ? "blood" : "oil"]-stained <a href='?src=\ref[src];lookitem_desc_only=\ref[s_store]'>[s_store.name]</a> on [T.his] [wear_suit.name]!</span>\n"
|
||||
else
|
||||
msg += "[T.He] [T.is] carrying \icon[s_store] <a href='?src=\ref[src];lookitem_desc_only=\ref[s_store]'>\a [s_store]</a> on [T.his] [wear_suit.name].\n"
|
||||
else if(s_store && !skipsuitstorage)
|
||||
if(s_store.blood_DNA)
|
||||
msg += "<span class='warning'>[T.He] [T.is] carrying \icon[s_store] [s_store.gender==PLURAL?"some":"a"] [(s_store.blood_color != "#030303") ? "blood" : "oil"]-stained <a href='?src=\ref[src];lookitem_desc_only=\ref[s_store]'>[s_store.name]</a> on [T.his] chest!</span>\n"
|
||||
else
|
||||
msg += "[T.He] [T.is] carrying \icon[s_store] <a href='?src=\ref[src];lookitem_desc_only=\ref[s_store]'>\a [s_store]</a> on [T.his] chest.\n"
|
||||
|
||||
//back
|
||||
if(back)
|
||||
|
||||
@@ -91,7 +91,8 @@ This saves us from having to call add_fingerprint() any time something is put in
|
||||
if (wear_suit.flags_inv & HIDEJUMPSUIT)
|
||||
update_uniform = 1
|
||||
if(s_store)
|
||||
drop_from_inventory(s_store)
|
||||
if(!(isvaurca(src) && s_store.w_class <= ITEMSIZE_SMALL))
|
||||
drop_from_inventory(s_store)
|
||||
wear_suit = null
|
||||
update_inv_wear_suit()
|
||||
if (update_uniform)
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: Geeves
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- rscadd: "Allows Vaurca to carry small items in their suit slot, using their smol vestigial arms."
|
||||
Reference in New Issue
Block a user