Adding a ore

Place to get help with not working mods / modding interface.
Post Reply
Moonheart08
Inserter
Inserter
Posts: 27
Joined: Wed Jun 01, 2016 8:15 am
Contact:

Adding a ore

Post by Moonheart08 »

How would i do this? Im trying to implent aluminum and other ores.
Side question: fuels?
no video tutorials, making a video about a tutorial about how to work with a spcertain type of text in a certain way is stupid.

User avatar
DRY411S
Filter Inserter
Filter Inserter
Posts: 727
Joined: Sun Mar 13, 2016 9:48 am
Contact:

Re: Adding a ore

Post by DRY411S »

I know that the Crafted Artifacts mod uses a new ore. Maybe take a look at that?

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Adding a ore

Post by bobingabout »

Normally I'd say look at how I did it viewtopic.php?f=51&t=3797

However... my mod is starting to drift away from being a tutorial, and more to just a mod now that it is heavily reliant on my self-made library.

Basically though... Look at the resources.lua and demo-resources.lua. You will need a the resource itself with autoplace tags, an autoplace-control, and noise-layer. (which are in separate files in the base game.) you will also need a sprite sheet for the ore itself (use one of the existing ores as a template, recolour or tint, or even use a the tintable spritesheet from my library mod), an icon for the ore, and then all the appropriate locale entries.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

Post Reply

Return to “Modding help”