Jump to content

Recommended Posts

Hello!

I am trying to make an infinite amulet called "peridot" that has the effects of the light and construction amulets both. 

The key issue I keep getting is that I was getting an error that my main function needs to end sooner than I was ending it, so I moved the last function to the end, and now the game simply closes when I open a world. 

The last function should be being called as part of the yellow amulet effect, but without the specific error code popping up, I'm not totally sure what I need to change.

 

My lua is attached.

 

 

peridot.lua

Link to comment
https://forums.kleientertainment.com/forums/topic/59840-custom-amulet-issues/
Share on other sites

Hey naptimeshadows, this is the Invisible, Inc. mod forum.  I can move this to the Don't Starve forums for you, but which one would you like me to move it to. Don't Starve or Don't Starve Together?

 

Ah, sorry!

 

Don't Starve Together, please.

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