It looks like you're new here. If you want to get involved, click one of these buttons!
Now lets say the player chooses to light the fire. On refresh they will see:You are in a hut. A pile of dry logs sit alongside a hearth. There's bread on the table.
Exit hut
Light fire
Eat bread
Anyway to prevent that gap?You are in a hut. A pile of dry logs sit alongside a hearth. There's bread on the table.
Exit hut
Eat bread
Comments
As stated in the Line Continuations of the Markup related documentation you can use a backslash character to remove the line-breaks at the end of lines. You can then manually add line-breaks back in using a HTML <br> element as needed.
The follow example is based on the one in this comment
I'm now using Sugarcube 2.11.0
note: Your example does not explain what the $noCraft variable is for, if it is being used to determine if the weapon has been crated yet then you can also do that by checking the $hasWeapon variable. (which should be set to true in the Craft weapon passage)
If the $hasWeapon variable is false then it has not been crafted yet, if it is true then the weapon has been crafted and the related link will be hidden in the Shack passage.
The $noCraft variable was a rather ugly workaround for a problem I couldn't fix.
As the player tos and fros between the Shack and the Outside, I couldn't get 'Craft Weapon' not to show up if the player had already crafted it, because it also shows up if he has collected wood.
This means that if the first time he collects wood and chooses to Craft a Weapon instead of Light a fire, then goes back out for more wood to light the fire, the Craft Weapon option will be there again because of the IF conditions.
So I had to create this $noCraft variable which I set to false in the Craft Weapon passage.
I fully follow and agree with your logic, but for whatever reason the Craft Weapon would show up under certain circumstances, even though it had already been crafted previously.