Jump to content

Help with character mod (wx78 - like character) save/load issues


Recommended Posts

modmain.lua

slurg.lua

My character is intended to be a slime of sorts that eats trash and grows

My character is getting closer to being finished but I still find myself having issues as I go quite often.

recently I bumped into a lot of issues with preload, load, and save functions.

game crashes on preload

I have attached the files and would greatly appreciate any help from knowledgable people that know how to go about this better than I.

 

I have simple objectives with my character. To do the following things - 

1. Be able to eat rot and grow from it, up to 1000 times

2. Be able to save my current level (inst.level) similarly to wx78

3. health, sanity, and hunger need to be the correct values when loading in game based on percentage regardless of the current level

for the most part, my character is functioning so far with the first objective. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...