As the error states, you’ve mixed up spaces and tabs. Best thing to do is remove all your indentation and re-indent every line manually one-by-one. It’s a pain but it’ll work.
The first step would be to set a variable.
The second would be to add the variable to the stat chart.
The third would be to add the *set weight +5% increase in the code.
You may want to experiment with [Tool] Chronicler - ChoiceScript Visual Code Editor if you are hitting some snags. I feel like using this visual flow chart has helped me keep my game organized as it is very easy to create variables - and then manipulate them. CJW is also working on creating a program that will allow easier building of your stories - CSIDE.
One of the things in my game are dragons, and the MC gets one. They get to choose certain things about it, like it’s name, species, gender, etc. How do I set this up in startup.txt and choicescriptstats.txt, since the variable name already exists?
Actually you could have used replace command to replace four spaces with tab
As it is solved better using this in future
( solved many probs with that one - really cool command )