Search found 11 matches

by Prapor
Fri Feb 25, 2022 8:15 am
Forum: Modding help
Topic: Limited content container
Replies: 1
Views: 693

Limited content container

Is it possible to limit the types of items that can be put in a container? For example, logs and wood planks can't be put into chest and can put only into warehouse. I know it can be done with scripts. For example, check every tick or less often the contents of the container and throw out everything...
by Prapor
Tue Jun 09, 2020 8:44 am
Forum: Modding help
Topic: multiple results in smelting recipe (need help)
Replies: 4
Views: 845

Re: multiple results in smelting recipe (need help)

I disabled these recipes:

data.raw["recipe"]["copper-plate"].enabled=false
data.raw["recipe"]["iron-plate"].enabled=false
by Prapor
Tue Jun 09, 2020 7:21 am
Forum: Modding help
Topic: multiple results in smelting recipe (need help)
Replies: 4
Views: 845

multiple results in smelting recipe (need help)

I'm new to modding and I'm naturally having problems As a test, I wanted to make a mod that adds several technological tiers for smelting ore. At the first tier, the player simply throws the ore into the oven, but at the exit gets little metal and a lot of slag. So the following recipe for some reas...
by Prapor
Tue Dec 03, 2019 11:39 am
Forum: PyMods
Topic: Py low graphic?
Replies: 2
Views: 1537

Re: Py low graphic?

We, as owners of "calculators" will have to suffer. The author does not want to make a low graphics version.
by Prapor
Mon Jun 24, 2019 9:50 am
Forum: PyMods
Topic: BSODs, the potato finally gives in
Replies: 5
Views: 2140

Re: BSODs, the potato finally gives in

Maybe someone should volunteer to produce all the sprites at a lower bit depth and give to Pyanodon. Someone did this for ta miners and saved 80% It's not exactly, but Angel + Bob give the same amount of graphics that PyMod. The depth of color here and there is 8 bits ... But Factorio with PyMod ea...
by Prapor
Mon May 06, 2019 12:07 pm
Forum: PyMods
Topic: BSODs, the potato finally gives in
Replies: 5
Views: 2140

Re: BSODs, the potato finally gives in

Likewise. Pymod eats up all my memory when loading sprites.
Bob and angel mods don't do that

(Аналогично. Pymod съедает всю мою память при загрузке спрайтов.
Моды Боба и Ангела такого не делают)
by Prapor
Tue Oct 16, 2018 11:57 am
Forum: Modding help
Topic: Disabling vanilla ore generation
Replies: 14
Views: 3810

Re: Disabling vanilla ore generation

I solve it. Typo detection :)))

how do I remove deleted resources from the start menu?
by Prapor
Tue Oct 16, 2018 11:22 am
Forum: Modding help
Topic: Disabling vanilla ore generation
Replies: 14
Views: 3810

Re: Disabling vanilla ore generation

I tried, but it doesn't work. I've tried putting this code in data.lua and data-update.lua-no effect. You are need to restart the game after every data changing. You can also start the game with this mod https://forums.factorio.com/viewtopic.php?f=135&t=45107 and just open log file with Notepad...
by Prapor
Tue Oct 16, 2018 10:47 am
Forum: Modding help
Topic: Disabling vanilla ore generation
Replies: 14
Views: 3810

Re: Disabling vanilla ore generation

Just look into data.raw: here is data.raw.resource, you can just delete autoplace from it. Something like that (not tested): for i, resource in pairs (data.raw.resource) do resource.autoplace = nil end I tried, but it doesn't work. I've tried putting this code in data.lua and data-update.lua-no eff...
by Prapor
Tue Oct 16, 2018 8:40 am
Forum: Modding help
Topic: Disabling vanilla ore generation
Replies: 14
Views: 3810

Re: Disabling vanilla ore generation

Thanks ta all...

This, as I understand it, should be placed in data_update.lua?

Code: Select all

for i, resource in pairs (data.raw.resource) do
resource.autoplace = nil
resource.autoplace.control = nil
end
by Prapor
Thu Oct 11, 2018 11:39 am
Forum: Modding help
Topic: Disabling vanilla ore generation
Replies: 14
Views: 3810

Disabling vanilla ore generation

What are some ways to remove vanilla ore from the game? I tried to figure out how Arch666Angel does it, but his LUA kung fu is better than mine. I basically understand how to do it, but this is only in principle, how to implement it at LUA, I don’t understand (especially considering that LUA I know ...

Go to advanced search