Scyoni Posted August 22, 2015 Share Posted August 22, 2015 I added a new item to the game item D4 { Weight = 0.1, Type = Normal, DisplayName = D4, Icon = D4, ReplaceOnUse = D4, }And it works fine in basic aspects. I can spawn it in with NecroForge, and the sprite, name, and category appear correctly - but when I right-click on it, it crashes the game? I've added other items in the same file (books and weapons) that work fine including the right-click, so I'm not sure what about a 'normal' type item could be breaking it? Things that do work:Right-click on all other items, including other items from same modItem distributionNecroforge spawn When right-clicking the game seems to freeze and then crash. Link to comment Share on other sites More sharing options...
Scyoni Posted August 26, 2015 Author Share Posted August 26, 2015 I renamed all of my dice items (D4,D6,D8,D10,D12,D20) to add a prefix (ScyD4) and the problem vanished. I can only guess there was some kind of naming conflict? Anyway it's all working now. (Double-post so I could mark it 'answered') Link to comment Share on other sites More sharing options...
Hydromancerx Posted August 26, 2015 Share Posted August 26, 2015 Yeah its best to put a prefix on your items. I put HC in front of all my items for the Hydrocraft mod. it also helps avoid conflicts with the base game and other mods. 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