Page 1 of 1

Technology Modifier

Posted: Tue May 21, 2013 3:57 am
by metzyn
According to the wiki the technology modifiers are very limited. I am redesigning my Solar Expansion mod and one of my technologies increases the output of a solar panel. Is this actually implemented and not shown in the wiki, or must I wait for the next version, or not even considered yet?

Possibly listed as "production-speed" or something similar? I aim to increase solar production by 20% per level and do not see a current method of doing so.

Re: Technology Modifier

Posted: Tue May 21, 2013 4:15 am
by metzyn
And I am increase solar production for my own solar array and not the default solar panel.

Re: Technology Modifier

Posted: Tue May 21, 2013 9:05 am
by kovarex
This is not possible now, but we should come up with something general enough.
Maybe, if player could specify custom named modifiers.
These would be changeable by technologies/scripts.
Then on some places this modifier could be specified to affect something.

Something like

Code: Select all

name = "My solar panel 3",
energy_source = 
{
  affected_by_modifiers={"Advanced solar panels modifier", "basic modifier"}
 ....
}
The question is the specification of the modifiers effect (should they sum, multiple, something other?)
Maybe we could go further and let the modder specify lua code (formula) of the modifiers usage.

This needs some time to settle :)

Re: Technology Modifier

Posted: Tue May 21, 2013 4:55 pm
by metzyn
This would be extremely useful as currently I am very limited in technology upgrades. Could this be something we might see in the next version (0.5.x) or further out?