mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Adds an icon for non-abstract nodrop items (#29452)
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
target.equip_to_slot_if_possible(src, ITEM_SLOT_MASK, FALSE, TRUE)
|
||||
if(!sterile)
|
||||
M.KnockDown(impregnation_time + 2 SECONDS)
|
||||
flags |= NODROP //You can't take it off until it dies... or figures out you're an IPC.
|
||||
set_nodrop(TRUE, loc) //You can't take it off until it dies... or figures out you're an IPC.
|
||||
|
||||
GoIdle() //so it doesn't jump the people that tear it off
|
||||
var/obj/structure/bed/nest/our_nest = M.buckled
|
||||
@@ -149,7 +149,7 @@
|
||||
return TRUE
|
||||
|
||||
/obj/item/clothing/mask/facehugger/proc/Impregnate(mob/living/target)
|
||||
flags &= ~NODROP
|
||||
set_nodrop(FALSE, loc)
|
||||
|
||||
if(!target || target.stat == DEAD || loc != target) //was taken off or something
|
||||
return
|
||||
|
||||
@@ -244,9 +244,11 @@
|
||||
if(ITEM_SLOT_LEFT_HAND)
|
||||
l_hand = I
|
||||
update_inv_l_hand()
|
||||
update_hands_hud()
|
||||
if(ITEM_SLOT_RIGHT_HAND)
|
||||
r_hand = I
|
||||
update_inv_r_hand()
|
||||
update_hands_hud()
|
||||
if(ITEM_SLOT_BELT)
|
||||
belt = I
|
||||
update_inv_belt()
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
/datum/superheroes/proc/fixflags(mob/living/carbon/human/H)
|
||||
for(var/obj/item/W in H.get_all_slots())
|
||||
W.flags |= NODROP
|
||||
W.set_nodrop(TRUE, H)
|
||||
|
||||
/datum/superheroes/proc/assign_mutations(mob/living/carbon/human/H)
|
||||
var/list/default_mutations = list(GLOB.regenerateblock, GLOB.breathlessblock, GLOB.coldblock)
|
||||
@@ -51,7 +51,7 @@
|
||||
W.icon_state = "lifetimeid"
|
||||
W.SetOwnerInfo(H)
|
||||
W.UpdateName()
|
||||
W.flags |= NODROP
|
||||
W.set_nodrop(TRUE, H)
|
||||
H.equip_to_slot_or_del(W, ITEM_SLOT_ID)
|
||||
H.regenerate_icons()
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
W.access = list(ACCESS_MAINT_TUNNELS)
|
||||
W.assignment = "Greyshirt"
|
||||
W.rank = "Greyshirt"
|
||||
W.flags |= NODROP
|
||||
W.set_nodrop(TRUE, W.loc)
|
||||
W.SetOwnerInfo(target)
|
||||
W.UpdateName()
|
||||
target.equip_to_slot_or_del(W, ITEM_SLOT_ID)
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
/obj/item/robot_module/proc/fix_modules()
|
||||
for(var/item in modules)
|
||||
var/obj/item/I = item
|
||||
I.flags |= NODROP
|
||||
I.set_nodrop(TRUE)
|
||||
I.mouse_opacity = MOUSE_OPACITY_OPAQUE
|
||||
|
||||
/**
|
||||
@@ -184,7 +184,7 @@
|
||||
I.forceMove(src)
|
||||
|
||||
modules += I
|
||||
I.flags |= NODROP
|
||||
I.set_nodrop(TRUE)
|
||||
I.mouse_opacity = MOUSE_OPACITY_OPAQUE
|
||||
|
||||
if(requires_rebuild)
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
remove_from_all_data_huds()
|
||||
var/obj/item/card/id/access_card = new (src)
|
||||
access_card.access = get_all_accesses()//THERE IS NO ESCAPE
|
||||
access_card.flags |= NODROP
|
||||
access_card.set_nodrop(TRUE)
|
||||
invalid_area_typecache = typecacheof(invalid_area_typecache)
|
||||
Manifest()
|
||||
if(!current_victim)
|
||||
|
||||
Reference in New Issue
Block a user