mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-02 13:02:38 +00:00
* Stock Part Resprite * wew * alright --------- Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
25 lines
1002 B
Plaintext
25 lines
1002 B
Plaintext
/obj/machinery/rnd/production/circuit_imprinter
|
|
name = "circuit imprinter"
|
|
desc = "Manufactures circuit boards for the construction of machines."
|
|
icon_state = "circuit_imprinter"
|
|
circuit = /obj/item/circuitboard/machine/circuit_imprinter
|
|
production_animation = "circuit_imprinter_ani"
|
|
allowed_buildtypes = IMPRINTER
|
|
|
|
/obj/machinery/rnd/production/circuit_imprinter/calculate_efficiency()
|
|
. = ..()
|
|
|
|
var/rating = 0
|
|
|
|
for(var/datum/stock_part/servo/servo in component_parts)
|
|
rating += servo.tier // There is only one.
|
|
|
|
efficiency_coeff = 0.5 ** max(rating - 1, 0) // One sheet, half sheet, quarter sheet, eighth sheet.
|
|
|
|
/obj/machinery/rnd/production/circuit_imprinter/offstation
|
|
name = "ancient circuit imprinter"
|
|
desc = "Manufactures circuit boards for the construction of machines. Its ancient construction may limit its ability to print all known technology."
|
|
allowed_buildtypes = AWAY_IMPRINTER
|
|
circuit = /obj/item/circuitboard/machine/circuit_imprinter/offstation
|
|
charges_tax = FALSE
|