Cradle icon indicating copy to clipboard operation
Cradle copied to clipboard

Support Harlowe 2.x

Open daterre opened this issue 8 years ago • 5 comments

https://twine2.neocities.org/changelog.html

daterre avatar May 16 '17 11:05 daterre

(reported on Twitter)

Links are not evaluated inside macros: (either:[[Continue|Jubilee]],[[Continue|Missing Scout]])

daterre avatar Jun 29 '17 10:06 daterre

Do you have a suggestion for an alternate way that I could accomplish this that would work with the importer. I just want to give a random continue option. I tried this and it didnt work either:

(set: $coinflip to (either:(true,false))) (if: $coinflip is true)[[[Continue|Jubilee]]] (else:)[[[Continue|Missing Scout]]]

It works it twine. Thanks!

ruckus1911 avatar Jul 02 '17 04:07 ruckus1911

I'm not sure why that didn't work - I'll have to check. But this should work:

(link-goto: "Continue", (either: "Jubilee", "Missing Scout"))

On Sun, Jul 2, 2017 at 7:33 AM Royce Rogers [email protected] wrote:

Do you have a suggestion for an alternate way that I could accomplish this that would work with the importer. I just want to give a random continue option. I tried this and it didnt work either:

(set: $coinflip to (either:(true,false))) (if: $coinflip is true)[[[Continue|Jubilee]]] (else:)[[[Continue|Missing Scout]]]

Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/daterre/Cradle/issues/41#issuecomment-312470345, or mute the thread https://github.com/notifications/unsubscribe-auth/ABwejGpc1dkAgcqVkSkotDoa1X-afOBKks5sJx2WgaJpZM4NcWQD .

-- web: daterre.com http://daterre.com/ twitter: @tonicwoods https://twitter.com/tonicwoods

http://www.lofipeople.com/

daterre avatar Jul 02 '17 05:07 daterre

Works great! Thank you. I seem to get the error anytime I use something like:

(set: $coinflip to (either:(true,false)))

Also with random(1,2) or anything like that, dunno if that. Anyways thanks so much for the help!

ruckus1911 avatar Jul 02 '17 05:07 ruckus1911

Following work is underway:

=========== added support for (untested):

(str:) (reversed:) whitespace between macro and hook 2nd last, -2 index - behavior changed enchant multiple hooks (no code gen support yet) count with multiple inputs

=========== need to test behavior of following before implementing/fixing:

(print:(go-to:"Foo")) hook names on if, else etc. bodies $a < 4 and 5 $a is < 3, $a is not > 3 The (move:) macro now accepts multiple into values, like (put:).

=========== things to consider:

is a / is an / matches cycling-link / bind click-goto link-reveal-goto link-show ~~ strikethrough / del? dataset printing

=========== will not support the following: store command in variable, e.g. $cmd = (replace:?1) --> $cmd[Hey] (set: $x to [[Go down->Cellar]]) column markup

daterre avatar Jul 29 '18 17:07 daterre