ShareShortcuts

Home Again

\----Home Again Demo---- Try to get out of the shed and embark on an adventure!

qwertly321
Fork “Home Again”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so qwertly321 gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
46K
Saved
2
Actions
103
Category
Fun
Version
3.0
Language
EN

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.

Version History
3.0 Oct 22, 2021

Reboot screen and More Story.

2.2 Oct 21, 2021

✋😐🤚

2.1 Oct 21, 2021

Info Screen and Comments.

2.0 Oct 21, 2021

More Story and a Dictionary.

1.0 Oct 21, 2021

First release

What it does

103 actions
  1. Comment
    - - - -HOME AGAIN By qwertly321- - - -
  2. Comment
    - - -SETUP- - -
  3. Comment
    - -ITEMS- -
  4. Comment
    -MAIN DICTIONARY-
  5. Dictionary
  6. Comment
    -LOADING SCREEN-
  7. Text
  8. Speak Text
  9. Wait
  10. Comment
    - - -GAMEPLAY- - -
  11. Comment
    - -MENU- -
  12. Choose from Menu
    Home Again
  13. Choose from Menu
    Play
  14. Comment
    -PLAY-
  15. Text
  16. Speak Text
  17. Choose from Menu
    Open it?
  18. Choose from Menu
    Yes
  19. Speak Text
  20. Choose from Menu
    No
  21. Text
  22. Speak Text
  23. Choose from Menu
    Which door?
  24. Choose from Menu
    One
  25. Speak Text
  26. Choose from Menu
    Two
  27. Text
  28. Speak Text
  29. Choose from Menu
  30. Choose from Menu
    One
  31. Speak Text
  32. Choose from Menu
    Two
  33. Speak Text
  34. Choose from Menu
    Three
  35. Text
  36. Speak Text
  37. Choose from Menu
  38. Choose from Menu
    One
  39. Text
  40. Speak Text
  41. Text
  42. Quick Look
  43. Text
  44. Speak Text
  45. Choose from Menu
    …
  46. Choose from Menu
    One
  47. Speak Text
  48. Choose from Menu
    Two
  49. Text
  50. Speak Text
  51. Ask for Input
    What’s the code?
  52. Set Variable
    code
  53. If
  54. Text
  55. Speak Text
  56. Text
  57. Speak Text
  58. Text
  59. Speak Text
  60. Choose from Menu
    Attack or cast magic?
  61. Choose from Menu
    Attack
  62. Speak Text
  63. Choose from Menu
    Magic
  64. Text
  65. Speak Text
  66. Speak Text
  67. If
  68. Speak Text
  69. Choose from Menu
    Three
  70. Speak Text
  71. Choose from Menu
    Two
  72. Speak Text
  73. Choose from Menu
    Three
  74. Speak Text
  75. Choose from Menu
    Three
  76. Speak Text
  77. Choose from Menu
    Info
  78. Comment
    -INFO-
  79. Choose from Menu
    Made by qwertly321
  80. Choose from Menu
    Version
  81. Choose from Menu
    …
  82. Choose from Menu
  83. Choose from Menu
    name = reboot
  84. Choose from Menu
    reboot
  85. Repeat
  86. Repeat
  87. Text
  88. Speak Text
  89. Wait
  90. Run Shortcut
    Home Again
  91. Choose from Menu
    <x4Back
  92. Run Shortcut
    Home Again
  93. Choose from Menu
    <<Back
  94. Run Shortcut
    Home Again
  95. Choose from Menu
    Links
  96. Choose from Menu
    Create Links?
  97. Choose from Menu
    Create
  98. Text
  99. Create Note
  100. Choose from Menu
    <<Back
  101. Run Shortcut
    Home Again
  102. Choose from Menu
    <Back
  103. Run Shortcut
    Home Again

View as code
Beta

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

See All
Advertisement