ShareShortcuts
Dupliquer « RPG »

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 daboy 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
50K
Enregistré
1
Actions
312
Catégorie
Fun
Version
2.3
Langue
EN

Aperçu

DISCLAIMER (optional): This shortcut uses files to save your progress when you exit the shortcut. It automatically saves everything so you don’t have to worry about losing all your progress. Game files are stored in a folder called “game” (/shortcuts/game). If you don’t want the game files to be installed, then don’t get this shortcut, and if you comment saying you want an option where it doesn’t save your progress, maybe I’ll update it.

This is literally a game (an RPG) inside a shortcut. Seriously. It’s awesome and I suggest getting it, or at least trying it. If someone comments saying they want a better explanation, I’ll paste the explanation it uses in the shortcut into the description.

Nouveautés

Version 2.3

WE GOT A HUGE UPDATE TODAY, BOIS! Messaging the dev (me), Horses, Info, Game help, and much more!

Historique des versions
2.11 30 juin 2021

Made MyUpdater work out a little bit better.

2.3 5 juil. 2021

WE GOT A HUGE UPDATE TODAY, BOIS! Messaging the dev (me), Horses, Info, Game help, and much more!

2.2 5 juil. 2021

WE GOT A HUGE UPDATE TODAY, BOIS! Messaging the dev (me), Horses, Info, Game help, and much more!

2.1 26 juin 2021

I thought I added auto-update but I didn’t so I added that in this update 🙄

2.1 26 juin 2021

Bug fixes, and the in-game option to install MyUpdater for automatic updates.

2.0 26 juin 2021

Added MyUpdater, the awesome Shortcuts Updater I invented.If you want bugs to automatically be fixed, please install MyUpdater. ;)

1.2 22 juin 2021

Added Shortcuts Updater.

1.1 18 juin 2021

Fixed some practically gamebreaking bugs, but I don’t think I should make a “major update” for this.

1.0 15 juin 2021

First release

Ce qu’il fait

