I am currently making my game with the help of ChatGPT, Youtube tutorials and documentation from Twine/Sugarcube, knowledge wise I would say I have made some progress and already have learned a fair bit however no matter how much I googled I couldnt really find an easy to understand guide on how to change the look of an attribute system/numberpool or how to limit the points you can assign, or how to grant the player points through level ups. It may also be that I do have the knowledge but cant really wrap my head around it.
Lets start with an example.
<<numberpool "$Attributes">>
|''Strength:''|<<numberinput "$Strength" $Strength 1 20>>|
<</numberpool>>
Now this creates your usual numberpool, you can assign points to the stat strength freely etc.
However, I would like to know how I can make a system so the player can only distribute a limited amount of points to a stat? I think I already know how to grant the player points by just using variables, however the question is how to integrate that "leveling up" system to the command above.
What I would also like to know is that, when I make a stat system and menu, how do I stylize it through CSS? I couldnt find anything about that either.
Lets start with an example.
<<numberpool "$Attributes">>
|''Strength:''|<<numberinput "$Strength" $Strength 1 20>>|
<</numberpool>>
Now this creates your usual numberpool, you can assign points to the stat strength freely etc.
However, I would like to know how I can make a system so the player can only distribute a limited amount of points to a stat? I think I already know how to grant the player points by just using variables, however the question is how to integrate that "leveling up" system to the command above.
What I would also like to know is that, when I make a stat system and menu, how do I stylize it through CSS? I couldnt find anything about that either.