Merge pull request #1389 from Support-Sergal/Merp

Micro Bricks IMPORT
This commit is contained in:
Dahlular
2021-07-28 19:38:59 -06:00
committed by GitHub
6 changed files with 154 additions and 0 deletions
@@ -908,3 +908,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/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 ..()