Switch Button


This mod adds a switch button with capacity for a single logical signal, it also can work in reverse mode, that means, when player do left-mouse click, it switch his state ON/OFF, and when a configured keybind is presed, it open his gui inventory.

Utilities
6 years ago
0.16
12
Owner:
GalactusX31
Source:
https://github.com/GalactusX31/Switch-Button
Homepage:
https://forums.factorio.com/viewtopic...
License:
MIT
Created:
6 years ago
Latest Version:
0.1.7 (6 years ago)
Factorio version:
0.16
Downloaded by:
12 users

This is my first "contact" with the world of factories and the creation of MOD's.

The mod adds a simple switch, with a single configurable logic signal, which changes its status graph from OFF to ON and emits the configured signal.

Any suggestions to change the graphic, or increase the number of button styles will be well received; If someone has a problem with the mod, just report them in the "discussion" tab.

═╣ Changes in 0.1.7 ╠═
β–Ά Upon request, the code has been modified so that the player, if any mod modifies / updates the range distance bonuses, it works correctly.

═╣ Changes in 0.1.6 ╠═
β–Ά Polishing the code to be more readable and efficient.
β–Ά Added the option under "mod settings", to allow or not to show the virtual signal configured by pressing "ALT" key.

═╣ Changes in 0.1.5 ╠═
β–Ά Solved certain errors in the code, and added explanations of what each thing does, for a better reading and understanding.
β–Ά NEW, added the option to change the activation order of the switchbutton, now via mod settings, you can make the button change its status by mouse-left click, and opening the inventory gui using the keybind.

═╣ Changes in 0.1.4 ╠═
β–Ά Now, the switchbutton recipe is unlocked by investigating the technology of "circuit-network".

═╣ Changes in 0.1.3 ╠═
β–Ά Translation of the keybin key solved for English language.

═╣ Changes in 0.1.2 ╠═
β–Ά Solved a problem by which when removing the item, it gave in its place another one.

═╣ Changes in 0.1.1 ╠═
β–Ά Polishing the code to avoid conflict problems.