Jump to content

Recommended Posts

Let me start off by saying I'm a total newbie at coding and modding.

I've followed a tutorial on creating your own character, but I'm getting an odd error.

Here's the log.

29676d664855245802bdeda78be609de.png

 

Here's line 70, as specified, in the actual .lua: 9e3552c2a293b6fb343f40e5992d1c3c.png

 

Unless my eyes deceive me, 'prefabs' is definitely there, so I'm not sure what the problem is?

I've searched for a solution, but can't seem to find one.

Help would be much appreciated. :-)

Link to comment
https://forums.kleientertainment.com/forums/topic/37777-odd-mod-error/
Share on other sites

Let me start off by saying I'm a total newbie at coding and modding.

I've followed a tutorial on creating your own character, but I'm getting an odd error.

Here's the log.

29676d664855245802bdeda78be609de.png

 

Here's line 70, as specified, in the actual .lua: 9e3552c2a293b6fb343f40e5992d1c3c.png

 

Unless my eyes deceive me, 'prefabs' is definitely there, so I'm not sure what the problem is?

I've searched for a solution, but can't seem to find one.

Help would be much appreciated. :-)

 

You didn't declare the prefabs table.

prefabs = {    "your_item"}

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