Jump to content

Game freezes on right-click of new item?


Scyoni

Recommended Posts

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 mod
  • Item distribution
  • Necroforge spawn

 

When right-clicking the game seems to freeze and then crash.

Link to comment
Share on other sites

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

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...