Advertisement
Ganondox

Rariquest v0.1

Aug 21st, 2016
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 44.21 KB | None | 0 0
  1. @echo off
  2. REM File Map
  3. REM Init - Run only with the program starts
  4. REM Menu - Main Menu and all options from there
  5. REM Actions - Action Hub and all actions from there
  6. REM Routines - These are standard functions activited by other functions
  7. REM Scenes - The core-content of the game
  8. REM Dialouge - Character dialouge
  9. REM Items - For the use command
  10. REM Endings - They always end with Game Over
  11.  
  12. REM Tasks (Highest to Lowest Priority)
  13. REM Finish Action Hub
  14. REM Finish Rarity's Room
  15. REM Design Buisness Mechanics
  16. REM Finish Connecting Rooms
  17. REM Replace excess literals with constants
  18. REM Calculate starvation rate and fix other vales
  19. REM Finish Rarity Dialouge
  20. REM Finish Narrator Dialouge
  21. REM More alternative keywords
  22.  
  23. REM Init
  24. :init
  25. SetLocal ENABLEDELAYEDEXPANSION
  26. ::SETLOCAL ENABLEEXTENSIONS
  27. set wizard=false
  28. echo RARIQUEST^^!
  29.  
  30. REM Menu
  31. :mainmenu
  32. echo -
  33. echo P - Prolouge, N - New Game, H - Help, C - Credits
  34. set option= NOTHING
  35. set /p option=
  36. if %option%==P goto prolouge
  37. if %option%==p goto prolouge
  38. if %option%==N goto newgame
  39. if %option%==n goto newgame
  40. if %option%==H goto help
  41. if %option%==h goto help
  42. if %option%==C goto credits
  43. if %option%==c goto credits
  44. if %option%==IAMAWIZARD goto bugtest
  45. REM if the player is clueless
  46. echo That command was not recongized.
  47. echo Please enter a single character, either "P", "N", "H", or "C"
  48. goto mainmenu
  49.  
  50. :prolouge
  51. echo -
  52. echo You are Rarity, the most fabulous unicorn in all of Equestria. You are well
  53. echo known for your eye for detail and creative energy. Also, unlike many  
  54. echo with those traits, you are also socially competent (more so than any of your  
  55. echo friends, that's for sure), with a passion for fashion and all that jazz.
  56. echo Afterall, you are a lady. You are also known for your trade-mark Gem Finding
  57. echo Spell(TM), none is more talented to you when it comes to being a gem-hound,
  58. echo err, gem-pony.
  59. echo (Press enter to progress)
  60. set /p nothing=
  61. echo Your best friends, as decreed by divine providence, are Twilight Sparkle,
  62. echo Fluttershy, Applejack, Pinkie Pie, and Rainbow Dash.
  63. echo (Press enter to progress)
  64. set /p nothing=
  65. echo Twilight, she's a total dork of a unicorn, but she's still cool. Aside from
  66. echo being an egghead, she's also a powerful socceress, you put her power level
  67. echo at being around 9024. After all, she was the personal protegee of her  
  68. echo Majesty and God-Empress Princess Celestia.
  69. echo (Press enter to progress)
  70. set /p nothing=
  71. echo Fluttershy is a shy pegasus, as her name would suggest. You are unsure how her
  72. echo parents knew she was going to be shy at birth (did they just set her up for
  73. echo failure?), but you are reasonably confident in their ability to judge the race  
  74. echo of a horse based on presence or absence of wings. She likes animals, and like
  75. echo you she is good at sewing, but you aren't sure if she really actually  
  76. echo does anything. Like, employment wise. Of course she does things. What sort of
  77. echo things, you know not.
  78. echo (Press enter to progress)
  79. set /p nothing=
  80. echo Applejack is a filthy mud-horse with no since of decency. She is also kinda ho-
  81. echo Anyway, like you, she is an enterpenuer; she has been running the
  82. echo Apple Family Orchard since her parents died, poor thing.
  83. echo (Press enter to progress)
  84. set /p nothing=
  85. echo Pinkie Pie is absolutely psychotic. You are still trying to figure out exactly
  86. echo what she has, but to no success. She apparently grew up on a rock farm(?),  
  87. echo and last time you checked she was a live-in hire for the Cakes at their bakery.
  88. echo She enjoys throwing parties and is friends with every pony in town, which you
  89. echo still aren't sure how she does it as she has even less social skills
  90. echo than Twilight.
  91. echo (Press enter to progress)
  92. set /p nothing=
  93. echo Rainbow Dash is another pegaus and she's really fast. Her parents were also
  94. echo apparently psychic. Like Applejack, she is the exact opposite of a lady.  
  95. echo That's really about all you know about her. Apparently she is one of
  96. echo your best friends.
  97. echo (Press enter to progress)
  98. set /p nothing=
  99. echo -
  100. echo You all met during the Summer Sun Celebration at Ponyville many years ago.  
  101. echo There you defeated the Demonic Usurper From The Moon, Nightmare Moon, who  
  102. echo had kidnapped the queen, Princess Celestia and issued forth "eternal" night.  
  103. echo Turns out she was really Princess Luna and you are really the Element of  
  104. echo Generosity, who would have guessed? That means you and your friends have
  105. echo magic monster fighting powers^^!
  106. echo (Press enter to progress)
  107. set /p nothing=
  108. echo So, you had many adventures together, saving Equestria and all that jazz.
  109. echo Together you imprisoned the draconequus/Chaos-God Discord, then freed him
  110. echo again just so Fluttershy could befriend him or something, you still really
  111. echo don't understand what Celestia was thinking with that. Somehow, Twilight
  112. echo became an alicorn (it's like a unicorn, but with wings, so it's even more
  113. echo superior), and thus was made Princess of Friendship, as alicorns are more
  114. echo superior. After defeating the Dark Lord Tirek, you were all given the
  115. echo reponsibility of aiding her in that task. Afterall, she has zero social
  116. echo skills. Really, whos idea was it to make her Princess of FRIENDSHIP?
  117. echo (Press enter to progress)
  118. set /p nothing=
  119. echo So that worked out fine for awhile, but after Rainbow Dash finally
  120. echo completed her life-long dream and joined the Wonderbolts (this
  121. echo paramilitary show flying team) and moved to the floating city of
  122. echo Cloudsdale, the group started to drift appart. Soon after you moved
  123. echo to Canterlot, and are now running the boutique you own there.
  124. echo (Press enter to progress)
  125. set /p nothing=
  126. echo Twilight said she would be sending all of your letters, keeping you updated.
  127. echo She does have a magical baby dragon named Spike (hopefully he's grown out
  128. echo of his crush for you by now, that's just creepy) who can send letters by
  129. echo magic fire, but you have to get everything through snail mail from the
  130. echo post office. It seems everyone aside from Pinkie Pie and Twilight left
  131. echo Ponyville, but you aren't quite sure where they all are now. Supposedly
  132. echo your younger sister Sweetie Belle is currently in a rock band or something,
  133. echo apparently she forgot that that she is a supposed to a lady. Oh well.
  134. echo (Press enter to progress)
  135. set /p nothing=
  136. echo Now you're just living in the boutique, your manager Sassie Saddles comes in
  137. echo everyday to assist you with this endevour. Maybe you'll become the richest
  138. echo pony in Equestria if you keep this up. That's what generosity means, right?
  139. echo (Press enter to progress)
  140. set /p nothing=
  141. goto mainmenu
  142.  
  143. :newgame
  144. echo -
  145. REM Constants
  146. set /a HarmonyReq= 50
  147. set /a MaxHealth= 1200
  148. set /a SunRise= 6
  149. set /a BlueGemC= 595
  150. set /a BlueMoonIP= 5750
  151. set /a RedDawnIP= 12345
  152. set /a SassieSaddlesIS= 10000
  153. set /a SassieMin= 5000
  154. set /a SassieP= 2
  155. REM Initiating statistics
  156. set /a bits= 1000
  157. set /a day= 0
  158. set /a hour= %SunRise%
  159. set /a minute= 0
  160. set /a second = 0
  161. set /a harmony= 0
  162. set /a health= %MaxHealth%
  163. set /a hunger= 40
  164. set /a fatigue= 0
  165. set /a magic= 40
  166.  
  167. REM This is the list of all items, true is you have it, false is you don't, some items have stock, in which it's a number
  168. set selectedItem= nothing
  169.  
  170. set generic= false
  171.  
  172. REM Spells
  173. set dumbspell= false
  174.  
  175. REM First entrance to an area
  176. set newraritysroom= true
  177. set newboutiquefloor= true
  178.  
  179. REM intially set to first, also yes, no, maybe, and tutorial
  180. set actionScene= first
  181.  
  182. REM Characters 1. met 2. present
  183. set SassieSaddlesM= true
  184. set SassieSaddlesP= false
  185. set someponyM= false
  186. set someponyP= false
  187.  
  188. REM Dialouge Progress
  189. set RarityD= 0
  190. set NarratorD= 0
  191. set SassieSaddlesD= 0
  192.  
  193. REM Store Inventory
  194. set dosh= 30000
  195. REM Supplies
  196. set blueGemI= 10
  197. set paperI= 10
  198. set redGlitterI= 4
  199. set glueI= 3
  200. REM Dresses
  201. set  BlueMoonI= 7
  202. set  RedDawnI= 4
  203. REM Print Advertisments
  204. set BlueMoonAI= 5
  205. set RedDawnAI= 1
  206.  
  207. REM max stock for supplies, for restocking
  208. set blueGemM= 15
  209. set paperM= 15
  210. set glueM= 5
  211. set redGlitterM= 5
  212. set BlueMoonAM= 10
  213. set RedDawnAM= 3
  214.  
  215.  
  216. REM Dress Prices, initial prices put profit margin at ~50%
  217. set BlueMoonP= %BlueMoonIP%
  218. set RedDawnP= %RedDawnIP%
  219.  
  220.  
  221. REM Advertisements sent out, each ad has a number how much it has been advertized
  222. set BlueMoonA= 0
  223. set RedDawnA= 0
  224.  
  225. REM Sales Report
  226. set BlueMoonS= 0
  227. set RedDawnS= 0
  228. set freshDosh= 0
  229.  
  230. REM Employees salary, salary is daily, expected 5 dresses sold a day, 0 is unhired
  231. set SassieSaddlesS= %SassieSaddlesIS%
  232. set CocoPommelS= 0
  233.  
  234.  
  235. REM Employee work schedule
  236. set SassieSaddles9= sell
  237. set SassieSaddles10= sell
  238. set SassieSaddles11= prepare REM makes advertisements at this time
  239. set SassieSaddles12= advertise
  240. set SassieSaddles13= advertise
  241. set SassieSaddles14= restock
  242. set SassieSaddles15= sell
  243. set SassieSaddles16= sell
  244.  
  245.  
  246. REM Which ponies will visit each day at each time,  
  247. set PonyGoth9= true;
  248. set PonyGoth10= false;
  249. set PonyGoth11= false;
  250. set PonyGoth12= false;
  251. set PonyGoth13= false;
  252. set PonyGoth14= false;
  253. set PonyGoth15= false;
  254. set PonyGoth16= true;
  255.  
  256. REM Pony budget randomly adjusted after each sale hour
  257. set PonyGothB= 5000
  258.  
  259. REM Misc. conditions
  260. set sleepy= true
  261. set aggressive= false
  262. set underPressure= false
  263. set hungry= true
  264. set hallucinating= false
  265. set starving= false
  266.  
  267. REM Bugtest
  268. if %wizard%==true goto bugtest1
  269.  
  270. REM And start
  271. set scene= raritysroom
  272. set event= none
  273. goto raritysroom
  274.  
  275. :help
  276. echo -
  277. echo These is a text based adventure game. To play, you have to enter commands, then
  278. echo press enter. *DO NOT EVER ENTER IN SPACES, IT WILL CRASH THE GAME*
  279. echo -
  280. echo Many of the commands are applied to an object or something. If so, you will
  281. echo be prompted to enter the name of said object after entering the command.
  282. echo -
  283. echo To minimize confusion, most interactable objects will have their names listed  
  284. echo in ALL CAPS (but there are some secrets).
  285. echo -
  286. echo HELP is one of the basic commands. It will list out all the non-secret  
  287. echo commands availible in the current situation.
  288. echo -
  289. echo Underneath the surface, this game is more complex than most adventure games.
  290. echo Be sure to keep track of hints to gauge the state of your character and
  291. echo the situation you are in, and try to stay healthy and figure out what's
  292. echo going on at particular times.
  293. echo -
  294. echo The ultimate objective will not be clear until later in the game,
  295. echo and only if you've been paying attention. To get basic background information
  296. echo about your character, see the prolouge. After that, you are on your own.
  297. echo -
  298. echo Good luck.
  299. echo (Press enter to progress)
  300. set /p nothing=
  301. goto mainmenu
  302.  
  303. :credits
  304. echo -
  305. echo Most the characters were shameless stolen from My Little Pony: Friendship  
  306. echo is Magic. They are own owned by Hasbro Inc., but I will give credit were
  307. echo credit is due, most the characters were designed by Lauren Faust,  
  308. echo F*** THE POLICE^^! Some characters were designed by fans, but to avoid  
  309. echo spoilers I'll not credit them in these credits. Everything else, plot,
  310. echo programming, writing, design, ect. was done by Ganondox.
  311. echo (Press enter to progress)
  312. set /p nothing=
  313. goto mainmenu
  314.  
  315. :bugtest
  316. set wizard=true
  317. goto newgame
  318. :bugtest1
  319. echo V - Set Variable, S - Jump to Scene
  320. set /p option=
  321. if %option%==V goto setvar
  322. if %option%==S goto jmpscn
  323. goto bugtest
  324. :setvar
  325. echo variable:
  326. set variable= NOTHING
  327. set /p variable=
  328. echo value:
  329. set /p %variable%=
  330. goto bugtest
  331. :jmpscn
  332. set scene= NOTHING
  333. echo scene:
  334. set /p scene=
  335. goto %scene%
  336.  
  337. REM Actions
  338. :actionHub
  339. set action= NOTHING
  340. set /p action=
  341. REM standard actions
  342. if %action%==help goto commands
  343. if %action%==HELP goto commands
  344. if %action%==Help goto commands
  345. if %action%==H goto commands
  346. if %action%==h goto commands
  347. if %action%==inventory goto inventory
  348. if %action%==INVENTORY goto inventory
  349. if %action%==Inventory goto inventory
  350. if %action%==I goto inventory
  351. if %action%==i goto inventory
  352. if %action%==talk goto talk
  353. if %action%==TALK goto talk
  354. if %action%==Talk goto talk
  355. if %action%==T goto talk
  356. if %action%==t goto talk
  357. if %action%==walk goto walk
  358. if %action%==WALK goto walk
  359. if %action%==Walk goto walk
  360. if %action%==W goto walk
  361. if %action%==w goto walk
  362. if %action%==go goto walk
  363. if %action%==to goto walk
  364. if %action%==use goto use
  365. if %action%==USE goto use
  366. if %action%==Use goto use
  367. if %action%==U goto use
  368. if %action%==u goto use
  369. if %action%==look goto look
  370. if %action%==LOOK goto look
  371. if %action%==Look goto look
  372. if %action%==L goto look
  373. if %action%==l goto look
  374. if %action%==spell goto spell
  375. if %action%==SPELL goto spell
  376. if %action%==Spell goto spell
  377. if %action%==S goto spell
  378. if %action%==s goto spell
  379. if %action%==sleep goto sleep
  380. if %action%==SLEEP goto sleep
  381. if %action%==Sleep goto sleep
  382. if %action%==eat goto eat
  383. if %action%==EAT goto eat
  384. if %action%==Eat goto eat
  385.  
  386. REM secret actions
  387. if %action%==die goto suicide
  388. if %action%==killself goto suicide
  389. if %action%==pee goto hyperrealism
  390. if %action%==poo goto hyperrealism
  391. REM check for room specific actions
  392. goto %scene%Actions
  393. :actionHub1
  394. REM default
  395. echo Sorry, I'm stupid and don't understand. Rephrase what you said, and use only
  396. echo one word. If you're still confused, say HELP and I'll give you some options.
  397. goto actionHub
  398.  
  399. :commands
  400. echo -
  401. echo HELP - Lists active commands
  402. echo INVENTORY - Lists items you have on on your person, spells you know, and bits,
  403. echo TALK - Talks to someone in the room
  404. echo WALK - Walk to a nearby locations
  405. echo USE - Uses an item in your inventory, possibly on something else
  406. echo LOOK - Gathers more details about the ROOM or some object
  407. echo SPELL - Use a spell you learned
  408. REM conditional actions
  409. if %sleepy%==true echo SLEEP - Go to sleep, if possible
  410. if %aggressive%==true echo ATTACK - Attack a foe with whatever availible
  411. if %hungry%==true echo EAT - Eat whatever you can find.
  412.  
  413. goto actionHub
  414.  
  415. :inventory
  416. echo -
  417. echo ITEMS
  418. echo HORN - You're a unicorn, you got a horn. It does da magic.
  419. if %generic%==true echo GENERIC - %genericD%
  420. echo -
  421. echo SPELLS
  422. echo GEM - Finds gems
  423. echo -
  424. if %bits%==0 echo You don't go no bits, you broke.
  425. if %bits%==1 echo BIT - You only have one bit. It's rusty, too.
  426. if 1 LSS %bits% echo You have %bits% bits.
  427. if %underPressure%==true goto inventory1
  428. goto :actionHub
  429. :inventory1
  430. set /a second= second + 7
  431. goto timeCheck
  432.  
  433. :talk
  434. echo -
  435. echo So who are you going to talk to?
  436. set somepony= NOTHING
  437. set /p somepony=
  438. REM all named ponies
  439. if %somepony%==rarity goto Rarity
  440. if %somepony%==RARITY goto Rarity
  441. if %somepony%==Rarity goto Rarity
  442. if %somepony%==myself goto Rarity
  443. if %somepony%==Myself goto Rarity
  444. if %somepony%==me goto Rarity
  445. if %somepony%==Me goto Rarity
  446. if %somepony%==narrator goto Narrator
  447. if %somepony%==NARRATOR goto Narrator
  448. if %somepony%==Narrator goto Narrator
  449. if %somepony%==you goto Narrator
  450. if %somepony%==You goto Narrator
  451. if %somepony%==Somepony goto Somepony
  452. if %somepony%==sassie goto SassieSaddles
  453. if %somepony%==SASSSIE goto SassieSaddles
  454. if %somepony%==Sassie goto SassieSaddles
  455. if %somepony%==Ganondox goto SassieSaddles
  456. REM check for unnamed ponies in the area
  457. goto %scene%Ponies
  458. :talk1
  459. echo I don't know who that is.
  460. goto actionHub
  461.  
  462. :walk
  463. echo -
  464. echo Where do you want to walk to?
  465. goto %scene%Exits
  466. :walk1
  467. echo That place is too far away to walk to, I think. I don't even recongize it right now, nor care.
  468. goto actionHub
  469.  
  470. :use
  471. echo -
  472. echo What do you wish to use?
  473. set something= NOTHING
  474. set /p something=
  475. REM items
  476. if %something%==HORN goto spell
  477. if %something%==Horn goto spell
  478. if %something%==horn goto spell  
  479. if %something%==generic goto generic
  480. REM Objects in room
  481. goto %scene%Objects
  482. :use1
  483. echo You don't have that, you dolt.
  484. goto actionHub
  485.  
  486. :look
  487. echo -
  488. echo Where do you want to look?
  489. set somewhere= NOTHING
  490. set /p somewhere=
  491. if %somewhere%==ROOM goto %scene%D
  492. if %somewhere%==Room goto %scene%D
  493. if %somewhere%==room goto %scene%D
  494. if %somewhere%==around goto %scene%D
  495. goto %scene%Things
  496. :look1
  497. echo I don't know what you are referring to. It's probably hideous anyway.
  498. goto actionHub
  499.  
  500. :spell
  501. echo What spell do you wish to use?
  502. set spell= NOTHING
  503. set /p spell=
  504. if  %spell%==GEM goto %scene%Gem
  505. if  %spell%==Gem goto %scene%Gem
  506. if  %spell%==gem goto %scene%Gem
  507. echo You don't know that spell.
  508. goto actionHub
  509.  
  510. :sleep
  511. if %sleepy%==true goto %scene%Sleep
  512. echo But you aren't tired right now. There IS a difference between beauty sleep,
  513. echo and outright sloth.
  514. goto actionHub
  515.  
  516. :eat
  517. if %hungry%==true goto eat1
  518. echo You should only eat when you are hungry. You don't want to ruin your figure.
  519. goto actionHub
  520. :eat1
  521. REM check for food items
  522. REM will eat grass if starving
  523. if %starving%==true goto %scene%Grass
  524. :eat2
  525. echo Unfortunately, you have nothing to eat.
  526. echo I guess you're just going to have to go hungry.
  527. goto actionHub
  528.  
  529. :suicide
  530. echo -
  531. echo This is the Suicide Prevention Hotline, are you sure you want to go through
  532. echo with this? (Y/N)
  533. set binary= NOTHING
  534. set /p binary=
  535. if %binary%==Y goto asYouWish
  536. if %binary%==y goto asYouWish
  537. if %binary%==N goto suicide1
  538. if %binary%==n goto suicide1
  539. :suicide1
  540. echo See, there is no need for a permanent solution to a temporary problem.
  541. goto actionHub
  542.  
  543. :hyperrealism
  544. echo -
  545. echo This game isn't THAT realistic. Just assume she goes when she has a chance.
  546. echo If she's inside, I'm sure she has the chance to use a bathroom. If outside...
  547. echo ...well, afterall, she IS a horse.
  548. goto actionHub
  549.  
  550. REM Routines
  551.  
  552. :hungerCheck
  553. if 40 LEQ %hunger% set hungry= true
  554. if 240 LEQ %hunger% set starving= true
  555. if 300 LEQ %hunger% set /a fatigue= %fatigue% + 7
  556. if 480 LEQ %hunger% set /a health= %health% - (%hunger%/480) REM Need to adjust formula so die after 3 weeks at full health
  557. if %health% LEQ 0 goto starved
  558. goto %returnH%;
  559.  
  560. :fatigueCheck
  561. if 120 LEQ %fatigue% set sleepy= true
  562. if 240 LEQ %fatigue% set aggressive= true
  563. if 480 LEQ %fatigue% set hallucinating= true
  564. if 1000 LEQ %fatigue% goto knockout
  565. goto %returnF%;
  566.  
  567. :knockout
  568. echo This functionallity has not been coded yet, so instead of falling unconcious, you just die.
  569. goto gameover
  570.  
  571. :harmonyCheck
  572. if %harmony% LEQ -25 set greedy= true
  573. if %harmony% LEQ -50 goto nightmarity
  574. if %HarmonyReq% LEQ %harmony% set generous= true
  575. goto %returnG%
  576.  
  577. :timeCheck
  578. if 59 LSS %second% goto timeCheck1
  579. if 59 LSS %minute% goto timeCheck2
  580. if 23 LSS %hour% goto timeCheck3
  581. if 29 LSS %day% goto doomsday
  582. goto %scene%
  583. :timeCheck1
  584. set /a second= %second% - 60
  585. set /a minute= %minute% + 1
  586. goto timeCheck
  587. :timeCheck2
  588. set salesHour= hour
  589. set returnS= retTC0
  590. goto sales
  591. :retTC0
  592. set /a minute= %minute% - 60
  593. set /a hour= %hour% + 1
  594. set /a fatigue= fatigue + 10
  595. set returnF= retTC1
  596. goto fatigueCheck
  597. :retTC1
  598. set /a hunger= hunger + 10
  599. set returnH= retTC2
  600. goto hungerCheck
  601. :retTC2
  602. goto timeCheck
  603. :timeCheck3
  604. set /a hour= %hour% - 24
  605. set /a day= %day% + 1
  606. goto newDay:
  607.  
  608. :sales
  609. REM only calculates for working hours
  610. if %salesHour% LSS 9 goto sales1
  611. if 16 LSS %salesHour% goto sales1
  612. REM Figure out if a dress was sold to each pony present
  613. if !PonyGoth%salesHour%!==true goto ponygoth
  614. :sales2
  615. goto sales3
  616. :ponygoth
  617. if !SassieSaddles%salesHour%! set /a PonyGothB= PonyGothB * SassieP
  618. if %BlueMoonP% LEQ %PonyGothB% goto ponygoth1
  619. :ponygoth2
  620. set /a PonyGothB= PonyGothB * 0.3
  621. if %RedDawnP% LEQ %PonyGothB% goto ponygoth3
  622. :ponygoth4
  623. REM randomly set new budget for next hour
  624. set PonyGothB= 2000
  625. set offset= %random%
  626. set /a offset= offset - ( (offset / 4000) * 4000)
  627. set /a PonyGothB= PonyGothB + offset
  628. REM factor for advertising
  629. set offset= %random%
  630. set /a offset= offset - ( (offset / 500) * 500)
  631. set /a offset= offset * BlueMoonA
  632. set /a PonyGothB= PonyGothB + offset
  633. goto sales2
  634. :ponygoth1
  635. if 0 EQU %BlueMoonI% goto ponygoth2
  636. REM blue moon was successfully sold
  637. set /a BlueMoonI= BlueMoonI - 1
  638. set /a PonyGothB= %PonyGothB% - %BlueMoonP%
  639. set /a freshDosh= %freshDosh% + %BlueMoonP%
  640. set /a dosh= %dosh% + %BlueMoonP%
  641. goto ponygoth2
  642. :ponygoth3
  643. if 0 EQU %RedDawnI% goto ponygoth4
  644. REM red dawn was successfully sold
  645. set /a RedDawnI= RedDawnI - 1
  646. set /a PonyGothB= %PonyGothB% - %RedDawnP%
  647. set /a freshDosh= %freshDosh% + %RedDawnP%
  648. set /a dosh= %dosh% + %RedDawnP%
  649. goto ponygoth 4
  650. :sales3
  651. REM employees take salary if final hour of day, if not enough dosh in supply, will quit
  652. if %salesHour%==16 goto sales4
  653. REM loops for all hours past
  654. :sales1
  655. if %salesHour%==%hour% goto %returnS%
  656. set /a salesHour= salesHour + 1
  657. goto sales
  658. :sales4
  659. if %SassieSaddlesS% LEQ %dosh% goto sales5
  660. REM Sassie quits
  661. set SassieSaddlesD= 2
  662. set SassieSaddlesP= false
  663. set SassieSaddlesS= 0
  664. set SassieSaddles9= none
  665. set SassieSaddles10= none
  666. set SassieSaddles11= none
  667. set SassieSaddles12= none
  668. set SassieSaddles13= none
  669. set SassieSaddles14= none
  670. set SassieSaddles15= none
  671. goto sales1
  672. :sales5
  673. set /a dosh= dosh - SassieSaddlesS
  674. goto sales1
  675.  
  676. :sleepTime
  677. set salesHour= hour
  678. set /a hour= hour + hourElapse
  679. REM work still goes on while napping
  680. set returnS= retST
  681. goto sales
  682. :retST
  683. REM health restores, fatigue decreases, hunger builds slowly
  684. set /a health = health + (10 * hourElapse)
  685. if %MaxHealth% LSS %health% set health= %MaxHealth%
  686. set /a fatigue = fatigue - (20 * hourElapse)
  687. if %fatigue% LSS 0 set fatigue= 0
  688. set /a hunger = hunger + (5 * hourElapse)
  689. if 2000 LSS %hunger% goto sweetDreams
  690. goto %returnZ%
  691.  
  692. :newDay
  693. REM Here determines which ponies will appear at which hour based on advertisement and randomization
  694. set freshDosh= 0
  695. set salesHour= 9
  696. :newDay1
  697. set offset= %random%
  698. set /a offset= offset - ( (offset / (BlueMoonA + 5)) * (BlueMoonA + 5))
  699. set PonyGoth%salesHour%= false
  700. if 4 LSS %offset% set PonyGoth%salesHour%= true
  701. set /a salesHour= salesHour + 1
  702. if %salesHour% LSS 17 goto newDay1
  703. goto timeCheck
  704.  
  705.  
  706. :doomsday
  707. REM start of doomsday
  708. if 8 LSS %hour% goto :doomsday1
  709. goto %scene%
  710. :doomsday1
  711. color 40
  712. set endgame=true
  713. REM End of World
  714. if 11 LSS %hour% goto :theEnd
  715. goto %scene%
  716.  
  717.  
  718. :gameover
  719. color 0F
  720. echo -
  721. echo Return to menu? (Y/N)
  722. set binary= NOTHING
  723. set /p binary=
  724. if %binary%==Y goto mainmenu
  725. if %binary%==y goto mainmenu
  726. if %binary%==N exit
  727. if %binary%==n exit
  728. goto gameover
  729.  
  730. REM Scenes
  731.  
  732. REM Essential Scene Components
  733. REM :Scene
  734. REM :SceneActions - For ActionHub
  735. REM :ScenePonies - For Talk
  736. REM :SceneExits - For Walk
  737. REM :SceneObjects - For Use
  738. REM :SceneD - For Look Room
  739. REM :SceneThings - For Look
  740. REM :SceneSleep - For Sleep
  741. REM :SceneGrass - For Eat
  742. REM :SceneGem - For Find Gem Spell
  743.  
  744.  
  745.  
  746. REM Game Map
  747.  
  748. REM Areas
  749. REM Visitable cities are Canterlot, Cloudsdale, Ponyville, The Crystal Kingdom (optional), Appleloosa,
  750. REM Dodge Junction (optional), and Manehatten (optional). With the exception of Cloudsdale, they are all connected
  751. REM by the railroad. Cloudsdale must be accessed by balloon. There are also two other non-city areas, The Everfree Forest,
  752. REM  and the Chaos Realm. The Everfree Forest connects to Ponyville, and to access the Chaos Realm you need to use magic.
  753.  
  754. REM Canterlots areas are the streets, the boutique, the pub, the royal castle, the train station,
  755. REM the post-office, the supply shop, the market, and the shelter
  756.  
  757. REM Cloudsdale's areas are the rainbow factory
  758.  
  759. REM Ponyville's area the streets, the Apple farm, Twilight's Castle, the train station,
  760. REM the hospital, townhall, Sugar Cube Corner
  761.  
  762. REM The Crystal Kingdom's areas are the Crystal Castle, The stadium, the train station
  763.  
  764. REM Appleloosa's areas are Braeburn's House
  765.  
  766. REM Dodge Junction's areas are Cherry Jubilee's House
  767.  
  768. REM Manehatten's areas are Coco Pommel's House
  769.  
  770. REM The Everfree Forest's areas are the trees, Zecora's house, Everfree Castle, The Carousel
  771.  
  772. REM All the connections are shown visually in an external document
  773.  
  774. REM List of all Boutique Scenes:
  775. REM 1. Rarity's Room (raritysroom) - Where Rarity sleep, connects to floor via stairs
  776. REM 2. Boutique Floor (boutiquefloor) - Where buisness is conducted, connects outside
  777. REM 3. Back Room (boutiquebackroom) - Where supplies and stock is stored, and sewing is done
  778. REM 4. Kitchen (boutiquekitchen) - Where food is prepared and eaten
  779.  
  780. REM Rarity's Room Scene Progess: Approx 24%?
  781. REM Events - Buisness
  782. REM Tasks (Highest to Lowest Priority)
  783. REM Add all exits
  784. REM Add all objects
  785. REM Add all events (not really any special events here)
  786. REM Add more alternative keywords
  787. REM Polish text
  788. :raritysroom
  789. if %newraritysroom%==true goto raritysroom1
  790. goto raritysroom2
  791. :raritysroom1
  792. set newraritysroom= false
  793. echo As the sun flutters on your eyelids, you awake and let out a yawn. Blinking,
  794. echo you slowly come to your senses. Even slower, you strectch and get out of bed.
  795. echo It's time for another day at Canterlot Boutique. Sassie Saddles should be
  796. echo coming in to open the place at 8, right now you have two hours to eat
  797. echo breakfast and get ready. Ponies will start coming in at 9.
  798. goto actionHub
  799. )
  800. :raritysroom2
  801. if %event%==buisness goto actionHub
  802. if 7 LSS %hour% goto raritysroom3
  803. goto actionHub
  804. :raritysroom3
  805. if event= buisness actionHub
  806. set event= buisness
  807. echo You here the ring of the door bell. Sassie Saddles is here^^! It's time to
  808. echo get to work^^!
  809. goto actionHub
  810. :raritysroomActions
  811. REM no special actions
  812. goto actionHub1
  813. :raritysroomPonies
  814. REM for talk
  815. REM No one should actually be in Rarity's room except her
  816. goto talk1
  817. :raritysroomExits
  818. REM for walk
  819. set /p destination=
  820. if %destination%==boutique goto RRtoboutiquefloor
  821. if %destination%==stairs goto RRtoboutiquefloor
  822. if %destination%==STAIRS goto RRtoboutiquefloor
  823. if %destination%==Stairs goto RRtoboutiquefloor
  824. goto walk1
  825. :RRtoboutiquefloor
  826. set scene= boutiquefloor
  827. echo -
  828. echo You clatter down the stairs into the boutique floor.
  829. set /a second= second + 23
  830. goto timeCheck
  831. :raritysroomObjects
  832. REM for use
  833. if %something%==toilet goto hyperrealism
  834. echo I don't know what that is.
  835. goto actionHub
  836. :raritysroomD
  837. echo -
  838. echo This is you room. In the corner is your BED. On the wall there is
  839. echo a CLOCK and a MIRROR. There is a set of STAIRS leading to the floor. There
  840. echo is also a LADDER leading to the back room, and a DOOR leading to the
  841. echo kictchen. There is also a washroom attached, but you don't need to use it.  
  842. goto actionHub
  843. :raritysroomThings
  844. REM for look
  845. if %somewhere%==BED goto RRBedD
  846. if %somewhere%==Bed goto RRBedD
  847. if %somewhere%==bed goto RRBedD
  848. if %somewhere%==CLOCK goto RRClockD
  849. if %somewhere%==Clock goto RRClockD
  850. if %somewhere%==clock goto RRClockD
  851. if %somewhere%==MIRROR goto RRMirrorD
  852. if %somewhere%==Mirror goto RRMirrorD
  853. if %somewhere%==mirror goto RRMirrorD
  854. if %somewhere%==STAIRS goto RRStairsD
  855. if %somewhere%==Stairs goto RRStairsD
  856. if %somewhere%==stairs goto RRStairsD
  857. if %somewhere%==LADDER goto RRLadderD
  858. if %somewhere%==Ladder goto RRLadderD
  859. if %somewhere%==ladder goto RRLadderD
  860. if %somewhere%==DOOR goto RRDoorD
  861. if %somewhere%==Door goto RRDoorD
  862. if %somewhere%==door goto RRDoorD
  863. if %somewhere%==WASHROOM goto RRWashroomD
  864. if %somewhere%==Washroom goto RRWashroomD
  865. if %somewhere%==washroom goto RRWashroomD
  866. goto look1
  867. :RRBedD
  868. echo -
  869. echo That is your bed. It is super fabulous, as only the most fabulous of bed
  870. echo would do for a lady such as yourself.
  871. goto actionHub
  872. :RRClockD
  873. echo -
  874. echo That is your clock. It would be made of the finest mahogany with mother
  875. echo of pearl and gold leaf inlay, but you're not THAT successful. Oh well.
  876. echo It dispays the time as %hour%:%minute%:%second%.
  877. set /a second= second + 3
  878. goto timeCheck
  879. :RRMirrorD
  880. echo -
  881. echo That is your mirror. It's absolutely beautiful. More ever, you are absolutely
  882. echo beautiful, and you spend several minutes admiring your own reflection.
  883. echo For shame.
  884. set /a second = second + 256
  885. goto timeCheck
  886. :RRStairsD
  887. echo -
  888. echo Those lead down to the boutique. They are made of polished marble.
  889. goto actionHub
  890. :RRLadderD
  891. echo -
  892. echo Those lead down to the store room. Ladders really are a pain for ponies to use.
  893. goto actionHub
  894. :RRDoorD
  895. echo -
  896. echo Behind the door is the kitchen. There delicous food awaits.  
  897. goto actionHub
  898. :RRWashroomD
  899. echo -
  900. echo Every lady needs a washroom to attend to her hygeniene needs. Inside is a a sink
  901. echo a toilet, and a tub, along with all the needed soaps, perfumes, and towels.
  902. goto actionHub
  903. :raritysroomSleep
  904. if %hour% LSS 8 goto RRSleep1
  905. if %hour% LSS 17 goto RRSleep2
  906. echo After a hard days work
  907. :RRSleep1
  908. echo -
  909. echo Going back to sleep sounds like a great idea right now.
  910. echo You clammer back into bed and are soon snoring.
  911. REM Sleeps until 8, calculate elapsed time and adjust fatigue, hunger, and health
  912. set /a elapsedSec= 60 - second
  913. set second= 0
  914. set /a elapsedMin= 60 - minute
  915. set minute= 0
  916. set /a elaspedSec= elapsedSec + (elapsedMin * 60)  
  917. set /a hourElapse= (8 - hour) + (elapsedSec / 3600)
  918. set returnZ= retRRS1
  919. goto sleepTime
  920. :retRRS1
  921. echo -
  922. echo You are woken up to the sound of the door bell ringing. Sassie Saddles is here^^!
  923. set event= buisness
  924. goto actionHub
  925. :RRSleep2
  926. echo -
  927. echo Yes, screw work. You would rather take a nap.
  928. echo You hop back back into your bed and throw the blanket over your head.
  929. REM Always four hours
  930. set hourElapse= 4
  931. set returnZ= retRRS2
  932. goto sleepTime
  933. :retRRS2
  934. echo -
  935. echo That was a refreshing nap. Now go back to work^^!
  936. goto actionHub
  937. :raritysroomGrass
  938. echo You are so hungry you nom on your pillow, but that fails to satiate your hunger.
  939. echo It does, however, get your pillow rather wet.
  940. set /a second= %second% + 15
  941. goto timeCheck
  942. :raritysroomGem
  943. echo -
  944. echo Your horn pulls you towards the LADDER.
  945. set /a fatigue= %fatigue%  + 1
  946. set returnF= retRRG
  947. goto fatigueCheck
  948. :retRRG
  949. set /a second= %second% + 2
  950. goto timeCheck
  951.  
  952.  
  953. REM Boutique Floor Progess: Approx 14%?
  954. REM Events - Buisness(1)
  955. REM Tasks (Highest to Lowest Priority)
  956. REM Start all action sections
  957. REM Add all exits
  958. REM Add all objects
  959. REM Finish buisness mechanic
  960. REM Add alternative keywords
  961. REM Polish text
  962. :boutiquefloor
  963. if %event%==buisness set SassieSaddlesP= true
  964. if %SassieSaddlesD%==2 set SassieSaddlesP= false
  965. if %newboutiquefloor%==true goto boutiquefloor1
  966. goto boutiquefloor2
  967. :boutiquefloor1
  968. set newboutiquefloor= false
  969. echo -
  970. echo This is the real heart of your life. Here you display your wares, and ponies
  971. echo come in and check them out. Sometimes they even buy them^^!
  972. echo Your dresses, that is.
  973. :boutiquefloor2
  974. if %event%==buisness goto  boutiquefloor4
  975. if %event%==buisness1 goto buisness
  976. if 7 LSS %hour% goto boutiquefloor3
  977. goto actionHub
  978. :boutiquefloor3
  979. set event= buisness
  980. if %SassieSaddlesD%==2 goto actionHub
  981. set SassieSaddlesP= true
  982. echo You here the ring of the door bell. You rush to the door and let Sassie Saddles
  983. echo in. She does have her own key, but that's only the polite thing to do.
  984. set /a second = second + 10
  985. goto timeCheck
  986. :boutiquefloor4
  987. if %event%==buisness1 goto buisness
  988. goto actionHub
  989. :buisness
  990. echo -
  991. echo (1) Sales Report (2) Adjust Prices (3) Adjust Stock
  992. echo (4) Adjust Work Schedule (4) Nothing
  993. set option= NOTHING
  994. set /p option=
  995. if %option%==1 goto salesReport
  996. if %option%==2 goto adjustPrices
  997. if %option%==3 goto adjustStock
  998. if %option%==4 goto adjustSassieSchedule
  999. if %option%==5 goto endBuisness
  1000. echo That is not an option. 1,2,3, or 4. Nothing else.
  1001. goto buisness
  1002. :salesReport
  1003. echo -
  1004. echo "So far we have sold %BlueMoonS% Blue Moons, and %RedDawnS% Red Dawns. We have
  1005. echo made %freshDosh% bits."
  1006. echo -
  1007. echo "Is there anything else you want?
  1008. set /a second = second + 21
  1009. goto timeCheck
  1010. :adjustPrices
  1011. echo (1) Blue Moon Price (2) Red Dawn Price (3) Sassie Saddle's Salary
  1012. set option= NOTHING
  1013. set /p option=
  1014. if %option%==1 goto blueMoonPrice
  1015. if %option%==2 goto redDawnPrice
  1016. if %option%==3 goto sassieSalary
  1017. echo That is not an option. Back to sales menu.
  1018. goto buisness
  1019. :blueMoonPrice
  1020. echo -
  1021. echo "The Blue Moon is currently sold for %BlueMoonP% bits. What do you want
  1022. echo to set the new price to?" (Non-numeric input will reset the price)
  1023. set /p BlueMoonP=
  1024. set /a numberCheck= %BlueMoonP%
  1025. if %numberCheck%==%BlueMoonP% goto blueMoonPrice1
  1026. set BlueMoonP= %BlueMoonIP%
  1027. :blueMoonPrice1
  1028. set /a second = second + 13
  1029. goto timeCheck
  1030. :redDawnPrice
  1031. echo -
  1032. echo "The Red Dawn is currently sold for %RedDawnP% bits. What do you want
  1033. echo to set the new price to?" (Non-numeric input will reset the price)
  1034. set /p RedDawnP=
  1035. set /a numberCheck= %RedDawnP%
  1036. if %numberCheck%==%RedDawnP% goto redDawnPrice1
  1037. set RedDawnP= %RedDawnIP%
  1038. :redDawnPrice1
  1039. set /a second = second + 13
  1040. goto timeCheck
  1041. :sassieSalary
  1042. echo -
  1043. echo "Wait, what?"
  1044. echo Go ahead, tell her what you think she should be payed.
  1045. echo (Non-numeric input will reset her salary)
  1046. set /p newSalary=
  1047. set /a numberCheck= %newSalary%
  1048. if %numberCheck%==%newSalary% goto sassieSalary1
  1049. set newSalary= %SassieSaddlesIS%
  1050. :sassieSalary1
  1051. if %newSalary% LSS %SassieMin% goto sassieQuits
  1052. if %newSalary% LSS %SassieSaddlesS% echo "What did I do to deserve a dock in pay? Grr."
  1053. if %SassieSaddlesS% LSS %newSalary% echo "Thanks for the raise^!"
  1054. set SassieSaddlesS= %newSalary%
  1055. set /a second = second + 15
  1056. goto timeCheck
  1057. :sassieQuits
  1058. echo "WHAT^! I'M NOT WORKING FOR THAT^!"
  1059. echo -
  1060. echo With that Sassie Saddles storms out the door. Way to go.
  1061. set event= NOTHING
  1062. set SassieSaddlesD= 2
  1063. set SassieSaddlesP= false
  1064. set SassieSaddlesS= 0
  1065. set SassieSaddles9= none
  1066. set SassieSaddles10= none
  1067. set SassieSaddles11= none
  1068. set SassieSaddles12= none
  1069. set SassieSaddles13= none
  1070. set SassieSaddles14= none
  1071. set SassieSaddles15= none
  1072. set SassieSaddles16= none
  1073. set /a harmony= harmony - 10
  1074. set returnG= retSQ
  1075. goto harmonyCheck
  1076. :retSQ
  1077. set /a second = second + 43
  1078. goto timeCheck
  1079. :adjustStock
  1080. set option= NOTHING
  1081. echo (1) Blue Gems (2) Paper (3) Glue (4) Red Glitter
  1082. echo (5) Blue Moon Ads (6) Red Dawn Ads
  1083. set /p option=
  1084. if %option%==1 goto blueGemStock
  1085. if %option%==2 goto paperStock
  1086. if %option%==3 goto glueStock
  1087. if %option%==4 goto redGlitterStock
  1088. if %option%==5 goto BlueMoonAStock
  1089. if %option%==6 goto RedDawnAStock
  1090. echo That is not an option. Back to sales menu.
  1091. goto buisness
  1092. :blueGemStock
  1093. echo -
  1094. echo "We seek to keep a stock of %BlueGemM% blue gems. What do you want
  1095. echo to set the new stock to?" (Non-numeric input will reset the price)
  1096. set /p BlueGemM=
  1097. set /a numberCheck= %BlueGemM%
  1098. if %numberCheck%==%BlueGemM% goto blueGemStock1
  1099. set BlueGemM= 15
  1100. :blueGemStock1
  1101. set /a second = second + 13
  1102. goto timeCheck
  1103. :paperStock
  1104. echo -
  1105. echo "We seek to keep a stock of %paperM% sheets of paper. What do you want
  1106. echo to set the new stock to?" (Non-numeric input will reset the price)
  1107. set /p paperM=
  1108. set /a numberCheck= %paperM%
  1109. if %numberCheck%==%paperM% goto paperStock1
  1110. set paperM= 15
  1111. :paperStock1
  1112. set /a second = second + 13
  1113. goto timeCheck
  1114. :glueStock
  1115. echo -
  1116. echo "We seek to keep a stock of %glueM% bottles of glue. What do you want
  1117. echo to set the new stock to?" (Non-numeric input will reset the price)
  1118. set /p glueM=
  1119. set /a numberCheck= %glueM%
  1120. if %numberCheck%==%glueM% goto glueStock1
  1121. set glueM= 5
  1122. :glueStock1
  1123. set /a second = second + 13
  1124. goto timeCheck
  1125. :redGlitterStock
  1126. echo -
  1127. echo "We seek to keep a stock of %redGlitterM% bottles of red glitter. What do you want
  1128. echo to set the new stock to?" (Non-numeric input will reset the price)
  1129. set /p redGlitterM=
  1130. set /a numberCheck= %redGlitterM%
  1131. if %numberCheck%==%redGlitterM% goto redGlitterStock1
  1132. set redGlitterM= 5
  1133. :redGlitterStock1
  1134. set /a second = second + 13
  1135. goto timeCheck
  1136. :blueMoonAStock
  1137. echo -
  1138. echo "We seek to keep a stock of %BlueMoonAM% advertisements for Blue Moon. What do you want
  1139. echo to set the new stock to?" (Non-numeric input will reset the price)
  1140. set /p BlueMoonAM=
  1141. set /a numberCheck= %BlueMoonAM%
  1142. if %numberCheck%==%BlueMoonAM% goto blueMoonAStock1
  1143. set BlueMoonAM= 10
  1144. :blueMoonAStock1
  1145. set /a second = second + 13
  1146. goto timeCheck
  1147. :redDawnAStock
  1148. echo -
  1149. echo "We seek to keep a stock of %RedDawnAM% advertisements for Red Dawn. What do you want
  1150. echo to set the new stock to?" (Non-numeric input will reset the price)
  1151. set /p RedDawnAM=
  1152. set /a numberCheck= %RedDawnAM%
  1153. if %numberCheck%==%RedDawnAM% goto redDawnAStock1
  1154. set RedDawnAM= 3
  1155. :redDawnAStock1
  1156. set /a second = second + 13
  1157. goto timeCheck
  1158. :adjustSassieSchedule
  1159. echo "So what hour do you wish to change?"
  1160. set option= NOTHING
  1161. set /p option=
  1162. if %option%==9 goto adjustSassieSchedule9
  1163. echo "I don't work at that time, and don't think I'm going to start now."
  1164. set /a second = second + 8
  1165. goto timeCheck
  1166. :endBuisness
  1167. set event= buisness
  1168. echo "Alright. Have a nice day. "
  1169. set /a second = second + 5
  1170. goto timeCheck
  1171. :boutiquefloorActions
  1172. if %action%==buisness goto SassieSaddles
  1173. goto actionHub1
  1174. :boutiquefloorPonies
  1175. REM buisness is complicated, which ponies are present depends on the time (including day
  1176. REM and on advertising. Also maybe some randomization if I can get that to work.
  1177. REM Probably will have so each day, it generates who will be there at each hour
  1178. if !PonyGoth%hour%!==true goto bfp1
  1179. goto talk1
  1180. :bfp2
  1181. goto talk1
  1182. :boutiquefloorExits
  1183. set /p destination=
  1184. if %destination%==room goto BFtoRRoom
  1185. if %destination%==Stairs goto BFtoRRoom
  1186. if %destination%==STAIRS goto BFtoRRoom
  1187. if %destination%==stairs goto BFtoRRoom
  1188. goto walk1
  1189. :BFtoRRoom
  1190. set scene= raritysroom
  1191. set SassieSaddlesP= false
  1192. echo -
  1193. echo You slug up the stairs into your room.
  1194. set /a second= second + 43
  1195. goto timeCheck
  1196. :boutiquefloorObjects
  1197. echo I don't know what that is.
  1198. goto actionHub
  1199. :boutiquefloorD
  1200. echo -
  1201. echo This is your boutique floor. In the back several beautiful DRESSES are  
  1202. echo on display behind a glass window. There is a DOOR in the back leading to
  1203. echo the room where you store dresses and materials, and some STAIRS leading
  1204. echo to your room. In the front is the ENTRANCE, leading out to Diamond Avenue.
  1205. REM Will mention what ponies are currently on floor, buisness hours from 9-5
  1206. if %SassieSaddlesP%==true echo SASSIE is standing by the ENTRANCE scribbling on her planner.
  1207. if !PonyGoth%hour%!==true echo In the corner a pony in a neo-GOTHic dress admires the Blue Moon.
  1208. goto actionHub
  1209. :boutiquefloorThings
  1210. goto look1
  1211. :boutiquefloorSleep
  1212. echo There is nowhere to sleep here, it's right in the middle of work^^!
  1213. goto actionHub
  1214. :boutiquefloorGrass
  1215. goto eat2
  1216. :boutiquefloorGem
  1217. echo -
  1218. echo Your horn pulls you towards the DOOR.
  1219. set /a fatigue= %fatigue%  + 1
  1220. set returnF= retBFG
  1221. goto fatigueCheck
  1222. :retBFG
  1223. set /a second= %second% + 2
  1224. goto timeCheck
  1225.  
  1226. REM Twilight's Castle
  1227. REM This is the endgame, it can only be accessed while endgame is in effect.
  1228. REM There is one hall for each pony. You enter through Rarity's Hall, and Twilight's Hall
  1229. REM can only be entered after all the other halls have been completed, or their corresponding
  1230. REM pony has been rescued. If the pony was rescued, completing the hall gives a harmony bonus,
  1231. REM and if Harmony was already at HarmonyReq than it gives a damage bonus for the final battle.
  1232. REM At the end of the hall is the boss, Silent Dusk. In order to get the best ending, Harmony
  1233. REM must be at HarmonyReq, and all other ponies must be rescued.
  1234.  
  1235. :tutorial
  1236. echo You have encountered an action scene for the first time.
  1237. echo This is an optional part of the game. However, it will be more difficult if you
  1238. echo skip them as you cannot dodge certain attacks if you choose the pure text route.
  1239. echo You can adjust the settings so you can choose to skip certain action scenes,
  1240. echo but play others. If you have never gotten to this part before, I advise
  1241. echo playing the toutorial.
  1242. echo Y - Play All Action Scenes (skip tutorial) N - Skip All action Scenes
  1243. echo M - Skip select scenes T - Play Tutorial
  1244. set /p option=
  1245. if %option%==Y goto tutorial1
  1246. if %option%==y goto tutorial1
  1247. if %option%==N goto tutorial2
  1248. if %option%==n goto tutorial2
  1249. if %option%==M goto tutorial3
  1250. if %option%==n goto tutorial3
  1251. if %option%==T goto tutorial4
  1252. if %option%==t goto tutorial4
  1253. :tutorial1
  1254. set actionScene= yes
  1255. goto %scene%
  1256. :tutorial2
  1257. set actionScene= no
  1258. goto %scene%
  1259. :tutorial3
  1260. set actionScene= maybe
  1261. choice /m Do you want to do the tutorial?
  1262.  
  1263. goto %scene%
  1264. :tutorial4
  1265.  
  1266.  
  1267. :timeTest
  1268. set scene= timeTest
  1269. echo Day: %day% Time: %hour%:%minute%:%second%
  1270. echo Let the seconds pass
  1271. set /p sand=
  1272. set /a second= %second% + %sand%
  1273. echo Let the minutes pass
  1274. set /p sand=
  1275. set /a minute= %minute% + %sand%
  1276. echo Let the hours pass
  1277. set /p sand=
  1278. set /a hour= %hour% + %sand%
  1279. echo Let the days pass
  1280. set /p sand=
  1281. set /a day= %day% + %sand%
  1282. goto timeCheck
  1283.  
  1284. REM Dialouge
  1285. REM Eventually you learn a spell from deep reflection
  1286. :Rarity
  1287. if %RarityD%==0 goto Rarity1
  1288. :Rarity1
  1289. echo -
  1290. echo You're right, everyone should get to know herself.
  1291. echo You spend several minutes talking to yourself. You learn that your
  1292. echo name is Rarity, you have a sister named Sweetie Belle, and you like fashion.
  1293. echo Fascinating. Who knew you had some much in common with yourself?
  1294. set RarityD= 1
  1295. set /a minute= minute + 4
  1296. goto timeCheck
  1297.  
  1298. REM As dialouge progresses the narrator tells you all about his person life, gives harmony points up to a point
  1299. :Narrator
  1300. if %fatigue% LSS 120 set sleepy= false
  1301. if %NarratorD%==0 goto Narrator1
  1302. if %NarratorD%==1 goto Narrator2
  1303. :Narrator1
  1304. echo -
  1305. echo Wait, what? Are you really talking to me? You're not talking to me.
  1306. echo No one talks to the narrator. You meant to talk to someone else. Carry on.
  1307. set NarratorD= 1
  1308. set /a second= second + 12
  1309. goto timeCheck
  1310. :Narrator2
  1311. echo -
  1312. echo So you really do want to talk me. I just don't know what to say.
  1313. echo You're so generous, taking the time to talk to a lonely narrator like me.
  1314. set /a harmony= harmony + 1
  1315. set narratorD= 2
  1316. set /a second= second + 11
  1317. goto timeCheck
  1318.  
  1319. :Ganondox
  1320. echo -
  1321. echo If you want to talk with me, send me a message on Deviant Art.
  1322. echo Kinda hard to hold a pre-programmed conversation, ya know?
  1323. goto actionHub
  1324.  
  1325. :SassieSaddles
  1326. if %SassieSaddlesM%==false goto talk1
  1327. if %SassieSaddlesP%==false goto SassieSaddles1
  1328. if %fatigue% LSS 120 set sleepy= false
  1329. if %SassieSaddlesD%==0 goto SassieSaddles2
  1330. :SassieSaddles1
  1331. echo Sassie isn't here right now, you can't talk to her.
  1332. goto actionHub
  1333. :SassieSaddles2
  1334. echo "Good morning Rarity, what would you like me to do today?"
  1335. set event= buisness1
  1336. set /a second= second + 11
  1337. goto timeCheck
  1338.  
  1339.  
  1340.  
  1341. :Somepony
  1342. if %someponyM%==false goto talk1
  1343. if %someponyP%==false goto Somepony1
  1344. goto actionHub
  1345.  
  1346. :Somepony1
  1347. echo Somepony isn't here right now, you can't talk to her.
  1348.  
  1349. REM Items
  1350. :generic
  1351. if %generic%==true goto generic1
  1352. goto use1
  1353. :generic1
  1354. REM Using generic on items
  1355. echo What do you want to use GENERIC on?
  1356. REM using on objects
  1357. set selectedItem= generic
  1358. goto %scene%Objects
  1359.  
  1360. REM Endings
  1361. :asYouWish
  1362. echo Well okay then...
  1363. echo -
  1364. echo ...You died.
  1365. goto gameover
  1366.  
  1367. :starved
  1368. echo You find that you lack the energy to continue doing what you were doing.
  1369. echo You look down on your beautiful ribs, and find they are now completely
  1370. echo emanciated. How dreadful^^! You no longer have energy to breathe either,
  1371. echo but your beautiful figure^^! It's gone^^! And you're dead^^!  
  1372. goto gameover
  1373.  
  1374. :sweetDreams
  1375. echo Sometimes when you goto sleep, you don't wake up.
  1376. echo Ever.
  1377. echo Like, you totally just like died in your sleep.
  1378. echo Turns out even sleeping kills. Safety is a lie, and it sucks to be you.
  1379. goto gameover
  1380.  
  1381. :overdose
  1382. REM From overusing stimulant potion, it sets fatigue back to the hallucinating point, but drains health
  1383. REM healing potion restores health, but increases hunger
  1384. REM food potion restores hunger, but increases fatigue
  1385. REM also a wasting potion that dramatically increases hunger and does a hunger check so it does at, but removes ALL fatigue and damages enemies in room
  1386. echo Suddenly your eyes start to bleed and you can no longer see. Needless
  1387. echo to say,something is very wrong. You mouth feels extremely dry for a
  1388. echo second, this it feels wets and you taste salt and iron. You realize
  1389. echo ALL your orfices are bleeding profusingly. Soon you bleed out and die.
  1390. echo What an undignified way to go.
  1391. goto gameover
  1392.  
  1393. :nightmarity
  1394.  
  1395. :theEnd
  1396. echo -
  1397. echo You are interrupted from whatever you were doing due to the fact
  1398. echo the atmosphere suddently caught on fire, including all the air in
  1399. echo your lungs, it turns out that is very distracting. Not only is it
  1400. echo very distracting, but Equestria is now very destroyed, and you are
  1401. echo very dead.
  1402. echo (Press enter to progress)
  1403. set /p nothing=
  1404. goto gameover
  1405.  
  1406. :badEnding
  1407.  
  1408. :goodEnding
  1409.  
  1410. :horrificEnding
  1411. :jokeEnding
  1412.  
  1413.  
  1414. pause
  1415. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement