Post by Nullbear on May 13, 2015 11:02:50 GMT
material
var/name = "Material"
var/description = "You should not be able to read this."
var/last_tick = null
var/atom/holder = null // The atom the material is attached to.
var/list/data = new/list() // Placeholder for various data the material may have.
var/list/chems = new/list() // Chems you will recieve, if you grind up an object made of this material, and their proportions.
var/robustness = 5 // Directly relates to durability of equipment. A material with zero or less robustness will collapse on itself without any outside forces.
var/flexibility = 5 // Thickness reduces this. Low flexibility materials will hinder movement. Flexibility affects robustness slightly.
var/mass = 5 // Weight of the material. This will usually affect movement speed. Water is 5.
var/meltpoint = 273 // Melting point of material. This is mostly only used to destroy stuff in fancy ways.
var/heatcap = 20 // Heat capacity of the material.
var/width = 1 // Width of material in millimeters. A standard sheet is one. This affects all of the materials properties.
var/particle = 2 // Size of particle that can pass through it. Used by filters and containers. Can make a material non-waterproof, but not the other way around.
var/resistance = 50 // How much electricity is turned into heat.
var/heatcon = 50 // How much heat can be transferred per process.
var/temper = 50 // How much tempering affects the material.
var/thermcrit = 50 // How much the temperature of a material affects its values.
var/magnetism = 50 // How well the material holds a magnetic field.
var/list/surface_a // The front or outside surface of the material
var/list/surface_b // The back or inside surface of the material
var/mcol = rgb(255,255,255) // Material Red Color
var/mopacity = photon(0,0,0,0,0) // Photon Opacity/will block these photons from passing. Until shaders are implemented, IR and UV lighting will not be a thing. Bug Byond Devs :c
var/temperature = 293 // Current temperature of the material.
var/energy = 0 // The stored energy of the material. This should hopefully only be used to balance out other stuff, Like how much light is re-emmitted by a glowstick.
var/radiation = 0 // The current radiation of the material. This will break down weaker materials very quickly.
This is the data for a material.
Composite materials are made by clicking a sheet of material with another sheet of material. You can bond all the materials in the stack using some form of bonder.
You can remove the topmost layer of a composite material by clicking on it with an empty hand (making them function like a stack.) Unless it was bonded to the stack.
It is possible to make alloys, composites, textiles, and so on, each giving the material a different effect.
Fancy machines make it possible to make more advanced composite materials.
A few materials have special properties, like glowing in the dark and stuff...
The surface materials are the only materials that react with the environment, unless they've been punctured.