diff --git a/code/game/objects/items/stacks/sheets/sheet_types.dm b/code/game/objects/items/stacks/sheets/sheet_types.dm index e6f03aaa..cfa63463 100644 --- a/code/game/objects/items/stacks/sheets/sheet_types.dm +++ b/code/game/objects/items/stacks/sheets/sheet_types.dm @@ -907,3 +907,45 @@ GLOBAL_LIST_INIT(plaswood_recipes, list ( \ /obj/item/stack/sheet/mineral/plaswood/fifty amount = 50 + +GLOBAL_LIST_INIT(micro_bricks_recipes, list ( \ + new/datum/stack_recipe("Road fourway", /obj/structure/micro_brick/road_fourway, 2, time = 2, one_per_turf = TRUE, on_floor = TRUE), \ + new/datum/stack_recipe("Road threeway", /obj/structure/micro_brick/road_threeway, 2, time = 2, one_per_turf = TRUE, on_floor = TRUE), \ + new/datum/stack_recipe("Road straight", /obj/structure/micro_brick/road_straight, 2, time = 2, one_per_turf = TRUE, on_floor = TRUE), \ + new/datum/stack_recipe("Road turn", /obj/structure/micro_brick/Road_turn, 2, time = 2, one_per_turf = TRUE, on_floor = TRUE), \ + null, \ + new/datum/stack_recipe("Small houses", /obj/structure/micro_brick/small_house, 5, time = 2, one_per_turf = TRUE, on_floor = TRUE), \ + new/datum/stack_recipe("Small business", /obj/structure/micro_brick/small_business, 5, time = 2, one_per_turf = TRUE, on_floor = TRUE), \ + new/datum/stack_recipe("Small warehouse", /obj/structure/micro_brick/small_warehouse, 5, time = 2, one_per_turf = TRUE, on_floor = TRUE), \ + new/datum/stack_recipe("Small museum", /obj/structure/micro_brick/small_museum, 5, time = 2, one_per_turf = TRUE, on_floor = TRUE), \ + null, \ + new/datum/stack_recipe("Small moon", /obj/item/micro_brick/moon, 5, time = 2), \ + null, \ + )) + +/obj/item/stack/sheet/micro_bricks + name = "Micro Bricks" + desc = "an studless version of the iconic bricks for recreation use on station with big crewmembers " + singular_name = "Micro Brick" + icon_state = "SmallBucket" + item_state = "SmallBucket" + materials = list(MAT_METAL=MINERAL_MATERIAL_AMOUNT) + flags_1 = CONDUCT_1 + resistance_flags = FIRE_PROOF + merge_type = /obj/item/stack/sheet/micro_bricks + +/obj/item/stack/sheet/micro_bricks/fifty + amount = 50 + +/obj/item/stack/sheet/micro_bricks/twenty + amount = 20 + +/obj/item/stack/sheet/micro_bricks/ten + amount = 10 + +/obj/item/stack/sheet/micro_bricks/five + amount = 5 + +/obj/item/stack/sheet/micro_bricks/Initialize(mapload, new_amount, merge = TRUE) + recipes = GLOB.micro_bricks_recipes + return ..() diff --git a/code/game/objects/structures/micro_bricks.dm b/code/game/objects/structures/micro_bricks.dm new file mode 100644 index 00000000..3d3543ee --- /dev/null +++ b/code/game/objects/structures/micro_bricks.dm @@ -0,0 +1,104 @@ +/obj/structure/micro_brick + icon = 'icons/obj/small_world.dmi' + +/obj/structure/micro_brick/road_fourway + name = "Road fourway" + desc = "roundabouts are better!" + icon_state = "roadfourway" + anchored = TRUE + resistance_flags = FLAMMABLE + max_integrity = 100 + integrity_failure = 30 + var/buildstacktype = /obj/item/stack/sheet/metal + var/buildstackamount = 2 + +/obj/structure/micro_brick/road_threeway + name = "Road threeway" + desc = "Ill take the back you get the front." + icon_state = "roadthreeway" + anchored = TRUE + resistance_flags = FLAMMABLE + max_integrity = 100 + integrity_failure = 30 + var/buildstacktype = /obj/item/stack/sheet/metal + var/buildstackamount = 2 + +/obj/structure/micro_brick/road_straight + name = "Road straight" + desc = "Is it gay if the balls touch?" + icon_state = "roadstraight" + anchored = TRUE + resistance_flags = FLAMMABLE + max_integrity = 100 + integrity_failure = 30 + var/buildstacktype = /obj/item/stack/sheet/metal + var/buildstackamount = 2 + + +/obj/structure/micro_brick/Road_turn + name = "Road turn" + desc = "Bending the Rules." + //i cannot find a joke for this :( + icon_state = "roadturn" + anchored = TRUE + resistance_flags = FLAMMABLE + max_integrity = 100 + integrity_failure = 30 + var/buildstacktype = /obj/item/stack/sheet/metal + var/buildstackamount = 2 + +/obj/structure/micro_brick/small_house + name = "Small houses" + desc = "Lets hope this household does their taxes!" + icon_state = "smallhouses" + anchored = TRUE + resistance_flags = FLAMMABLE + max_integrity = 100 + integrity_failure = 30 + var/buildstacktype = /obj/item/stack/sheet/metal + var/buildstackamount = 2 + +/obj/structure/micro_brick/small_business + name = "Small business" + desc = "A place for not many 9's with how many 5's" + icon_state = "smallbusiness" + anchored = TRUE + resistance_flags = FLAMMABLE + max_integrity = 100 + integrity_failure = 30 + var/buildstacktype = /obj/item/stack/sheet/metal + var/buildstackamount = 2 + +/obj/structure/micro_brick/small_warehouse + name = "Small warehouse" + desc = "The house has been exposed to the moon light and is now a warehouse!" + // https://i.redd.it/4ke5819c2ib61.jpg + icon_state = "warehouse" + anchored = TRUE + resistance_flags = FLAMMABLE + max_integrity = 100 + integrity_failure = 30 + var/buildstacktype = /obj/item/stack/sheet/metal + var/buildstackamount = 2 + +/obj/structure/micro_brick/small_museum + name = "Small museum" + desc = "A place to store old and small relics found around the station " + icon_state = "smallmuseum" + anchored = TRUE + resistance_flags = FLAMMABLE + max_integrity = 100 + integrity_failure = 30 + var/buildstacktype = /obj/item/stack/sheet/metal + var/buildstackamount = 2 + +/obj/item/micro_brick/moon + name = "Small moon" + icon_state = "smallmoon" + icon = 'icons/obj/small_world.dmi' + desc = "You now have the power of the moon on your side" + throwforce = 0 + throw_speed = 3 + throw_range = 7 + force = 0 + total_mass = TOTAL_MASS_TINY_ITEM \ No newline at end of file diff --git a/icons/obj/small_world.dmi b/icons/obj/small_world.dmi new file mode 100644 index 00000000..453383d6 Binary files /dev/null and b/icons/obj/small_world.dmi differ diff --git a/icons/obj/stack_objects.dmi b/icons/obj/stack_objects.dmi index 1f4c9d93..bc5367c1 100644 Binary files a/icons/obj/stack_objects.dmi and b/icons/obj/stack_objects.dmi differ diff --git a/tgstation.dme b/tgstation.dme index 9ae84b47..40c89869 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -1069,6 +1069,7 @@ #include "code\game\objects\structures\manned_turret.dm" #include "code\game\objects\structures\medkit.dm" #include "code\game\objects\structures\memorial.dm" +#include "code\game\objects\structures\micro_bricks.dm" #include "code\game\objects\structures\mineral_doors.dm" #include "code\game\objects\structures\mirror.dm" #include "code\game\objects\structures\mop_bucket.dm"