312 actions
  1. Get IP Address
  2. If
  3. Get My Shortcuts
  4. Combine Text
  5. If
  6. Dictionary
  7. Run Shortcut
    MyUpdater
  8. If
  9. Stop This Shortcut
  10. Get File
  11. If
  12. Create Folder
  13. Number
  14. Save File
  15. Number
  16. Save File
  17. Show Alert
    Intro :D
  18. Ask for Input
    What will your username be? (Accounts aren’t a thing yet, we just want something to call you.) If you press cancel, the game will glitch and you’ll have to manually delete the “/shortcuts/game” folder through files, so don’t press cancel.
  19. Save File
  20. Number
  21. Save File
  22. Number
  23. Save File
  24. Number
  25. Save File
  26. Number
  27. Save File
  28. Number
  29. Save File
  30. Number
  31. Save File
  32. Number
  33. Save File
  34. Number
  35. Save File
  36. Number
  37. Save File
  38. Number
  39. Save File
  40. Run Shortcut
    RPG
  41. Get File
  42. Get Numbers from Input
  43. Set Variable
    XP
  44. Get File
  45. Get Numbers from Input
  46. Set Variable
    Coins
  47. Get File
  48. Get Numbers from Input
  49. Set Variable
    Potions
  50. Get File
  51. Get Numbers from Input
  52. Set Variable
    Hunted
  53. Get File
  54. Get Numbers from Input
  55. Set Variable
    Healed
  56. Get File
  57. Get Numbers from Input
  58. Set Variable
    Bought
  59. Get File
  60. Get Numbers from Input
  61. Set Variable
    Used
  62. Get File
  63. Get Numbers from Input
  64. Set Variable
    Health
  65. Get File
  66. Get Text from Input
  67. Set Variable
    Username
  68. Get File
  69. Get Numbers from Input
  70. Set Variable
    Level
  71. Get File
  72. Get Numbers from Input
  73. Set Variable
    nextLevel
  74. If
  75. Number
  76. Save File
  77. Number
  78. Set Variable
    Level
  79. If
  80. If
  81. Show Alert
  82. Number
  83. Save File
  84. Number
  85. Save File
  86. Run Shortcut
    RPG
  87. If
  88. If
  89. If
  90. Show Alert
  91. Number
  92. Save File
  93. Number
  94. Save File
  95. Run Shortcut
    RPG
  96. If
  97. If
  98. If
  99. Show Alert
  100. Number
  101. Save File
  102. Number
  103. Save File
  104. Run Shortcut
    RPG
  105. If
  106. If
  107. If
  108. Show Alert
  109. Number
  110. Save File
  111. Run Shortcut
    RPG
  112. Choose from Menu
    What will you do?
  113. Choose from Menu
    Hunt (with Health health)
  114. Get File
  115. Get Numbers from Input
  116. Calculate
  117. Save File
  118. List
  119. Get Item from List
  120. If
  121. Random Number
  122. Set Variable
    Dmg
  123. Random Number
  124. Set Variable
    XP Earned
  125. Random Number
  126. Set Variable
    Coins Earned
  127. If
  128. If
  129. Random Number
  130. Set Variable
    Dmg
  131. Random Number
  132. Set Variable
    XP Earned
  133. Random Number
  134. Set Variable
    Coins Earned
  135. If
  136. Random Number
  137. Set Variable
    Dmg
  138. Random Number
  139. Set Variable
    XP Earned
  140. Random Number
  141. Set Variable
    Coins Earned
  142. Calculate
  143. If
  144. Calculate
  145. Save File
  146. Set Variable
    Level
  147. Show Alert
  148. Get File
  149. Save File
  150. Run Shortcut
    RPG
  151. If
  152. Calculate
  153. Set Variable
    XP
  154. Save File
  155. Calculate
  156. Set Variable
    Coins
  157. Save File
  158. Save File
  159. Show Alert
  160. Run Shortcut
    RPG
  161. Choose from Menu
    Shop (with Coins coins)
  162. Choose from Menu
    What do you want to buy? (More coming soon.)
  163. Choose from Menu
    Life potion
  164. If
  165. Get File
  166. Get Numbers from Input
  167. Calculate
  168. Set Variable
    Coins
  169. Save File
  170. If
  171. Show Alert
    Looks like Moneybags doesn't have so much cash after all!
  172. Run Shortcut
    RPG
  173. Get File
  174. Get Numbers from Input
  175. Calculate
  176. Set Variable
    Potions
  177. Save File
  178. Get File
  179. Get Numbers from Input
  180. Calculate
  181. Set Variable
    Items Bought
  182. Save File
  183. Choose from Menu
    Horse
  184. Get File
  185. Get Numbers from Input
  186. Calculate
  187. Save File
  188. If
  189. Get File
  190. Get Numbers from Input
  191. Calculate
  192. Save File
  193. Get File
  194. Get Numbers from Input
  195. Calculate
  196. Save File
  197. Calculate
  198. Calculate
  199. Save File
  200. If

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.

#include 'actions/web'
#include 'actions/text'
#include 'actions/shortcuts'
#include 'actions/network'
#define color red
#define glyph fire

const CurrentIPAddress = getExternalIP()

if CurrentIPAddress {
	const MyShortcuts = getShortcuts()
	const CombinedText = joinText(MyShortcuts)
	if CombinedText contains "MyUpdater" {
		const Dictionary = {
			"name": "RPG",
			"shareid": 1434,
			"version": "2.3"
		}
		const ShortcutResult = run("MyUpdater", Dictionary)
		if ShortcutResult == "exit" {
			stop()
		}
	}
}
const File = getFile("game/health.txt", false)

