Files
Bubberstation/code/modules/integrated_electronics/core
Shdorsh 6f24f5bd4b [READY] Giving circuits possibility to load item while in assembly (#39454)
* Letting circuits get items in assembly

This adds a proc so that certain circuits can have an item inserted once they are in the assembly. Also gets rid of the second list in the attack_self() proc and removes that pesky list.Find() proc by turning the first list into an associative list, which should make the proc more reliable and slightly more optimized.

* Letting circuits get items in assembly 

Add a boolean var and an additem proc so that you can insert items inside some circuits after they are inside the assembly, while it is still open

* Fixed indentation error

Happens when I use copypaste for new code, sorry folks.

* fixed a little error due to false object path

* Fixed single-input assemblies

The choice variable detected the name of the association rather than the circuit associated to it in the list.

* Added a fix for batteries

There was this bug, where the battery would be transferred into the location of the assembly rather than its contents when putting it inside.

* fixed a little issue with analyzers

* Indentation error due to copy paste again

* fixing nonreactivity on input circuits

hey, it's not easy reworking a whole proc like this...

* further simplifications

* Adding new var

can_input_object_when_closed, which should make it possible for people to take items from an assembly.

* Adding the code to the corresponding new var

* small correction

forgot to make the var reference the circuit

* since most stuff just calls attackby(), why not let it relay directly?

* Whelp, since no one's reviewing, let's add onto this

* seeing if another travis check will still result in errors

* done it, Naksu!

thanks for giving this another chance!
2018-09-04 00:31:13 +03:00
..
2018-07-07 02:00:25 -04:00
2018-07-07 02:00:25 -04:00
2018-04-23 15:00:23 +02:00
2018-04-23 15:00:23 +02:00