mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
Metastation kitchen area redesign and related features, take 2 (#30754)
* Metastation kitchen area redesign and related features, take 2 * reviews
This commit is contained in:
committed by
GitHub
parent
e2efb09016
commit
481f035722
@@ -80,3 +80,10 @@
|
||||
return
|
||||
|
||||
SSblackbox.record_feedback("tally", "random_spawners", 1, "[/obj/item/trash]")
|
||||
|
||||
/obj/effect/spawner/random/trash/spread_tiles
|
||||
spawn_scatter_radius = 2
|
||||
|
||||
/obj/effect/spawner/random/trash/spread_tiles/Initialize(mapload)
|
||||
spawn_loot_count = roll("3d3")
|
||||
. = ..()
|
||||
|
||||
@@ -88,6 +88,7 @@ GLOBAL_LIST_INIT(metal_recipes, list(
|
||||
new /datum/stack_recipe("meatspike frame", /obj/structure/kitchenspike_frame, 5, time = 5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
|
||||
new /datum/stack_recipe("rack parts", /obj/item/rack_parts),
|
||||
new /datum/stack_recipe("storage shelf", /obj/structure/shelf, 5, time = 2.5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
|
||||
new /datum/stack_recipe("spice rack", /obj/structure/shelf/spice_rack, 5, time = 2.5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
|
||||
new /datum/stack_recipe("metal bookcase", /obj/structure/bookcase/metal, 5, time = 2.5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
|
||||
new /datum/stack_recipe("gun rack", /obj/structure/gunrack, 5, time = 2.5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
|
||||
new /datum/stack_recipe("reflector frame", /obj/structure/reflector, 5, time = 2.5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
|
||||
|
||||
@@ -2047,6 +2047,20 @@
|
||||
new /obj/item/kitchen/knife/cheese(src)
|
||||
new /obj/item/kitchen/knife/pizza_cutter(src)
|
||||
|
||||
/obj/item/storage/box/kitchen_moulds
|
||||
name = "kitchen mould kit"
|
||||
desc = "A box of shaped moulds used for candy. Like gummy bears!"
|
||||
|
||||
/obj/item/storage/box/kitchen_moulds/populate_contents()
|
||||
new /obj/item/reagent_containers/cooking/mould/bear(src)
|
||||
new /obj/item/reagent_containers/cooking/mould/worm(src)
|
||||
new /obj/item/reagent_containers/cooking/mould/bean(src)
|
||||
new /obj/item/reagent_containers/cooking/mould/ball(src)
|
||||
new /obj/item/reagent_containers/cooking/mould/cane(src)
|
||||
new /obj/item/reagent_containers/cooking/mould/cash(src)
|
||||
new /obj/item/reagent_containers/cooking/mould/coin(src)
|
||||
new /obj/item/reagent_containers/cooking/mould/loli(src)
|
||||
|
||||
#undef NODESIGN
|
||||
#undef NANOTRASEN
|
||||
#undef SYNDI
|
||||
|
||||
@@ -15,12 +15,13 @@ GLOBAL_LIST_INIT(shelf_colors, list("basic", "sci", "sup", "serv", "med", "sec",
|
||||
/// The current overlay of the top shelf. Used for interleaving objects and shelf layers for the illusion of depth.
|
||||
var/image/shelf_overlay
|
||||
var/build_stack_type = /obj/item/stack/sheet/metal
|
||||
var/shelf_type = /datum/component/shelver/basic_shelf
|
||||
COOLDOWN_DECLARE(spraypaint_cd)
|
||||
|
||||
/obj/structure/shelf/Initialize(mapload)
|
||||
. = ..()
|
||||
var/area/A = get_area(src)
|
||||
AddComponent(/datum/component/shelver/basic_shelf, random_pickup_locations_ = istype(A, /area/station/maintenance) || istype(A, /area/ruin/lavaland_relay))
|
||||
AddComponent(shelf_type, random_pickup_locations_ = istype(A, /area/station/maintenance) || istype(A, /area/ruin/lavaland_relay))
|
||||
update_icon()
|
||||
set_style(shelf_style)
|
||||
|
||||
@@ -124,6 +125,12 @@ GLOBAL_LIST_INIT(shelf_colors, list("basic", "sci", "sup", "serv", "med", "sec",
|
||||
shelf_style = "wood"
|
||||
build_stack_type = /obj/item/stack/sheet/wood
|
||||
|
||||
/obj/structure/shelf/spice_rack
|
||||
name = "spice rack"
|
||||
icon_state = "shelf_spice_rack"
|
||||
shelf_style = "spice_rack"
|
||||
shelf_type = /datum/component/shelver/spice_rack
|
||||
|
||||
/obj/structure/gunrack
|
||||
name = "gun rack"
|
||||
desc = "A rack for stowing firearms."
|
||||
|
||||
Reference in New Issue
Block a user