Each time player advances anywhere, will pass 5 minutes.
(set: $minutes to $minutes + 5)
(if: $minutes > 59)[ (set: $minutes to $minutes - 60) (set: $Hours to $Hours + 1)]
(if: $Hours > 23)[ (set: $Hours to $Hours - 24) ]
=><=
(css: "font-size: 200%;")[''Time: $Hours : $minutes'']
[[Move anywhere|Inicio]]
[[Other Time Experiment]] | [[Message of the day]]
You have (color:yellow)[$health HP] MaxHP: ''$Maxhealth'' Stamina: (css: "color: orange;")[$Stamina] Prot: (color:blue)[$protection]
Coins: (color:yellow)[$coins](set: $Hours to 6)
(go-to: "Inicio")[[Back|Inicio]]
(weekday:) weekday is for put the name of the current day of the week.
(if: (weekday:) is "Thursday")[ It works ](else:)[ Isnt Thursday anymore ]
(if: (weekday:) is "Friday")[ Its Friday ]
(num: (weekday:) )
(monthday:) Monthday is for know the number of the day of the month.
(current-date:) current-day is for know the current day which mentions name of day, month, day of the month and year (is weird but thats how it works in Twine, blame americans)
(if: (current-date:) is "Thu Feb 08 2024")[ weird but works ](else:)[ Isnt this day anymore ]
(if: (current-date:) is "Fri Feb 08 2024")[ weird but works ]
(if: (current-date:) is "Fri Feb 09 2024")[ weird but works ](else:)[ This dont work ]
(month
<label for="bday-month">What month were you born in?</label>
<input id="bday-month" type="month" name="bday-month" value="2001-06" />
<label for="bday-month">What month were you born in?</label>
<input id="bday-month" type="month" name="bday-month" />
<form>
<label for="url">Enter an https:// URL:</label>
<input type="url" name="url" id="url" placeholder="https://example.com" pattern="https://.*" size="30" required />
</form>
(set: $FullDate to (current-date:))
$FullDate
{
(if: $FullDate contains "Jan")[(set: $ParsedMonth to "Jan")]
(if: $FullDate contains "Feb")[(set: $ParsedMonth to "Feb")]
(if: $FullDate contains "Mar")[(set: $ParsedMonth to "Mar")]
(if: $FullDate contains "Apr")[(set: $ParsedMonth to "Apr")]
(if: $FullDate contains "May")[(set: $ParsedMonth to "May")]
(if: $FullDate contains "Jun")[(set: $ParsedMonth to "Jun")]
(if: $FullDate contains "Jul")[(set: $ParsedMonth to "Jul")]
(if: $FullDate contains "Aug")[(set: $ParsedMonth to "Aug")]
(if: $FullDate contains "Sep")[(set: $ParsedMonth to "Sep")]
(if: $FullDate contains "Oct")[(set: $ParsedMonth to "Oct")]
(if: $FullDate contains "Nov")[(set: $ParsedMonth to "Nov")]
(if: $FullDate contains "Dec")[(set: $ParsedMonth to "Dec")]
(set: $Day to (monthday:))
}
Today is $ParsedMonth $Day(display: "Month & Day")
(if: $ParsedMonth is "Feb")[
(if: $Day is 1)[ $FullDate ] (if: $Day is 2)[ $FullDate ] (if: $Day is 3)[ $FullDate ] (if: $Day is 4)[ $FullDate ] (if: $Day is 5)[ $FullDate ] (if: $Day is 6)[ $FullDate ] (if: $Day is 7)[ $FullDate ] (if: $Day is 8)[ $FullDate ] (if: $Day is 9)[ $FullDate ] (if: $Day is 10)[ $FullDate ] (if: $Day is 11)[ $FullDate ] (if: $Day is 12)[ $FullDate ] (if: $Day is 13)[ $FullDate ] (if: $Day is 14)[ $FullDate (color:red)[**//Happy Valentines Day!//** Zane Miller: Love is in the air, be careful, it makes the creatures in the woods worked up ] ]
(if: $Day is 15)[ $FullDate ] (if: $Day is 16)[ $FullDate ] (if: $Day is 16)[ $FullDate ] (if: $Day is 17)[ $FullDate ] (if: $Day is 18)[ $FullDate ] (if: $Day is 19)[ $FullDate ] (if: $Day is 20)[ $FullDate ]
]
(if: $ParsedMonth is "Jan")[ It works? ]
[[Back|Inicio]]