ore_redemption ![code/modules/mining/machine_redemption.dm 4](git.png)
Ore Redemption Unit (ORM)
Vars | |
console_notify_timer | Variable that holds a timer which is used for callbacks to send_console_message() . Used for preventing multiple calls to this proc while the ORM is eating a stack of ores. |
---|---|
materials | Linkage to the ORM silo |
ore_multiplier | Smelted ore's amount is multiplied by this |
ore_values | Details how many credits each smelted ore is worth |
point_upgrade | Increases the amount of points the miners gain |
points | The current amount of unclaimed points in the machine |
requires_silo | Boolean on whether the ORM can claim points without being connected to an ore silo. |
stored_research | References the alloys the smelter can create |
Procs | |
can_smelt_alloy | Returns the amount of a specific alloy design, based on the accessible materials |
send_console_message | Sends a message to the request consoles that signed up for ore updates |
Var Details
console_notify_timer ![code/modules/mining/machine_redemption.dm 40](git.png)
Variable that holds a timer which is used for callbacks to send_console_message()
. Used for preventing multiple calls to this proc while the ORM is eating a stack of ores.
materials ![code/modules/mining/machine_redemption.dm 46](git.png)
Linkage to the ORM silo
ore_multiplier ![code/modules/mining/machine_redemption.dm 23](git.png)
Smelted ore's amount is multiplied by this
ore_values ![code/modules/mining/machine_redemption.dm 27](git.png)
Details how many credits each smelted ore is worth
point_upgrade ![code/modules/mining/machine_redemption.dm 25](git.png)
Increases the amount of points the miners gain
points ![code/modules/mining/machine_redemption.dm 21](git.png)
The current amount of unclaimed points in the machine
requires_silo ![code/modules/mining/machine_redemption.dm 19](git.png)
Boolean on whether the ORM can claim points without being connected to an ore silo.
stored_research ![code/modules/mining/machine_redemption.dm 42](git.png)
References the alloys the smelter can create
Proc Details
can_smelt_alloy
Returns the amount of a specific alloy design, based on the accessible materials
send_console_message
Sends a message to the request consoles that signed up for ore updates