From b81ef976852f5bd2245770bc5577bd7fa226793a Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Sun, 19 Nov 2023 12:39:04 +0300 Subject: [PATCH] Primitive stuffs (#701) * Update sheet_types.dm * Update stone.dm * Add files via upload * Add files via upload * Update storage_structures.dm * Add files via upload * Update tgstation.dme * Update tgstation.dme * Update stone_griddle.dm * Update storage_structures.dm Co-authored-by: xXPawnStarrXx <53197594+xXPawnStarrXx@users.noreply.github.com> --- .../items/stacks/sheets/sheet_types.dm | 4 ++ .../code/stone_griddle.dm | 32 +++++++++ .../code/stone_oven.dm | 2 +- .../code/stone_stove.dm | 2 +- .../icons/stone_kitchen_machines.dmi | Bin 3918 -> 4824 bytes .../code/storage_structures.dm | 61 ++++++++++++++++++ .../primitive_structures/icons/storage.dmi | Bin 1353 -> 906 bytes modular_skyrat/modules/stone/code/stone.dm | 3 + tgstation.dme | 1 + 9 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 modular_skyrat/modules/primitive_cooking_additions/code/stone_griddle.dm diff --git a/modular_skyrat/master_files/code/game/objects/items/stacks/sheets/sheet_types.dm b/modular_skyrat/master_files/code/game/objects/items/stacks/sheets/sheet_types.dm index 3f9d3657870..d68f78c5d46 100644 --- a/modular_skyrat/master_files/code/game/objects/items/stacks/sheets/sheet_types.dm +++ b/modular_skyrat/master_files/code/game/objects/items/stacks/sheets/sheet_types.dm @@ -74,8 +74,12 @@ GLOBAL_LIST_INIT(skyrat_wood_recipes, list( new/datum/stack_recipe("large wooden mortar", /obj/structure/large_mortar, 10, time = 3 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_TOOLS), new/datum/stack_recipe("wooden cutting board", /obj/item/cutting_board, 5, time = 2 SECONDS, check_density = FALSE, category = CAT_TOOLS), new/datum/stack_recipe("wooden shelf", /obj/structure/rack/wooden, 2, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = FALSE, category = CAT_STRUCTURE), + new/datum/stack_recipe("seed shelf", /obj/machinery/smartfridge/seedshelf, 10, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_STRUCTURE), + new/datum/stack_recipe("produce bin", /obj/machinery/smartfridge/producebin, 10, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_STRUCTURE), new/datum/stack_recipe("storage barrel", /obj/structure/closet/crate/wooden/storage_barrel, 4, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = FALSE, category = CAT_STRUCTURE), new/datum/stack_recipe("worm barrel", /obj/structure/wormfarm, 5, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_TOOLS), + new/datum/stack_recipe("sturdy wooden fence", /obj/structure/railing/wooden_fencing, 5, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_TOOLS), + new/datum/stack_recipe("sturdy wooden fence gate", /obj/structure/railing/wooden_fencing/gate, 5, time = 2 SECONDS, one_per_turf = TRUE, on_solid_ground = TRUE, category = CAT_TOOLS), )) /obj/item/stack/sheet/mineral/wood/get_main_recipes() diff --git a/modular_skyrat/modules/primitive_cooking_additions/code/stone_griddle.dm b/modular_skyrat/modules/primitive_cooking_additions/code/stone_griddle.dm new file mode 100644 index 00000000000..c704eb02c4b --- /dev/null +++ b/modular_skyrat/modules/primitive_cooking_additions/code/stone_griddle.dm @@ -0,0 +1,32 @@ +/obj/machinery/griddle/stone + name = "stone griddle" + desc = "You could probably cook an egg on this... the griddle slab looks very unsanitary." + icon = 'modular_skyrat/modules/primitive_cooking_additions/icons/stone_kitchen_machines.dmi' + icon_state = "griddle1_off" + density = TRUE + pass_flags_self = PASSMACHINE | PASSTABLE| LETPASSTHROW // It's roughly the height of a table. + layer = BELOW_OBJ_LAYER + use_power = FALSE + circuit = null + resistance_flags = FIRE_PROOF + processing_flags = START_PROCESSING_MANUALLY + variant = 1 + +/obj/machinery/griddle/Initialize(mapload) + . = ..() + grill_loop = new(src, FALSE) + if(isnum(variant)) + variant = 1 + +/obj/machinery/griddle/stone/examine(mob/user) + . = ..() + + . += span_notice("It can be taken apart with a crowbar.") + +/obj/machinery/griddle/stone/crowbar_act(mob/living/user, obj/item/tool) + user.balloon_alert_to_viewers("disassembling...") + if(!tool.use_tool(src, user, 2 SECONDS, volume = 100)) + return + new /obj/item/stack/sheet/mineral/stone(drop_location(), 5) + deconstruct(TRUE) + return TOOL_ACT_TOOLTYPE_SUCCESS diff --git a/modular_skyrat/modules/primitive_cooking_additions/code/stone_oven.dm b/modular_skyrat/modules/primitive_cooking_additions/code/stone_oven.dm index 3549fa03ff6..91bca3b5e95 100644 --- a/modular_skyrat/modules/primitive_cooking_additions/code/stone_oven.dm +++ b/modular_skyrat/modules/primitive_cooking_additions/code/stone_oven.dm @@ -56,7 +56,7 @@ user.balloon_alert_to_viewers("disassembling...") if(!tool.use_tool(src, user, 2 SECONDS, volume = 100)) return - new /obj/item/stack/sheet/mineral/clay(drop_location(), 5) + new /obj/item/stack/sheet/mineral/stone(drop_location(), 5) deconstruct(TRUE) return TOOL_ACT_TOOLTYPE_SUCCESS diff --git a/modular_skyrat/modules/primitive_cooking_additions/code/stone_stove.dm b/modular_skyrat/modules/primitive_cooking_additions/code/stone_stove.dm index 6359e50baae..642835b93a7 100644 --- a/modular_skyrat/modules/primitive_cooking_additions/code/stone_stove.dm +++ b/modular_skyrat/modules/primitive_cooking_additions/code/stone_stove.dm @@ -26,7 +26,7 @@ user.balloon_alert_to_viewers("disassembling...") if(!tool.use_tool(src, user, 2 SECONDS, volume = 100)) return - new /obj/item/stack/sheet/mineral/clay(drop_location(), 5) + new /obj/item/stack/sheet/mineral/stone(drop_location(), 5) deconstruct(TRUE) return TOOL_ACT_TOOLTYPE_SUCCESS diff --git a/modular_skyrat/modules/primitive_cooking_additions/icons/stone_kitchen_machines.dmi b/modular_skyrat/modules/primitive_cooking_additions/icons/stone_kitchen_machines.dmi index 90023ecd4cd65494cfaa93827d3e955a20cedae7..1b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|Ci2MdgvTJKQ($* zKPX+ku=FjGjb9Hm^4U;XfTuia_z2#qCR4c1lHnU|ep8&vF*7wqe&4Koneoj`QDOnz z1TygI@L+moW+soexdm&_RC!%p-EOF>U23|pw_U-XkX;1~FU`@>ahm4m-7Eer+Uu5b z=FCN}k%a{}(8=MpICcb7r_Dw4%T0NKv%eJ(>I%>1>x%AkppCz7*=wrspwYP6XTu@z z7W`~N_K4@oNECcr!z2BGvlqqLGOVb5f6Ny4UfK!z$%IVa{Q&7JiI*t4@SkkqU&io% c$&rxeOCd;+@V856A7nZs12g?9Jr~4(0CR%8_W%F@ diff --git a/modular_skyrat/modules/primitive_structures/code/storage_structures.dm b/modular_skyrat/modules/primitive_structures/code/storage_structures.dm index 7422ea25e8c..8c6f872c712 100644 --- a/modular_skyrat/modules/primitive_structures/code/storage_structures.dm +++ b/modular_skyrat/modules/primitive_structures/code/storage_structures.dm @@ -50,3 +50,64 @@ /obj/structure/closet/crate/wooden/storage_barrel/deconstruct(disassembled = TRUE) new /obj/item/stack/sheet/mineral/wood(drop_location(), 4) return ..() + +/obj/machinery/smartfridge/producebin + name = "Produce Bin" + desc = "A wooden hamper, used to hold plant products and try keep them safe from pests." + icon_state = "producebin" + icon = 'modular_skyrat/modules/primitive_structures/icons/storage.dmi' + resistance_flags = FLAMMABLE + visible_contents = FALSE + base_build_path = /obj/machinery/smartfridge/producebin + use_power = NO_POWER_USE + light_power = 0 + idle_power_usage = 0 + circuit = null + has_emissive = FALSE + can_atmos_pass = ATMOS_PASS_YES + visible_contents = FALSE + +/obj/machinery/smartfridge/producebin/accept_check(obj/item/weapon) + return (istype(weapon, /obj/item/food/grown)) + +/obj/machinery/smartfridge/producebin/structure_examine() + . = span_info("The whole rack can be [EXAMINE_HINT("pried")] apart.") + + +/obj/machinery/smartfridge/producebin/crowbar_act(mob/living/user, obj/item/tool) + user.balloon_alert_to_viewers("disassembling...") + if(!tool.use_tool(src, user, 2 SECONDS, volume = 100)) + return + new /obj/item/stack/sheet/mineral/wood(drop_location(), 10) + deconstruct(TRUE) + return TOOL_ACT_TOOLTYPE_SUCCESS + +/obj/machinery/smartfridge/seedshelf + name = "Seedshelf" + desc = "A wooden shelf, used to hold seeds preventing them from germinating early." + icon_state = "seedshelf" + icon = 'modular_skyrat/modules/primitive_structures/icons/storage.dmi' + resistance_flags = FLAMMABLE + visible_contents = FALSE + base_build_path = /obj/machinery/smartfridge/seedshelf + use_power = NO_POWER_USE + light_power = 0 + idle_power_usage = 0 + circuit = null + has_emissive = FALSE + can_atmos_pass = ATMOS_PASS_YES + visible_contents = FALSE + +/obj/machinery/smartfridge/seedshelf/accept_check(obj/item/weapon) + return istype(weapon, /obj/item/seeds) + +/obj/machinery/smartfridge/seedshelf/structure_examine() + . = span_info("The whole rack can be [EXAMINE_HINT("pried")] apart.") + +/obj/machinery/smartfridge/seedshelf/crowbar_act(mob/living/user, obj/item/tool) + user.balloon_alert_to_viewers("disassembling...") + if(!tool.use_tool(src, user, 2 SECONDS, volume = 100)) + return + new /obj/item/stack/sheet/mineral/wood(drop_location(), 10) + deconstruct(TRUE) + return TOOL_ACT_TOOLTYPE_SUCCESS diff --git a/modular_skyrat/modules/primitive_structures/icons/storage.dmi b/modular_skyrat/modules/primitive_structures/icons/storage.dmi index 61d5004b370d91856403a8047edc513613e2d2d3..2b71389146d898652b2d4f27f6f27da0172d912d 100644 GIT binary patch delta 805 zcmV+=1KRw_3W^6=iBL{Q4GJ0x0000DNk~Le0001B0000$1Oos702dl>Jpcdz8&FJC zMF0Q*EDsDxBpQ1^F0gS(H8(yaBPmc-TzrCui&@=900001bW%=J06^y0W&i*Hl945I ze~+Njf};GC(&W^nOu|ZwQ&UsGZpEciS;5uM1sntbC7?|$22S-<0007iNklf%XuJz1TT)Un~oZ0vZidb=kQ}0NtaOK24He)-9?Zj0=foWywPv^@_ z#=qUF)>RVlrrL_eq>AoF5D`;0(Iucpe`02wYiGIy03Q)Fo2dq{kqV2_J^D->HROS7^+;;d;IPx_k~hwb1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