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. Quote 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. Quote 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? Quote 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? Quote 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. Quote 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 Quote 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, } } Quote 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 Quote 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.