mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 05:38:15 +01:00
[MIRROR] Converts gas, ore, plants and reagent strings to defines (#9611)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Heroman3003
Kashargul
parent
d5b62d4159
commit
fd5d9267ff
@@ -1,40 +1,40 @@
|
||||
/obj/item/stack/material/phoron
|
||||
name = "solid phoron"
|
||||
name = "solid " + MAT_PHORON
|
||||
icon_state = "sheet-phoron"
|
||||
default_type = "phoron"
|
||||
default_type = MAT_PHORON
|
||||
no_variants = FALSE
|
||||
drop_sound = 'sound/items/drop/glass.ogg'
|
||||
pickup_sound = 'sound/items/pickup/glass.ogg'
|
||||
|
||||
/obj/item/stack/material/diamond
|
||||
name = "diamond"
|
||||
name = MAT_DIAMOND
|
||||
icon_state = "sheet-diamond"
|
||||
default_type = "diamond"
|
||||
default_type = MAT_DIAMOND
|
||||
no_variants = FALSE //CHOMPedit - Variants added
|
||||
drop_sound = 'sound/items/drop/glass.ogg'
|
||||
pickup_sound = 'sound/items/pickup/glass.ogg'
|
||||
|
||||
/obj/item/stack/material/painite
|
||||
name = "painite"
|
||||
name = MAT_PAINITE
|
||||
icon_state = "sheet-gem"
|
||||
singular_name = "painite gem"
|
||||
default_type = "painite"
|
||||
default_type = MAT_PAINITE
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/void_opal
|
||||
name = "void opal"
|
||||
name = MAT_VOPAL
|
||||
icon_state = "sheet-void_opal"
|
||||
singular_name = "void opal"
|
||||
default_type = "void opal"
|
||||
singular_name = MAT_VOPAL
|
||||
default_type = MAT_VOPAL
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/quartz
|
||||
name = "quartz"
|
||||
name = MAT_QUARTZ
|
||||
icon_state = "sheet-gem"
|
||||
singular_name = "quartz gem"
|
||||
default_type = "quartz"
|
||||
default_type = MAT_QUARTZ
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
@@ -62,6 +62,3 @@
|
||||
default_type = MAT_MORPHIUM
|
||||
no_variants = FALSE
|
||||
apply_colour = TRUE
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/obj/item/stack/material/glass
|
||||
name = "glass"
|
||||
name = MAT_GLASS
|
||||
icon_state = "sheet-glass" //CHOMPedit - replace materials update
|
||||
default_type = "glass"
|
||||
default_type = MAT_GLASS
|
||||
no_variants = FALSE
|
||||
drop_sound = 'sound/items/drop/glass.ogg'
|
||||
pickup_sound = 'sound/items/pickup/glass.ogg'
|
||||
@@ -10,24 +10,24 @@
|
||||
/obj/item/stack/material/glass/reinforced
|
||||
name = "reinforced glass"
|
||||
icon_state = "sheet-rglass" //CHOMPedit - replace materials update
|
||||
default_type = "rglass"
|
||||
default_type = MAT_RGLASS
|
||||
no_variants = FALSE
|
||||
apply_colour = TRUE
|
||||
|
||||
/obj/item/stack/material/glass/phoronglass
|
||||
name = "borosilicate glass"
|
||||
name = MAT_PGLASS
|
||||
desc = "This sheet is special platinum-glass alloy designed to withstand large temperatures"
|
||||
singular_name = "borosilicate glass sheet"
|
||||
icon_state = "sheet-phoronglass" //CHOMPedit - replace materials update
|
||||
default_type = "borosilicate glass"
|
||||
default_type = MAT_PGLASS
|
||||
no_variants = FALSE
|
||||
apply_colour = TRUE
|
||||
|
||||
/obj/item/stack/material/glass/phoronrglass
|
||||
name = "reinforced borosilicate glass"
|
||||
name = MAT_RPGLASS
|
||||
desc = "This sheet is special platinum-glass alloy designed to withstand large temperatures. It is reinforced with few rods."
|
||||
singular_name = "reinforced borosilicate glass sheet"
|
||||
icon_state = "sheet-phoronrglass" //CHOMPedit - replace materials update
|
||||
default_type = "reinforced borosilicate glass"
|
||||
default_type = MAT_RPGLASS
|
||||
no_variants = FALSE
|
||||
apply_colour = TRUE
|
||||
apply_colour = TRUE
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
apply_colour = TRUE
|
||||
|
||||
/obj/item/stack/material/plasteel
|
||||
name = "plasteel"
|
||||
name = MAT_PLASTEEL
|
||||
icon_state = "sheet-plasteel" //CHOMPedit - replace materials update
|
||||
default_type = "plasteel"
|
||||
default_type = MAT_PLASTEEL
|
||||
no_variants = FALSE
|
||||
apply_colour = TRUE
|
||||
|
||||
@@ -26,10 +26,10 @@
|
||||
icon_state = "rods"
|
||||
|
||||
/obj/item/stack/material/durasteel
|
||||
name = "durasteel"
|
||||
name = MAT_DURASTEEL
|
||||
icon_state = "sheet-durasteel" //CHOMPedit - replace materials update
|
||||
item_state = "sheet-metal"
|
||||
default_type = "durasteel"
|
||||
default_type = MAT_DURASTEEL
|
||||
no_variants = FALSE
|
||||
apply_colour = TRUE
|
||||
|
||||
@@ -42,112 +42,112 @@
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/iron
|
||||
name = "iron"
|
||||
name = MAT_IRON
|
||||
icon_state = "sheet-ingot"
|
||||
default_type = "iron"
|
||||
default_type = MAT_IRON
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/lead
|
||||
name = "lead"
|
||||
name = MAT_LEAD
|
||||
icon_state = "sheet-ingot"
|
||||
default_type = "lead"
|
||||
default_type = MAT_LEAD
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/gold
|
||||
name = "gold"
|
||||
name = MAT_GOLD
|
||||
icon_state = "sheet-ingot"
|
||||
default_type = "gold"
|
||||
default_type = MAT_GOLD
|
||||
no_variants = FALSE
|
||||
apply_colour = TRUE
|
||||
|
||||
/obj/item/stack/material/silver
|
||||
name = "silver"
|
||||
name = MAT_SILVER
|
||||
icon_state = "sheet-ingot"
|
||||
default_type = "silver"
|
||||
default_type = MAT_SILVER
|
||||
no_variants = FALSE
|
||||
apply_colour = TRUE
|
||||
|
||||
//Valuable resource, cargo can sell it.
|
||||
/obj/item/stack/material/platinum
|
||||
name = "platinum"
|
||||
name = MAT_PLATINUM
|
||||
icon_state = "sheet-adamantine"
|
||||
default_type = "platinum"
|
||||
default_type = MAT_PLATINUM
|
||||
no_variants = FALSE
|
||||
apply_colour = TRUE
|
||||
|
||||
/obj/item/stack/material/uranium
|
||||
name = "uranium"
|
||||
name = MAT_URANIUM
|
||||
icon_state = "sheet-uranium"
|
||||
default_type = "uranium"
|
||||
default_type = MAT_URANIUM
|
||||
no_variants = FALSE
|
||||
|
||||
//Extremely valuable to Research.
|
||||
/obj/item/stack/material/mhydrogen
|
||||
name = "metallic hydrogen"
|
||||
icon_state = "sheet-mythril"
|
||||
default_type = "mhydrogen"
|
||||
default_type = MAT_METALHYDROGEN
|
||||
no_variants = FALSE
|
||||
|
||||
// Fusion fuel.
|
||||
/obj/item/stack/material/deuterium
|
||||
name = "deuterium"
|
||||
name = MAT_DEUTERIUM
|
||||
icon_state = "sheet-puck"
|
||||
default_type = "deuterium"
|
||||
default_type = MAT_DEUTERIUM
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
//Fuel for MRSPACMAN generator.
|
||||
/obj/item/stack/material/tritium
|
||||
name = "tritium"
|
||||
name = MAT_TRITIUM
|
||||
icon_state = "sheet-puck"
|
||||
default_type = "tritium"
|
||||
default_type = MAT_TRITIUM
|
||||
apply_colour = TRUE
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/osmium
|
||||
name = "osmium"
|
||||
name = MAT_OSMIUM
|
||||
icon_state = "sheet-ingot"
|
||||
default_type = "osmium"
|
||||
default_type = MAT_OSMIUM
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/graphite
|
||||
name = "graphite"
|
||||
name = MAT_GRAPHITE
|
||||
icon_state = "sheet-puck"
|
||||
default_type = MAT_GRAPHITE
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/bronze
|
||||
name = "bronze"
|
||||
name = MAT_BRONZE
|
||||
icon_state = "sheet-ingot"
|
||||
singular_name = "bronze ingot"
|
||||
default_type = "bronze"
|
||||
default_type = MAT_BRONZE
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/tin
|
||||
name = "tin"
|
||||
name = MAT_TIN
|
||||
icon_state = "sheet-ingot"
|
||||
singular_name = "tin ingot"
|
||||
default_type = "tin"
|
||||
default_type = MAT_TIN
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/copper
|
||||
name = "copper"
|
||||
name = MAT_COPPER
|
||||
icon_state = "sheet-ingot"
|
||||
singular_name = "copper ingot"
|
||||
default_type = "copper"
|
||||
default_type = MAT_COPPER
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/aluminium
|
||||
name = "aluminium"
|
||||
name = MAT_ALUMINIUM
|
||||
icon_state = "sheet-ingot"
|
||||
singular_name = "aluminium ingot"
|
||||
default_type = "aluminium"
|
||||
default_type = MAT_ALUMINIUM
|
||||
apply_colour = 1
|
||||
no_variants = FALSE
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/obj/item/stack/material/chitin
|
||||
name = "chitin"
|
||||
name = MAT_CHITIN
|
||||
desc = "The by-product of mob grinding."
|
||||
icon_state = "chitin"
|
||||
default_type = MAT_CHITIN
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
//don't see anywhere else to put these, maybe together they could be used to make the xenos suit?
|
||||
/obj/item/stack/xenochitin
|
||||
name = "alien chitin"
|
||||
name = MAT_ALIENCHITIN
|
||||
desc = "A piece of the hide of a terrible creature."
|
||||
singular_name = "alien chitin piece"
|
||||
icon = 'icons/mob/alien.dmi'
|
||||
@@ -19,13 +19,13 @@
|
||||
stacktype = "hide-chitin"
|
||||
|
||||
/obj/item/xenos_claw
|
||||
name = "alien claw"
|
||||
name = MAT_ALIENCLAW
|
||||
desc = "The claw of a terrible creature."
|
||||
icon = 'icons/mob/alien.dmi'
|
||||
icon_state = "claw"
|
||||
|
||||
/obj/item/weed_extract
|
||||
name = "weed extract"
|
||||
name = MAT_WEEDEXTRACT
|
||||
desc = "A piece of slimy, purplish weed."
|
||||
icon = 'icons/mob/alien.dmi'
|
||||
icon_state = "weed_extract"
|
||||
@@ -33,10 +33,10 @@
|
||||
/////FUR AND WOOL MATERIALS/////
|
||||
|
||||
/datum/material/fur
|
||||
name = "fur"
|
||||
name = MAT_FUR
|
||||
icon_colour = "#fff2d3"
|
||||
stack_origin_tech = list(TECH_MATERIAL = 2)
|
||||
display_name = "fur"
|
||||
display_name = MAT_FUR
|
||||
icon_base = "sheet-fabric"
|
||||
stack_type = /obj/item/stack/material/fur
|
||||
sheet_collective_name = "pile"
|
||||
@@ -53,8 +53,8 @@
|
||||
hardness = 5
|
||||
|
||||
/datum/material/fur/wool
|
||||
name = "wool"
|
||||
display_name = "wool"
|
||||
name = MAT_WOOL
|
||||
display_name = MAT_WOOL
|
||||
stack_type = /obj/item/stack/material/fur/wool
|
||||
|
||||
/datum/material/fur/generate_recipes()
|
||||
@@ -94,7 +94,7 @@
|
||||
new /datum/stack_recipe("blindfold", /obj/item/clothing/glasses/sunglasses/blindfold/whiteblindfold/craftable, 2, time = 5 SECONDS, pass_stack_color = TRUE, recycle_material = "[name]")
|
||||
)
|
||||
/obj/item/stack/material/fur
|
||||
name = "fur"
|
||||
name = MAT_FUR
|
||||
icon_state = "sheet-fabric"
|
||||
default_type = MAT_FUR
|
||||
strict_color_stacking = TRUE
|
||||
@@ -106,8 +106,8 @@
|
||||
apply_colour = TRUE
|
||||
|
||||
/obj/item/stack/material/fur/wool
|
||||
name = "wool"
|
||||
default_type = "wool"
|
||||
name = MAT_WOOL
|
||||
default_type = MAT_WOOL
|
||||
|
||||
/obj/item/clothing/suit/storage/duster/craftable
|
||||
name = "handmade duster"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/obj/item/stack/material/resin
|
||||
name = "resin"
|
||||
name = MAT_RESIN
|
||||
icon_state = "sheet-resin"
|
||||
default_type = "resin"
|
||||
default_type = MAT_RESIN
|
||||
no_variants = TRUE
|
||||
apply_colour = TRUE
|
||||
pass_color = TRUE
|
||||
strict_color_stacking = TRUE
|
||||
strict_color_stacking = TRUE
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/obj/item/stack/material/leather
|
||||
name = "leather"
|
||||
name = MAT_LEATHER
|
||||
desc = "The by-product of mob grinding."
|
||||
icon_state = "sheet-leather"
|
||||
default_type = MAT_LEATHER
|
||||
@@ -10,10 +10,10 @@
|
||||
pickup_sound = 'sound/items/pickup/leather.ogg'
|
||||
|
||||
/obj/item/stack/material/cloth
|
||||
name = "cloth"
|
||||
name = MAT_CLOTH
|
||||
desc = "Individual fibers woven into a cloth."
|
||||
icon_state = "sheet-cloth"
|
||||
default_type = "cloth"
|
||||
default_type = MAT_CLOTH
|
||||
no_variants = FALSE
|
||||
pass_color = TRUE
|
||||
strict_color_stacking = TRUE
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
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"
|
||||
name = MAT_LOG
|
||||
icon_state = "sheet-log"
|
||||
default_type = MAT_LOG
|
||||
no_variants = FALSE
|
||||
@@ -33,13 +33,13 @@
|
||||
pickup_sound = 'sound/items/pickup/wooden.ogg'
|
||||
|
||||
/obj/item/stack/material/log/sif
|
||||
name = "alien log"
|
||||
name = MAT_SIFLOG
|
||||
default_type = MAT_SIFLOG
|
||||
color = "#0099cc"
|
||||
plank_type = /obj/item/stack/material/wood/sif
|
||||
|
||||
/obj/item/stack/material/log/hard
|
||||
name = "hardwood log"
|
||||
name = MAT_HARDLOG
|
||||
default_type = MAT_HARDLOG
|
||||
color = "#6f432a"
|
||||
plank_type = /obj/item/stack/material/wood/hard
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/obj/item/stack/material/plastic
|
||||
name = "plastic"
|
||||
name = MAT_PLASTIC
|
||||
icon_state = "sheet-plastic"
|
||||
default_type = "plastic"
|
||||
default_type = MAT_PLASTIC
|
||||
no_variants = FALSE
|
||||
|
||||
/obj/item/stack/material/cardboard
|
||||
name = "cardboard"
|
||||
name = MAT_CARDBOARD
|
||||
icon_state = "sheet-card"
|
||||
default_type = "cardboard"
|
||||
default_type = MAT_CARDBOARD
|
||||
no_variants = FALSE
|
||||
pass_color = TRUE
|
||||
strict_color_stacking = TRUE
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
// Ok, technically not stones, but the snowbrick's function is similar to sandstone and marble
|
||||
/obj/item/stack/material/snow
|
||||
name = "snow"
|
||||
name = MAT_SNOW
|
||||
desc = "The temptation to build a snowman rises."
|
||||
icon_state = "sheet-snow"
|
||||
drop_sound = 'sound/items/drop/gloves.ogg'
|
||||
pickup_sound = 'sound/items/pickup/clothing.ogg'
|
||||
default_type = "snow"
|
||||
default_type = MAT_SNOW
|
||||
|
||||
/obj/item/stack/material/snowbrick
|
||||
name = "snow brick"
|
||||
desc = "For all of your igloo building needs."
|
||||
icon_state = "sheet-snowbrick"
|
||||
default_type = "packed snow"
|
||||
default_type = MAT_SNOWBRICK
|
||||
drop_sound = 'sound/items/drop/gloves.ogg'
|
||||
pickup_sound = 'sound/items/pickup/clothing.ogg'
|
||||
pickup_sound = 'sound/items/pickup/clothing.ogg'
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
/obj/item/stack/material/sandstone
|
||||
name = "sandstone brick"
|
||||
icon_state = "sheet-sandstone"
|
||||
default_type = "sandstone"
|
||||
name = MAT_SANDSTONE + " brick"
|
||||
icon_state = "sheet-sandstone" // CHOMPEdit
|
||||
default_type = MAT_SANDSTONE
|
||||
no_variants = FALSE
|
||||
drop_sound = 'sound/items/drop/boots.ogg'
|
||||
pickup_sound = 'sound/items/pickup/boots.ogg'
|
||||
|
||||
/obj/item/stack/material/marble
|
||||
name = "marble brick"
|
||||
icon_state = "sheet-marble"
|
||||
default_type = "marble"
|
||||
name = MAT_MARBLE + " brick"
|
||||
icon_state = "sheet-marble" // CHOMPEdit
|
||||
default_type = MAT_MARBLE
|
||||
no_variants = FALSE
|
||||
drop_sound = 'sound/items/drop/boots.ogg'
|
||||
pickup_sound = 'sound/items/pickup/boots.ogg'
|
||||
|
||||
/obj/item/stack/material/flint
|
||||
name = "flint piece"
|
||||
icon_state = "sheet-rock"
|
||||
default_type = "flint"
|
||||
name = MAT_FLINT + " piece"
|
||||
icon_state = "sheet-rock" // CHOMPEdit
|
||||
default_type = MAT_FLINT
|
||||
no_variants = FALSE
|
||||
drop_sound = 'sound/items/drop/boots.ogg'
|
||||
pickup_sound = 'sound/items/pickup/boots.ogg'
|
||||
@@ -25,8 +25,8 @@
|
||||
apply_colour = TRUE
|
||||
|
||||
/obj/item/stack/material/concrete
|
||||
name = "concrete brick"
|
||||
icon_state = "sheet-brick"
|
||||
default_type = "concrete"
|
||||
name = MAT_CONCRETE + " brick"
|
||||
icon_state = "sheet-brick" // CHOMPEdit
|
||||
default_type = MAT_CONCRETE
|
||||
no_variants = FALSE
|
||||
apply_colour = 1
|
||||
|
||||
Reference in New Issue
Block a user