Merge pull request #5477 from Citadel-Station-13/upstream-merge-35506
[MIRROR] Assblasts some power creep in circuit labs
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
icon = 'icons/obj/assemblies/electronic_tools.dmi'
|
||||
icon_state = "circuit_printer"
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
var/upgraded = TRUE // When hit with an upgrade disk, will turn true, allowing it to print the higher tier circuits.
|
||||
var/upgraded = FALSE // When hit with an upgrade disk, will turn true, allowing it to print the higher tier circuits.
|
||||
var/can_clone = FALSE // Same for above, but will allow the printer to duplicate a specific assembly.
|
||||
var/current_category = null
|
||||
var/list/program // Currently loaded save, in form of list
|
||||
@@ -136,6 +136,9 @@
|
||||
if(!CONFIG_GET(flag/ic_printing))
|
||||
to_chat(usr, "<span class='warning'>CentCom has disabled printing of custom circuitry due to recent allegations of copyright infringement.</span>")
|
||||
return
|
||||
if(!can_clone) // Copying and printing ICs is cloning
|
||||
to_chat(usr, "<span class='warning'>This printer does not have the cloning upgrade.</span>")
|
||||
return
|
||||
switch(href_list["print"])
|
||||
if("load")
|
||||
var/input = input("Put your code there:", "loading", null, null) as message | null
|
||||
|
||||
Reference in New Issue
Block a user