mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-22 12:46:40 +01:00
Fixes examine bugs
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
//Mask to just consumed restricted
|
||||
var/consumed_restricted = restricted_accessory_slots & consumed_slots
|
||||
|
||||
|
||||
//They share at least one bit with the restricted slots
|
||||
if(consumed_restricted & A.slot)
|
||||
return FALSE
|
||||
@@ -123,7 +123,6 @@
|
||||
set src in usr
|
||||
if(!istype(usr, /mob/living)) return
|
||||
if(usr.stat) return
|
||||
if(!accessories.len) return
|
||||
var/obj/item/clothing/accessory/A
|
||||
if(LAZYLEN(accessories))
|
||||
A = input("Select an accessory to remove from [src]") as null|anything in accessories
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
var/tie_msg
|
||||
if(istype(w_uniform,/obj/item/clothing/under) && !(skip_gear & EXAMINE_SKIPTIE))
|
||||
var/obj/item/clothing/under/U = w_uniform
|
||||
if(U.accessories.len)
|
||||
if(LAZYLEN(U.accessories))
|
||||
var/list/accessories_visible = list() //please let this fix the stupid fucking runtimes
|
||||
if(skip_gear & EXAMINE_SKIPHOLSTER)
|
||||
for(var/obj/item/clothing/accessory/A in U.accessories)
|
||||
@@ -155,7 +155,7 @@
|
||||
var/tie_msg
|
||||
if(istype(wear_suit,/obj/item/clothing/suit))
|
||||
var/obj/item/clothing/suit/U = wear_suit
|
||||
if(U.accessories.len)
|
||||
if(LAZYLEN(U.accessories))
|
||||
tie_msg += " Attached to it is [english_list(U.accessories)]."
|
||||
|
||||
if(wear_suit.blood_DNA)
|
||||
|
||||
Reference in New Issue
Block a user