mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-22 05:34:49 +01:00
Merge pull request #5004 from CHOMPStation2/upstream-merge-13467
[MIRROR] [MIRROR] conk rete (ABLE TO BE MERGED)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -373,4 +373,7 @@ var/list/name_to_material
|
||||
new /datum/stack_recipe("[display_name] knife", /obj/item/weapon/material/knife/plastic, 1, on_floor = 1, supplied_material = "[name]", pass_stack_color = TRUE),
|
||||
new /datum/stack_recipe("[display_name] blade", /obj/item/weapon/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/weapon/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
|
||||
|
||||
@@ -24,8 +24,17 @@
|
||||
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/weapon/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]"),
|
||||
new /datum/stack_recipe_list("reinforced low walls",list(
|
||||
new /datum/stack_recipe("reinforced low wall (bay style)", /obj/structure/low_wall/bay/reinforced, 3, one_per_turf = 1, on_floor = 1, supplied_material = "[name]", recycle_material = "[name]"),
|
||||
new /datum/stack_recipe("reinforced low wall (eris style)", /obj/structure/low_wall/eris/reinforced, 3, one_per_turf = 1, on_floor = 1, supplied_material = "[name]", 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"
|
||||
|
||||
@@ -86,4 +86,4 @@
|
||||
new /datum/stack_recipe("apc frame", /obj/item/frame/apc, 2, recycle_material = "[name]"),
|
||||
new /datum/stack_recipe("desk bell", /obj/item/weapon/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]")
|
||||
)
|
||||
)
|
||||
|
||||
@@ -47,4 +47,27 @@
|
||||
|
||||
/datum/material/stone/flint/generate_recipes()
|
||||
return
|
||||
//VOREStation Addition End
|
||||
//VOREStation Addition End
|
||||
|
||||
/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-durasteel" //CHOMPedit - replace materials update
|
||||
|
||||
@@ -22,4 +22,11 @@
|
||||
drop_sound = 'sound/items/drop/boots.ogg'
|
||||
pickup_sound = 'sound/items/pickup/boots.ogg'
|
||||
pass_color = TRUE
|
||||
apply_colour = TRUE
|
||||
apply_colour = TRUE
|
||||
|
||||
/obj/item/stack/material/concrete
|
||||
name = "concrete brick"
|
||||
icon_state = "brick"
|
||||
default_type = "concrete"
|
||||
no_variants = FALSE
|
||||
apply_colour = 1
|
||||
|
||||
Reference in New Issue
Block a user