Search found 90 matches

by CzBuCHi
Sun Apr 15, 2018 1:58 pm
Forum: General discussion
Topic: Rotate electric pole
Replies: 5
Views: 3105

Rotate electric pole

So i spend at least half a hour trying to place medium electric pole in a way it would resemble "7" ... but that damm thing always randomly rotate itself when attaching wire to it (and as a result all wires are crossing each other ...) i know, this is "just" OCD but can we please...
by CzBuCHi
Fri Apr 06, 2018 5:35 pm
Forum: Modding discussion
Topic: Reading API documentation programically
Replies: 7
Views: 3049

Re: Reading API documentation programically

If you are using vscode, just use this already existing extension for autocompletion that also includes a script to parse the documentation: https://github.com/simonvizzini/vscode-factorio-lua-api-autocomplete/tree/master/scraper i tryied that extension already, but didnt look at the code so i defi...
by CzBuCHi
Fri Apr 06, 2018 1:28 pm
Forum: Modding discussion
Topic: Reading API documentation programically
Replies: 7
Views: 3049

Re: Reading API documentation programically

so im thinking about creating mod written in typescript and then transpiled to lua via node script... I am betting that any time saved by this contraption would be small compared to setting it up and debugging probably :) ... but i have no idea how to debug lua using vscode ... also i dont wanna in...
by CzBuCHi
Fri Apr 06, 2018 12:15 pm
Forum: Modding discussion
Topic: Reading API documentation programically
Replies: 7
Views: 3049

Re: Reading API documentation programically

HTML is generated from C++ class definitions, which are not publicly available. So "only" thing, that needs to be done is writing generator, that will generate xml or json intead of html? --or-- make C++ class declarations (not definitions ofc) public :) PS: Faster solution may be adding ...
by CzBuCHi
Thu Apr 05, 2018 7:56 pm
Forum: Modding discussion
Topic: Reading API documentation programically
Replies: 7
Views: 3049

Reading API documentation programically

Hello, i would like to programically read all LUA class definitions, but i only found HTML documentation at http://lua-api.factorio.com/latest/ , which is not ideal data source :/ (its doable but bleh...) has factorio some other public methods to read api (json, xml) ? PS: im guessing that documenta...
by CzBuCHi
Sun Mar 04, 2018 8:06 am
Forum: Gameplay Help
Topic: Train loading
Replies: 4
Views: 2634

Re: Train loading

Im still learning the game at this point (still processing what is unlocked by red+green science - didnt start with oil yet..) so i have no idea, what i will actually need .... so im grabbing random stuff, that looks like i may need it ... I think i will go with more smaller trains and multiple stat...
by CzBuCHi
Sat Mar 03, 2018 3:06 pm
Forum: Gameplay Help
Topic: Train loading
Replies: 4
Views: 2634

Train loading

Probably stupid question, but is there better way to fill train with warious stuff than what im doing? Because now i need to expand it and ... meh :(

BTW: it looks pretty at least :)

Image
by CzBuCHi
Sat Mar 03, 2018 8:46 am
Forum: Ideas and Suggestions
Topic: Pack inserter
Replies: 2
Views: 1354

Pack inserter

Yesterday i sumbled uppon Friday Facts #225 - Bots versus belts (part 2) and this is my idea how to make belts competable to bots: Create new inserter type "Pack inserter" - recipe requires at least stack inserter and blue circuit - can grab only full stack of items from container - requir...
by CzBuCHi
Fri Feb 23, 2018 12:07 am
Forum: Ideas and Suggestions
Topic: Better UI for combinators
Replies: 0
Views: 596

Better UI for combinators

Current combinator settings are litte cumbersome. This is how i imagine better dialog: https://i.imgur.com/Jmjm4Ar.png Some functional details: - clicking on signal would change selected signal in focused input (red border) - setting constant number would be done by clicking on buttons with numbers ...
by CzBuCHi
Thu Feb 22, 2018 10:56 pm
Forum: Ideas and Suggestions
Topic: Extend logic combinator functionality
Replies: 6
Views: 1823

Extend logic combinator functionality

Currently logic combinator can "execute" this code:

Code: Select all

if (A > B) {
  return C;
}
I would love to see this extended, so it would be able "execute" this code:

Code: Select all

if (A > B) {
  return C;
} else {
  return D;
}

Go to advanced search