b33d1c49a3
* Initial work * more * ass * wsedfwedff * asss * test * stuff * fuck * sss a * kms * asdadwedwdfwefwef * start * test * dwwdew * ewefwfef * Redemption machine (#8) * Redemption machine * Removes debug messages * changes * fuckmyshitup * coin mint works with new material shenanigans (#10) * Auto stash before merge of "materials" and "origin/materials" * woops * furnace (#11) * autolathe manufacturing of toolboxes * eggs in a basket * some small changes * matcolors * documentation * more documentation and effects * done * Color man bad (#12) * fixes designs * ass * more fixes * fuck me * firestacks adder * epic fixes * fixes designs * DONE DIDDILY DOO * removes category macro * ch-ch-ch-changes * fixes some stuff * Fixes display of ore values (#9) * Redemption machine * Removes debug messages * Re-adds value display * Replaces the fire stacking component with an element instead (#13) * fixes examine * fixes ligma bugs * double ligma boofus * fix * misses some defines * fixes ORM * Update code/datums/components/material_container.dm Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com> * fixes * Makes glass objects weaker (#14) * Makes glass objects weaker * uses correct proc * fixes shit * honk honk * better * oh shit oh fuck * fixes * fuck ORMs * fixes the biogen * documentation * ass (#15) * component * changes * ass * ass * doc * Auto stash before merge of "materials-plasmacomponent" and "origin/materials-plasmacomponent" * fixes rounding * fixed
150 lines
4.5 KiB
Plaintext
150 lines
4.5 KiB
Plaintext
///Has no special properties.
|
|
/datum/material/iron
|
|
name = "iron"
|
|
id = "iron"
|
|
desc = "Common iron ore often found in sedimentary and igneous layers of the crust."
|
|
color = "#878687"
|
|
categories = list(MAT_CATEGORY_ORE = TRUE, MAT_CATEGORY_RIGID = TRUE)
|
|
sheet_type = /obj/item/stack/sheet/metal
|
|
coin_type = /obj/item/coin/iron
|
|
|
|
///Breaks extremely easily but is transparent.
|
|
/datum/material/glass
|
|
name = "glass"
|
|
id = "glass"
|
|
desc = "Glass forged by melting sand."
|
|
color = "#dae6f0"
|
|
alpha = 210
|
|
categories = list(MAT_CATEGORY_RIGID = TRUE)
|
|
integrity_modifier = 0.1
|
|
sheet_type = /obj/item/stack/sheet/glass
|
|
|
|
|
|
///Has no special properties. Could be good against vampires in the future perhaps.
|
|
/datum/material/silver
|
|
name = "silver"
|
|
id = "silver"
|
|
desc = "Silver"
|
|
color = "#bdbebf"
|
|
categories = list(MAT_CATEGORY_ORE = TRUE, MAT_CATEGORY_RIGID = TRUE)
|
|
sheet_type = /obj/item/stack/sheet/mineral/silver
|
|
coin_type = /obj/item/coin/silver
|
|
|
|
///Slight force increase
|
|
/datum/material/gold
|
|
name = "gold"
|
|
id = "gold"
|
|
desc = "Gold"
|
|
color = "#f0972b"
|
|
strength_modifier = 1.2
|
|
categories = list(MAT_CATEGORY_ORE = TRUE, MAT_CATEGORY_RIGID = TRUE)
|
|
sheet_type = /obj/item/stack/sheet/mineral/gold
|
|
coin_type = /obj/item/coin/gold
|
|
|
|
///Has no special properties
|
|
/datum/material/diamond
|
|
name = "diamond"
|
|
id = "diamond"
|
|
desc = "Highly pressurized carbon"
|
|
color = "#22c2d4"
|
|
categories = list(MAT_CATEGORY_ORE = TRUE, MAT_CATEGORY_RIGID = TRUE)
|
|
sheet_type = /obj/item/stack/sheet/mineral/diamond
|
|
coin_type = /obj/item/coin/diamond
|
|
|
|
///Is slightly radioactive
|
|
/datum/material/uranium
|
|
name = "uranium"
|
|
id = "uranium"
|
|
desc = "Uranium"
|
|
color = "#1fb83b"
|
|
categories = list(MAT_CATEGORY_ORE = TRUE, MAT_CATEGORY_RIGID = TRUE)
|
|
sheet_type = /obj/item/stack/sheet/mineral/uranium
|
|
coin_type = /obj/item/coin/uranium
|
|
|
|
/datum/material/uranium/on_applied(atom/source, amount, material_flags)
|
|
. = ..()
|
|
source.AddComponent(/datum/component/radioactive, amount / 10, source, 0) //half-life of 0 because we keep on going.
|
|
|
|
/datum/material/uranium/on_removed(atom/source, material_flags)
|
|
. = ..()
|
|
qdel(source.GetComponent(/datum/component/radioactive))
|
|
|
|
|
|
///Adds firestacks on hit (Still needs support to turn into gas on destruction)
|
|
/datum/material/plasma
|
|
name = "plasma"
|
|
id = "plasma"
|
|
desc = "Isn't plasma a state of matter? Oh whatever."
|
|
color = "#c716b8"
|
|
categories = list(MAT_CATEGORY_ORE = TRUE, MAT_CATEGORY_RIGID = TRUE)
|
|
sheet_type = /obj/item/stack/sheet/mineral/plasma
|
|
coin_type = /obj/item/coin/plasma
|
|
|
|
/datum/material/plasma/on_applied(atom/source, amount, material_flags)
|
|
. = ..()
|
|
if(ismovableatom(source))
|
|
source.AddElement(/datum/element/firestacker)
|
|
source.AddComponent(/datum/component/explodable, 0, 0, amount / 1000, amount / 500)
|
|
|
|
/datum/material/plasma/on_removed(atom/source, material_flags)
|
|
. = ..()
|
|
source.RemoveElement(/datum/element/firestacker)
|
|
qdel(source.GetComponent(/datum/component/explodable))
|
|
|
|
///Can cause bluespace effects on use. (Teleportation) (Not yet implemented)
|
|
/datum/material/bluespace
|
|
name = "bluespace crystal"
|
|
id = "bluespace_crystal"
|
|
desc = "Crystals with bluespace properties"
|
|
color = "#506bc7"
|
|
categories = list(MAT_CATEGORY_ORE = TRUE)
|
|
sheet_type = /obj/item/stack/sheet/bluespace_crystal
|
|
|
|
///Honks and slips
|
|
/datum/material/bananium
|
|
name = "bananium"
|
|
id = "bananium"
|
|
desc = "Material with hilarious properties"
|
|
color = "#fff263"
|
|
categories = list(MAT_CATEGORY_ORE = TRUE, MAT_CATEGORY_RIGID = TRUE)
|
|
sheet_type = /obj/item/stack/sheet/mineral/bananium
|
|
coin_type = /obj/item/coin/bananium
|
|
|
|
/datum/material/bananium/on_applied(atom/source, amount, material_flags)
|
|
. = ..()
|
|
source.AddComponent(/datum/component/squeak, list('sound/items/bikehorn.ogg'=1), 50)
|
|
source.AddComponent(/datum/component/slippery, min(amount / 10, 80))
|
|
|
|
/datum/material/bananium/on_removed(atom/source, amount, material_flags)
|
|
. = ..()
|
|
qdel(source.GetComponent(/datum/component/slippery))
|
|
qdel(source.GetComponent(/datum/component/squeak))
|
|
|
|
|
|
///Mediocre force increase
|
|
/datum/material/titanium
|
|
name = "titanium"
|
|
id = "titanium"
|
|
desc = "Titanium"
|
|
color = "#b3c0c7"
|
|
strength_modifier = 1.3
|
|
categories = list(MAT_CATEGORY_ORE = TRUE, MAT_CATEGORY_RIGID = TRUE)
|
|
sheet_type = /obj/item/stack/sheet/mineral/titanium
|
|
|
|
///Force decrease
|
|
/datum/material/plastic
|
|
name = "plastic"
|
|
id = "plastic"
|
|
desc = "plastic"
|
|
color = "#caccd9"
|
|
strength_modifier = 0.85
|
|
sheet_type = /obj/item/stack/sheet/plastic
|
|
|
|
///Force decrease and mushy sound effect. (Not yet implemented)
|
|
/datum/material/biomass
|
|
name = "biomass"
|
|
id = "biomass"
|
|
desc = "Organic matter"
|
|
color = "#735b4d"
|
|
strength_modifier = 0.8
|