From 55c211f144724fbf1d323f76fcfe69a4ae827de3 Mon Sep 17 00:00:00 2001 From: Aurorablade Date: Tue, 31 Jul 2018 16:44:39 -0400 Subject: [PATCH] Lemins Feedback --- .../objects/items/stacks/sheets/mineral.dm | 8 ++--- .../game/objects/items/stacks/stack_recipe.dm | 29 +++---------------- 2 files changed, 8 insertions(+), 29 deletions(-) diff --git a/code/game/objects/items/stacks/sheets/mineral.dm b/code/game/objects/items/stacks/sheets/mineral.dm index e9a129126f5..212f32e0121 100644 --- a/code/game/objects/items/stacks/sheets/mineral.dm +++ b/code/game/objects/items/stacks/sheets/mineral.dm @@ -68,12 +68,12 @@ var/global/list/datum/stack_recipe/gold_recipes = list ( \ ) var/global/list/datum/stack_recipe/plasma_recipes = list ( \ - new/datum/stack_recipe/p_door("plasma door", /obj/structure/mineral_door/transparent/plasma, 10, one_per_turf = 1, on_floor = 1), \ + new/datum/stack_recipe/dangerous("plasma door", /obj/structure/mineral_door/transparent/plasma, 10, one_per_turf = 1, on_floor = 1), \ null, \ - new/datum/stack_recipe/p_tile("plasma tile", /obj/item/stack/tile/mineral/plasma, 1, 4, 20), \ + new/datum/stack_recipe/dangerous("plasma tile", /obj/item/stack/tile/mineral/plasma, 1, 4, 20), \ null, \ - new/datum/stack_recipe/p_scistat("Scientist Statue", /obj/structure/statue/plasma/scientist, 5, one_per_turf = 1, on_floor = 1), \ - new/datum/stack_recipe/p_xenostat("Xenomorph Statue", /obj/structure/statue/plasma/xeno, 5, one_per_turf = 1, on_floor = 1), \ + new/datum/stack_recipe/dangerous("Scientist Statue", /obj/structure/statue/plasma/scientist, 5, one_per_turf = 1, on_floor = 1), \ + new/datum/stack_recipe/dangerous("Xenomorph Statue", /obj/structure/statue/plasma/xeno, 5, one_per_turf = 1, on_floor = 1), \ ) var/global/list/datum/stack_recipe/bananium_recipes = list ( \ diff --git a/code/game/objects/items/stacks/stack_recipe.dm b/code/game/objects/items/stacks/stack_recipe.dm index e4c6838ffae..b3093a21d9c 100644 --- a/code/game/objects/items/stacks/stack_recipe.dm +++ b/code/game/objects/items/stacks/stack_recipe.dm @@ -36,32 +36,11 @@ ..() -/datum/stack_recipe/p_tile -/datum/stack_recipe/p_tile/post_build(var/obj/item/stack/S, var/obj/result) +/datum/stack_recipe/dangerous +/datum/stack_recipe/dangerous/post_build(var/obj/item/stack/S, var/obj/result) var/turf/targ = get_turf(usr) - message_admins("[title] made by [key_name_admin(usr)](?) in [ADMIN_COORDJMP(targ)]!",0,1) - log_game("[title] made by [key_name_admin(usr)]at [targ.x], [targ.y], [targ.z].") - ..() - -/datum/stack_recipe/p_door -/datum/stack_recipe/p_door/post_build(var/obj/item/stack/S, var/obj/result) - var/turf/targ = get_turf(usr) - message_admins("[title] made by [key_name_admin(usr)](?) in [ADMIN_COORDJMP(targ)]!",0,1) - log_game("[title] made by [key_name_admin(usr)] at [targ.x], [targ.y], [targ.z].") - ..() - -/datum/stack_recipe/p_scistat -/datum/stack_recipe/p_scistat/post_build(var/obj/item/stack/S, var/obj/result) - var/turf/targ = get_turf(usr) - message_admins("[title] made by [key_name_admin(usr)](?) in [ADMIN_COORDJMP(targ)]!",0,1) - log_game("[title] made by [key_name_admin(usr)] at [targ.x], [targ.y], [targ.z].") - ..() - -/datum/stack_recipe/p_xenostat -/datum/stack_recipe/p_xenostat/post_build(var/obj/item/stack/S, var/obj/result) - var/turf/targ = get_turf(usr) - message_admins("[title] made by [key_name_admin(usr)](?) in [ADMIN_COORDJMP(targ)]!",0,1) - log_game("[title] made by [key_name_admin(usr)] at [targ.x], [targ.y], [targ.z].") + message_admins("[title] made by [key_name_admin(usr)](?) in [get_area(usr)] [ADMIN_COORDJMP(targ)]!",0,1) + log_game("[title] made by [key_name_admin(usr)] at [get_area(usr)] [targ.x], [targ.y], [targ.z].") ..() /datum/stack_recipe/rods