Pootis23421 Posted January 19 Share Posted January 19 Hi, I'm trying to make my first mod that forces pigs to be tamed forever, (I haven't written code before) I wrote the following code require("pigman") TUNING.PIG_LOYALTY_MAXTIME = 999999 TUNING.PIG_LOYALTY_POLITENESS_MAXTIME_BONUS = 999999 TUNING.PIG_LOYALTY_PER_HUNGER = 999999 inst.components.follower.maxfollowtime = 999999 if ( TUNING.PIG_LOYALTY_MAXTIME == 999999 ) then print("TUNING.PIG_LOYALTY_MAXTIME realy == 999999") else print("ERROR TUNING.PIG_LOYALTY_MAXTIME isn't == 999999") however, when I try to create a game with this mod (it's server-based), the game just gets stuck on the inscription "generating a world" generates a world, and I don’t understand why, I found nothing useful in client.log, but just in case I’ll attach it, please tell me what I did wrong modinfo.lua modmain.lua Here is client_logclient_log.txt Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now