I have no idea what this is referencing, other than something related to research.
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.
For exemple, a player is searching Electronics which require 30 Science Pack 1.
Let's say for exemple, the player already used 10 Science Pack 1 in this search. I want a way in lua to progress the search, I.e. instantanly do like if the player used 11 Science Pack 1.
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.
I want to create a mod to add a new type of lab. It take any object as input, consume it, and have a chance* to increase the current research progression.
* More exactly : the more an object have been consumed, the less we have a chance to increase current research progression.
I think what you need is a table to store the research progression in, but i don't know how to get the values for that progression. Then you need a script that checks the table every time an item is consumed in your new lab.
Perhaps it is possible without using a table and just check the progression in the lab directly. But with a table you can also store how many times it has failed, so that way you can for example include a counter of the maximum attempts it can fail.
Assuming the wiki has all the current API commands, this isn't possible.
Perhaps something you can use as a work around, is instead of directly increasing research, you could give a chance to unlock a random technology.
Obviously, for this to be remotely balanced, you'd need a near-infinitesimal chance per item, but any non-zero chance is still a chance, as long as it's above the rounding error threshold. (Which I don't happen to know.)
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.