[MOD 0.12.x] Landfill (2.1.7)

Topics and discussion about specific mods
Rseding91
Factorio Staff
Factorio Staff
Posts: 14360
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Rseding91 »

GamesAreLife wrote:Got error message "__Landfill__/control.lua:33: attempt to index global 'game' (a nil value)" when loading or starting a game as of build 0.12.35
Don't use mods off the "Factoriomods.com" website - nobody uploads to it and they're outdated.

Download the mod off the mod forum first page.
If you want to get ahold of me I'm almost always on Discord.
GamesAreLife
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jun 26, 2016 12:05 pm
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by GamesAreLife »

Rseding91 wrote:
GamesAreLife wrote:Got error message "__Landfill__/control.lua:33: attempt to index global 'game' (a nil value)" when loading or starting a game as of build 0.12.35
Don't use mods off the "Factoriomods.com" website - nobody uploads to it and they're outdated.

Download the mod off the mod forum first page.
Thanks for letting me know!
zakman
Inserter
Inserter
Posts: 33
Joined: Fri Jun 03, 2016 1:48 am
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by zakman »

Apologies if this has been asked already, but I've been through the 19 pages of this thread and didn't see an answer to my question, so...

For the water bomb, what would I change in the mod in order to make the resulting water square larger?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14360
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Rseding91 »

zakman wrote:Apologies if this has been asked already, but I've been through the 19 pages of this thread and didn't see an answer to my question, so...

For the water bomb, what would I change in the mod in order to make the resulting water square larger?
Change "createWater(x, y, 1, v[5])" the 1 in that line to a larger number. 1 gives a 3x3. 2 would give a 5x5, 3 a 7x7 and so on.
If you want to get ahold of me I'm almost always on Discord.
apriori
Filter Inserter
Filter Inserter
Posts: 277
Joined: Thu Feb 18, 2016 8:13 pm
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by apriori »

control.lua: 374 - could you make this string localizable? Very good examples of how to do it you can see in Orbital Ion Cannon or Satellite Uplink.
And remove extra files from locale folder. Some variables are duplicated.
I'm localizing ur mod to ru.
Any code or mods posted by me are WTFPL, unless otherwise copyrights are specified.
Zeblote
Filter Inserter
Filter Inserter
Posts: 973
Joined: Fri Oct 31, 2014 11:55 am
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Zeblote »

Rseding91 wrote:
GamesAreLife wrote:Got error message "__Landfill__/control.lua:33: attempt to index global 'game' (a nil value)" when loading or starting a game as of build 0.12.35
Don't use mods off the "Factoriomods.com" website - nobody uploads to it and they're outdated.
Can you have it shut down to avoid confusion with the official one? Many people don't seem to realize it's not the same as mods.factorio.com.
Sunnova
Fast Inserter
Fast Inserter
Posts: 169
Joined: Mon May 16, 2016 12:10 pm
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Sunnova »

I love this mod, got tired of laying concrete so copied this and made one that lays concrete over different types of land. Still have to make all the concrete of course, but with a grass-be-gone built, mass laying of concrete. :)

Wish you would make one, I would drop mine for it fast.
Benie
Burner Inserter
Burner Inserter
Posts: 18
Joined: Fri Jun 17, 2016 7:14 am
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Benie »

I was directed to here after asking a way to world edit away landfills caused by the FARL mod. Does it do this? I read that it actually causes more harm than good in this sense instead of completely removing land raised up by that mod.
gendalf
Inserter
Inserter
Posts: 33
Joined: Thu Feb 25, 2016 8:59 pm
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by gendalf »

how to access the terraform tools? I can only see the bomb and water-be-gone..
also why is the bomb so expensive, you're just digging a well...
Rseding91
Factorio Staff
Factorio Staff
Posts: 14360
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Rseding91 »

gendalf wrote:how to access the terraform tools? I can only see the bomb and water-be-gone..
also why is the bomb so expensive, you're just digging a well...
There are no "terraform tools" - just the bomb and water-be-gone. You use the base-game landfill item added in 0.13. The 0.12 version has the mod-added landfill for filling in water.

As for the bomb: because that's the cost I wanted to make.
If you want to get ahold of me I'm almost always on Discord.
Lemish
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Jun 14, 2015 12:21 pm
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Lemish »

You can use Landfill in 0.14, you need to replace 1 line.
Open \Landfill_2.1.10.zip\Landfill_2.1.10\info.json (notepad++ is very good for this ;) )
search the line 9

Code: Select all

  "factorio_version": "0.13"
and replace by

Code: Select all

  "factorio_version": "0.14"
Zaflis
Filter Inserter
Filter Inserter
Posts: 514
Joined: Sun Apr 24, 2016 12:51 am
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Zaflis »

Lemish wrote:You can use Landfill in 0.14, you need to replace 1 line.
Open \Landfill_2.1.10.zip\Landfill_2.1.10\info.json ...
Where do you find 2.1.10? I only see 2.1.7 for Factorio 0.12.x.

I'm only looking for the water creation mechanic, vanilla landfill works well enough.

Nvm, it's just first post not updated. It's there: https://mods.factorio.com/mods/Rseding91/Landfill
Sunnova
Fast Inserter
Fast Inserter
Posts: 169
Joined: Mon May 16, 2016 12:10 pm
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Sunnova »

Love this mod, will it be updated for .15?
Sunnova
Fast Inserter
Fast Inserter
Posts: 169
Joined: Mon May 16, 2016 12:10 pm
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Sunnova »

charmead wrote:Love this mod, will it be updated for .15?

Got it working, I changed the entity type,

type = "deconstructible-tile-proxy", seems to work fine so far.
Sander_Bouwhuis
Filter Inserter
Filter Inserter
Posts: 292
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Sander_Bouwhuis »

Could you please tell me where to set the type to deconstructible-tile-proxy? I only need the water creation part.
User avatar
MasterBuilder
Filter Inserter
Filter Inserter
Posts: 353
Joined: Sun Nov 23, 2014 1:22 am
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by MasterBuilder »

Sander_Bouwhuis wrote:Could you please tell me where to set the type to deconstructible-tile-proxy? I only need the water creation part.
If all you need is water creation, there's working alternatives on the mod portal like this. (Just search for water for the others.)
Give a man fire and he'll be warm for a day. Set a man on fire and he'll be warm for the rest of his life.
Sunnova
Fast Inserter
Fast Inserter
Posts: 169
Joined: Mon May 16, 2016 12:10 pm
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Sunnova »

Sander_Bouwhuis wrote:Could you please tell me where to set the type to deconstructible-tile-proxy? I only need the water creation part.

Oops, I'm so sorry I didn't post that info. Yes, in prototypes\entities.lua

Change
type = "decorative",

to
type = "deconstructible-tile-proxy",

It's only found once in the file at the top.

in the info.json file, change
"factorio_version": "0.14"

to
"factorio_version": "0.15"

That should do it for you.

It's working super for me.
Sander_Bouwhuis
Filter Inserter
Filter Inserter
Posts: 292
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [MOD 0.12.x] Landfill (2.1.7)

Post by Sander_Bouwhuis »

Ok, thanks a bunch for the instructions.

Here is the new archive, in case there are others that want to use this mod in v0.15.
Attachments
Landfill_2.1.12.zip
(39.89 KiB) Downloaded 232 times
Post Reply

Return to “Mods”