TG: - one file's proc definitions standardized

- added feedback logging for handcuff use
Revision: r3783
Author: 	 baloh.matevz
This commit is contained in:
Erthilo
2012-06-26 00:28:50 +01:00
parent 053ffb837e
commit c4bc7e796c

View File

@@ -20,40 +20,39 @@ obj/machinery/atmospherics
var/initialize_directions = 0 obj/machinery/atmospherics/var/initialize_directions = 0
var/color obj/machinery/atmospherics/var/color
process() obj/machinery/atmospherics/process()
build_network() build_network()
proc obj/machinery/atmospherics/proc/network_expand(datum/pipe_network/new_network, obj/machinery/atmospherics/pipe/reference)
network_expand(datum/pipe_network/new_network, obj/machinery/atmospherics/pipe/reference) // Check to see if should be added to network. Add self if so and adjust variables appropriately.
// Check to see if should be added to network. Add self if so and adjust variables appropriately. // Note don't forget to have neighbors look as well!
// Note don't forget to have neighbors look as well!
return null return null
build_network() obj/machinery/atmospherics/proc/build_network()
// Called to build a network from this node // Called to build a network from this node
return null return null
return_network(obj/machinery/atmospherics/reference) return_network(obj/machinery/atmospherics/reference)
// Returns pipe_network associated with connection to reference // Returns pipe_network associated with connection to reference
// Notes: should create network if necessary // Notes: should create network if necessary
// Should never return null // Should never return null
return null return null
reassign_network(datum/pipe_network/old_network, datum/pipe_network/new_network) reassign_network(datum/pipe_network/old_network, datum/pipe_network/new_network)
// Used when two pipe_networks are combining // Used when two pipe_networks are combining
return_network_air(datum/network/reference) return_network_air(datum/network/reference)
// Return a list of gas_mixture(s) in the object // Return a list of gas_mixture(s) in the object
// associated with reference pipe_network for use in rebuilding the networks gases list // associated with reference pipe_network for use in rebuilding the networks gases list
// Is permitted to return null // Is permitted to return null
disconnect(obj/machinery/atmospherics/reference) disconnect(obj/machinery/atmospherics/reference)
update_icon() update_icon()
return null return null