if !File {
	createFolder("game/")
	const Health = 100
	saveFile("game/health.txt", Health, true)
	const Level = 1
	saveFile("game/level.txt", Level, true)
	alert("You seem to be new, or you may have deleted your game data. Simple: Hunt until your health is low, level up by hunting, and restore your health by going to the shop. Other cool things will be in the shop (for now there's just a life potion), and the max level is level 5. (This is all you have to read, but you can keep reading.) When (and if) I update this, I might make the max level higher, and I'll probably make gaining levels unlock stuff, but for now it's just a nice addition to the game.\nAlso, when you get far into the game, you can wipe your data and try to speedrun to level 5. You might even be speedrunning right now!", "Intro :D")
	const Username = prompt("What will your username be? (Accounts aren’t a thing yet, we just want something to call you.) If you press cancel, the game will glitch and you’ll have to manually delete the “/shortcuts/game” folder through files, so don’t press cancel.")
	saveFile("game/user.txt", Username, true)
	const TimesHunted = 1
	saveFile("game/hunted.txt", TimesHunted, true)
	const TimesHealed = 0
	saveFile("game/healed.txt", TimesHealed, true)
	const ItemsBought = 0
	saveFile("game/bought.txt", ItemsBought, true)
	const ItemsUsed = 0
	saveFile("game/used.txt", ItemsUsed, true)
	const LifePotions = 0
	saveFile("game/potions.txt", LifePotions, true)
	const XP = 0
	saveFile("game/experience.txt", XP, true)
	const Coins = 0
	saveFile("game/coins.txt", Coins, true)
	const NextLevelXP = 100
	saveFile("game/nextlevel.txt", NextLevelXP, true)
	const Horses = 0
	saveFile("game/horses.txt", Horses, true)
	const MaxHealth = 100
	const SavedFile = saveFile("game/maxhealth.txt", MaxHealth, true)
	runSelf(SavedFile)
}
const XP1 = getFile("game/experience.txt", false)
getNumbers(XP1)
@XP
const Coins1 = getFile("game/coins.txt", true)
@Coins = getNumbers(Coins1)
const Potions = getFile("game/potions.txt", true)
@Potions = getNumbers(Potions)
const Hunted = getFile("game/hunted.txt", true)
@Hunted = getNumbers(Hunted)
const Healed = getFile("game/healed.txt", true)
getNumbers(Healed)
@Healed
const Bought = getFile("game/bought.txt", true)
@Bought = getNumbers(Bought)
const Used = getFile("game/used.txt", true)
@Used = getNumbers(Used)
const Health1 = getFile("game/health.txt", true)
@Health = getNumbers(Health1)
const User = getFile("game/user.txt", true)
@Username = getText(User)
const Level1 = getFile("game/level.txt", true)
@Level = getNumbers(Level1)
const nextLevel = getFile("game/nextlevel.txt", true)
@nextLevel = getNumbers(nextLevel)

if @Level < 1 {
	const Number = 1
	saveFile("game/level.txt", Number, true)
	@Level = 1
}

if @Level == 1 {
	if @XP >= 100 {
		confirm("You have advanced to level 2! You're off to a great start!")
		const Number1 = 2
		saveFile("game/level.txt", Number1, true)
		const Number2 = 220
		saveFile("game/nextlevel.txt", Number2, true)
		runSelf(SavedFile1)
	}
} else {
	if @Level == 2 {
		if @XP >= 220 {
			confirm("You have advanced to level 3! That's pretty good!")
			const Number3 = 3
			const SavedFile1 = saveFile("game/level.txt", Number3, true)
			const Number4 = 350
			saveFile("game/nextlevel.txt", Number4, true)
			runSelf(SavedFile1)
		}
	} else {
		if @Level == 3 {
			if @XP >= 350 {
				confirm("You have advanced to level 4! How do you do it?")
				const Number5 = 4
				saveFile("game/level.txt", Number5, true)
				const Number6 = 550
				saveFile("game/nextlevel.txt", Number6, true)
				runSelf(SavedFile1)
			}
		} else {
			if @Level == 4 {
				if @XP >= 625 {
					confirm("Did you really just advance to level 5? That's awesome! For now it's the max level. For now...")
					const Number7 = 5
					saveFile("game/level.txt", Number7, true)
					runSelf(SavedFile1)
				}
			}
		}
	}
}

