How would you go about coding a weight gain / calorie system in Twine?

Hi, I’m very new to Twine and decided I would poke around with it during the holidays. Writing has been fun but the coding side eludes me, would anyone happen to have any handy tutorial or tips to creating a system like this?

I’m using Sugarcube 2.36.1 if that helps.


So, I knew nothing about Twine, but still wanted to help.
Looked a bit around, read some documentations, and came with this:
Cuppycake Tutorial by Izzyao (

While I was testing things I decided to just make a tutorial-esce thing with it, hope it helps
little disclaimer: it’s 1:30AM and I’m still sleepdrunk after new years (happy new year everyone) so 'scuse me if there are any big mistakes lmao


Wow, this is so much more than I was expecting!! Thank you so much! You made it so easy to understand, it doesn’t currently work with what I’ve written (it reverts back if I return to a room) but I’m much more determined to research into it now.

I hope even more people see this and feel inspired too!

(also Happy New Years to you too!)

1 Like

Glad I could help!
The best of luck with figuring out where to go from here, and if you have any more questions, feel free to ask! You can also DM me if you want