Page 1 of 1

Adding a ore

Posted: Thu Jun 02, 2016 5:31 am
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.

Re: Adding a ore

Posted: Thu Jun 02, 2016 7:21 am
by DRY411S
I know that the Crafted Artifacts mod uses a new ore. Maybe take a look at that?

Re: Adding a ore

Posted: Thu Jun 02, 2016 8:23 am
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.