Round of small bugfixes (#14160)

This commit is contained in:
Doxxmedearly
2022-06-03 12:58:42 +02:00
committed by GitHub
parent 6801b81be2
commit 23bc71bd2f
8 changed files with 81 additions and 66 deletions
@@ -1407,11 +1407,11 @@ Follow by example and make good judgement based on length which list to include
icon_state = "horny"
headtails
name = "Headtails"
name = "Head tails"
icon_state = "headtails"
headtails_2
name = "Headtails 2"
name = "Head tails 2"
icon_state = "headtails2"
tiny_eye
+5 -1
View File
@@ -379,9 +379,13 @@ var/list/slot_equipment_priority = list( \
to_chat(src, SPAN_NOTICE("You offer \the [I] to \the [target]."))
do_give(H)
return TRUE
var/turf/T = get_turf(target)
if(T.contains_dense_objects() && !istype(target, /obj/structure/table)) //Stop at dense objects, like walls and windows. Allow placing on tables.
return TRUE //Takes off throw mode
remove_from_mob(I)
make_item_drop_sound(I)
I.forceMove(get_turf(target))
I.forceMove(T)
return TRUE
remove_from_mob(item)