Search found 18 matches

by mg79
Fri Mar 15, 2019 5:42 pm
Forum: Mods
Topic: [MOD 0.17] Wood Harvester
Replies: 11
Views: 2076

Re: [MOD 0.17] Wood Harvester

Mod updated for 0.17 with some bug fixes. :D
by mg79
Wed Jul 25, 2018 5:12 pm
Forum: Mods
Topic: [MOD 0.17] Wood Harvester
Replies: 11
Views: 2076

Re: [MOD 0.16] Wood Harvester

Fixed it. It was a simple mistake on my behalf. In the recipes I had put quotes around the item amounts, which makes them strings. Factorio itself doesn't seem to care and makes an implicit cast to number, but it caused bob's to throw an error. Implicit cast to number sounds like a worthy bug repor...
by mg79
Wed Jul 25, 2018 3:09 pm
Forum: Mods
Topic: [MOD 0.17] Wood Harvester
Replies: 11
Views: 2076

Re: [MOD 0.16] Wood Harvester

Fixed it. It was a simple mistake on my behalf. In the recipes I had put quotes around the item amounts, which makes them strings. Factorio itself doesn't seem to care and makes an implicit cast to number, but it caused bob's to throw an error. I uploaded 0.0.10 with a fix to the mod portal, it shou...
by mg79
Tue Jul 24, 2018 9:08 am
Forum: Mods
Topic: [MOD 0.17] Wood Harvester
Replies: 11
Views: 2076

Re: [MOD 0.16] Wood Harvester

kaszak696 wrote:It seems to have a weird interaction with Bob's mods, specifically Bob's Library and Bob's Electronics. When they are both installed alongside Wood Harvester, Factorio throws this error:inadequate.
I'll look into it, thanks for the report!
by mg79
Mon Jul 23, 2018 11:54 am
Forum: Mods
Topic: [MOD 0.17] Wood Harvester
Replies: 11
Views: 2076

Re: [MOD 0.16] Wood Harvester

New version released, re-implementing that the harvesters start cutting down trees closest to themselves and work their way out. And fixed the sorting, so now it's in the proper subcategory. Had to quickly release another version after that because I discovered a bug when adding the mod to a save th...
by mg79
Mon Jul 09, 2018 2:00 pm
Forum: Mods
Topic: [MOD 0.17] Wood Harvester
Replies: 11
Views: 2076

[MOD 0.17] Wood Harvester

Wood Harvester Description: Adds a simple machine for automatic harvesting of forests into raw wood My first attempt at modding Factorio, sprung from starting a new game and ending up with a tiny patch of coal in my starting area, but completely surrounded by forest. Harvesting wood by hand in the ...
by mg79
Sun Jul 08, 2018 11:15 pm
Forum: Ideas and Requests For Mods
Topic: Mining drill for trees
Replies: 21
Views: 2006

Re: Mining drill for trees

Also there's a built-in module called "util" so you might want to use a different name in the future to avoid confusion. Hm..also removed the "harvest closest trees first". The only beauty function i added to the original, because i thought it looked/felt really meh if it starts in some far away co...
by mg79
Sun Jul 08, 2018 4:15 pm
Forum: Ideas and Requests For Mods
Topic: Mining drill for trees
Replies: 21
Views: 2006

Re: Mining drill for trees

Now with working migrations scripts too!

https://mods.factorio.com/mod/WoodHarvester
by mg79
Sun Jul 08, 2018 1:10 pm
Forum: Ideas and Requests For Mods
Topic: Mining drill for trees
Replies: 21
Views: 2006

Re: Mining drill for trees

Ok I got it the way I want it now, through a kludge. I added a new "Timber" item. If the tree has raw wood, the assembler will add the same amount of timber and destroy the tree, but only if there's less than 5 units of timber in the machine already. It then has a fixed recipe that makes 1 raw wood ...
by mg79
Sun Jul 08, 2018 9:44 am
Forum: Ideas and Requests For Mods
Topic: Mining drill for trees
Replies: 21
Views: 2006

Re: Mining drill for trees

It's doing boolean comparison, which always ends in "if true == false". Adding brackets works, as does inequality: Define "doesn't work". I didn't use can_insert() because that can't check multiple items at once. And a mod can add additional results, like a tree that drops wood and seeds. Also i ju...
by mg79
Sat Jul 07, 2018 11:48 pm
Forum: Ideas and Requests For Mods
Topic: Mining drill for trees
Replies: 21
Views: 2006

Re: Mining drill for trees

I found another bug, the check to see if inventory is full doesn't work. I replaced that code with a call to can_insert() instead. I've added an entity for a harvesting machine, extended from the container type. Is it possible to make a container require power? And is it possible to animate it and s...
by mg79
Sat Jul 07, 2018 8:39 pm
Forum: Ideas and Requests For Mods
Topic: Mining drill for trees
Replies: 21
Views: 2006

Re: Mining drill for trees

I was bored and wrote a simple control.lua only demonstration. It makes wooden chests slowly chop up trees around themselfs (one every 5 seconds configurable). It doesn't do any caching at all. It also doesn't do circles because that would require fetching all trees around each, instead of just one...
by mg79
Sat Jul 07, 2018 5:08 pm
Forum: Ideas and Requests For Mods
Topic: Mining drill for trees
Replies: 21
Views: 2006

Re: Mining drill for trees

Anything's possible with scripts (: Cache a list of trees around the building in on_built Sort list by distance of each tree Every few ticks catch the first (closest) tree from the list, kill it and put the wood into the machine Thanks, this seems like a workable way to do it. Since trees never gro...
by mg79
Sat Jul 07, 2018 10:36 am
Forum: Ideas and Requests For Mods
Topic: Mining drill for trees
Replies: 21
Views: 2006

Mining drill for trees

Is it possible to create a building that automatically harvests any tree around it? Like a mining drill except it affects a much larger area, removes trees within the affected area and outputs raw wood? And before anyone says "just use bots" I'm picturing something early game that could be used as a...
by mg79
Sun Jan 28, 2018 2:41 pm
Forum: Mods
Topic: [MOD 0.13.17+] Rampant
Replies: 572
Views: 128619

Re: [MOD 0.13.17+] Rampant - 0.16.11

After upgrading to Factorio 0.16.20 I've started getting this error whenever I build something using Nanobots. I don't know if it's an issue with Rampant or with Nanobots though. (I've posted in both threads). The message appears once for each item the bots build. Error while running event Rampant::...
by mg79
Fri Dec 29, 2017 4:49 pm
Forum: Ideas and Suggestions
Topic: Assembling machines useful late-game
Replies: 3
Views: 799

Assembling machines useful late-game

TL;DR Make Assembling Machine 1 not suck. Instead of each tier of assembling machine obsoleting the previous, make each tier good at different things. Problem Currently this game about automating things doesn't really start until you've researched Automation 2, because that's when you can actually ...
by mg79
Mon Apr 24, 2017 6:21 pm
Forum: Technical Help
Topic: 0.15 Spawning on island
Replies: 4
Views: 1002

Re: 0.15 Spawning on island

Feature request: Wooden boat
by mg79
Mon Apr 24, 2017 5:35 pm
Forum: Technical Help
Topic: [0.15] update fails on OSX
Replies: 4
Views: 808

[0.15] update fails on OSX

It downloads the update, then I get the below error. Clicking OK exits the game.

Image

MacOS Sierra, 10.12.3

Go to advanced search