How to make if with two statments?
Hey, I want to make something like that: (if: $gold_coins > 5 and $number_health_potion > 0) with different else outcomes, how can it be done? If you have more than 5 gold coin, you buy the...
View Article[Technical query] tw-story closed immediatly in file?
Is the creator of Harlow on here as I have some questions? in the following duration:1.2s} </style> </head> <body> <tw-story></tw-story> <tw-storydata name="Wolfs...
View ArticleHow do I insert a downloadable PDF?
What do I need to do to make sure that when a user clicks a word, the external link will go direct to a downloadable PDF? I inserted it but the link won't work. Although, it could be because I'm...
View ArticleWhy is the editing window so small?
So I'd like to bring up the issue of the editing window in Twine 2. It's too small and I can't find any way to make it wider. Maybe it's just me being an idiot, maybe it's the program choosing...
View ArticleComplaints
When in a tight deadline faulty systems are unnecessary, I understand that this is an open-source software, but if you are making an updated version of said software, at least make it as good or better...
View ArticleExport to twee?
Is there a way to export a twine story to twee in the latest version (2.011) of twine? I feel like I'm missing something obvious since I keep seeing references to this being possible.
View ArticleCompiler for Mobile?
Hi all--I've recently started in on researching a good platform for creating interactive fiction. Twine seems pretty great. Can you tell me are there any 3rd-party compilers for individuals interested...
View ArticleAdding to a 'time' variable to indicate time passing? (Harlowe)
Hi, everyone. I've been working on a game recently where you are given a list of tasks you can do, and each task results in a certain amount of time being spent. When a certain amount of time passes,...
View Articlegoto previous - Is it possible?
So I'm writing a passage in sugarcube that essentially just edits a whole bunch of data, then returns to where the story was before. I'm wondering if there's a way to make <<goto...
View ArticleGame size in different resolutions
Ahoy, I'm currently making my sci-fi survival game (twine 2, and sugarcube 2.6.2), and have been making it on a screen with the resolution of 1366 x 768, and it all fits fine in that resolution, but...
View ArticleImplementing and editing a complex object (Sugarcube)
Alright, so let me begin with an "I'm fairly new to Twine and most of my shenanigans so far have been tinkering. This is no exception." So, let's say I have an object $car. A car is not made up of just...
View Article5 Round Boss Fight (Harlowe)
Say you have your health at 5000, and boss health at 50000, the fight goes on for 5 rounds, each dealing 20% damage. You have 3 options, and they give you a random chance of striking the boss or you...
View ArticleIssues with Twine
When in a tight deadline faulty systems are unnecessary, I understand that this is an open-source software, but if you are making an updated version of said software, at least make it as good or better...
View ArticleHarlowe - alter the target link of the back button.
Suppose I wanted to make the back button start to 'misbehave' in a game and take the user to a different page than the last - how can I alter its target? I know I can tag the passage and then use the...
View ArticleArrays, for loops and multiple passages
First of all, this is in sugarcube. I have a question: Assuming I have an array, $myArray to [0, 1, 2, 3, 4, 5] , and I want to display this as follows: <<for $i to 0; $i < $myArray.length;...
View ArticleFind empty value inside array
Let's say I have the item: (set: $knife to (datamap: "Name","Knife", "Description","a simple knife", "equip", false) ) (set: $iknife to "(link-reveal: 'knife')[(set: $myeq to it + (a: $knife))]") And...
View Article[SugarCube 1] Trying to create a loop that creates links and saves the...
Greetings Twine 2.0, SugarCube 1.0.34. I have the whole concept planned out, but then I got an error and realized the fault of it. The loop is this: <<for $i=0 ; $i < $TotalConsumableItems...
View ArticleMarkup at the beginning of a passage doesn't work because of header passage
I've noticed some weird behavior in Twine 2.0.11 using the Harlowe format. If I begin a passage with any kind of markup, such as a first-level heading: #This is the passage title and if I create a...
View ArticleStop Javascript from overriding/ignoring custom CSS (Harlowe)
Hello everyone, I'm really close to my deadline for finishing my Twine story and I ran into an annoying issue with preloading images with Javascript. I got this handy piece of code from here. function...
View ArticleButton to refresh (Only) the current passage.
I'm currently using Harlowe for a narrative that has minigames in various passages. Some of the games need to be able to retried. Is there a way of refreshing the current passage without having to...
View Article