menu "What will you do?" {
item "Hunt (with {@Health} health)":
	const Hunted2 = getFile("game/hunted.txt")
	const Hunted3 = getNumbers(Hunted2)
	const TimesHunted1 = Hunted3 + 1
	saveFile("game/hunted.txt", TimesHunted1, true)
	const List = list("Wolf", "Wolf", "Wolf", "Slime", "Slime", "Lion")
	const Hunted4 = getListItem(List, 0)
	if Hunted4 contains "Wolf" {
		@Dmg = randomNumber(15, 33)
		@XPEarned = randomNumber(5, 15)
		@CoinsEarned = randomNumber(15, 25)
	} else {
		if Hunted4 contains "Slime" {
			@Dmg = randomNumber(20, 35)
			@XPEarned = randomNumber(10, 20)
			@CoinsEarned = randomNumber(20, 30)
		} else {
			@Dmg = randomNumber(25, 36)
			@XPEarned = randomNumber(20, 30)
			@CoinsEarned = randomNumber(30, 50)
		}
	}
	const HealthLeft = @Health - @Dmg
	if HealthLeft <= 0 {
		const CalculationResult = @Level - 1
		saveFile("game/level.txt", CalculationResult, true)
		@Level = CalculationResult
		confirm("You died while fighting a {Hunted4}. You have lost a level. (Your current level is {@Level}.)")
		const File1 = getFile("game/maxhealth.txt")
		saveFile("game/health.txt", File1, true)
		runSelf(SavedFile1)
	} else {
		const XP2 = @XP + @XPEarned
		@XP = XP2
		saveFile("game/experience.txt", XP2, true)
		const Coins3 = @Coins + @CoinsEarned
		@Coins = Coins3
		saveFile("game/coins.txt", Coins3, true)
		saveFile("game/health.txt", HealthLeft, true)
		confirm("{@Username} just hunted a {Hunted4}! Health remaining: {HealthLeft}.\n\nEarned {@XPEarned} XP and {@CoinsEarned} coins.\n(Your current XP is {@XP}/{@nextLevel}).")
		runSelf(SavedFile1)
	}
item "Shop (with {@Coins} coins)":
	menu "What do you want to buy? (More coming soon.)" {
	item "Life potion":
		if @Coins >= 75 {
			const File2 = getFile("game/coins.txt")
			const Coins4 = getNumbers(File2)
			const CalculationResult1 = Coins4 - 75
			@Coins = CalculationResult1
			saveFile("game/coins.txt", CalculationResult1, true)
		} else {
			alert("You don't have enough money 😂", "Looks like Moneybags doesn't have so much cash after all!")
			runSelf(SavedFile1)
		}
		const File3 = getFile("game/potions.txt")
		const Potions2 = getNumbers(File3)
		const CalculationResult2 = Potions2 + 1
		@Potions = CalculationResult2
		saveFile("game/potions.txt", CalculationResult2, true)
		const File4 = getFile("game/bought.txt", true)
		const Bought2 = getNumbers(File4)
		const CalculationResult3 = Bought2 + 1
		@ItemsBought = CalculationResult3
		saveFile("game/bought.txt", CalculationResult3, true)
	item "Horse":
		const File5 = getFile("game/horses.txt")
		const Numbers = getNumbers(File5)
		const CalculationResult4 = Numbers + 1
		saveFile("game/horses.txt", CalculationResult4, true)
		if @Coins >= 125 {
			const File6 = getFile("game/coins.txt")
			const Numbers1 = getNumbers(File6)
			const CalculationResult5 = Numbers1 - 125
			saveFile("game/coins.txt", CalculationResult5, true)
			const File7 = getFile("game/bought.txt", true)
			const Numbers2 = getNumbers(File7)
			const NewHorses = Numbers2 + 1
			saveFile("game/bought.txt", NewHorses, true)
			const CalculationResult6 = NewHorses * 15
			const MaxHealth1 = CalculationResult6 + 100
			saveFile("game/maxhealth.txt", MaxHealth1, true)
		} else {
			alert("You don't have enough money 😂", "Looks like Moneybags doesn't have so much cash after all!")
			runSelf()
		}
	item "Exit shop":
		runSelf()
	}
item :
	const Potions3 = getFile("game/potions.txt")
	const LifePotions1 = getNumbers(Potions3)
	if LifePotions1 >= 1 {
		menu "What will you use?" {
		item "Use life potion (You have {LifePotions1} of these)":
			const MaxHealth2 = getFile("game/maxhealth.txt")
			saveFile("game/health.txt", MaxHealth2, true)
			const Potions4 = getFile("game/potions.txt")
			const LifePotions2 = getNumbers(Potions4)
			const CalculationResult7 = LifePotions2 - 1
			@Potions = CalculationResult7
			saveFile("game/potions.txt", CalculationResult7, true)
			const File8 = getFile("game/healed.txt")
			const TimesHealed1 = getNumbers(File8)
			const CalculationResult8 = TimesHealed1 + 1
			@TimesHealed = CalculationResult8
			saveFile("game/healed.txt", CalculationResult8, true)
		item :
			runSelf(LifePotions1)
		}
	} else {
		confirm("You don't have anything you can use 😂")
		runSelf()
	}
item :
	const TimesHunted2 = getFile("game/hunted.txt", true)
	const TimesHunted3 = getNumbers(TimesHunted2)
	const TimesHealed2 = getFile("game/healed.txt", true)
	const TimesHealed3 = getNumbers(TimesHealed2)
	const ItemsBought1 = getFile("game/bought.txt", true)
	const ItemsBought2 = getNumbers(ItemsBought1)
	const ItemsUsed1 = getFile("game/used.txt", true)
	const ItemsUsed2 = getNumbers(ItemsUsed1)
	confirm("Your level is: {@Level}.\nYou have hunted {TimesHunted3} times.\nYou have healed yourself {TimesHealed3} times.\nYou have bought {ItemsBought2} items.\nYou have used {ItemsUsed2} items.\nYour total experience is {@XP}.\nYou have {@Coins} coins.")
item "Use an item":
	const CurrentIPAddress1 = getExternalIP()
	if !CurrentIPAddress1 {
		showNotification("", "No internet, sorry", false)
		runSelf()
	}
	openURL("https://shareshortcuts.com/download/1444-myupdater.html")
	stop()
item "View stats":
	menu "Whoa, there! Careful! Are you sure you want to wipe your data? This means you will lose all your progress! This action can't be undone!" {
	item "Yes":
		menu "READ THIS FOR YOUR OWN SAKE! Are you REALLY sure that you want to lose ALL your progress?" {
		item "Yes":
			menu "This is the last confirmation! Are you 100% sure you want to wipe your data? ALL DATA WILL BE GONE!" {
			item "Yes 🙄":
				const nextLevel2 = getFile("game/nextlevel.txt")
				deleteFiles(nextLevel2)
				const Health3 = getFile("game/health.txt", false)
				deleteFiles(Health3)
				const Level3 = getFile("game/level.txt", false)
				deleteFiles(Level3)
				const Username1 = getFile("game/user.txt", false)
				deleteFiles(Username1)
				const Hunted5 = getFile("game/hunted.txt", false)
				deleteFiles(Hunted5)
				const Healed1 = getFile("game/healed.txt", false)
				deleteFiles(Healed1)
				const Bought3 = getFile("game/bought.txt", false)
				deleteFiles(Bought3)
				const Used2 = getFile("game/used.txt", false)
				deleteFiles(Used2)
				const Coins5 = getFile("game/coins.txt", false)
				deleteFiles(Coins5)
				const XP3 = getFile("game/experience.txt", false)
				deleteFiles(XP3)
				const Potions5 = getFile("game/potions.txt", false)
				deleteFiles(Potions5)
				stop()
			item "No 😨":
				runSelf()
			}
		item "No":
			runSelf()
		}
	item "No":
		runSelf()
	}
item "Install MyUpdater (for automatic updates)":
	menu "What do you want to do? (Notice: when you message me, it shows your name, so if you don't trust me not to scam you, then don't send a message.)" {
	item "View files":
		rawAction("is.workflow.actions.useractivity.open", {
			"AppBundleIdentifier": "com.apple.DocumentsApp",
			"UserActivityData": "YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMSAAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGvEBULDEtRV1hZXWBkaWpyc3R1dnl9foFVJG51bGzfEB8NDg8QERITFBUWFxgZGhscHR4fICEiIyQlJicoKSorLC0uLi4xMjMuLjIuLjk6Oy4uPjMyQS4uRC4uRy5JMlxyZXF1aXJlZEtleXNVdGl0bGVad2VicGFnZVVSTF8QE2R5bmFtaWNBY3Rpdml0eVR5cGVfEBRwZXJzaXN0ZW50SWRlbnRpZmllcldvcHRpb25zXxAZZWxpZ2libGVGb3JQdWJsaWNJbmRleGluZ18QFWVsaWdpYmxlRm9yUHJlZGljdGlvbl8QEGJ1bmRsZUlkZW50aWZpZXJeZXhwaXJhdGlvbkRhdGVYaXNBY3RpdmVUdXVpZFhrZXl3b3Jkc1xhY3Rpdml0eVR5cGVfEBdjb250ZW50QXR0cmlidXRlU2V0RGF0YVd2ZXJzaW9uXHBheWxvYWRFcnJvcl50ZWFtSWRlbnRpZmllclR0eXBlXxASZWxpZ2libGVGb3JIYW5kb2ZmXxAUZWxpZ2libGVGb3JSZW1pbmRlcnNXcGF5bG9hZFtyZWZlcnJlclVSTF8QF3RhcmdldENvbnRlbnRJZGVudGlmaWVyViRjbGFzc15wZWVyRGV2aWNlVHlwZVpwZWVyRGV2aWNlVHdoZW5dY29udGVudEFjdGlvblhwYXlsb2Fkc18QEWVsaWdpYmxlRm9yU2VhcmNogBGABIAAgACAAIACCAmAAIAACIAAgACABYAIEAGAAIAAEAEJCIAKgACAAIA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ElVBVXNlckFjdGl2aXR5SW5mbwAIABEAGgAkACkAMgA3AEkATABRAFMAawBxALIAvwDFANAA5gD9AQUBIQE5AUwBWwFkAWkBcgF/AZkBoQGuAb0BwgHXAe4B9gICAhwCIwIyAj0CQgJQAlkCbQJvAnECcwJ1AncCeQJ6AnsCfQJ/AoACggKEAoYCiAKKAowCjgKQApECkgKUApYCmAKaApwCngKgAqICpAKlAqwCtAK/AsACwQLDAsgC0wLcAukC7AL1AwgDKAMtAzUDPgNAA0UDTANPA1QDXAX9Bf8GBAYSBhYGJAYrBt8G5gbpBusG7QbwBvIG9Ab2BxMHLAffCGkIbgiECIgIjQiPCJEIkwjBCMYIzAjPCNQI6QjsAAAAAAAAAgEAAAAAAAAAhQAAAAAAAAAAAAAAAAAACQE="
		})
		stop()
	item "View RPG’s page":
		openURL("https://shareshortcuts.com/shortcuts/1434-rpg.html")
		stop()
	item "View hunting chances":
		const Text = "• Chances of hunting a wolf: 1/2, or 50%. Does 15-33 damage, gives 5-15 XP, and 15-25 coins.\n\n•Chances of hunting a slime: 1/3, or 33%. Does 20-35 damage, gives 10-20 XP, and 20-30 coins.\n\n•Chance of hunting a lion: 1/6, or 16.5%. Does 25-36 damage, gives 20-30 XP, and 30-50 coins.\n\n•From doing the math, the average damage is 25.5, but I still recommend only hunting if your health is 30 or above."
		show(Text)
		runSelf(Text)
	item "Message the creator (to report bugs, suggest features, etc.)":
		sendEmail(, "[email protected]", "", "")
		showNotification("Your feedback will be noted.", "Thanks for messaging me", false)
		runSelf()
	item "Toggle lag-prevent (makes the game run faster, but turns off auto-update)":
		const File9 = getFile("game/online.txt")
		const Text1 = getText(File9)
		if Text1 contains "True" {
			const Text2 = "False"
			saveFile("game/online.txt", Text2, true)
		} else {
			const Text3 = "True"
			saveFile("game/online.txt", Text3, true)
		}
		runSelf(IfResult)
	item "Game help":
		alert("How to play: Hunt until your health is low, level up by hunting, and restore your health by going to the shop. You can also find a horse and a sword in the shop. A horse increases your defense, and a sword increases your offense. The max level is level 5. Sometime I may update this to add a higher level and probably make gaining levels unlock stuff, but for now the levels are just a nice addition to the game. The game updates around every 1-3 weeks. I would add a schedule, like every Saturday, but to be honest I wouldn't be responsible enough. Hope you enjoy the game.", "Help page")
		runSelf()
	}
item "Wipe Data (not recommended)":
	stop()
}
stop()
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 daboy

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité