Home Again
\----Home Again Demo---- Try to get out of the shed and embark on an adventure!
qwertly321Scan with your iPhone to install
Preview
----Home Again Demo----
Try to get out of the shed and embark on an adventure!
What's New
Version 3.0
Reboot screen and More Story.
What it does
103 actions-
Comment- - - -HOME AGAIN By qwertly321- - - -
-
Comment- - -SETUP- - -
-
Comment- -ITEMS- -
-
Comment-MAIN DICTIONARY-
-
Dictionary
-
Comment-LOADING SCREEN-
-
Text
-
Speak Text
-
Wait
-
Comment- - -GAMEPLAY- - -
-
Comment- -MENU- -
-
Choose from MenuHome Again
-
Choose from MenuPlay
-
Comment-PLAY-
-
Text
-
Speak Text
-
Choose from MenuOpen it?
-
Choose from MenuYes
-
Speak Text
-
Choose from MenuNo
-
Text
-
Speak Text
-
Choose from MenuWhich door?
-
Choose from MenuOne
-
Speak Text
-
Choose from MenuTwo
-
Text
-
Speak Text
-
Choose from Menu
-
Choose from MenuOne
-
Speak Text
-
Choose from MenuTwo
-
Speak Text
-
Choose from MenuThree
-
Text
-
Speak Text
-
Choose from Menu
-
Choose from MenuOne
-
Text
-
Speak Text
-
Text
-
Quick Look
-
Text
-
Speak Text
-
Choose from Menu…
-
Choose from MenuOne
-
Speak Text
-
Choose from MenuTwo
-
Text
-
Speak Text
-
Ask for InputWhat’s the code?
-
Set Variablecode
-
If
-
Text
-
Speak Text
-
Text
-
Speak Text
-
Text
-
Speak Text
-
Choose from MenuAttack or cast magic?
-
Choose from MenuAttack
-
Speak Text
-
Choose from MenuMagic
-
Text
-
Speak Text
-
Speak Text
-
If
-
Speak Text
-
Choose from MenuThree
-
Speak Text
-
Choose from MenuTwo
-
Speak Text
-
Choose from MenuThree
-
Speak Text
-
Choose from MenuThree
-
Speak Text
-
Choose from MenuInfo
-
Comment-INFO-
-
Choose from MenuMade by qwertly321
-
Choose from MenuVersion
-
Choose from Menu…
-
Choose from Menu
-
Choose from Menuname = reboot
-
Choose from Menureboot
-
Repeat
-
Repeat
-
Text
-
Speak Text
-
Wait
-
Run ShortcutHome Again
-
Choose from Menu<x4Back
-
Run ShortcutHome Again
-
Choose from Menu<<Back
-
Run ShortcutHome Again
-
Choose from MenuLinks
-
Choose from MenuCreate Links?
-
Choose from MenuCreate
-
Text
-
Create Note
-
Choose from Menu<<Back
-
Run ShortcutHome Again
-
Choose from Menu<Back
-
Run ShortcutHome Again
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/text'
#define color red
#define glyph gameController
// - - - -HOME AGAIN By qwertly321- - - -
// - - -SETUP- - -
// - -ITEMS- -
// -MAIN DICTIONARY-
const Dictionary = {
"ar-1_death": "Arsenal takes no damage. He then kills you. Game Over!",
"door_death": "Wrong door! It has snakes. Game Over!",
"guard_death": "The guard kills you. Game Over!",
"name": "Home Again",
"slime_death": "There’s some slime, but it sucks you up! Game Over!",
"version": "2.3",
"village_code": 263,
"village_death": "The village rejects and kills you. Game Over!",
"win_message": "You win! Thank you for playing!"
}
// -LOADING SCREEN-
const Text1 = "Loading... Loading..."
speak(Text1)
wait(1)
// - - -GAMEPLAY- - -
// - -MENU- -
menu "Home Again" {
item "Play":
// -PLAY-
speak()
menu "Open it?" {
item "Yes":
speak(Dictionary['slime_death'])
item "No":
speak()
menu "Which door?" {
item "One":
speak(Dictionary['door_death'])
item "Two":
speak()
menu nil {
item "One":
speak(Dictionary['door_death'])
item "Two":
speak(Dictionary['door_death'])
item "Three":
speak()
menu nil {
item "One":
speak()
const Text = "I see you escaped my shed. Meet me at the village. - Dr. Picolot"
quicklook(Text)
speak()
menu {
item "One":
speak(Dictionary['village_death'])
item "Two":
speak()
prompt("What’s the code?", "Number")
@code
if @code == Dictionary['village_code'] {
speak()
speak()
speak()
menu "Attack or cast magic?" {
item "Attack":
speak(Dictionary['ar-1_death'])
item "Magic":
speak()
speak(Dictionary['win_message'])
}
} else {
speak(Dictionary['guard_death'])
}
item "Three":
speak(Dictionary['village_death'])
}
item "Two":
speak(Dictionary['door_death'])
item "Three":
speak(Dictionary['door_death'])
}
}
item "Three":
speak(Dictionary['door_death'])
}
}
item "Info":
// -INFO-
menu "Made by qwertly321" {
item "Version":
menu Dictionary['version'] {
item "":
menu "name = reboot" {
item "reboot":
repeat _ for 2 {
repeat _ for 2 {
speak()
}
wait(4)
}
runSelf(RepeatResults)
item "<x4Back":
runSelf(Text1)
}
item "<<Back":
runSelf(Text1)
}
item "Links":
menu "Create Links?" {
item "Create":
rawAction("com.apple.mobilenotes.SharingExtension", {
"IntentAppIdentifier": "com.apple.mobilenotes",
"ShowWhenRun": true,
"WFCreateNoteInput": "{}"
})
item "<<Back":
runSelf(Text1)
}
item "<Back":
runSelf(Text1)
}
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
You Might Also Like
Advertisement