Hydromancerx Posted November 6, 2014 Share Posted November 6, 2014 So I tried to make a simple object and recipe, but it gave a "Blooo" item. Which is ... Axe + Log = Wood Block Here is the whole mod. Let me know what I did wrong. Link to comment Share on other sites More sharing options...
harakka Posted November 6, 2014 Share Posted November 6, 2014 Blooo results when there's something wrong with your item definition. At a quick glance, your WoodBlock definition is missing a DisplayName. Link to comment Share on other sites More sharing options...
Hydromancerx Posted November 6, 2014 Author Share Posted November 6, 2014 @harakka That worked but now I still have a ? icon for it instead of the custom Icon I made. Why is mine not showing up? Link to comment Share on other sites More sharing options...
EnigmaGrey Posted November 6, 2014 Share Posted November 6, 2014 Does it show up after exiting the game and reloading it? Link to comment Share on other sites More sharing options...
Hydromancerx Posted November 6, 2014 Author Share Posted November 6, 2014 Does it show up after exiting the game and reloading it?No. Link to comment Share on other sites More sharing options...
ORMtnMan Posted November 6, 2014 Share Posted November 6, 2014 Does it show up after exiting the game and reloading it?No. Remove the "Item_" in the scripts and the ".png" they are not needed. if you make it just icon = Woodblock it should work Link to comment Share on other sites More sharing options...
Hydromancerx Posted November 6, 2014 Author Share Posted November 6, 2014 Remove the "Item_" in the scripts and the ".png" they are not needed. if you make it just icon = Woodblock it should work That did not seem to do anything either. So I tried removing ... CanBarricade = false, UseWhileEquipped = false,From my code. So now its ...module Hydrocraft{ imports { Base } item WoodBlock { Weight = 1.0, Type = Normal, DisplayName = Wood Block, Icon = Woodblock, } recipe Make Wood Block { Log, keep Axe, Result:WoodBlock=9, Time:15, } } Link to comment Share on other sites More sharing options...
ORMtnMan Posted November 6, 2014 Share Posted November 6, 2014 Remove the "Item_" in the scripts and the ".png" they are not needed. if you make it just icon = Woodblock it should work That did not seem to do anything either. So I tried removing ... CanBarricade = false, UseWhileEquipped = false, From my code. So now its ...module Hydrocraft{ imports { Base } item WoodBlock { Weight = 1.0, Type = Normal, DisplayName = Wood Block, } recipe Make Wood Block { Log, keep Axe, Result:WoodBlock=9, Time:15, } } ack! no don't remove the entire icon line. put this line in the itemIcon = Woodblock EDIT:Also, you don't have anything in your LUAs, you need to at a bare minimum declare your mod in an LUA for it to function right Link to comment Share on other sites More sharing options...
Hydromancerx Posted November 6, 2014 Author Share Posted November 6, 2014 Nevermind it now works for some reason! Thank you!! :D Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now