mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-24 05:30:39 +01:00
23 lines
689 B
Plaintext
23 lines
689 B
Plaintext
/**
|
|
* legacy science designs
|
|
*/
|
|
/datum/prototype/design/science
|
|
abstract_type = /datum/prototype/design/science
|
|
lathe_type = LATHE_TYPE_PROTOLATHE
|
|
design_unlock = DESIGN_UNLOCK_TECHLEVEL
|
|
|
|
//Make sure items don't get free power
|
|
/datum/prototype/design/science/print(atom/where, amount, list/material_parts, list/ingredient_parts, list/reagent_parts, cost_multiplier = 1)
|
|
var/created = ..()
|
|
for(var/atom/movable/made as anything in islist(created) ? created : list(created))
|
|
if(!isitem(made))
|
|
continue
|
|
var/obj/item/I = made
|
|
var/obj/item/cell/C = I.get_cell()
|
|
if(C)
|
|
C.charge = 0
|
|
C.update_icon()
|
|
if(istype(I, /obj/item/gun))
|
|
var/obj/item/gun/G = I
|
|
G.pin = null
|