ShareShortcuts

Spacelizards

Kill lizards in spaceships!

xalaeth
Fork “Spacelizards”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så xalaeth får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
53K
Gemt
2
Handlinger
261
Kategori
Sjov
Version
1.0
Sprog
EN

Kill lizards in spaceships! Just as weird as cooking a chicken by slapping it!

Nyheder

Version 1.0

First release

Versionshistorik
1.0 20. jan. 2021

First release

Hvad den gør

261 handlinger
  1. Calculate
  2. Set Variable
    AttackIntensity
  3. Calculate
  4. Set Variable
    #
  5. Calculate
  6. Set Variable
    Level
  7. Set Variable
    Gold
  8. Set Variable
    Atk
  9. Set Variable
    Def
  10. Set Variable
    MaxHp
  11. Repeat
  12. Repeat
  13. Choose from Menu
    What will you do?
  14. Choose from Menu
    ⚔️ATTACK⚔️
  15. Random Number
  16. Set Variable
    Xatk
  17. Random Number
  18. Set Variable
    Xdef
  19. Random Number
  20. Set Variable
    Xhp
  21. Choose from Menu
    The lizard warrior has … ATK, … DEF, and … HP.
  22. Choose from Menu
    ⚔️Attack⚔️
  23. If
  24. Calculate
  25. Set Variable
    #
  26. If
  27. If
  28. Calculate
  29. Set Variable
    #
  30. If
  31. If
  32. Calculate
  33. Set Variable
    #
  34. If
  35. If
  36. Show Alert
  37. If
  38. If
  39. Show Alert
  40. If
  41. If
  42. Show Alert
  43. If
  44. If
  45. Show Alert
  46. Show Alert
  47. Stop This Shortcut
  48. If
  49. Calculate
  50. Set Variable
    #
  51. Choose from Menu
    👀Retreat💨
  52. Show Alert
  53. Choose from Menu
    ⚒Mine!⛏
  54. Choose from Menu
    How long will you mine?
  55. Choose from Menu
    30 sec
  56. Wait
  57. Random Number
  58. Calculate
  59. Set Variable
    Gold
  60. Choose from Menu
    1 min
  61. Wait
  62. Random Number
  63. Calculate
  64. Set Variable
    Gold
  65. Choose from Menu
    2 min
  66. Wait
  67. Random Number
  68. Calculate
  69. Choose from Menu
    5 min
  70. Wait
  71. Random Number
  72. Calculate
  73. Set Variable
    Gold
  74. Choose from Menu
    10 min
  75. Wait
  76. Wait
  77. Random Number
  78. Calculate
  79. Set Variable
    Gold
  80. Choose from Menu
    🔮stats🔮
  81. Show Alert
  82. Choose from Menu
    💤Sleep💤
  83. Choose from Menu
    Exit the game and save? Shortcuts won't save it for long, so don't be gone for more than an hour, unless you are done, in which case you should just close the shortcut.
  84. Choose from Menu
    Stay
  85. Choose from Menu
    Save and exit
  86. Choose from Menu
    ⚜️Upgrades⚜️
  87. If
  88. Choose from Menu
    Which ship will you buy? 10 gold for them.
  89. Choose from Menu
    Starship
  90. If
  91. If
  92. Calculate
  93. Set Variable
    Level
  94. Calculate
  95. Set Variable
    Gold
  96. Calculate
  97. Set Variable
    Atk
  98. Calculate
  99. Set Variable
    Def
  100. Calculate
  101. Set Variable
    Hp
  102. Choose from Menu
    Double barrel
  103. If
  104. If
  105. Calculate
  106. Set Variable
    Gold
  107. Calculate
  108. Set Variable
    Level
  109. Calculate
  110. Set Variable
    Def
  111. Calculate
  112. Set Variable
    Atk
  113. Calculate
  114. Set Variable
    Hp
  115. Choose from Menu
    T-15 shredder
  116. If
  117. If
  118. Calculate
  119. Set Variable
    Def
  120. Calculate
  121. Set Variable
    Atk
  122. Calculate
  123. Set Variable
    Hp
  124. Calculate
  125. Set Variable
    Gold
  126. Calculate
  127. Set Variable
    Level
  128. If
  129. If
  130. Choose from Menu
    Which ship will you buy? 50 gold each
  131. Choose from Menu
    Crusader
  132. If
  133. If
  134. Calculate
  135. Set Variable
    Hp
  136. Calculate
  137. Set Variable
    Def
  138. Calculate
  139. Set Variable
    Atk
  140. Calculate
  141. Set Variable
    Level
  142. Calculate
  143. Set Variable
    Gold
  144. Choose from Menu
    Nutgunner
  145. If
  146. If
  147. Calculate
  148. Set Variable
    Atk
  149. Calculate
  150. Set Variable
    Def
  151. Calculate
  152. Set Variable
    Hp
  153. Calculate
  154. Calculate
  155. Set Variable
    Level
  156. If
  157. If
  158. Choose from Menu
    Which ship will you buy? Each one is 55 gold
  159. Choose from Menu
    The Basher
  160. If
  161. If
  162. Calculate
  163. Set Variable
    Def
  164. Calculate
  165. Set Variable
    Atk
  166. Calculate
  167. Set Variable
    Hp
  168. Calculate
  169. Set Variable
    Level
  170. Calculate
  171. Set Variable
    Level
  172. Choose from Menu
    Withershooter
  173. If
  174. If
  175. Calculate
  176. Set Variable
    Def
  177. Calculate
  178. Set Variable
    Hp
  179. Calculate
  180. Set Variable
    Atk
  181. Calculate
  182. Set Variable
    Gold
  183. Calculate
  184. Set Variable
    Level
  185. If
  186. If
  187. Choose from Menu
    Which ship will you buy? Each one is 60 gold
  188. Choose from Menu
    Q-defender
  189. If
  190. If
  191. Calculate
  192. Set Variable
    Hp
  193. Calculate
  194. Set Variable
    Atk
  195. Calculate
  196. Set Variable
    Def
  197. Calculate
  198. Set Variable
    Level
  199. Calculate
  200. Set Variable
    Gold

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#define color green
#define glyph rocket

