Jump to content

Recommended Posts

Hello Guys,

 

I'm made my mod it's very very simple

TUNING.EVERGREEN_CHOPS_SMAll = 1,TUNING.EVERGREEN_CHOPS_NORMAL = 1,TUNING.EVERGREEN_CHOPS_TALL = 1,TUNING.ROCKS_MINE = 1,TUNING.ROCKS_MINE_MED = 1,TUNING.ROCKS_MINE_LOW = 1,TUNING.WILSON_WALK_SPEED = 8,TUNING.WILSON_RUN_SPEED = 10,RABBITBRAIN.SEE_BAIT_DIST = 500RECIPES.Recipe("backpack", {Ingredient("cutgrass", 1), Ingredient("twigs", 1)}, RECIPETABS.SURVIVAL, TECH.SCIENCE_ONE)

My game give this error:

qYOYyZ.png

 

Sorry for my poor English...

you need to use commas in table and as variables in functions. but as i see there is nothing of this. delete commas

TUNING.EVERGREEN_CHOPS_SMAll = 1TUNING.EVERGREEN_CHOPS_NORMAL = 1TUNING.EVERGREEN_CHOPS_TALL = 1 TUNING.ROCKS_MINE = 1TUNING.ROCKS_MINE_MED = 1TUNING.ROCKS_MINE_LOW = 1 TUNING.WILSON_WALK_SPEED = 8TUNING.WILSON_RUN_SPEED = 10 RABBITBRAIN.SEE_BAIT_DIST = 500 RECIPES.Recipe("backpack", {Ingredient("cutgrass", 1), Ingredient("twigs", 1)}, RECIPETABS.SURVIVAL, TECH.SCIENCE_ONE)

OK Its done but "RABBITBRAIN" give error:

 

You need to use AddBrainPostInit() for this kind of stuff.

 

I assume "see_bait_dist" is a local variable? I'm afraid you can't edit those. You'd need to take the chunk(s) that uses the variable and change those.

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