mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
Replace all secondary flags with bitflags stored in the flags_2 var
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
max_occurrences = 3
|
||||
earliest_start = 0
|
||||
|
||||
//Note about adding items to this: Because of how NODROP works if an item spawned to the hands can also be equiped to a slot
|
||||
//Note about adding items to this: Because of how NODROP_1 works if an item spawned to the hands can also be equiped to a slot
|
||||
//it will be able to be put into that slot from the hand, but then get stuck there. To avoid this make a new subtype of any
|
||||
//item you want to equip to the hand, and set its slots_flags = null. Only items equiped to hands need do this.
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
var/obj/item/I = new J //dumb but required because of byond throwing a fit anytime new gets too close to a list
|
||||
H.temporarilyRemoveItemFromInventory(slots[i], TRUE)
|
||||
H.equip_to_slot_or_del(I, wearslots[i])
|
||||
I.flags |= NODROP
|
||||
I.flags_1 |= NODROP_1
|
||||
I.name = "cursed " + I.name
|
||||
|
||||
for(var/mob/living/carbon/human/H in GLOB.living_mob_list)
|
||||
|
||||
Reference in New Issue
Block a user