mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-15 20:22:07 +00:00
* Adds a Datum port type for Admin Circuits (#61582) Admin circuit components were limited in their utility due to the setvar, getvar, proccall, and signal handler components only being able to operate on atoms. I have improved them by adding the datum datatype, which is used exclusively by the aforementioned components in place of the atom datatype their target port currently uses. Furthermore, an option for the expected output type has been added to the getvar and proccall components. This option defaults to any. * Adds a Datum port type for Admin Circuits Co-authored-by: Y0SH1M4S73R <legoboyo@earthlink.net>
21 lines
467 B
Plaintext
21 lines
467 B
Plaintext
/// The basic player-facing types that don't have any super special behaviour.
|
|
GLOBAL_LIST_INIT(wiremod_basic_types, list(
|
|
PORT_TYPE_ANY,
|
|
PORT_TYPE_STRING,
|
|
PORT_TYPE_NUMBER,
|
|
PORT_TYPE_SIGNAL,
|
|
PORT_TYPE_LIST,
|
|
PORT_TYPE_TABLE,
|
|
PORT_TYPE_ATOM,
|
|
))
|
|
|
|
/// The fundamental datatypes of the byond game engine.
|
|
GLOBAL_LIST_INIT(wiremod_fundamental_types, list(
|
|
PORT_TYPE_ANY,
|
|
PORT_TYPE_NUMBER,
|
|
PORT_TYPE_ATOM,
|
|
PORT_TYPE_DATUM,
|
|
PORT_TYPE_STRING,
|
|
PORT_TYPE_LIST,
|
|
))
|