snouz
ad4ae53c97
Adaptive threshold based on automated ammo count
...
-Threshold for alert comes is never higher than then number of ammo loaded by an inserter.
-This fixes annoying alerts in Space Exploration's meteor defence, where the default ammo loaded is 4, and fixes the problem for any other mod.
2021-06-21 15:06:34 +02:00
Wyrrrd
9545d088eb
Fix crash on load
...
"selected" mode defaulting to first slot now
2021-04-22 09:14:37 +02:00
Wyrrrd
87c2c17d72
Scan rework, car fix & multislot fix
...
- only scanning for forces with connected players
- only scanning on init, updating with entities when they are built/removed
- no alerts for cars without guns
- added multislot behaviour
2021-04-21 10:28:24 +02:00
Wyrrrd
fa2781aee2
Update control.lua
...
- commentary
- fix for multislot turrets
- small fixes
2021-04-20 10:07:26 +02:00
Wyrrrd
72e8b5509d
Update control.lua
2021-04-20 09:24:40 +02:00
Wyrrrd
15a8590a76
Some quick fixes
2021-04-19 23:42:11 +02:00
Wyrrrd
0d7676d71e
Added multislot logic for cars
...
- "correctly" handling multiple ammo slots (three solutions)
- not scanning surfaces twice anymore
2021-04-19 22:38:50 +02:00
Wyrrrd
846fb1412e
Fixed migration breaking multiplayer
...
Removed migration, fixed missing car index through on_config_changed
2021-04-02 14:20:20 +02:00
Wyrrrd
2b5f19052e
Localisation tweaks
...
- Added alerts to locale
- Customized alerts with localised name of entities
2021-03-29 09:42:18 +02:00
snouz
eb3b6cf0e6
graphics
...
-mod icon
-actual yellow and red ammo alerts (yellow derivated from existing vanilla ammo alert)
2021-03-29 01:24:55 +02:00
Wyrrrd
7f0fa8bbcf
Fix game crash on existing save
2021-03-28 17:49:53 +02:00
Wyrrrd
f42afe756a
Added car ammo alerts
2021-03-28 15:36:13 +02:00
Wyrrrd
ff7c5aab24
Performance
...
- moved turret index init to on_init
- migrated on_event to on_nth_tick
- typo in changelog
2020-03-21 14:20:23 +01:00
Wyrrrd
8a707a0c8b
Bugfix & style
...
- added initialization of turret index
- removed unnecessary variable
2020-03-21 14:00:26 +01:00
Wyrrrd
7c1e998c86
Fixed surface handling (again)
...
This time keeping performance of original design
2020-03-20 12:25:04 +01:00
Wyrrrd
7c9d98b9e3
Fixed surface handling
2020-03-20 00:55:10 +01:00
Wyrrrd
1ef2d837f7
Initial commit
...
Only changed supported Factorio version and added thumbnail
2020-02-17 21:11:17 +01:00