@admin I'm a dum-dum and didn't post this in the modding discussion section. Could you kindly move this there?
Hello dear modders! I was browsing through the ideas and suggestions forum today and saw a whole bunch of suggestions that looked sensible and minor enough to be bundled into my own personal tweaks mod (I'm a python programmer by profession, with 0 experience in lua and graphics design). This got me wondering - are there any templates for basic mods in existence that a new modder could potentially just fork in order to
1. quickly dip their toes in the factorio modding pool
2. rapidly test quick and easy ideas
Any suggestions? Alternatively, maybe someone could suggest good starting points? I'd imagine one would need to start by defining what a sensible categorization for possible mod functionalities would be before defining a template for it. If any experienced modders see this post, your input would be very appreciated!
Basic mod template
-
- Inserter
- Posts: 24
- Joined: Fri Jan 03, 2025 8:43 am
- Contact:
Basic mod template
Last edited by neoChaos12 on Thu Jan 16, 2025 12:37 am, edited 2 times in total.
Re: Basic mod template
There are a couple on Github / Factorio Mod portal that I have encountered. fgardt/factorio-mod-template seems to be the most complete & up-to-date.
Good Luck!
Good Luck!
-
- Inserter
- Posts: 24
- Joined: Fri Jan 03, 2025 8:43 am
- Contact:
Re: Basic mod template
This looks quite interesting. Thanks!eugenekay wrote: Wed Jan 15, 2025 5:15 pm There are a couple on Github / Factorio Mod portal that I have encountered. fgardt/factorio-mod-template seems to be the most complete & up-to-date.
Good Luck!
Although on close examination, it seems like less of a template and more of an automation wrapper to handle a bunch of publication tasks. Would you also happen to have some recommendations for simple mods I could look at as code examples? I imagine diving straight into a massive overhaul is definitely not the way to begin.
Re: Basic mod template
The wiki has a section on making mods including a full walkthrough on a basic mod.
https://wiki.factorio.com/Tutorial:Modding_tutorial
https://wiki.factorio.com/Tutorial:Modding_tutorial
Re: Basic mod template
D’oh, I didn’t realize GitHub doesn’t show the “downstream” Repositories which use this Template under the Forks page. Here is one that adds Pipes capable of holding Plasma from fusion reactors, for example: OGorbitz/plasma-duct.neoChaos12 wrote: Thu Jan 16, 2025 12:19 am This looks quite interesting. Thanks!
Although on close examination, it seems like less of a template and more of an automation wrapper to handle a bunch of publication tasks. Would you also happen to have some recommendations for simple mods I could look at as code examples? I imagine diving straight into a massive overhaul is definitely not the way to begin.
-
- Inserter
- Posts: 24
- Joined: Fri Jan 03, 2025 8:43 am
- Contact:
Re: Basic mod template
Yeah, I was quite baffled to see just a handful of forks, though looking through the profiles of people who starred that repo was quite fruitful too. Thanks for the recommendation!eugenekay wrote: Thu Jan 16, 2025 1:00 am
D’oh, I didn’t realize GitHub doesn’t show the “downstream” Repositories which use this Template under the Forks page. Here is one that adds Pipes capable of holding Plasma from fusion reactors, for example: OGorbitz/plasma-duct.
Haaaa... yeah, the wiki. To be honest, I found it a tad too intimidating. It's very detailed, well-structured and likely very useful. I just wanted to instead boot up a small script and Jack Sparrow my way through, since I'm doing this for fun rather than my job, for a change. Hopefully that's fair game.dmikalova wrote: Thu Jan 16, 2025 12:49 am The wiki has a section on making mods including a full walkthrough on a basic mod.
https://wiki.factorio.com/Tutorial:Modding_tutorial