Agentperson

(Cancelled) Miner X

Dec 8th, 2019 (edited)
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.43 KB | None | 0 0
  1. //Warning: Spoilers Ahead / Based on RadicalRobot's Legendary Superminer
  2. Let's make a game!
  3. name:Miner X (Cancelled Project)
  4. by:Agentperson
  5. desc:Cancelled due to lack of ideas and Pancake Maker / Other Projects.</>This is a cancelled project.</></>Shortly after the Galactic War of XXXX, all of your stuff is gone and all you have left is a pickaxe and a Hologram Phone. Mine around the world from The Cave of Blue to The Great Ocean. Maybe even mine on other planets?</></>Based on RadicalRobot's Legendary Superminer (Which is archived here "http://orteil.dashnet.org/igm/?g=J8A4TpxR")
  6. created:8/12/2019
  7. updated:8/12/2019
  8. version:1
  9.  
  10. Settings
  11. building cost increase:110%
  12. building cost refund:100%
  13.  
  14. Layout
  15. *main
  16. contains:buttons, res, menu, phone, Commands
  17. *res
  18. contains:Resources
  19. *buttons
  20. contains:BUTTONS
  21. *BUTTONS
  22. contains:Buttons
  23. *menu
  24. contains:tag:Battle
  25. *Commands
  26. contains:tag:Prompts
  27. *store
  28. contains:shop, ownedstuff
  29. *shop
  30. contains:tag:LayoutThings
  31. *ownedstuff
  32. contains:tag:ACHTAG, tag:story, tag:SellButtons, tag:SmeltButtons, tag:Locations, tag:Shop, tag:ShopOwned, tag:ACHTAG, tag:achieves, tag:Debug
  33. *text
  34. contains:tag:TEXT
  35. *phone
  36. contains:log, text
  37. *log
  38. contains:Log
  39.  
  40. CSS
  41. #game
  42. {
  43. background:#fff;
  44. font-size:12px;
  45. color:rgba(0,0,0,0.9);
  46. text-shadow:none;
  47. }
  48.  
  49.  
  50. .box
  51. {
  52. text-align:center;
  53. padding:0px;
  54. box-shadow:none;
  55. }
  56. .thing,.box-header,.box-footer,.box-bit
  57. {
  58. background:rgba(255,255,255,0.5);
  59. border:1px solid rgba(0,0,0,0.9);
  60. margin:1px;
  61. }
  62. .thing:hover
  63. {
  64. background:rgba(255,255,255,0.75);
  65. }
  66.  
  67. .box-header
  68. {
  69. margin-bottom:4px;
  70. }
  71. .box-footer
  72. {
  73. margin-top:4px;
  74. }
  75.  
  76. .title
  77. {
  78. text-decoration:underline;
  79. }
  80.  
  81. #box-main
  82. {
  83. left:0px;
  84. top:0px;
  85. bottom:0px;
  86. overflow:hidden;
  87. width:60%;
  88. position:absolute;
  89. }
  90. #box-res
  91. {
  92. width:100%;
  93. border:1px solid rgba(0,0,0,0.9);
  94. top:0%;
  95. height:10%;
  96. min-height:32px;
  97. overflow-x:hidden;
  98. overflow-y:scroll;
  99. z-index:100;
  100. position:absolute;
  101. background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
  102. }
  103. #box-buttons
  104. {
  105. top:58px;
  106. right:0px;
  107. bottom:0px;
  108. left:0px;
  109. position:absolute;
  110. }
  111. #box-BUTTONS
  112. {
  113. top:40px;
  114. right:0px;
  115. bottom:200px;
  116. left:0px;
  117. position:absolute;
  118. }
  119. #box-BUTTONS
  120. {left:30%;}
  121.  
  122. #bulkDisplay
  123. {
  124. margin:-20px 24px 6px 24px;
  125. border:none;
  126. background:transparent;
  127. }
  128.  
  129.  
  130. .thing
  131. {
  132. display:inline-block;
  133. padding:0px;
  134. cursor:pointer;
  135. }
  136. .thing:active
  137. {
  138. opacity:0.5;
  139. }
  140. .upgrade.owned,.achiev.owned
  141. {
  142. box-shadow:0px 0px 0px 2px rgba(0,0,0,0.5) inset;
  143. }
  144. .thing.cantAfford
  145. {
  146. opacity:0.65;
  147. }
  148. .upgrade.cantAfford
  149. {
  150. border:none;
  151. }
  152.  
  153. .thing-costs{font-weight:bold;text-shadow:1px 1px 0px rgba(0,0,0,0.5);}
  154. .cost.hasEnough{color:#0f0;}
  155. .cost.notEnough{color:#f00;}
  156.  
  157.  
  158. .button>.thing-text
  159. {
  160. text-decoration:underline;
  161. }
  162.  
  163. .building
  164. {
  165. display:block;
  166. margin-right:0px;
  167. font-size:14px;
  168. }
  169.  
  170. .fullWidth
  171. {
  172. display:block;
  173. margin-left:0px;
  174. margin-right:0px;
  175. z-index:10;
  176. }
  177. #game .fullWidth
  178. {
  179. height:auto;
  180. min-height:auto;
  181. }
  182. .fullWidth,.fullWidth:hover
  183. {
  184. background:rgba(0,0,0,0.75);
  185. box-shadow:none;
  186. color:#fff;
  187. }
  188. .fullWidth:before,.fullWidth:after
  189. {
  190. content:'';
  191. height:1px;
  192. background:rgba(255,255,255,0.75);
  193. position:absolute;
  194. left:0px;
  195. right:0px;
  196. z-index:-1;
  197. }
  198. .fullWidth:before{top:-1px;}
  199. .fullWidth:after{bottom:-1px;}
  200.  
  201. .fullWidth .thing-icon
  202. {
  203. margin-top:-10px;
  204. margin-bottom:-10px;
  205. }
  206. .fullWidth .thing-text
  207. {
  208. margin-top:-4px;
  209. margin-bottom:-4px;
  210. }
  211.  
  212. .listing
  213. {
  214. font-weight:normal;
  215. }
  216.  
  217. #game.filtersOn .thing-icon{filter:drop-shadow(3px 3px 1px rgba(0,0,0,0.5));}
  218.  
  219. #box-store
  220. {
  221. right:0px;
  222. top:0px;
  223. bottom:0px;
  224. width:40%;
  225. position:absolute;
  226. background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
  227. }
  228. #box-shop
  229. {
  230. top:0px;
  231. bottom:0px;
  232. width:100%;
  233. height:15%;
  234. right:0%;
  235. overflow-x:hidden;
  236. overflow-y:scroll;
  237. position:absolute;
  238. background:rgba(0,125,0,0.4);
  239. border:1px solid rgba(0,0,0,0.9);
  240. background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
  241. }
  242. #box-ownedstuff
  243. {
  244. top:15%;
  245. bottom:0px;
  246. width:100%;
  247. height:90%;
  248. right:0%;
  249. overflow-x:hidden;
  250. overflow-y:scroll;
  251. padding-bottom:48px;
  252. position:absolute;
  253. background:rgba(0,125,0,0.4);
  254. border:1px solid rgba(0,0,0,0.9);
  255. background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
  256. }
  257.  
  258. #box-shop>.box-header
  259. {
  260. padding-bottom:16px;
  261. }
  262. #box-menu
  263. {
  264. width:80%;
  265. left:20%;
  266. top:70%;
  267. height:50%;
  268. border:2px solid rgba(0,0,0,0.9);
  269. background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
  270. position:absolute;
  271. }
  272. #box-res.thing-icon
  273. {
  274. width:32px;
  275. height:32px;
  276. }
  277. #box-phone
  278. {
  279. border:2px solid rgba(0,0,0,0.9);
  280. top:10%;
  281. height:350px;
  282. width:250px;
  283. color:black;
  284. min-height:16px;
  285. overflow-x:hidden;
  286. overflow-y:hidden;
  287. position:absolute;
  288. background:rgba(255,255,255,0.5);
  289. }
  290. #box-text
  291. {
  292. top:86%;
  293. right:0px;
  294. bottom:0px;
  295. left:0px;
  296. border:2px solid rgba(0,0,0,0.9);
  297. height:50px;
  298. width:250px;
  299. min-height:16px;
  300. overflow-x:hidden;
  301. overflow-y:hidden;
  302. position:absolute;
  303. background:rgba(255,255,255,0.7);
  304. }
  305. #box-Commands
  306. {
  307. width:20%;
  308. top:70%;
  309. height:50%;
  310. border:2px solid rgba(0,0,0,0.9);
  311. background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
  312. position:absolute;
  313. }
  314. #box-log
  315. {
  316. height:300px;
  317. width:250px;
  318. border:1px solid black;
  319. color:gray;
  320. padding:3px
  321. margin:0px;
  322. }
  323. .thing
  324. {
  325. border-radius:8px;
  326. background:rgba(255,255,255,0.5);
  327. }
  328.  
  329. Buttons
  330. *Pickaxe
  331. no text
  332. no tooltip
  333. class:bigButton hasFlares
  334. on click:if (have BlueCave and Tick>=29) yield 1 RawCoal
  335. on click:if (have BlueCave and Tick>=29) yield 0.5 IronOre
  336.  
  337. Upgrades
  338. //Task
  339. *TEMPLATE
  340. tag:LayoutThings
  341. no buy
  342. on click:hide tag:ACHTAG
  343. on click:hide tag:story
  344. on click:hide tag:SellButtons
  345. on click:hide tag:SmeltButtons
  346. on click:hide tag:Locations
  347. on click:hide tag:Shop
  348. on click:hide tag:ShopOwned
  349. on click:hide tag:Debug
  350. on click:hide tag:achieves
  351. *SellButtonsL
  352. name:Sell Buttons
  353. on click:show tag:SellButtons
  354. *SmeltButtonsL
  355. name:Smelt Buttons
  356. on click:show tag:SmeltButtons
  357. *StoryL
  358. name:Tasks
  359. on click:show tag:story
  360. *LocationsL
  361. name:Locations
  362. on click:show tag:Locations
  363. *ShopL
  364. name:Shop
  365. on click:show tag:Shop
  366. *ShopOwnedL
  367. name:Owned Items
  368. on click:show tag:ShopOwned
  369. *AchL
  370. name:Achievements
  371. on click:show tag:ACHTAG
  372. on click:show tag:achieves
  373. *DebugL
  374. name:Settings
  375. on click:show tag:Debug
  376. //Story
  377. *Text
  378. text:.
  379. desc:This is so the Choices could work. Click when the game prompts you to.
  380. tag:TEXT
  381. /* on click:if (Tick>=5) yield Choice1
  382. on click:if (Tick>=5) yield Choice2
  383. *TEMPLATE
  384. hidden when 0
  385. *Choice1
  386. text:Test
  387. tag:TEXT
  388. on click:log Test1
  389. on click:yield 1 Tick
  390. on click:hide Choice2
  391. on click:hide Choice1
  392. *Choice2
  393. text:Test
  394. tag:TEXT
  395. on click:log Test2
  396. on click:yield 1 Tick
  397. on click:hide Choice2
  398. on click:hide Choice1*/
  399. //Locations
  400. *TEMPLATE
  401. tag:Locations
  402. *BlueCave
  403. name:The Cave of Blue
  404. desc:A mysterious cave lurking around a Grassland.
  405. start with
  406. //Selling
  407. *TEMPLATE
  408. tag:SellButtons
  409. on earn:lose this
  410. *Sell100
  411. name:Sell Ores (100%)
  412. desc:Sells All Ores.
  413. on click:if (RawCoal>0.99) yield (0.5*RawCoal) Cash
  414. on click:if (IronIngot>0.99) yield (1.5*IronIngot) Cash
  415. on click:if (RawCoal>0.99) lose RawCoal
  416. on click:if (IronIngot>0.99) lose IronIngot
  417. *Sell50
  418. name:Sell Ores (50%)
  419. desc:Sell All Ores At 50% each Ore type.
  420. on click:if (RawCoal>0.99) yield (0.5*(RawCoal/2)) Cash
  421. on click:if (IronIngot>0.99) yield (1.5*(IronIngot/2)) Cash
  422. on click:if (RawCoal>0.99) lose (RawCoal/2) RawCoal
  423. on click:if (IronIngot>0.99) lose (IronIngot/2) IronIngot
  424. *Sell25
  425. name:Sell Ores (25%)
  426. desc:Sell All Ores At 25% each Ore type.
  427. on click:if (RawCoal>0.99) yield (0.5*(RawCoal/4)) Cash
  428. on click:if (IronIngot>0.99) yield (1.5*(IronIngot/4)) Cash
  429. on click:if (RawCoal>0.99) lose (RawCoal/4) RawCoal
  430. on click:if (IronIngot>0.99) lose (IronIngot/4) IronIngot
  431. *Sell10
  432. name:Sell Ores (10%)
  433. desc:Sell All Ores At 10% each Ore type.
  434. on click:if (RawCoal>0.99) yield (0.5*(RawCoal/10)) Cash
  435. on click:if (IronIngot>0.99) yield (1.5*(IronIngot/10)) Cash
  436. on click:if (RawCoal>0.99) lose (RawCoal/10) RawCoal
  437. on click:if (IronIngot>0.99) lose (IronIngot/10) IronIngot
  438. *Sell1
  439. name:Sell Ores (1)
  440. desc:Sell 1 of each Ore type.
  441. on click:if (RawCoal>0.99) yield 0.5 Cash
  442. on click:if (IronIngot>0.99) yield 1.5 Cash
  443. on click:if (RawCoal>0.99) lose 1 RawCoal
  444. on click:if (IronIngot>0.99) lose 1 IronIngot
  445. //Smelting
  446. *TEMPLATE
  447. tag:SmeltButtons
  448. on earn:lose this
  449. *Smelt100
  450. name:Smelt Ores (100%)
  451. desc:Smelts All Ores.
  452. on click:if (IronOre>0.99) yield (1*IronOre) IronIngot
  453. on click:if (IronOre>0.99) lose IronOre
  454. *Smelt50
  455. name:Smelt Ores (50%)
  456. desc:Smelts All Ores at 50% each Ore type.
  457. on click:if (IronOre>0.99) yield (1*(IronOre/2)) IronIngot
  458. on click:if (IronOre>0.99) lose (IronOre/2) IronOre
  459. *Smelt25
  460. name:Smelt Ores (25%)
  461. desc:Smelts All Ores at 25% each Ore type.
  462. on click:if (IronOre>0.99) yield (1*(IronOre/4)) IronIngot
  463. on click:if (IronOre>0.99) lose (IronOre/4) IronOre
  464. *Smelt10
  465. name:Smelt Ores (10%)
  466. desc:Smelts All Ores at 10% each Ore type.
  467. on click:if (IronOre>0.99) yield (1*(IronOre/10)) IronIngot
  468. on click:if (IronOre>0.99) lose (IronOre/10) IronOre
  469. *Smelt1
  470. name:Smelt Ores (1)
  471. desc:Smelts 1 of each Ore type.
  472. on click:if (IronOre>0.99) yield 1 IronIngot
  473. on click:if (IronOre>0.99) lose 1 IronOre
  474. //Debug
  475. *TEMPLATE
  476. *GameStats
  477. name:Game Stats
  478. tag:Debug
  479. desc:Shows the game's hidden values. Also includes values normally hidden inside of tooltips. Mainly for debugging proposes.
  480. //req:10 GameStatProgress
  481. text:Game Stats<//></>Tick:[Tick]</>Scene:[Scene]</>
  482. Resources
  483. //Cash and HP
  484. *Cash
  485. name:Cash
  486. desc:Used for the basics.
  487. *Help
  488. name:Inventory
  489. desc:Hello
  490. tag:Prompts
  491. //Collectables
  492. *TEMPLATE
  493. hidden when 0
  494. tag:Ore
  495. *RawCoal
  496. name:Raw Coal
  497. desc:It's basically a rock. Sells for <b>$0.50</b>.<//><b>Tier 1</b><//>Found In:<b>Cave Of Blue</b>
  498. *IronOre
  499. name:Iron Ore
  500. desc:A Better rock that can be sold at it's next form. <b>Cannot be Sold</b><//><b>Tier 1</b><//>Found In:<b>Cave Of Blue</b>
  501. *IronIngot
  502. name:Iron Ingot
  503. desc:It's a bar of Iron. Really need more? Sells for <b>$1.50</b>.<//><b>Tier 2</b><//>Previous Form:<b>Iron Ore</b>
  504. //Story
  505. *TEMPLATE
  506. always hidden
  507. *ThisWillNeverBeUsed
  508. //Intro
  509. on tick:if (Tick=1 and Scene=0) log ???:Hey
  510. on tick:if (Tick=3 and Scene=0) log ???:HEY!
  511. on tick:if (Tick=6 and Scene=0) log ???:You should pay attention to your messages for a minute.
  512. on tick:if (Tick=9 and Scene=0) log ???:Who am I?
  513. on tick:if (Tick=12 and Scene=0) log ???:Not Important right now.
  514. on tick:if (Tick=15 and Scene=0) log ???:I know you have been having a hard time after the war, and I do too, but that doesn't matter right now.
  515. on tick:if (Tick=18 and Scene=0) log ???:I just wanted to let you know that there's rumors of The Cave of Blue having valuable ores in it.
  516. on tick:if (Tick=21 and Scene=0) log ???:I personally don't believe it by you should check for yourself if you like.
  517. on tick:if (Tick=24 and Scene=0) log ???:Beware of the creatures in there too.
  518. on tick:if (Tick=27 and Scene=0) log ???:You should be more prepared but you don't have much anymore anyway so just stay close to the entrance.
  519. on tick:if (Tick=30 and Scene=0) log ???:That's all I have to say. Goodbye for now.
  520. on tick:if (Tick=31 and Scene=0) lose 1 Tick
  521. *Tick
  522. on tick:yield 1 Tick
  523. *Scene
  524. on earn:lose (Tick) Tick
  525. //Changelog
  526. *ThisWillNeverBeUsed2
  527. on tick:if (Tick>=31 and Tick2=0) log <t><#404040>Hello :)</#><//>Welcome back Miner X.<//></><t><#404040>Version 1 Update 1</#><//><.>Miner X is now Released</>(??/??/2020)<//></>
  528. *Tick2
  529. on tick:if (0>=Tick2) yield 1 Tick2
  530. on load:lose 1 Tick2
  531. //Misc
  532. *ACHPoints
  533. always hidden
  534. *TEMPLATE
  535. *ACH
  536. text:<b>[ACHPoints]/0 (~[((ACHPoints/0)*100)]%) earned</>
  537. tag:ACHTAG
  538. no tooltip
Add Comment
Please, Sign In to add comment