Search found 82 matches
- Fri Dec 08, 2023 3:40 pm
- Forum: News
- Topic: Friday Facts #388 - Smaller things for 2.0
- Replies: 151
- Views: 35598
Re: Friday Facts #388 - Smaller things for 2.0
"Newer versions of Lua contain a dedicated integer type that would allow for full precision, but upgrading Factorio's Lua version is not feasible due to numerous modifications and bugfixes we have made to the language internally. This means that Lua scripts can only specify exact tick values u...
- Tue Dec 05, 2023 5:22 pm
- Forum: Modding help
- Topic: Map Reveal help
- Replies: 4
- Views: 959
Re: Map Reveal help
nothing,like have wrote no map reveal by walking/driving unless you have some sort of a radar with you...i am trying to make a mod that would allow you to equip a portable radar so you can reveal the map (in the map view) if you don't have it and don't have any radars placed the map view would remai...
- Thu Oct 19, 2023 8:28 am
- Forum: Modding help
- Topic: Map Reveal help
- Replies: 4
- Views: 959
Map Reveal help
Is there a way to completely disable map reveal by the player only? radars and similar items should remain unaffected.
any code for that?
any code for that?
- Thu Oct 19, 2023 7:47 am
- Forum: Modding help
- Topic: [Solved]Hide a recipe/item from inside technology
- Replies: 13
- Views: 1619
Re: [Solved]Hide a recipe/item from inside technology
No problem,also my coding skills are not that good but thanks for trying
- Wed Oct 18, 2023 5:40 pm
- Forum: Modding help
- Topic: [Solved]Hide a recipe/item from inside technology
- Replies: 13
- Views: 1619
Re: [Solved]Hide a recipe/item from inside technology
Thx will check it out
- Wed Oct 18, 2023 2:31 pm
- Forum: Modding help
- Topic: [Solved]Hide a recipe/item from inside technology
- Replies: 13
- Views: 1619
Re: [Solved]Hide a recipe/item from inside technology
btw,i put it data-final-fixes to make it work because in data-updates it would not stick...
- Wed Oct 18, 2023 1:41 pm
- Forum: Modding help
- Topic: [Solved]Hide a recipe/item from inside technology
- Replies: 13
- Views: 1619
Re: Hide a recipe/item from inside technology
ahh great...every day one learns more,thank you
- Wed Oct 18, 2023 1:35 pm
- Forum: Modding help
- Topic: [Solved]Hide a recipe/item from inside technology
- Replies: 13
- Views: 1619
Re: Hide a recipe/item from inside technology
Just one question will this now also remove the "steam-engine" from technology "steam-power" witch i added with my code?
- Wed Oct 18, 2023 11:38 am
- Forum: Modding help
- Topic: [Solved]Hide a recipe/item from inside technology
- Replies: 13
- Views: 1619
Re: Hide a recipe/item from inside technology
Nope,cant make a sense of the code,all i see changing the prerequisite for technologies and adding/removing? ingredients...but thank you anyway,will wait for some other explanation
- Wed Oct 18, 2023 11:14 am
- Forum: Modding help
- Topic: [Solved]Hide a recipe/item from inside technology
- Replies: 13
- Views: 1619
Re: Hide a recipe/item from inside technology
Will check that out now,thank you kindly
- Wed Oct 18, 2023 9:25 am
- Forum: Modding help
- Topic: [Solved]Hide a recipe/item from inside technology
- Replies: 13
- Views: 1619
[Solved]Hide a recipe/item from inside technology
So i wanted to change the steam engine from unlocking in one technology and unlock in another witch i managed to do like this table.insert(data.raw["technology"]["steam-power"].effects,{type = "unlock-recipe",recipe = "steam-engine"}) But now i have two recipe...
- Wed Jan 25, 2023 5:41 pm
- Forum: Modding help
- Topic: [SOLVED][HELP] data.raw Difficulty error
- Replies: 10
- Views: 2002
Re: [SOLVED][HELP] data.raw Difficulty error
yeah i added dependencies in the json file...so data-updates it is,it works as is now but will try it out..thx man for all the help i appreciate it!
- Wed Jan 25, 2023 5:32 pm
- Forum: Modding help
- Topic: [SOLVED][HELP] data.raw Difficulty error
- Replies: 10
- Views: 2002
Re: [SOLVED][HELP] data.raw Difficulty error
One more question,should i be using data-updates or data-final-fixes for these shenanigans i am trying to do...i am using final fixes because i want them to run after all mods.
- Wed Jan 25, 2023 5:27 pm
- Forum: Modding help
- Topic: [SOLVED][HELP] data.raw Difficulty error
- Replies: 10
- Views: 2002
Re: [SOLVED][HELP] data.raw Difficulty error
Thank you....will do some more trial and error and try figure it out more things,totally new to modding except some basic things
- Wed Jan 25, 2023 5:16 pm
- Forum: Modding help
- Topic: [SOLVED][HELP] data.raw Difficulty error
- Replies: 10
- Views: 2002
Re: [HELP] data.raw Difficulty error
You should look to other mods or the docs (not sure why I can't find technology.unit in the docs though). Try data.raw.technology["automation"].unit = {count = 2, ingredients = {{"automation-science-pack", 4}}, time = 12} Yeap this one works,thank you very much!!! so basically i...
- Wed Jan 25, 2023 5:10 pm
- Forum: Modding help
- Topic: [SOLVED][HELP] data.raw Difficulty error
- Replies: 10
- Views: 2002
Re: [HELP] data.raw Difficulty error
ok the "1" is for that science pack needed....so should i write "amount = 1" ? here is the original code from the mod i am trying to change the automation science pack to a different science pack from a different mod and count and time so i left the "1" there made sense...
- Wed Jan 25, 2023 3:13 pm
- Forum: Modding help
- Topic: [SOLVED][HELP] data.raw Difficulty error
- Replies: 10
- Views: 2002
[SOLVED][HELP] data.raw Difficulty error
Ok so i tried to edit some stuff in another mod but i get a error because the difficulty (normal,expensive i think) is not defined in my code but neither is in the mod that i try to edit i think, any way here is the code and the error but i don't know where to define the difficulty data.raw.technolo...
- Wed Jan 25, 2023 1:34 pm
- Forum: Modding help
- Topic: [SOLVED][Help] Lock item
- Replies: 7
- Views: 1697
Re: [Help] Lock item
So here is now the working code if anyone else is in need of locking recipes for other mods This one locks 2 items in the Electric Furnaces mod and moves them further down in the tech tree to a technology used by another mod called Early Extensions table.insert(data.raw["technology"]["...
- Wed Jan 25, 2023 1:23 pm
- Forum: Modding help
- Topic: [SOLVED][Help] Lock item
- Replies: 7
- Views: 1697
Re: [Help] Lock item
Yeap...i am blind officially! that was it...and here i was reading over tons of documentation to find what was wrong and the most simplest mistake goes unseen....hahahaah
Thx for noticing this you saved me from going insane!
Thx for noticing this you saved me from going insane!
- Wed Jan 25, 2023 9:04 am
- Forum: Modding help
- Topic: [SOLVED][Help] Lock item
- Replies: 7
- Views: 1697
Re: [Help] Lock item
thx for the input but this does not seem to work,and i belive this will not work since this is not a vanilla item it's from another mod...so the question is how access a item prototype data from another mod Error ModManager.cpp:1560: Failed to load mod "Misc Tweaks": __Misc Tweaks__/data-f...