Prototype/Shortcut: technology_to_unlock
Posted: Mon Aug 24, 2020 2:09 pm
Hello/
According to https://wiki.factorio.com/Prototype/Sho ... _to_unlock, it should be possible to hide a shortcut button behind a research. However, this doesn't seem to be working for me. In a new freeplay game (modded), I have all shortcut buttons available, despite giving them all technology_to_unlock. I can see with Data.Raw Serpent that the shortcuts do in fact have the technology_to_unlock tag correctly applied at runtime.
Does anyone know of a popular mod that could be causing this? (Construction Drones, Space Exploration, Krastorio 2)?
I've managed to use control.lua to "disable" the shortcuts 'til the technology is researched, but that just makes the shortcuts greyed-out. I wanted the shortcuts to be hidden until the correct technology was researched.
Thanks very much, and good day.
PS: I was unable to search the forum for technology_to_unlock because it replaces underscores with spaces. Advice on this would also be appreciated!
According to https://wiki.factorio.com/Prototype/Sho ... _to_unlock, it should be possible to hide a shortcut button behind a research. However, this doesn't seem to be working for me. In a new freeplay game (modded), I have all shortcut buttons available, despite giving them all technology_to_unlock. I can see with Data.Raw Serpent that the shortcuts do in fact have the technology_to_unlock tag correctly applied at runtime.
Does anyone know of a popular mod that could be causing this? (Construction Drones, Space Exploration, Krastorio 2)?
I've managed to use control.lua to "disable" the shortcuts 'til the technology is researched, but that just makes the shortcuts greyed-out. I wanted the shortcuts to be hidden until the correct technology was researched.
Thanks very much, and good day.
PS: I was unable to search the forum for technology_to_unlock because it replaces underscores with spaces. Advice on this would also be appreciated!