Hello,
Is there a way to increase the current progression of the current research ?
Thanks
Is it possible to increase search % ?
-
- Filter Inserter
- Posts: 358
- Joined: Fri Jul 25, 2014 2:53 pm
- Contact:
Re: Is it possible to increase search % ?
yes, craft science packs and put them in the lab, but somehow i don't think that is what you are looking for
Check out my mods
Re: Is it possible to increase search % ?
Yea, I search a way to increase research profression with a % of my choice with the lua api ^^
Re: Is it possible to increase search % ?
I have no idea what this is referencing, other than something related to research.
Re: Is it possible to increase search % ?
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.
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.
Re: Is it possible to increase search % ?
Ah. Ok then.
Looking to make an improved lab?
Looking to make an improved lab?
Re: Is it possible to increase search % ?
Yes and No.
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 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.
-
- Filter Inserter
- Posts: 358
- Joined: Fri Jul 25, 2014 2:53 pm
- Contact:
Re: Is it possible to increase search % ?
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.
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.
Check out my mods
Re: Is it possible to increase search % ?
Yea but how can I increase the search progression then ?
Re: Is it possible to increase search % ?
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.)
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.)