Modifying state of array element in Harlowe 2.0.11
So I've declared (set: $foo to (a: false, false, false)) For some reason, I can (set: $foo's 1st to true) but I can't (set: $foo[0] to true) The latter keeps saying unexpected identifier. I'm trying to...
View ArticleIs there anyway to completely disable the whitespace/line breaks in Harlowe?
So I am working with Harlowe and it seems every time there is a line break in the code it adds an empty line, including below text. I really don't want this effect. I am aware you can manually get rid...
View ArticleOkay, there's $currentPassage, but is there also a $previousPassage?
Hi! My last thread got no answer so I started to painfully look into the code from scratch, and I wondered one thing. Sorry if that's a noob question, but if there is a $currentPassage is there also a...
View ArticleUpdating variables?
I'm using Twine 2.0.11 and Sugarcube 2.12.0 I'm using a rpg system and some of my variables (player HP, etc.) isn't updating - I use the display macro to show the stats in multiple passages. When I...
View ArticleNew Game Plus in Harlowe / History Erasure
Hi all, I'm currently using the (history:) macro to track if players have interacted with NPCs in the story I'm writing. It's a lot more convenient than setting flags for every event. However, I'm...
View ArticleUsing if statements inside of a print command in sugarcube
So in sugar cube you can use the <<print either("a","b")>> command to randomly select one of many options. Is it possible to use an if statement inside that? Like <<print...
View Article"Don't Move"?
Hello, Twine Community! I just posted this as a discussion, but I realized I should ask it as a question. I am a relatively new Twine writer, and I'm currently working on a big project. I wish to adapt...
View ArticleVersion 1.2.3 fixes Harlowe FFFE problem - will it be applied to Version 2?
My html server returns an error for an illegal xml character <FFFE>. Searching the web, I find the following entry: https://bitbucket.org/_L_/harlowe ... 1.2.3 changes (unreleased): Bugfixes ......
View ArticleIs there a way I can add variables to the sidebar?
I'm using Sugarcube 2 and I was wondering if there was an easy way to just add a few variables to the sidebar that way they are always tracked. Just simple things like the time, location, currency, etc...
View ArticleProblems trying to have variables + changed path depending on history of...
Hi! I'm quite new to Twine, and have expectedly come across a few problems. I've searched the forums and wiki but can't find a solution to my problem. I'm trying to get variables and.. I think the...
View ArticleTwine 2, Sugarcube 2: links broken at birth
Hi, Im coming back to Twine after about a year's absence and am having even more problems than a did a year ago. So this is a real newbie question: I'm starting a new story and create two choices for...
View ArticleTwine Google Analytics?
Hey all, new to Twine. Doing a project where I need to track people's choices to the narrative I'm making. Planning to use Google Analytics but haven't been able to figure out to how to best integrate...
View ArticleBackslashes \\\ replacing spacin when I import
Hey everyone. So I archived my twine and when I import it, I find that all of the places where I had a space between lines of text have been replaced with \\\\\\\ numerous backslashes. They weren't in...
View ArticleSVG not working in SugarCube?
Hey there, I'm trying to draw a basic SVG <rect> in SugarCube 2.12.0 with Twine 2.0.11 but it doesn't seem to want to work. I've created a blank story and pasted the following into the starting...
View ArticleSugarcube 2: Avatar in Sidebar
I want to assign every player a random avatar at the beginning of the game. This assigned avatar should then be seen in the sidebar. So I would write for example on the start page: <<set $avatar...
View ArticleTwine 2 + Sugarcube 2 = how?
Short question: how do I use the save API? Do I have to add macros to operate the API from the JS? I've read the documentation but I can't find any info about using the APIs. Sidenote to the author:...
View ArticleCSS Dotted Underline
I'm looking on how to add a dotted underline on a span. I've tried text-decoration (and text-decoration-style), but it looks like it's not supported yet or something?
View Article[harlowe] getting a random passage based on tags
is it possible for me to have a setup where you can click a button, and get a random passage, preferably based on the tags so i can filter which button returns which kind of passage?
View ArticleGlorious Trainwreck's Timer - from Sugarcane to Sugarcube 2.11
Hello everyone, I'm just found this awesome Timer http://www.glorioustrainwrecks.com/node/5108 My question is: How can I run the same Timer in Twine 2 Sugarcube 2.11? Thank you all
View ArticleHarlowe & File Save Capacity
Hi all! I'm currently using Twine 2 and Harlowe to produce a very long game. Because the game is long and involves multiple playthroughs, I'm conscious that the current save mechanic may cause some...
View Article