mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +01:00
Pipegun Buff (#12365)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user