Does a small amount of further tweaking Topic()

Watches out for NODROP trickery here. Haven't found where looting for
aliums or robots resides, though.
This commit is contained in:
Crazylemon
2015-10-03 16:55:58 -07:00
parent df847a617f
commit ede190fc6d
3 changed files with 10 additions and 6 deletions
@@ -725,9 +725,9 @@
unEquip(pocket_item)
usr.put_in_hands(pocket_item)
else
if(place_item)
if(place_item && !(place_item.flags & NODROP))
usr.unEquip(place_item)
equip_to_slot_if_possible(place_item, pocket_id, 0, 1)
equip_to_slot_if_possible(place_item, pocket_id, 0, 1)
// Update strip window
if(usr.machine == src && in_range(src, usr))
@@ -1786,4 +1786,4 @@
/mob/living/carbon/human/proc/get_full_print()
if(!dna || !dna.uni_identity)
return
return md5(dna.uni_identity)
return md5(dna.uni_identity)
@@ -129,6 +129,9 @@
switch(remove_from)
if("head")
if(inventory_head)
if(inventory_head.flags & NODROP)
usr << "<span = 'warning'>\The [inventory_head] is stuck too hard to [src] for you to remove!</span>"
return
name = real_name
desc = initial(desc)
speak = list("YAP", "Woof!", "Bark!", "AUUUUUU")
@@ -145,6 +148,9 @@
return
if("back")
if(inventory_back)
if(inventory_back.flags & NODROP)
usr << "<span = 'warning'>\The [inventory_back] is stuck too hard to [src] for you to remove!</span>"
return
inventory_back.loc = src.loc
inventory_back = null
regenerate_icons()
@@ -669,4 +675,4 @@
s.start()
respawnable_list += src
qdel(src)
return
return
-2
View File
@@ -792,8 +792,6 @@ var/list/slot_equipment_priority = list( \
if(href_list["flavor_change"])
update_flavor_text()
// ..()
return