Files
VOREStation/code/__defines/materials.dm
T
Will 0c8488b0ae Move autolathe design datums to techweb datums (#19202)
* testing makes me feel good

* invalid lists

* get rid of those boards

* show expected mats

* oop

* error

* wip techweb porting

* more techweb entries

* ported too

* disable those for now

* okay nevermind i guess

* already exists

* assemblies

* moar

* welding helmet

* many entries

* lol tg

* fix test

* again

* fixagain

* more moved

* update techweb test

* catch that too

* screeee

* more fixes

* missing announcement

* orphaned sleevecard

* some more fixing

* test

* more

* oops

* glasses

* illegal icons

* non starting

* it's starting

* messed up

* cleanup

* more generic stuff

* morrrreee

* the plastic set

* oops

* correct value

* barbed wires

* more cleaning

* many more

* gone

* cleanup

* no longer

* do not allow duped designs

* it's own node

* proper order no dupes

* last of the broken nodes

* fix bad path

* cleanup

* more test more limits

* gone

* almost done

* these are gone

* syringe gun

* bioregenerator design

* all moved

* organized and webbed

* more fixes

* oops

* cleaning up

* organization

* clean up

* organize

* organized

* didn't save

* wrong mat

* adds many missing ammo types

* svd doesn't exist

* 10mm pistol added

* magazines not casings

* these are pistols

* this is used by like, one weapon

* m1 is ancient

* this is hunting

* extremely botched untested lathe

* disk junk

* rough foundations

* slowly converting

* slowly building this

* local materials

* almost

* big reorganization

* more cleanup

* more cleaning

* lathe stuff

* small fixes

* oops

* many fixes

* mat fix

* more fixes

* actually isolate the hacked designs

* protolathe hacking

* imprinter hacking

* missing ammos

* sheet printing for autolathe

* fixs

* again

* fixed test

* test test

* fix

* fix

* WHY

* fix it...

* here we go

* material print

* on turf

* body disk

* consistant name

* Many weapons to hacked lathe

* missing node

* wrong section

* fixes

* this list should be unified

* ammo boxes

* don't do single shells anymore

* wat

* specifics

* snowflake

* not needed

* already available

* pickaxe too

* tweak

* removed unneeded node

* missing surgery items

* Apply suggestion from @Cameron-The-Raven

* Adds RMS

* typo

* illegal needs hacked

* disabled material weapons

* circuit testing

* STRING TEST

* test

* fixing some things

* huh?

* hidden circuits

* some flakey boards

* grammar

* fixes

* more hidden

* wrong board

* security cams

* alert consoles

* spaceheater is simple enough to not have one

* pcus

* cargo vendors

* tcomms stuff

* solar tracker circuit

* artifact stuff

* SM stuff

* illegal machines

* med machines

* no longer needed

* more stuff

* these are not standard

* moreeee

* doppler and more

* organized

* finishing

* oop

* use the define

* inheret

* dopper fixes

* space heater

* doing some organization

* explain the var

* some tweaks

* wrong one

* fixed test

* material test too

* simple roto gens

* use the define

* emergency power node

* tgui fixes for icons

* not needed

* color blended material designs

* icons for large research

* oops

* unshit that

* use stack here

* center math

* .

* .

* .

* .

* .

* unifi

* fix these

* NO COPYPASTA

* ILLEEGGALLL

* mandate descriptions

* agony

* actually lets do this

* use macros

* description

* desc

* desc

* desc

* desc

* desc

* desc

* gps desc

* telecomms component desc

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2026-03-20 19:38:00 -04:00

151 lines
4.6 KiB
Plaintext

//metals
#define MAT_IRON "iron"
#define MAT_STEEL "steel"
#define MAT_STEELHULL "steel hull"
#define MAT_SILVER "silver"
#define MAT_GOLD "gold"
#define MAT_URANIUM "uranium"
#define MAT_TITANIUM "titanium"
#define MAT_PLASTEEL "plasteel"
#define MAT_PLASTEELHULL "plasteel hull"
#define MAT_DURASTEEL "durasteel"
#define MAT_DURASTEELHULL "durasteel hull"
#define MAT_TITANIUMHULL "titanium hull"
#define MAT_LEAD "lead"
#define MAT_METALHYDROGEN "mhydrogen"
#define MAT_COPPER "copper"
#define MAT_ALUMINIUM "aluminium"
#define MAT_BRONZE "bronze"
#define MAT_PLATINUM "platinum"
#define MAT_OSMIUM "osmium"
#define MAT_MORPHIUM "morphium"
#define MAT_MORPHIUMHULL "morphium hull"
#define MAT_TIN "tin"
//stone
#define MAT_MARBLE "marble"
#define MAT_GRAPHITE "graphite"
#define MAT_SANDSTONE "sandstone"
#define MAT_FLINT "flint"
#define MAT_CONCRETE "concrete"
//wood
#define MAT_WOOD "wood"
#define MAT_LOG "log"
#define MAT_SIFWOOD "alien wood"
#define MAT_SIFLOG "alien log"
#define MAT_HARDWOOD "hardwood"
#define MAT_HARDLOG "hardwood log"
#define MAT_WOODEN_STICK "wooden stick"
#define MAT_BIRCHWOOD "birch"
#define MAT_PINEWOOD "pine"
#define MAT_OAKWOOD "oak"
#define MAT_ACACIAWOOD "acacia"
#define MAT_REDWOOD "redwood"
//other
#define MAT_PLASTIC "plastic"
#define MAT_GLASS "glass"
#define MAT_RGLASS "rglass"
#define MAT_PGLASS "borosilicate glass"
#define MAT_RPGLASS "reinforced borosilicate glass"
#define MAT_PHORON "phoron"
#define MAT_DIAMOND "diamond"
#define MAT_SNOW "snow"
#define MAT_SNOWBRICK "packed snow"
#define MAT_VERDANTIUM "verdantium"
#define MAT_VALHOLLIDE "valhollide"
#define MAT_SUPERMATTER "supermatter"
#define MAT_CHITIN "chitin"
#define MAT_ALIENCHITIN "alien chitin"
#define MAT_ALIENCLAW "alien claw"
#define MAT_FUR "fur"
#define MAT_QUARTZ "quartz"
#define MAT_VOPAL "void opal"
#define MAT_PAINITE "painite"
#define MAT_TRITIUM "tritium"
#define MAT_DEUTERIUM "deuterium"
#define MAT_PLASTEELREBAR "plasteel rebar"
#define MAT_GRASS "grass"
#define MAT_RESIN "resin"
#define MAT_COMPOSITE "composite"
#define MAT_BIOMASS "biomass"
#define MAT_WEEDEXTRACT "weed extract"
#define MAT_CARDBOARD "cardboard"
#define MAT_GLAMOUR "stable glamour"
#define MAT_DARKGLASS "darkglass"
#define MAT_FLESH "flesh"
#define MAT_FANCYBLACK "fancyblack"
#define MAT_FOAM "foam"
#define MAT_FLOKIUM "flockium"
#define MAT_SMOLEBRICKS "smolebricks"
#define MAT_WAX "wax"
#define MAT_EAGATE "energized agate"
#define MAT_ALGAE "algae"
#define MAT_CULT "cult"
#define MAT_CULT2 "cult2"
// ALien materials
#define MAT_ALIENALLOY "alienalloy"
#define MAT_ALIEN_ALIUM "alium"
#define MAT_ALIEN_BEDROCK "bedrock"
#define MAT_ALIEN_DUNGEON "dungeonium"
#define MAT_ALIEN_ELEVAT "elevatorium"
// cloth materials
#define MAT_WOOL "wool"
#define MAT_FIBERS "fibers"
#define MAT_LEATHER "leather"
#define MAT_CLOTH "cloth"
#define MAT_SYNCLOTH "syncloth"
#define MAT_CARPET "carpet"
#define MAT_COTTON "cotton"
// colours
#define MAT_CLOTH_TEAL "teal"
#define MAT_CLOTH_BLACK "black"
#define MAT_CLOTH_GREEN "green"
#define MAT_CLOTH_PURPLE "purple"
#define MAT_CLOTH_BLUE "blue"
#define MAT_CLOTH_BEIGE "beige"
#define MAT_CLOTH_BROWN "brown"
#define MAT_CLOTH_LIME "lime"
#define MAT_CLOTH_YELLOW "yellow"
#define MAT_CLOTH_ORANGE "orange"
#define DEFAULT_TABLE_MATERIAL MAT_PLASTIC
#define DEFAULT_WALL_MATERIAL MAT_STEEL
#define SHARD_SHARD "shard"
#define SHARD_SHRAPNEL "shrapnel"
#define SHARD_STONE_PIECE "piece"
#define SHARD_SPLINTER "splinters"
#define SHARD_NONE ""
#define MATERIAL_UNMELTABLE 0x1
#define MATERIAL_BRITTLE 0x2
#define MATERIAL_PADDING 0x4
#define MATERIAL_NO_SYNTH 0x8
#define TABLE_BRITTLE_MATERIAL_MULTIPLIER 4 // Amount table damage is multiplied by if it is made of a brittle material (e.g. glass)
//Material Container Flags.
///If the container shows the amount of contained materials on examine.
#define MATCONTAINER_EXAMINE (1<<0)
///If the container cannot have materials inserted through attackby().
#define MATCONTAINER_NO_INSERT (1<<1)
///if the user can insert mats into the container despite the intent.
#define MATCONTAINER_ANY_INTENT (1<<2)
///if the user won't receive a warning when attacking the container with an unallowed item.
#define MATCONTAINER_SILENT (1<<3)
#define GET_MATERIAL_REF(arguments...) _GetMaterialRef(list(##arguments))
/// Makes sure only integer values are used when consuming, removing & checking for mats
#define OPTIMAL_COST(cost)(max(1, round(cost)))
/// Default circuitboard material list
#define DEFAULT_CIRCUIT_MATERIALS list(MAT_GLASS = 2000)
#define RECYCLE_CIRCUIT_MATERIALS list(MAT_GLASS = 40)