hardwood material port

This commit is contained in:
Killian
2021-10-28 10:21:38 +01:00
parent fba0e4dc0c
commit 70b88ad181
8 changed files with 73 additions and 2 deletions
@@ -92,6 +92,10 @@
name = "stack of alien wood"
type_to_spawn = /obj/item/stack/material/wood/sif
/obj/fiftyspawner/hardwood
name = "stack of hardwood"
type_to_spawn = /obj/item/stack/material/wood/hard
/obj/fiftyspawner/log
name = "stack of logs"
type_to_spawn = /obj/item/stack/material/log
@@ -100,6 +104,10 @@
name = "stack of alien logs"
type_to_spawn = /obj/item/stack/material/log/sif
/obj/fiftyspawner/log/hard
name = "stack of hardwood logs"
type_to_spawn = /obj/item/stack/material/log/hard
/obj/fiftyspawner/cloth
name = "stack of cloth"
type_to_spawn = /obj/item/stack/material/cloth
@@ -65,6 +65,29 @@
recipes -= r_recipe
continue
/datum/material/wood/hardwood
name = MAT_HARDWOOD
stack_type = /obj/item/stack/material/wood/hard
icon_colour = "#42291a"
icon_base = "stone"
icon_reinf = "reinf_stone"
integrity = 65 //a bit stronger than regular wood
hardness = 20
weight = 20 //likewise, heavier
/datum/material/wood/hardwood/generate_recipes()
..()
for(var/datum/stack_recipe/r_recipe in recipes)
if(r_recipe.title == "wood floor tile")
recipes -= r_recipe
continue
if(r_recipe.title == "wooden chair")
recipes -= r_recipe
continue
if(r_recipe.title == "wooden standup figure")
recipes -= r_recipe
continue
/datum/material/wood/log
name = MAT_LOG
display_name = "wood" // will lead to "wood log"
@@ -88,6 +111,11 @@
stack_origin_tech = list(TECH_MATERIAL = 2, TECH_BIO = 2)
stack_type = /obj/item/stack/material/log/sif
/datum/material/wood/log/hard
name = MAT_HARDLOG
icon_colour = "#6f432a"
stack_type = /obj/item/stack/material/log/hard
//VOREStation Addition Start
/datum/material/wood/stick
name = "wooden stick"
@@ -13,6 +13,12 @@
color = "#0099cc"
default_type = MAT_SIFWOOD
/obj/item/stack/material/wood/hard
name = "hardwood plank"
color = "#42291a"
default_type = MAT_HARDWOOD
description_info = "Rich, lustrous hardwood, imported from offworld at moderate expense. Mostly used for luxurious furniture, and not very good for weapons or other structures."
/obj/item/stack/material/log
name = "log"
icon_state = "sheet-log"
@@ -32,6 +38,12 @@
color = "#0099cc"
plank_type = /obj/item/stack/material/wood/sif
/obj/item/stack/material/log/hard
name = "hardwood log"
default_type = MAT_HARDLOG
color = "#6f432a"
plank_type = /obj/item/stack/material/wood/hard
/obj/item/stack/material/log/attackby(var/obj/item/W, var/mob/user)
if(!istype(W) || W.force <= 0)
return ..()