mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Converts more attackby's to interactions (#93106)
## About The Pull Request Converts the following: - Medical Kiosk - Implant case - Flamethrower - Chemical implant case - Pappercutter Also I've looked at some alt click procs and adjusted some of their returns
This commit is contained in:
@@ -10,13 +10,13 @@
|
||||
/obj/structure/sacrificealtar/click_alt(mob/living/user)
|
||||
if(!has_buckled_mobs())
|
||||
return CLICK_ACTION_BLOCKING
|
||||
var/mob/living/L = locate() in buckled_mobs
|
||||
if(!L)
|
||||
var/mob/living/buckled_mob = locate() in buckled_mobs
|
||||
if(!buckled_mob)
|
||||
return CLICK_ACTION_BLOCKING
|
||||
to_chat(user, span_notice("Invoking the sacred ritual, you sacrifice [L]."))
|
||||
L.investigate_log("has been sacrificially gibbed on an altar.", INVESTIGATE_DEATHS)
|
||||
L.gib(DROP_ALL_REMAINS)
|
||||
message_admins("[ADMIN_LOOKUPFLW(user)] has sacrificed [key_name_admin(L)] on the sacrificial altar at [AREACOORD(src)].")
|
||||
to_chat(user, span_notice("Invoking the sacred ritual, you sacrifice [buckled_mob]."))
|
||||
buckled_mob.investigate_log("has been sacrificially gibbed on an altar.", INVESTIGATE_DEATHS)
|
||||
buckled_mob.gib(DROP_ALL_REMAINS)
|
||||
message_admins("[ADMIN_LOOKUPFLW(user)] has sacrificed [key_name_admin(buckled_mob)] on the sacrificial altar at [AREACOORD(src)].")
|
||||
return CLICK_ACTION_SUCCESS
|
||||
|
||||
/obj/structure/healingfountain
|
||||
|
||||
@@ -78,7 +78,6 @@
|
||||
update_appearance(UPDATE_ICON)
|
||||
|
||||
/obj/structure/toiletbong/wrench_act(mob/living/user, obj/item/tool)
|
||||
..()
|
||||
default_unfasten_wrench(user, tool)
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user