mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +01:00
Integrated Circuit Overhaul 2.0 (#22647)
Complete overhaul of Integrated Circuits Final Edition! - Adds phoron cost to circuits (not assemblies). - Printer searching capability. - Changed names of assemblies to better match their description. - Adds cloning and auto appending JSON for large builds. - Adds database, debug, advanced math circuits. - Reworks the list circuits to finally accept anything other than NUM. - Adds plenty of list circuits to allow functional building and clearing of lists. - Reworks Complexity/Space to allow a bit better flexibility in creation of devices. - Adds a "Headroom" concept where space/complexity can go beyond the maximum to a very slight degree. Concretely, unused space gives `2` extra complexity per unused component slot, capped at `15%` of `max_complexity`. Unused complexity gives `1` extra component slot per `6` unused complexity, capped at `15%` of `max_components`. - Groups math and logic circuits and adds subgroups. - Doesn't mess with the circuit tool kit. - Adds a xenoarch drill assembly with a nice sprite. Thank you @EnchantedCrocolisk for the sprite! - Changes activation limit time to 1 second from 2 seconds, adds a 1 second timer that is unique to the INTEGRATED CIRCUIT PRINTER with the advanced design disk. - Ports several Baystation integrated-circuit manipulation components, primarily from Baystation12/Baystation12https://github.com/Baystation12/Baystation12/pull/22458, with anchoring bolts and hatch lock sourced from Baystation12/Baystation12https://github.com/Baystation12/Baystation12/pull/25052. - Changes the electronic ear piece into a workable radio headset with working encryption keys capability and unique ways the Microphone and TTS interacts with it. - Removed the ability for all the electronic wearables to spawn with a basic cell. - Combines https://github.com/Aurorastation/Aurora.3/pull/22466, https://github.com/Aurorastation/Aurora.3/pull/22456, https://github.com/Aurorastation/Aurora.3/pull/22455, https://github.com/Aurorastation/Aurora.3/pull/22446 that are now closed.
This commit is contained in:
@@ -39,6 +39,9 @@
|
||||
|
||||
// Data limits.
|
||||
#define IC_MAX_LIST_LENGTH 200
|
||||
#define IC_DEFAULT_PHORON_COST 0.005
|
||||
#define IC_BLUEPRINT_CHUNK_LIMIT 1000
|
||||
#define IC_BLUEPRINT_BUFFER_LIMIT 500000
|
||||
|
||||
/obj/item/integrated_circuit
|
||||
name = "integrated circuit"
|
||||
@@ -61,6 +64,7 @@
|
||||
var/power_draw_idle = 0 // How much power is drawn when doing nothing.
|
||||
var/spawn_flags // Used for world initializing, see the #defines above.
|
||||
var/category_text = "NO CATEGORY THIS IS A BUG" // To show up on circuit printer, and perhaps other places.
|
||||
var/phoron_cost = IC_DEFAULT_PHORON_COST
|
||||
var/removable = TRUE // Determines if a circuit is removable from the assembly.
|
||||
var/displayed_name = ""
|
||||
var/allow_multitool = TRUE // Allows additional multitool functionality
|
||||
|
||||
Reference in New Issue
Block a user