mirror of
https://github.com/evilew/GS13-Citadel.git
synced 2026-08-27 07:09:05 +01:00
fixed engi lathe printing sci inducers
This commit is contained in:
@@ -19,6 +19,16 @@
|
||||
if(!cell && cell_type)
|
||||
cell = new cell_type
|
||||
|
||||
// GS13 EDIT - added an engi inducer without a powercell this
|
||||
/obj/item/inducer/dry
|
||||
opened = TRUE
|
||||
cell_type = null
|
||||
|
||||
/obj/item/inducer/dry/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
// GS13 END EDIT
|
||||
|
||||
/obj/item/inducer/proc/induce(obj/item/stock_parts/cell/target, coefficient)
|
||||
var/totransfer = min(cell.charge,(powertransfer * coefficient))
|
||||
var/transferred = target.give(totransfer)
|
||||
|
||||
@@ -57,15 +57,27 @@
|
||||
category = list("Misc","Power Designs")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE | DEPARTMENTAL_FLAG_ENGINEERING
|
||||
|
||||
// GS13 EDIT
|
||||
/datum/design/inducer
|
||||
name = "Inducer"
|
||||
desc = "The GT-75 Electromagnetic Power Inducer can wirelessly induce electric charge in an object, allowing you to recharge power cells without having to remove them." //GS13 - NT to GT
|
||||
id = "inducer"
|
||||
build_type = PROTOLATHE
|
||||
materials = list(/datum/material/iron = 3000, /datum/material/glass = 1000)
|
||||
build_path = /obj/item/inducer/dry///sci
|
||||
category = list("Power Designs")
|
||||
departmental_flags = /*DEPARTMENTAL_FLAG_SCIENCE | */DEPARTMENTAL_FLAG_ENGINEERING
|
||||
|
||||
/datum/design/inducer_sci
|
||||
name = "Inducer"
|
||||
desc = "The GT-75 Electromagnetic Power Inducer can wirelessly induce electric charge in an object, allowing you to recharge power cells without having to remove them." //GS13 - NT to GT
|
||||
id = "inducer_sci"
|
||||
build_type = PROTOLATHE
|
||||
materials = list(/datum/material/iron = 3000, /datum/material/glass = 1000)
|
||||
build_path = /obj/item/inducer/sci
|
||||
category = list("Power Designs")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE | DEPARTMENTAL_FLAG_ENGINEERING
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
// GS13 END EDIT
|
||||
|
||||
/datum/design/inducercombat
|
||||
name = "Combat Ready Inducer"
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
display_name = "Electromagnetic Theory"
|
||||
description = "Study into usage of frequencies in the electromagnetic spectrum."
|
||||
prereq_ids = list("base")
|
||||
design_ids = list("holosign", "holosignsec", "holosignengi", "holosignatmos",/* "holosignfirelock",*/ "inducer", "tray_goggles", "holopad")
|
||||
design_ids = list("holosign", "holosignsec", "holosignengi", "holosignatmos",/* "holosignfirelock",*/ "inducer", /*GS13 EDIT*/ "inducer_sci", /*GS13 END EDIT*/ "tray_goggles", "holopad")
|
||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2500)
|
||||
|
||||
/datum/techweb_node/emp_adv
|
||||
|
||||
Reference in New Issue
Block a user