Autonauts

Autonauts

Not enough ratings
Resource Placement
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
343.927 KB
6 Sep, 2022 @ 11:00am
9 Sep, 2022 @ 5:20pm
3 Change Notes ( view )

Subscribe to download
Resource Placement

Description
Heavily inspired by (and model assets borrowed with permission) Lunario#8672's Terraforming mod.

Latest tested game version: 139.9

Adds a 'Tile Workbench' structure craftable with a Log and 1 each of the 3 basic crude stone tools.

The Tile Workbench allows you to make a dredging tool that can turn a resource tile (clay,rock,coal,iron) into soil and spawn a slab of the same resource type that can be used to turn soil in other locations into the given resource tile. You can target tilled soil or holes without having to flatten the soil first, for convenience.

By default you can both craft these slabs, and dismantle them to extract resources from the Tile Workbench. These two features can be independently enabled or disabled in options.

Lastly the mod allows you to adjust the bonus Turf spawn rate, and turf storage multiplier. The resource slabs have their own independent bonus spawn rate option and storage config.

Slab crafting cost level is a difficulty setting. Using the dredge tool takes 'Level' seconds, and crafting slabs costs 2^Level resources.

As for Resources Extracted Level, if extracting is enabled you get 2^Level resources from dismantling a slab. Be prepared to lose resources due to despawning if you don't have enough bots to quickly grab and store them. Its recommended to leave these two options alone.

Assets used in my mods are probably someone else's work used with permission.
Code is my own work and anyone else is free to use it without needing to ask permission.
If any bugs found contact me on discord: nanashi#5568
13 Comments
DanteyPL 15 Jul, 2024 @ 6:53am 
It seems like reloading the game resets data in Creation() function. After adding proper logic to adding recipes to function BeforeLoad() it works.
DanteyPL 15 Jul, 2024 @ 6:28am 
After game started and save is loaded for the second time, everything from Tile Workbench disappears, except for creating resources from Resource Slabs
Dan B 14 Apr, 2024 @ 10:28pm 
No slice of auto life mod, noticed that my tile workbenches have no recipes, dreger or tiles, despite all mod settings turned on.

Dredger and tiles already created work fine though...

No changes on my side, though might have a same for months or longer since i dont really check those benches and had decent storage of tiles and dredger tools
JupiterAugust 6 Jan, 2024 @ 3:11pm 
@7thLegion what wuv code did you need to mess with?
7thLegion 5 Jun, 2023 @ 10:21am 
Do you have slice of auto life installed, i had same issue when i had that installed and had to mess with the wuv code in there, i can vouch that this mod is not causing your problem
seronis  [author] 3 Dec, 2022 @ 7:17am 
Except myself and others are doing this with the mod installed and no crashes. And IF YOU OPEN THE SCRIPT AND READ IT you will see it doesnt do a single thing even remotely related to that. So no. its NOT EVEN POSSIBLE for it to be causing that crash.

Most likely you didnt UNINSTALL the mod causing the crash. Disabling a mod in autonauts does NOT ACTUALLY DISABLE IT. It only stops certain active things from processing. Most of the code still loads and runs. So the other mod causing the crash will continue causing the crash until you are unsubscribed and verify all its loose files are removed.
1nanofarad 2 Dec, 2022 @ 7:45pm 
I don't know how it interacts but when you feed folk tier 2 food the game crashes if this mod is installed. in both settlement and enlightenment modes.
seronis  [author] 1 Dec, 2022 @ 3:53am 
Sorry but nothing even remotely related to that is done in this mod and there are no cases where a variable could cause a null pointer exception or an index out of range error, meaning no way for this mod to cause a crash period.

You can open up the script yourself and verify. Lua scripts are human readable with any text editor like notepad++.
1nanofarad 30 Nov, 2022 @ 8:36pm 
I'm getting a crash on feeding folk on tier 2 and a few other tiers. I have sorted out all other mods but this one.
seronis  [author] 19 Sep, 2022 @ 1:37pm 
My personal copy of the mod has the soil slab able to be used on sand. And using the stone slab on a stone resource tile will turn it and any adjacent stone tile neighbors into tall boulders. That will probably go live next time I update.

Suggestions for resource tile related tweaks are welcome, though no promises to add them to the mod unless it's something I'd personally use too.