Switch Button by GalactusX31 updated for 1.0


This mod adds on/off switch button for sending a single circuit network signal. Mod settings allow to either toggle On/Off state by left-click and access inventory via hotkey, or to work like a regular constant combinator.

Content
3 years ago
1.0 - 1.1
8.44K
Circuit network

i [out-of-scope] Artillery circuit network connection

3 years ago

Is it possible to make it able to be connected to the artillery ?

mk-fg β˜†
3 years ago
(updated 3 years ago)

Don't think artillery in factorio has control behavior, but it should be possible to mod via an overlay or a nearby combinator.
It should probably be an entirely separate mod though, kinda like SmartArtilleryWagons, adding circuit network connection and some special GUIs and behavior there for stationary artillery, to which you can then connect switches or whatever other logic.

You can control inserter that puts shells into gun(s) though, which should effectively be an on/off switch for the gun.

Can also put arithmetic combinator with memory wire there which would AND pulses from single-item inserter with 1 and enable it if button signal != combinator output, or something to that effect. This way, flipping a switch in either direction will only load and fire a single shell (pulse from inserter flipping 0/1 signal back to equal) - "push button to fire" thing.

New response