Files
Bubberstation/code/modules/research/machinery/circuit_imprinter.dm
SkyratBot 5e9d2379bf [MIRROR] Stock Part Resprite [MDB IGNORE] (#21014)
* Stock Part Resprite

* wew

* alright

---------

Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2023-05-09 04:10:18 +01:00

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