Hi, I just recently got into factorio modding I had two questions
So I have been looking over at factorio's wiki and looking at https://forums.factorio.com/wiki/inde ... efinitions.
1.Is there a compiled list of all the prototype, their fields, and their explanation? Or is there at least some way to see what fields are available ingame?
2. Is there a way to make a gun use more than 1 magazine? For example, creating a double barreled shotgun, instead of using 1 magazine, it would use 2 (depleting it at twice the pace).
Thanks in advance!
EDIT: If not, is there a way where I could see the C++ source code?
List of prototype fields and ammo/gun question
Re: List of prototype fields and ammo/gun question
um, base prototypes? There's no list of explanations other than the wikiblah900 wrote:1.Is there a compiled list of all the prototype, their fields
No. For shotgun you could make 1 ammo item with half the magazine size and double the action parameters though (for shotgun shell use ntimes(32, {}) instead of the ntimes(16, {}). That's about as close as you'll get with the current state of the game, unless you choose to use lua to subtract from a neighboring ammo slot and...not sure if you can fire a second time through lua actually.blah900 wrote:2. Is there a way to make a gun use more than 1 magazine?
here's all the prototypes and their fields (for 9.7, shouldn't be different from 9.8 though) in one list:
You can email the devs and askEDIT: If not, is there a way where I could see the C++ source code?
Re: List of prototype fields and ammo/gun question
Thanks for the prompt reply!
I will make do with what is currently available.
I will make do with what is currently available.