This commit is contained in:
Fordoxia
2025-09-14 05:55:20 +01:00
parent a97ee831b4
commit b2a5736618
4 changed files with 70 additions and 6 deletions
+36 -5
View File
@@ -11,18 +11,35 @@
/obj/effect/landmark/spawner/late/crew,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"f" = (
/obj/structure/table/reinforced,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"p" = (
/obj/machinery/light{
dir = 1
},
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"t" = (
/obj/item/nuke_core/supermatter_sliver,
/obj/structure/table/reinforced,
/obj/item/nuke_core/supermatter_sliver,
/obj/item/nuke_core/supermatter_sliver,
/obj/item/nuke_core/supermatter_sliver,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"u" = (
/turf/simulated/wall/mineral/titanium,
/area/shuttle/arrival/station)
"x" = (
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"B" = (
/obj/structure/table/reinforced,
/obj/item/reagent_containers/cooking/board,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"F" = (
/obj/machinery/light,
/turf/simulated/floor/mineral/titanium/blue,
@@ -33,6 +50,20 @@
},
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"S" = (
/obj/item/food/sliced/bread,
/obj/structure/table/reinforced,
/obj/item/food/sliced/bread{
pixel_x = -5;
pixel_y = 7
},
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"T" = (
/obj/item/retractor/supermatter,
/obj/structure/table/reinforced,
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"U" = (
/obj/machinery/light{
dir = 4
@@ -32293,9 +32324,9 @@ x
x
x
x
x
x
x
t
B
f
x
x
x
@@ -32550,9 +32581,9 @@ x
x
x
x
x
T
b
x
S
x
x
x
+15
View File
@@ -315,6 +315,21 @@
preposition = "On"
materials = list(MAT_WOOD = 5)
// For very carefully making the most powerful sandwich in the universe.
/obj/item/reagent_containers/cooking/board/item_interaction(mob/living/user, obj/item/used, list/modifiers)
if(istype(used, /obj/item/retractor/supermatter))
var/obj/item/retractor/supermatter/tongs = used
if(tongs.sliver)
tongs.sliver.melee_attack_chain(user, src)
if(tongs.sliver.loc != tongs)
tongs.sliver = null
// TODO: refactor the tongs so they actually check if(sliver) in `update_icon()` instead of manually setting the icons everywhere.
tongs.icon_state = "supermatter_tongs"
tongs.item_state = "supermatter_tongs"
used.update_appearance(UPDATE_ICON)
return ITEM_INTERACT_COMPLETE
..()
/obj/item/reagent_containers/cooking/sushimat
name = "Sushi Mat"
desc = "A wooden mat used for efficient sushi crafting."
@@ -444,6 +444,16 @@
PCWJ_ADD_ITEM(/obj/item/food/sliced/bread),
)
/datum/cooking/recipe/supermatter_sandwich
container_type = /obj/item/reagent_containers/cooking/board
product_type = /obj/item/food/supermatter_sandwich
catalog_category = COOKBOOK_CATEGORY_BURGS
steps = list(
PCWJ_ADD_ITEM(/obj/item/food/sliced/bread),
PCWJ_ADD_ITEM(/obj/item/nuke_core/supermatter_sliver),
PCWJ_ADD_ITEM(/obj/item/food/sliced/bread),
)
/datum/cooking/recipe/philly_cheesesteak
container_type = /obj/item/reagent_containers/cooking/board
product_type = /obj/item/food/philly_cheesesteak
@@ -485,7 +485,7 @@
/obj/item/food/supermatter_sandwich
name = "supermatter sandwich"
desc = "You have been told many times to not lick the forbidden nacho... But surely one taste can't be that bad?"
desc = "A supermatter sliver, somehow safely contained between two slices of bread. You have been told many times to not lick the forbidden nacho... But surely one taste can't be that bad?"
icon = 'icons/obj/food/burgerbread.dmi'
icon_state = "supermatter_sandwich"
tastes = list("indescribable power" = 3, "bread" = 2)
@@ -505,3 +505,11 @@
M.dust()
message_admins("[src] has consumed [key_name_admin(M)] [ADMIN_JMP(src)].")
investigate_log("has consumed [key_name(M)].", INVESTIGATE_SUPERMATTER)
/obj/item/food/supermatter_sandwich/process()
. = ..()
var/new_filter = isnull(get_filter("ray"))
ray_filter_helper(1, 40,"#ffd04f", 6, 20)
if(new_filter)
animate(get_filter("ray"), offset = 10, time = 10 SECONDS, loop = -1)
animate(offset = 0, time = 10 SECONDS)