Hello Rseding91, I did few tests, what surprises me is that the locked setting has a more important value than the creation. the mod test Press hotkey [K] in game to open/close test panel test-choose-elem-button-cost.zip recipes in vanilla: test_recipe_base.png recipe in Pyanodon Mods (it just a tes...
+1 when you use choose-elem-button the cost to add the button and lock can be significant. this to get the game tooltip choose-elem-button-cost.png if you can have a button to get tooltip, it will be super elem-button: elem_type :: string: The type of the button - one of the following values. item :...
can you expose the max_power_output for generator?
use the existing attribute LuaEntityPrototype.production: The max production this solar panel prototype produces or nil.
or create new LuaEntityPrototype.max_power_output
Hello Doylecan, [amount affecting one] = is only use to computing effect from beacon on factory [beacon by factory]*X + [constant beacon] = number of beacon for the recipe (where X is the number of factory) in this case the yellow line is the variant, 1 beacon for 2 factory = 0.5 beacon by factory b...
... ... no, actually, first i tried helmod to do the calculations for me. but i found out, that helmod did not take into account, that heavier oil products can be cracked into lighter ones and it always had a surplus of heavy and light oil. so, helmod obviously did not use linear equations. ... hel...
hello that return max and min consumption /c game.print( (function() local lua_prototype=game.entity_prototypes["inserter"] local max_energy_usage=lua_prototype.max_energy_usage local drain=lua_prototype.electric_energy_source_prototype.drain local max_consumption=math.ceil((max_energy_usa...
Hello
a good example is my mod which is only an interface: https://mods.factorio.com/mods/Helfima/helmod
for my windows now I destroy them on reopening because otherwise they always go in the background
in my case it was 1 or 2 lines to modify
after if you add an option I will be happy if not too bad
@khalismur hello edit: in your case [amount affecting one] = 3 [beacon by factory]=0.5 [constant beacon]=2 [amount affecting one] = is only use to computing effect from beacon on factory the another values is use to calculate the beacon number with more flexibility [beacon by factory]*X + [constant ...
@slay_mithos: yes it's bad, I must redo all calculation on fuild usage, fuel consumption and power in theory it seems simple but not with the API and there are no unit for sample if you mean LuaEntityPrototype.max_energy_usage is the max power for electric consumption, some time is wrong or empty it...
@zegermans750 what is the version of mod? check log file!
you have try on new game? juste to see if your data is corrumpt.
have you try refresh button?
"France French? Canadian French? Or some other French?" => France French "How long did it take you to write the mod?" => I started the mode 3 years ago, there are hundreds of hours of work. we should not focus on the term "sub-block", it's just an indication of the divi...
@GluAp I am French so to reassure you, English is not my native language. the concept of "sub-blocks" is basically a simple way to know how many times I will put my blueprint (sub-blocks) after it is true that all these figures are a bit confusing. I already had the idea to simplify that a...