Made with Twine & SugarCube
SugarCube (v2.0.0-beta.4)
So I've been messing around with every type of clock on here for the last week. Most I've figured out, but the base java one I still can't figure out.
1) How would I add time manually to this one (+ 15min) or (8 hours) etc.
2) Or to add a set time per click?
3) I'd like to drop the GMT-0500 (Central Daylight Time) from the StoryCaption, but from what I read on the Java sites it seems more involved than its worth. Is there an easy way to not populate it? I know the T in "2009-05-08T08:00" is related to it, is there a letter like X or something to drop it?
I've seriously spent a ridiculous amount of time on something so simple. I think I wrote the 10k of dialogue in less time.
Thanks
Oh, PS: Where do I check these as 'Answered?'
SugarCube (v2.0.0-beta.4)
So I've been messing around with every type of clock on here for the last week. Most I've figured out, but the base java one I still can't figure out.
<<set $now to new Date(Date.now())>> <<set $now to new Date("2009-05-08T08:00")>> now: <<print $now>> year: <<print $now.getYear()>> month: <<print $now.getMonth()>> day: <<print $now.getDay()>> hours: <<print $now.getHours()>> minutes: <<print $now.getMinutes()>> seconds: <<print $now.getSeconds()>>
1) How would I add time manually to this one (+ 15min) or (8 hours) etc.
2) Or to add a set time per click?
3) I'd like to drop the GMT-0500 (Central Daylight Time) from the StoryCaption, but from what I read on the Java sites it seems more involved than its worth. Is there an easy way to not populate it? I know the T in "2009-05-08T08:00" is related to it, is there a letter like X or something to drop it?
I've seriously spent a ridiculous amount of time on something so simple. I think I wrote the 10k of dialogue in less time.
Thanks
Oh, PS: Where do I check these as 'Answered?'