Jump to content

[HELP] Unexpected Symbol Near


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

Link to comment
Share on other sites

lol in Lua you don't need a symbol to indicate when the next command is done. Remove those comas

 

e.g.

 

BLABLA.BLA = 100

GAHGAHGAH = 9000

 

YAPADAPADU = "hello world"

 

 

Also, what is "RABBITBRAIN"? Are you trying to modify a brain file?

Link to comment
Share on other sites

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