Search found 9 matches

by Mooeing-747
Mon Dec 14, 2020 7:56 am
Forum: Show your Creations
Topic: Playing "Let it go" from Frozen
Replies: 0
Views: 1280

Playing "Let it go" from Frozen

About a year ago, I decided I wanted to make a piano by using programmable speakers. I worked on it off and on (but mostly off!) until mid October, when I finally settled on a design for the piano itself. A weekend's worth of work later and the initial version was done and could play a fairly recogn...
by Mooeing-747
Thu Dec 03, 2020 8:10 pm
Forum: Implemented mod requests
Topic: Ship machine readable API information
Replies: 15
Views: 3527

Re: Ship machine readable API information

As another data-point, https://github.com/sguest/factorio-types has a prototype parser that I've been cribbing.
by Mooeing-747
Thu Dec 03, 2020 7:10 pm
Forum: Implemented mod requests
Topic: Ship machine readable API information
Replies: 15
Views: 3527

Re: Ship machine readable API information

Could you link one of the tools that scrapes the prototype pages? I'm curious what their result is. For lua-api.factorio.com, there is https://github.com/spiwn/FactorioApiScraper which is open source, so you don't need to make your own parser. The prototype pages are edited entirely by hand. Exampl...
by Mooeing-747
Tue Dec 01, 2020 11:16 pm
Forum: Implemented mod requests
Topic: Ship machine readable API information
Replies: 15
Views: 3527

Ship machine readable API information

Apologies if this isn't the right place to request this, wasn't sure where it fit best. I've noticed several tools (like autocompletes for various IDEs) that rely on scraping the documentation of the Lua API and prototypes pages and then do all sorts of html scraping magic to extract things like str...
by Mooeing-747
Sun Nov 29, 2020 11:13 pm
Forum: Resolved Problems and Bugs
Topic: [boskid][1.1.2] Power Switch does not play sound effects
Replies: 1
Views: 1656

[boskid][1.1.2] Power Switch does not play sound effects

Despite having working_sound defined in its prototype (the actual definition in base/prototypes/entity/circuit-network.lua), the power switch does not play sounds. I confirmed this by building a power switch, standing right next to it, and toggling it on and off, both manually and with the circuit n...
by Mooeing-747
Sat Nov 28, 2020 11:45 pm
Forum: Modding interface requests
Topic: [1.1.2] Expose train stop limit information to Lua
Replies: 3
Views: 1316

Re: [1.1.2] Expose train stop limit information to Lua

I control-f'd for `limit` in the entity docs but I must have been bitten by a cache issue. Ah well, thanks for the sanity check!
by Mooeing-747
Sat Nov 28, 2020 10:58 pm
Forum: Modding interface requests
Topic: [1.1.2] Expose train stop limit information to Lua
Replies: 3
Views: 1316

[1.1.2] Expose train stop limit information to Lua

I'd like to be able to read the current train limit of a station in a mod, but it doesn't seem to be exposed to Lua? I'm guessing I can get the number of trains that have reserved the station with a combination of `get_stopped_train()` and checking the `path_end_stop` for each train in `get_train_st...
by Mooeing-747
Fri May 22, 2020 9:16 pm
Forum: Won't fix.
Topic: [0.18.26] Pathing edge case with artillary and biters
Replies: 6
Views: 1699

Re: [0.18.26] Pathing edge case with artillary and biters

ickputzdirwech wrote: ↑
Fri May 22, 2020 9:03 pm
posila wrote: ↑
Fri May 22, 2020 8:58 pm
I had bit of laught, but it was mean troll. Sorry.
You got me there. But don't worry. Now it's my turn laughing :lol:
Same! And now it's the biters' turn crying...
by Mooeing-747
Fri May 22, 2020 7:33 pm
Forum: Won't fix.
Topic: [0.18.26] Pathing edge case with artillary and biters
Replies: 6
Views: 1699

[0.18.26] Pathing edge case with artillary and biters

I've found an exploitable edge case relating to biter pathing and the use of artillery. I was somewhat conflicted about posting this, as I have a save that (ab)uses this extensively as a defense mode :) Summary If you put an artillery cannon on an island, biters will aggro it, but be unable to path ...

Go to advanced search