ShareShortcuts

Galaxy builder

gooey321
Dupliquer « Galaxy builder »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que gooey321 soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
49K
Enregistré
2
Actions
95
Catégorie
Fun
Version
1.0
Langue
EN

This is a game where you start to sell cookies and earn money to upgrade your shop and become the richest cookie seller ever!

Nouveautés

Version 1.0

First release

Historique des versions
1.0 12 août 2021

First release

Ce qu’il fait

95 actions
  1. Dictionary
  2. Number
  3. Set Variable
    Money
  4. Number
  5. Set Variable
    Level
  6. Ask for Input
    What will your shops name be?
  7. Number
  8. Repeat
  9. Text
  10. Set Variable
    Shop type
  11. Text
  12. Choose from Menu
    …
  13. Choose from Menu
    Sell coo
  14. If
  15. Number
  16. Set Variable
    Getmoney
  17. If
  18. If
  19. Number
  20. Set Variable
    Getmoney
  21. If
  22. If
  23. Number
  24. Set Variable
    Getmoney
  25. If
  26. If
  27. Number
  28. Set Variable
    Getmoney
  29. If
  30. If
  31. Number
  32. Set Variable
    Getmoney
  33. If
  34. If
  35. Number
  36. Set Variable
    Getmoney
  37. If
  38. Calculate
  39. Set Variable
    Money
  40. Choose from Menu
    Upgrade shop
  41. Choose from Menu
    Upgrade shop
  42. Choose from Menu
    Lvl 2: 50$
  43. If
  44. Show Result
  45. If
  46. Calculate
  47. Set Variable
    Money
  48. Number
  49. Set Variable
    Level
  50. Show Result
  51. Choose from Menu
    Lvl 3: 500$
  52. If
  53. Show Result
  54. If
  55. Calculate
  56. Set Variable
    Money
  57. Number
  58. Set Variable
    Level
  59. Choose from Menu
    Lvl 4: 1500$
  60. If
  61. Show Result
  62. If
  63. Calculate
  64. Set Variable
    Money
  65. Number
  66. Set Variable
    Level
  67. Choose from Menu
    Lvl 5: 2000$
  68. If
  69. Show Result
  70. If
  71. Calculate
  72. Set Variable
    Money
  73. Number
  74. Set Variable
    Level
  75. Choose from Menu
    Cookie shop: 10000$
  76. If
  77. Show Result
  78. If
  79. Calculate
  80. Set Variable
    Money
  81. Number
  82. Set Variable
    Level
  83. Text
  84. Set Variable
    Shop type
  85. Show Result
  86. Choose from Menu
    Choose
  87. Choose from Menu
    Continue playing
  88. Choose from Menu
    Quit
  89. Text
  90. Show Result
  91. Stop This Shortcut
  92. Choose from Menu
    Quit
  93. Text
  94. Show Result
  95. Stop This Shortcut

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#define color violet

@Money = 0
@Level = 1
prompt("What will your shops name be?")
const Number = 10000

repeat _ for Number {
	@ShopType = "Lemonade stand"
	menu  {
	item "Sell cookies":
		if @Level == 1 {
			@Getmoney = 5
		} else {
			if @Level == 2 {
				@Getmoney = 10
			} else {
				if @Level == 3 {
					@Getmoney = 20
				} else {
					if @Level == 4 {
						@Getmoney = 30
					} else {
						if @Level == 5 {
							@Getmoney = 50
						} else {
							if @ShopType == 6 {
								@Getmoney = 100
							} else {
							}
						}
					}
				}
			}
		}
		@Money = @Money + @Getmoney
	item "Upgrade shop":
		menu "Upgrade shop" {
		item "Lvl 2: 50$":
			if @Money < 50 {
				show("You do not have enough money")
			} else {
				@Money = @Money - 50
				@Level = 2
				show("You bought it!")
			}
		item "Lvl 3: 500$":
			if @Money < 500 {
				show("You do not have enough money to buy")
			} else {
				@Money = @Money - 500
				@Level = 3
			}
		item "Lvl 4: 1500$":
			if @Money < 1500 {
				show("You do not have enough money to buy")
			} else {
				@Money = @Money - 1500
				@Level = 4
			}
		item "Lvl 5: 2000$":
			if @Money < 2000 {
				show("You do not have enough money to buy")
			} else {
				@Money = 2000 - @Money
				@Level = 5
			}
		item "Cookie shop: 10000$":
			if @Money < 10000 {
				show("You do not have enough money to buy")
			} else {
				@Money = 10000 - @Money
				@Level = 6
				@ShopType = "Cookie shop"
				show("Congratulations you have finished Galaxy builder the demo version! You can keep playing but there is nothing left to complete!")
				menu "Choose" {
				item "Continue playing":
				item "Quit":
					show()
					stop()
				}
			}
		}
	item "Quit":
		show()
		stop()
	}
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de gooey321

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité