The LuaTechnology artillery-shell-range-1 and artillery-shell-speed-1 has the field upgrade=false, while every other similar technology (eg. weapon-shooting-speed-1) has it set to true.
I was trying to filter non-infinite unfinished research, and the upgrade field gave a rough estimate of whether the technology was infinite or not. Except for the artillery upgrades.
[1.1.73] LuaTechnology artillery upgrades has upgrade set to false
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: [1.1.73] LuaTechnology artillery upgrades has upgrade set to false
I think this may be related: viewtopic.php?f=23&t=103658
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: [1.1.73] LuaTechnology artillery upgrades has upgrade set to false
I can't see their relation, except they both mention artillery.FuryoftheStars wrote: ↑Sat Dec 03, 2022 4:25 pm I think this may be related: viewtopic.php?f=23&t=103658
This report is of the discrepancy between [artillery-shell-range-1, artillery-shell-speed-1] and all other weapon upgrade technologies.
Re: [1.1.73] LuaTechnology artillery upgrades has upgrade set to false
I wouldn't call this a bug - there is only one technology. is for when there are multiple technologies and "they should be shown as one that keeps going".
https://wiki.factorio.com/Prototype/Technology#upgrade That's how upgrade's behavior is described, and that's how it's used.
To check if a technology is "infinite", the best answer is if the prototype has a max_level and it's 4294967295
Code: Select all
upgrade = true
https://wiki.factorio.com/Prototype/Technology#upgrade That's how upgrade's behavior is described, and that's how it's used.
To check if a technology is "infinite", the best answer is if the prototype has a max_level and it's 4294967295
I have mods! I guess!
Link
Link