Jump to content

Recommended Posts

I've added changes to almost all existing craftables in the game via AddRecipe. I just copied the stuff from the crafting recipe file and that's it, then changed parameters and moved some of the ordering around.

For some reason, when there's a few crafting recipes changed, like 1 - 10, it's fine, but then the moment I change even the slightest thing in terms of recipes and launch the server again, it makes snow appear in Autumn, messes with the day segments and then crashes, saying that there's "incorrect number of day segments" in a certain file. But how can that be if I've never even touched day segments in my mod?!

And if I enable ALL of my changes at the beginning of launching a server it will NEVER load at all.

And I checked; nothing is written incorrectly for any of the recipes. Some of the stuff have enables the Ancient stuff mechanic where you can't craft something unless you're near the machine but that shouldn't break it, considering I haven't enabled this for any of the structures that require a placer. And then I removed this mechanic for anything that wasn't ancient craftables, and it STILL showed this issue.

The only client mod I have enabled is the 50 save slot one.

I just have modmain.lua and modinfo.lua files. For modmain.lua I just have the recipes, and above them this section of the code:

local STRINGS = GLOBAL.STRINGS
local RECIPETABS = GLOBAL.RECIPETABS
local Ingredient = GLOBAL.Ingredient
local TECH = GLOBAL.TECH
local CHARACTER_INGREDIENT = GLOBAL.CHARACTER_INGREDIENT

Am I doing something wrong? Or is the game just giving me a big "**** you" because of some issue in the game's code itself possibly?

Link to comment
https://forums.kleientertainment.com/forums/topic/90249-crafting-mod-issues/
Share on other sites

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