Pipegun Buff (#12365)

This commit is contained in:
Geeves
2021-08-31 18:05:02 +02:00
committed by GitHub
parent 996fa086bc
commit 6c5e9aa111
12 changed files with 83 additions and 30 deletions
@@ -93,7 +93,12 @@ 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)
if(!(isvaurca(src) && s_store.w_class <= ITEMSIZE_SMALL))
var/can_keep_s_store = FALSE
if(s_store.slot_flags & SLOT_S_STORE)
can_keep_s_store = TRUE
if(!can_keep_s_store && species.can_hold_s_store(s_store))
can_keep_s_store = TRUE
if(!can_keep_s_store)
drop_from_inventory(s_store)
wear_suit = null
update_inv_wear_suit()
@@ -774,4 +774,7 @@
if(C?.can_support)
stance_damage -=2
return stance_damage
return stance_damage
/datum/species/proc/can_hold_s_store(var/obj/item/I)
return FALSE
@@ -159,3 +159,8 @@
/datum/species/bug/is_naturally_insulated()
return TRUE
/datum/species/bug/can_hold_s_store(obj/item/I)
if(I.w_class <= ITEMSIZE_SMALL)
return TRUE
return FALSE