Jump to content

Recommended Posts

I'm completely stumped on this error and I've done everything I can think of/find :'D
I will admit I'm not very adept at this, so I'm sorry if it's an obvious problem lol

 

If it's needed, I'm using the Extended Sample Character Template as well as referencing from a custom item tutorial.

log.txt

It looks like you're calling TECH somewhere in your mod, most likely for a recipe you're making, but the game doesn't know what it is, because in the modmain environment TECH is accessed through the GLOBAL table. One solution is to write this somewhere at the top of your modmain:

local TECH = GLOBAL.TECH

Alternatively, replace any instance of TECH with GLOBAL.TECH in your modmain.

  • Shopcat 1
On 1/13/2024 at 4:03 AM, ClumsyPenny said:

It looks like you're calling TECH somewhere in your mod, most likely for a recipe you're making, but the game doesn't know what it is, because in the modmain environment TECH is accessed through the GLOBAL table. One solution is to write this somewhere at the top of your modmain:

local TECH = GLOBAL.TECH

Alternatively, replace any instance of TECH with GLOBAL.TECH in your modmain.

Hey! Sorry for the late reply but thank you <3

That did fix my issue but I ended up running into bigger problems with the mod, so I'm going to start over and try to fix things as I go haha :'D

  • GL Happy 1

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