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:
Geeves
2020-02-22 21:52:02 +02:00
committed by GitHub
parent 2cb4823721
commit c0ff0d90d6
4 changed files with 15 additions and 1 deletions
+2
View File
@@ -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>")