* concrete

* fixy

* craftable concrete and plasteel rebar

* no map specific children on submaps

* fix

* de-concretes the station
This commit is contained in:
Greenjoe12345
2022-08-07 16:03:49 -08:00
committed by GitHub
parent 994f58e3c5
commit c0a490ac01
63 changed files with 25629 additions and 2367 deletions
@@ -12,6 +12,10 @@
name = "stack of marble"
type_to_spawn = /obj/item/stack/material/marble
/obj/fiftyspawner/concrete
name = "stack of concrete"
type_to_spawn = /obj/item/stack/material/concrete
/obj/fiftyspawner/diamond
name = "stack of diamond"
type_to_spawn = /obj/item/stack/material/diamond
@@ -72,6 +76,10 @@
name = "stack of plasteel"
type_to_spawn = /obj/item/stack/material/plasteel
/obj/fiftyspawner/plasteel/rebar
name = "stack of plasteel rebars"
type_to_spawn = /obj/item/stack/material/plasteel/rebar
/obj/fiftyspawner/plasteel/hull
name = "stack of plasteel hull"
type_to_spawn = /obj/item/stack/material/plasteel/hull
@@ -281,4 +281,7 @@ var/global/list/name_to_material
new /datum/stack_recipe("[display_name] knife", /obj/item/material/knife/plastic, 1, on_floor = 1, supplied_material = "[name]", pass_stack_color = TRUE),
new /datum/stack_recipe("[display_name] blade", /obj/item/material/butterflyblade, 6, time = 20, one_per_turf = 0, on_floor = 1, supplied_material = "[name]", pass_stack_color = TRUE),
new /datum/stack_recipe("[display_name] defense wire", /obj/item/material/barbedwire, 10, time = 1 MINUTE, one_per_turf = 0, on_floor = 1, supplied_material = "[name]", pass_stack_color = TRUE)
)
)
/datum/material/proc/get_wall_texture()
return
@@ -23,5 +23,14 @@
new /datum/stack_recipe("knife grip", /obj/item/material/butterflyhandle, 4, time = 20, one_per_turf = 0, on_floor = 1, supplied_material = "[name]"),
new /datum/stack_recipe("dark floor tile", /obj/item/stack/tile/floor/dark, 1, 4, 20, recycle_material = "[name]"),
new /datum/stack_recipe("roller bed", /obj/item/roller, 5, time = 30, on_floor = 1, recycle_material = "[name]"),
new /datum/stack_recipe("whetstone", /obj/item/whetstone, 2, time = 10, recycle_material = "[name]")
)
new /datum/stack_recipe("whetstone", /obj/item/whetstone, 2, time = 10, recycle_material = "[name]"),
new /datum/stack_recipe("plasteel rebar", /obj/item/stack/material/plasteel/rebar, 1, time = 5, recycle_material = "[name]")
)
/datum/material/plasteel/rebar //to give a different reinforced overlay
name = MAT_PLASTEELREBAR
icon_reinf = "reinf_metal"
icon_colour = "#6A6A6A"
stack_type = /obj/item/stack/material/plasteel/rebar
sheet_singular_name = "rod"
sheet_plural_name = "rods"
@@ -96,3 +96,4 @@
new /datum/stack_recipe("desk bell", /obj/item/deskbell, 1, on_floor = 1, supplied_material = "[name]"),
new /datum/stack_recipe("tanning rack", /obj/structure/tanning_rack, 3, one_per_turf = TRUE, time = 20, on_floor = TRUE, supplied_material = "[name]")
)
+24 -1
View File
@@ -32,4 +32,27 @@
recipes += list(
new /datum/stack_recipe("light marble floor tile", /obj/item/stack/tile/wmarble, 1, 4, 20, recycle_material = "[name]"),
new /datum/stack_recipe("dark marble floor tile", /obj/item/stack/tile/bmarble, 1, 4, 20, recycle_material = "[name]")
)
)
/datum/material/stone/concrete
name = MAT_CONCRETE
stack_type = /obj/item/stack/material/concrete
icon_base = "brick"
icon_colour = COLOR_GRAY
integrity = 150
melting_point = 1550
protectiveness = 10
weight = 27
hardness = 60
var/image/texture
/datum/material/stone/concrete/generate_recipes()
..()
/datum/material/stone/concrete/New()
. = ..()
texture = image('icons/turf/wall_texture.dmi', "concrete")
texture.blend_mode = BLEND_MULTIPLY
/datum/material/stone/concrete/get_wall_texture()
return texture
@@ -12,6 +12,19 @@
no_variants = FALSE
apply_colour = TRUE
/obj/item/stack/material/plasteel/rebar
name = MAT_PLASTEELREBAR
icon_state = "rods"
default_type = MAT_PLASTEELREBAR
apply_colour = 1
/obj/item/stack/material/plasteel/rebar/update_icon()
var/amount = get_amount()
if((amount <= 5) && (amount > 0))
icon_state = "rods-[amount]"
else
icon_state = "rods"
/obj/item/stack/material/durasteel
name = "durasteel"
icon_state = "sheet-reinforced"
+7
View File
@@ -13,3 +13,10 @@
no_variants = FALSE
drop_sound = 'sound/items/drop/boots.ogg'
pickup_sound = 'sound/items/pickup/boots.ogg'
/obj/item/stack/material/concrete
name = "concrete brick"
icon_state = "brick"
default_type = "concrete"
no_variants = FALSE
apply_colour = 1