Input ports now connect to multiple output ports. Remove combiner. (#60494)

* tgui bsod

* debug disconnections

* prelim

* recomment

* set_value -> put ._.

* DAMN IT

* reinsert subsystem

* prepare

* unditch signals

* remove combiner

* remove combiner some more

* how did router.dm get here? deleting.

* These two COMSIGS should be one.

* critical typo

* inline cast

* have your signals

* Have your set_input & set_output.

* make compile

* upgrade save/load to n-to-n-wires

* have your documentation

* have your unsafe proc

* pay no attention to the compile errors

* unlist the ref

* paste my for block back in ._.

* fix manual input

* oops pushed too soon

* Have your !port.connected_to?.length

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
This commit is contained in:
Gurkenglas
2021-08-11 17:48:29 +02:00
committed by GitHub
parent e64b101750
commit e0fad671fd
66 changed files with 280 additions and 386 deletions
@@ -29,8 +29,8 @@
. = ..()
if(.)
return
var/atom/object = entity.input_value
var/var_name = variable_name.input_value
var/atom/object = entity.value
var/var_name = variable_name.value
if(!var_name || !object)
output_value.set_output(null)
return
@@ -48,16 +48,16 @@
return
var/called_on
if(proccall_options.input_value == COMP_PROC_OBJECT)
called_on = entity.input_value
if(proccall_options.value == COMP_PROC_OBJECT)
called_on = entity.value
else
called_on = GLOBAL_PROC
if(!called_on)
return
var/to_invoke = proc_name.input_value
var/params = arguments.input_value || list()
var/to_invoke = proc_name.value
var/params = arguments.value || list()
if(!to_invoke)
return
@@ -24,7 +24,7 @@
if(.)
return
var/operation = sdql_operation.input_value
var/operation = sdql_operation.value
if(GLOB.AdminProcCaller || !operation)
return TRUE
@@ -28,9 +28,9 @@
. = ..()
if(.)
return
var/atom/object = entity.input_value
var/var_name = variable_name.input_value
var/atom/object = entity.value
var/var_name = variable_name.value
if(!var_name || !object)
return
object.vv_edit_var(var_name, new_value.input_value)
object.vv_edit_var(var_name, new_value.value)
@@ -33,15 +33,15 @@
if(.)
return
var/typepath = input_path.input_value
var/typepath = input_path.value
if(!ispath(typepath, /atom))
return
var/list/params = parameters.input_value
var/list/params = parameters.value
if(!params)
params = list()
params.Insert(1, spawn_at.input_value)
params.Insert(1, spawn_at.value)
spawned_atom.set_output(new typepath(arglist(params)))
@@ -24,5 +24,5 @@
if(.)
return
type_output.set_output(text2path(input_path.input_value))
type_output.set_output(text2path(input_path.value))