Veops Posted June 20, 2015 Share Posted June 20, 2015 Hello Guys, I'm made my mod it's very very simpleTUNING.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: Sorry for my poor English... Link to comment Share on other sites More sharing options...
Mobbstar Posted June 21, 2015 Share Posted June 21, 2015 lol in Lua you don't need a symbol to indicate when the next command is done. Remove those comas e.g. BLABLA.BLA = 100GAHGAHGAH = 9000 YAPADAPADU = "hello world" Also, what is "RABBITBRAIN"? Are you trying to modify a brain file? Link to comment Share on other sites More sharing options...
Veops Posted June 21, 2015 Author Share Posted June 21, 2015 Yes, bait see distance&Im not understand, should I delete "=" or any symbol Link to comment Share on other sites More sharing options...
Amalleus Posted June 21, 2015 Share Posted June 21, 2015 you need to use commas in table and as variables in functions. but as i see there is nothing of this. delete commasTUNING.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) Link to comment Share on other sites More sharing options...
Veops Posted June 21, 2015 Author Share Posted June 21, 2015 OK Its done but "RABBITBRAIN" give error: Link to comment Share on other sites More sharing options...
Mobbstar Posted June 21, 2015 Share Posted June 21, 2015 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. Link to comment Share on other sites More sharing options...
Veops Posted June 21, 2015 Author Share Posted June 21, 2015 OK I'm remove some command thanks for helping you all... Link to comment Share on other sites More sharing options...
Recommended Posts
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.