ShareShortcuts
„Galaxy builder“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit gooey321 die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
49K
Gesichert
2
Aktionen
95
Kategorie
Fun
Version
1.0
Sprache
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!

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 12. Aug 2021

First release

Was er macht

95 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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()
	}
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von gooey321

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung