Wednesday Script Spotlight: Elevate Your Game with Behavior Scripts
Last time, we learned how to build a base that functions without buildings, and now it's time to learn how to operate with almost no bots!
And as a bonus, a simple and clear recipe for creating a Police-bot, which will add bright colors to your virtual world!

Author: StS73
Description: A high performance factory complex which moves ingredients and product by full stacks. Supports up to 30 production buildings. Works with both item transporters (late game) or portable transporters (early game). Works with all production components.
Usage:
Be aware that you need lots of resources to fill up all the ingredient slots in all your production buildings.


Author: Johan
Because you just found the Light Component and someone needs arresting.
Designed for direct link from P1 to the light register. P2 for when you have a Twinbot or multiple lights. P3 is the flashing speed of the lights. (I recommend a value of 2-3 which is approximately 0.4-0.6 seconds)

[h3]Behavior script: [/h3]
* * *
If you have any questions, please feel free to ask them in the comments. Also, be sure to check out the previous collection if you missed it:
https://store.steampowered.com/news/app/1450900/view/3808417211633108188
https://store.steampowered.com/news/app/1450900/view/3794905774846967399
https://store.steampowered.com/app/1450900/Desynced_Autonomous_Colony_Simulator
And as a bonus, a simple and clear recipe for creating a Police-bot, which will add bright colors to your virtual world!

Author: StS73
Description: A high performance factory complex which moves ingredients and product by full stacks. Supports up to 30 production buildings. Works with both item transporters (late game) or portable transporters (early game). Works with all production components.

- Build a central 3x2 building (2M2S)
- Install the following inside: Item Transporter (M), Medium Storage (M), Behavior Controller (I)
- Surround it with 2x1 buildings (2M) and 2 Storage Blocks (24) as shown in screenshot 1
- In each building, install the component that is necessary for the production of the desired resource. For example, a Fabricator
- Reserve slots in the storage of each structure for all necessary input and output resources as shown in screenshot 2, to ensure there is enough space for each ingredient involved in the production.
- Disconnect ALL buildings from the logistic network, except for the storage where the final resource (output storage) will be sent
- Assign each Fabricator the product it should produce.
Screenshot 1:
Screenshot 2:
[h3]Behavior script: [/h3]DSC29g1Z8YXY1IS1Xf3vka7E2apZGs4aL1Mg0MVML84FJYFB2xwV6T4Hu2UY0x4HPW1TzHqH0W6nu01CYgAv3IQ0X10Lctx12Php9M2GMzAF0ZCfjb0GtlOe0n1Ox70dkCxO3msqWI0w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C2k0FIO1Dj42o2jzuhx35ozHx3pCtb031zwgC1RBOrl33hRK22dSCQy1kFzyn0YuIhn3UVqN103oSfR1Xf8800cBbUm1d4ffs3yPqAl019jAO1WNcxM3gDhMf0uln5o3YGmGW0E9TLZ2NRT8C2sxAsg40GI1N4IbtMt3jFDE40aJ2lw2Maoa89
Copy the behavior script into the behavior controller and link the appropriate structures for proper operation as described below: - P1 input storage
- P2 output storage
- P3 your product
- All other slots are production buildings. Slots may be left empty.
Be aware that you need lots of resources to fill up all the ingredient slots in all your production buildings.


Author: Johan
Because you just found the Light Component and someone needs arresting.
Designed for direct link from P1 to the light register. P2 for when you have a Twinbot or multiple lights. P3 is the flashing speed of the lights. (I recommend a value of 2-3 which is approximately 0.4-0.6 seconds)

[h3]Behavior script: [/h3]
hQ4CgIACAKZ1bmxvY2uib3AAgQYCAIACAKx2X2NvbG9yX2JsdWWiaWQAgAIACqNudW0AAapzZXRfbnVtYmVyom9wAIEGAgCAAgCrdl9jb2xvcl9yZWSiaWQAgAIACqNudW0AAqpzZXRfbnVtYmVyom9wAIECAgADpHdhaXSib3AAgQYCAIACAKt2X2NvbG9yX3JlZKJpZACAAgAKo251bQABqnNldF9udW1iZXKib3AAgQYCAIACAKx2X2NvbG9yX2JsdWWiaWQAgAIACqNudW0AAqpzZXRfbnVtYmVyom9wAIECAgADpHdhaXSib3AAANkwUDEgTGVmdCBMaWdodCwgUDIgUmlnaHQgTGlnaHQsIFAzIEZsYXNoaW5nIFNwZWVkpGRlc2MAkwDDw8KqcGFyYW1ldGVycwasUG9saWNlIExpZ2h0pG5hbWUA
* * *
If you have any questions, please feel free to ask them in the comments. Also, be sure to check out the previous collection if you missed it:
https://store.steampowered.com/news/app/1450900/view/3808417211633108188
https://store.steampowered.com/news/app/1450900/view/3794905774846967399
https://store.steampowered.com/app/1450900/Desynced_Autonomous_Colony_Simulator