I have been trying to disable saves in certain passages in Sugarcube, but can't seem to figure it out. I have read the Sugarcube documentation on the .config scripts, but still no luck. Basically what I need is saves to be disabled until a certain passage appears and when that passage appears saves are then enabled. Just like a save point in games.
Thank You
InsertCoin25
Comments
For example, put the following in a
script
tagged passage: Then you simply add the tagsavable
to each passage where you want saving to be allowed.#menu-save
{
display: none;
}
The problem I am having is that I don't know how to reinstate the menu-save, when the savable passage is loaded. I tried adding this code to the savable passage using a stylesheet tag, but it doesn't seem to recognize the code. Here is the code I used:
#menu-save
{
display: true;
}
Any help would be greatly appreciated. Thanks TheMadExile!!
InsertCoin25