mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
Return of the neck slot! (#27188)
* this turned out to be wayyyy more than just a test * remove bedsheet icons from back.dmi * hud+better icons * error fixed * fixes a few bedsheet icons * Update code/game/objects/items/weapons/storage/garment.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Signed-off-by: Bm0n <92271472+Bm0n@users.noreply.github.com> * review * spacing * TGUI Bundle Rebuild * TGUI Bundle Rebuild * TGUI Bundle Rebuild * TGUI Bundle Rebuild * lint? * guh * lint * TGUI Bundle Rebuild * test * fix * dead golem fix * TGUI Bundle Rebuild * TGUI Bundle Rebuild * TGUI Bundle Rebuild --------- Signed-off-by: Bm0n <92271472+Bm0n@users.noreply.github.com> Co-authored-by: Bmon <no@email.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
@@ -309,6 +309,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
|
||||
ITEM_SLOT_JUMPSUIT,\
|
||||
ITEM_SLOT_OUTER_SUIT,\
|
||||
ITEM_SLOT_MASK,\
|
||||
ITEM_SLOT_NECK,\
|
||||
ITEM_SLOT_HEAD,\
|
||||
ITEM_SLOT_SHOES,\
|
||||
ITEM_SLOT_GLOVES,\
|
||||
@@ -393,6 +394,15 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
|
||||
else
|
||||
return 0
|
||||
return 1
|
||||
if(ITEM_SLOT_NECK)
|
||||
if(!(slot_flags & ITEM_SLOT_NECK))
|
||||
return 0
|
||||
if(H.neck)
|
||||
if(!(H.neck.flags & NODROP))
|
||||
return 2
|
||||
else
|
||||
return 0
|
||||
return 1
|
||||
if(ITEM_SLOT_SHOES)
|
||||
if(!(slot_flags & ITEM_SLOT_SHOES))
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user