Skip to content

Commit

Permalink
TGS Test Merge (#6839)
Browse files Browse the repository at this point in the history
  • Loading branch information
lordme authored and lordme committed Nov 5, 2024
2 parents f47aac4 + 3edabb2 commit 70aa8b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion code/modules/integrated_electronics/core/printer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@
program = null
return
if(istext(new_input))
to_chat(usr, SPAN_NOTICE("[new_input] load blueprint pressed"))
to_chat(usr, SPAN_NOTICE("[new_input]"))
to_chat(usr, SPAN_NOTICE("Load blueprint pressed"))
log_game("[usr] cloned circuit [new_input]")
var/validation = SScircuit.validate_electronic_assembly(new_input)
// Validation error codes are returned as text.
Expand Down
4 changes: 2 additions & 2 deletions code/modules/integrated_electronics/core/saved_circuits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
var/assembly_path = all_assemblies[assembly_params["type"]]
var/obj/item/electronic_assembly/assembly = cached_assemblies[assembly_path]
if(!assembly)
return "Invalid assembly type."
return "Invalid assembly type: \"[assembly_params["type"]]\"."

// Make sure the container is supposed to have that type of assembly.
if(possible_container)
Expand Down Expand Up @@ -295,7 +295,7 @@
var/component_path = all_components[component_params["type"]]
var/obj/item/integrated_circuit/component = cached_components[component_path]
if(!component)
return "Invalid component type."
return "Invalid component type: \"[component_params["type"]]\"."

// Add temporary component to assembly_components list, to be used later when verifying the wires
assembly_components.Add(component)
Expand Down

0 comments on commit 70aa8b7

Please sign in to comment.