Jump to content

Recommended Posts

So, I created the custom tab with one recipe (for testing purposes) but for someone reason the custom icon I created won't appear.

In the Modmain I added the assets

    Asset( "IMAGE", "images/hud/tab_sorcery.tex" ),    Asset( "ATLAS", "images/hud/tab_sorcery.xml" ),

and lines for the tab and custom recipe

GLOBAL.STRINGS.TABS.SORCERY = "Sorcery"GLOBAL.STRINGS.RECIPE_DESC.REDGEM = "Crimson like blood."

In the Wayne prefab I added this

local sorcerytab = {str = STRINGS.TABS.SORCERY, sort=999, icon = "tab_sorcery.tex"}inst.components.builder:AddRecipeTab(sorcerytab)	Recipe("redgem", {Ingredient("goldnugget", 2), Ingredient("charcoal", 1)}, sorcerytab, {SCIENCE = 0, MAGIC = 0, ANCIENT = 0})

Is there something missing?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...