mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-15 17:15:25 +01:00
Converts gas, mat and reagent strings to defines
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/datum/material/phoron
|
||||
name = "phoron"
|
||||
name = MAT_PHORON
|
||||
stack_type = /obj/item/stack/material/phoron
|
||||
ignition_point = PHORON_MINIMUM_BURN_TEMPERATURE
|
||||
icon_base = "stone"
|
||||
@@ -24,7 +24,7 @@
|
||||
for(var/turf/simulated/floor/target_tile in range(2,T))
|
||||
var/phoronToDeduce = (temperature/30) * effect_multiplier
|
||||
totalPhoron += phoronToDeduce
|
||||
target_tile.assume_gas("phoron", phoronToDeduce, 200+T0C)
|
||||
target_tile.assume_gas(GAS_PHORON, phoronToDeduce, 200+T0C)
|
||||
spawn (0)
|
||||
target_tile.hotspot_expose(temperature, 400)
|
||||
return round(totalPhoron/100)
|
||||
@@ -165,5 +165,3 @@
|
||||
supply_conversion_value = 13
|
||||
icon_base = "stone"
|
||||
table_icon_base = "stone"
|
||||
|
||||
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
/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
|
||||
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"
|
||||
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
|
||||
|
||||
@@ -61,6 +61,3 @@
|
||||
default_type = MAT_MORPHIUM
|
||||
no_variants = FALSE
|
||||
apply_colour = TRUE
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user