@AttackIntensity = 10 + 0
@ = 0 + 0
@Level = 1 + 0
@Gold
@Atk
@Def
@MaxHp

repeat _ for 825 {
	repeat _ for 825 {
		menu "What will you do?" {
		item "⚔️ATTACK⚔️":
			randomNumber(0, @AttackIntensity)
			@Xatk
			randomNumber(0, @AttackIntensity)
			@Xdef
			randomNumber(1, @AttackIntensity)
			@Xhp
			menu "The lizard warrior has {@Xatk} ATK, {@Xdef} DEF, and {@Xhp} HP." {
			item "⚔️Attack⚔️":
				if @Atk > @Xdef {
					@ = @ + 1
				} else {
				}
				if @Def > @Xatk {
					@ = 1 + @
				} else {
				}
				if @Hp > @Xhp {
					@ = @ + 1
				} else {
				}
				if @ == 3 {
					confirm("+3 gold. You won!")
				} else {
					if @ == 2 {
						confirm("+1 gold. Barely won.")
					} else {
						if @ == 1 {
							confirm("You managed to run from the lizard, hardly making it away from it's deathly grasp.")
						} else {
							if @ == 0 {
								confirm("You died. Sorry, but that's it. There are no second chances, so you gotta restart if you want to keep playing.")
								confirm("Better luck next time!")
								stop()
							} else {
							}
						}
					}
				}
				@ = 0 + 0
			item "👀Retreat💨":
				confirm("You have retreated.😐")
			}
		item "⚒Mine!⛏":
			menu "How long will you mine?" {
			item "30 sec":
				wait(30)
				const RandomNumber = randomNumber(0, 2)
				@Gold = RandomNumber + @Gold
			item "1 min":
				wait(60)
				const RandomNumber1 = randomNumber(1, 5)
				@Gold = RandomNumber1 + @Gold
			item "2 min":
				wait(120)
				const RandomNumber2 = randomNumber(4, 9)
			item "5 min":
				wait(300)
				const RandomNumber3 = randomNumber(8, 20)
				@Gold = RandomNumber3 + @Gold
			item "10 min":
				wait(300)
				wait(300)
				const RandomNumber4 = randomNumber(20, 30)
				@Gold = RandomNumber4 + @Gold
			}
		item "🔮stats🔮":
			confirm("Gold: {@Gold}\nATK: {@Atk}\nDEF: {@Def}\nHP: {@Hp}")
		item "💤Sleep💤":
			menu "Exit the game and save? Shortcuts won't save it for long, so don't be gone for more than an hour, unless you are done, in which case you should just close the shortcut." {
			item "Stay":
			item "Save and exit":
			}
		item "⚜️Upgrades⚜️":
			if @Level == 1 {
				menu "Which ship will you buy? 10 gold for them." {
				item "Starship":
					if @Gold < 10 {
					} else {
						@Level = 2 + 0
						@Gold = @Gold - 10
						@Atk = 3 + 0
						@Def = 2 + 0
						@Hp = 2 + 0
					}
				item "Double barrel":
					if @Gold < 10 {
					} else {
						@Gold = @Gold - 10
						@Level = 3 + 0
						@Def = 3 + 0
						@Atk = 2 + 0
						@Hp = 2 + 0
					}
				item "T-15 shredder":
					if @Gold < 10 {
					} else {
						@Def = 2 + 0
						@Atk = 2 + 0
						@Hp = 3 + 0
						@Gold = @Gold - 10
						@Level = 4 + 0
					}
				}
			} else {
				if @Level == 2 {
					menu "Which ship will you buy? 50 gold each" {
					item "Crusader":
						if @Gold < 50 {
						} else {
							@Hp = 4 + 0
							@Def = 3 + 0
							@Atk = 4 + 0
							@Level = 5 + 0
							@Gold = @Gold - 50
						}
					item "Nutgunner":
						if @Gold < 50 {
						} else {
							@Atk = 5 + 0
							@Def = 3 + 0
							@Hp = 3 + 0
							@Level = 6 + 0
						}
					}
				} else {
					if @Level == 3 {
						menu "Which ship will you buy? Each one is 55 gold" {
						item "The Basher":
							if @Gold < 55 {
							} else {
								@Def = 6 + 0
								@Atk = 2 + 0
								@Hp = 3 + 0
								@Level = 7 + 0
								@Level = @Gold - 55
							}
						item "Withershooter":
							if @Gold < 55 {
							} else {
								@Def = 4 + 0
								@Hp = 3 + 0
								@Atk = 4 + 0
								@Gold = @Gold - 55
								@Level = 8 + 0
							}
						}
					} else {
						if @Level == 4 {
							menu "Which ship will you buy? Each one is 60 gold" {
							item "Q-defender":
								if @Gold < 60 {
								} else {
									@Hp = 5 + 0
									@Atk = 3 + 0
									@Def = 3 + 0
									@Level = 9 + 0
									@Gold = @Gold - 60
								}
							item "DragonHeart":
								if @Gold < 60 {
								} else {
									@Hp = 4 + 0
									@Atk = 3 + 0
									@Def = 4 + 0
									@Level = 10 + 0
									@Gold = @Gold - 60
								}
							}
						} else {
							if @Level == 5 {
								menu "Which ship will you buy? Each is 100 gold" {
								item "The burner":
									if @Gold < 100 {
									} else {
										@Hp = 5 + 0
										@Atk = 7 + 0
										@Def = 5 + 0
										@Level = 11 + 0
										@Gold = @Gold - 100
									}
								item "Terra-fire":
									if @Gold < 100 {
									} else {
										@Hp = 5 + 0
										@Def = 6 + 0
										@Atk = 6 + 0
										@Level = 12 + 0
										@Gold = @Gold - 100
									}
								}
							} else {
								if @Level == 6 {
									menu "Which ship will you buy? Each one is 100 gold" {
									item "Carrionship":
										if @Gold < 100 {
										} else {
										}
									item "T-balance":
									}
								} else {
									if @Level == 7 {
									} else {
										if @Level == 9 {
										} else {
											if @Level == 10 {
											} else {
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}
@Hp = @Gold - 100
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra xalaeth

Se alle

Du vil måske også kunne lide

Se alle
Annonce