Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Warning: Spoilers Ahead / Based on RadicalRobot's Legendary Superminer
- Let's make a game!
- name:Miner X (Cancelled Project)
- by:Agentperson
- 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")
- created:8/12/2019
- updated:8/12/2019
- version:1
- Settings
- building cost increase:110%
- building cost refund:100%
- Layout
- *main
- contains:buttons, res, menu, phone, Commands
- *res
- contains:Resources
- *buttons
- contains:BUTTONS
- *BUTTONS
- contains:Buttons
- *menu
- contains:tag:Battle
- *Commands
- contains:tag:Prompts
- *store
- contains:shop, ownedstuff
- *shop
- contains:tag:LayoutThings
- *ownedstuff
- contains:tag:ACHTAG, tag:story, tag:SellButtons, tag:SmeltButtons, tag:Locations, tag:Shop, tag:ShopOwned, tag:ACHTAG, tag:achieves, tag:Debug
- *text
- contains:tag:TEXT
- *phone
- contains:log, text
- *log
- contains:Log
- CSS
- #game
- {
- background:#fff;
- font-size:12px;
- color:rgba(0,0,0,0.9);
- text-shadow:none;
- }
- .box
- {
- text-align:center;
- padding:0px;
- box-shadow:none;
- }
- .thing,.box-header,.box-footer,.box-bit
- {
- background:rgba(255,255,255,0.5);
- border:1px solid rgba(0,0,0,0.9);
- margin:1px;
- }
- .thing:hover
- {
- background:rgba(255,255,255,0.75);
- }
- .box-header
- {
- margin-bottom:4px;
- }
- .box-footer
- {
- margin-top:4px;
- }
- .title
- {
- text-decoration:underline;
- }
- #box-main
- {
- left:0px;
- top:0px;
- bottom:0px;
- overflow:hidden;
- width:60%;
- position:absolute;
- }
- #box-res
- {
- width:100%;
- border:1px solid rgba(0,0,0,0.9);
- top:0%;
- height:10%;
- min-height:32px;
- overflow-x:hidden;
- overflow-y:scroll;
- z-index:100;
- position:absolute;
- 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%);
- }
- #box-buttons
- {
- top:58px;
- right:0px;
- bottom:0px;
- left:0px;
- position:absolute;
- }
- #box-BUTTONS
- {
- top:40px;
- right:0px;
- bottom:200px;
- left:0px;
- position:absolute;
- }
- #box-BUTTONS
- {left:30%;}
- #bulkDisplay
- {
- margin:-20px 24px 6px 24px;
- border:none;
- background:transparent;
- }
- .thing
- {
- display:inline-block;
- padding:0px;
- cursor:pointer;
- }
- .thing:active
- {
- opacity:0.5;
- }
- .upgrade.owned,.achiev.owned
- {
- box-shadow:0px 0px 0px 2px rgba(0,0,0,0.5) inset;
- }
- .thing.cantAfford
- {
- opacity:0.65;
- }
- .upgrade.cantAfford
- {
- border:none;
- }
- .thing-costs{font-weight:bold;text-shadow:1px 1px 0px rgba(0,0,0,0.5);}
- .cost.hasEnough{color:#0f0;}
- .cost.notEnough{color:#f00;}
- .button>.thing-text
- {
- text-decoration:underline;
- }
- .building
- {
- display:block;
- margin-right:0px;
- font-size:14px;
- }
- .fullWidth
- {
- display:block;
- margin-left:0px;
- margin-right:0px;
- z-index:10;
- }
- #game .fullWidth
- {
- height:auto;
- min-height:auto;
- }
- .fullWidth,.fullWidth:hover
- {
- background:rgba(0,0,0,0.75);
- box-shadow:none;
- color:#fff;
- }
- .fullWidth:before,.fullWidth:after
- {
- content:'';
- height:1px;
- background:rgba(255,255,255,0.75);
- position:absolute;
- left:0px;
- right:0px;
- z-index:-1;
- }
- .fullWidth:before{top:-1px;}
- .fullWidth:after{bottom:-1px;}
- .fullWidth .thing-icon
- {
- margin-top:-10px;
- margin-bottom:-10px;
- }
- .fullWidth .thing-text
- {
- margin-top:-4px;
- margin-bottom:-4px;
- }
- .listing
- {
- font-weight:normal;
- }
- #game.filtersOn .thing-icon{filter:drop-shadow(3px 3px 1px rgba(0,0,0,0.5));}
- #box-store
- {
- right:0px;
- top:0px;
- bottom:0px;
- width:40%;
- position:absolute;
- 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%);
- }
- #box-shop
- {
- top:0px;
- bottom:0px;
- width:100%;
- height:15%;
- right:0%;
- overflow-x:hidden;
- overflow-y:scroll;
- position:absolute;
- background:rgba(0,125,0,0.4);
- border:1px solid rgba(0,0,0,0.9);
- 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%);
- }
- #box-ownedstuff
- {
- top:15%;
- bottom:0px;
- width:100%;
- height:90%;
- right:0%;
- overflow-x:hidden;
- overflow-y:scroll;
- padding-bottom:48px;
- position:absolute;
- background:rgba(0,125,0,0.4);
- border:1px solid rgba(0,0,0,0.9);
- 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%);
- }
- #box-shop>.box-header
- {
- padding-bottom:16px;
- }
- #box-menu
- {
- width:80%;
- left:20%;
- top:70%;
- height:50%;
- border:2px solid rgba(0,0,0,0.9);
- 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%);
- position:absolute;
- }
- #box-res.thing-icon
- {
- width:32px;
- height:32px;
- }
- #box-phone
- {
- border:2px solid rgba(0,0,0,0.9);
- top:10%;
- height:350px;
- width:250px;
- color:black;
- min-height:16px;
- overflow-x:hidden;
- overflow-y:hidden;
- position:absolute;
- background:rgba(255,255,255,0.5);
- }
- #box-text
- {
- top:86%;
- right:0px;
- bottom:0px;
- left:0px;
- border:2px solid rgba(0,0,0,0.9);
- height:50px;
- width:250px;
- min-height:16px;
- overflow-x:hidden;
- overflow-y:hidden;
- position:absolute;
- background:rgba(255,255,255,0.7);
- }
- #box-Commands
- {
- width:20%;
- top:70%;
- height:50%;
- border:2px solid rgba(0,0,0,0.9);
- 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%);
- position:absolute;
- }
- #box-log
- {
- height:300px;
- width:250px;
- border:1px solid black;
- color:gray;
- padding:3px
- margin:0px;
- }
- .thing
- {
- border-radius:8px;
- background:rgba(255,255,255,0.5);
- }
- Buttons
- *Pickaxe
- no text
- no tooltip
- class:bigButton hasFlares
- on click:if (have BlueCave and Tick>=29) yield 1 RawCoal
- on click:if (have BlueCave and Tick>=29) yield 0.5 IronOre
- Upgrades
- //Task
- *TEMPLATE
- tag:LayoutThings
- no buy
- on click:hide tag:ACHTAG
- on click:hide tag:story
- on click:hide tag:SellButtons
- on click:hide tag:SmeltButtons
- on click:hide tag:Locations
- on click:hide tag:Shop
- on click:hide tag:ShopOwned
- on click:hide tag:Debug
- on click:hide tag:achieves
- *SellButtonsL
- name:Sell Buttons
- on click:show tag:SellButtons
- *SmeltButtonsL
- name:Smelt Buttons
- on click:show tag:SmeltButtons
- *StoryL
- name:Tasks
- on click:show tag:story
- *LocationsL
- name:Locations
- on click:show tag:Locations
- *ShopL
- name:Shop
- on click:show tag:Shop
- *ShopOwnedL
- name:Owned Items
- on click:show tag:ShopOwned
- *AchL
- name:Achievements
- on click:show tag:ACHTAG
- on click:show tag:achieves
- *DebugL
- name:Settings
- on click:show tag:Debug
- //Story
- *Text
- text:.
- desc:This is so the Choices could work. Click when the game prompts you to.
- tag:TEXT
- /* on click:if (Tick>=5) yield Choice1
- on click:if (Tick>=5) yield Choice2
- *TEMPLATE
- hidden when 0
- *Choice1
- text:Test
- tag:TEXT
- on click:log Test1
- on click:yield 1 Tick
- on click:hide Choice2
- on click:hide Choice1
- *Choice2
- text:Test
- tag:TEXT
- on click:log Test2
- on click:yield 1 Tick
- on click:hide Choice2
- on click:hide Choice1*/
- //Locations
- *TEMPLATE
- tag:Locations
- *BlueCave
- name:The Cave of Blue
- desc:A mysterious cave lurking around a Grassland.
- start with
- //Selling
- *TEMPLATE
- tag:SellButtons
- on earn:lose this
- *Sell100
- name:Sell Ores (100%)
- desc:Sells All Ores.
- on click:if (RawCoal>0.99) yield (0.5*RawCoal) Cash
- on click:if (IronIngot>0.99) yield (1.5*IronIngot) Cash
- on click:if (RawCoal>0.99) lose RawCoal
- on click:if (IronIngot>0.99) lose IronIngot
- *Sell50
- name:Sell Ores (50%)
- desc:Sell All Ores At 50% each Ore type.
- on click:if (RawCoal>0.99) yield (0.5*(RawCoal/2)) Cash
- on click:if (IronIngot>0.99) yield (1.5*(IronIngot/2)) Cash
- on click:if (RawCoal>0.99) lose (RawCoal/2) RawCoal
- on click:if (IronIngot>0.99) lose (IronIngot/2) IronIngot
- *Sell25
- name:Sell Ores (25%)
- desc:Sell All Ores At 25% each Ore type.
- on click:if (RawCoal>0.99) yield (0.5*(RawCoal/4)) Cash
- on click:if (IronIngot>0.99) yield (1.5*(IronIngot/4)) Cash
- on click:if (RawCoal>0.99) lose (RawCoal/4) RawCoal
- on click:if (IronIngot>0.99) lose (IronIngot/4) IronIngot
- *Sell10
- name:Sell Ores (10%)
- desc:Sell All Ores At 10% each Ore type.
- on click:if (RawCoal>0.99) yield (0.5*(RawCoal/10)) Cash
- on click:if (IronIngot>0.99) yield (1.5*(IronIngot/10)) Cash
- on click:if (RawCoal>0.99) lose (RawCoal/10) RawCoal
- on click:if (IronIngot>0.99) lose (IronIngot/10) IronIngot
- *Sell1
- name:Sell Ores (1)
- desc:Sell 1 of each Ore type.
- on click:if (RawCoal>0.99) yield 0.5 Cash
- on click:if (IronIngot>0.99) yield 1.5 Cash
- on click:if (RawCoal>0.99) lose 1 RawCoal
- on click:if (IronIngot>0.99) lose 1 IronIngot
- //Smelting
- *TEMPLATE
- tag:SmeltButtons
- on earn:lose this
- *Smelt100
- name:Smelt Ores (100%)
- desc:Smelts All Ores.
- on click:if (IronOre>0.99) yield (1*IronOre) IronIngot
- on click:if (IronOre>0.99) lose IronOre
- *Smelt50
- name:Smelt Ores (50%)
- desc:Smelts All Ores at 50% each Ore type.
- on click:if (IronOre>0.99) yield (1*(IronOre/2)) IronIngot
- on click:if (IronOre>0.99) lose (IronOre/2) IronOre
- *Smelt25
- name:Smelt Ores (25%)
- desc:Smelts All Ores at 25% each Ore type.
- on click:if (IronOre>0.99) yield (1*(IronOre/4)) IronIngot
- on click:if (IronOre>0.99) lose (IronOre/4) IronOre
- *Smelt10
- name:Smelt Ores (10%)
- desc:Smelts All Ores at 10% each Ore type.
- on click:if (IronOre>0.99) yield (1*(IronOre/10)) IronIngot
- on click:if (IronOre>0.99) lose (IronOre/10) IronOre
- *Smelt1
- name:Smelt Ores (1)
- desc:Smelts 1 of each Ore type.
- on click:if (IronOre>0.99) yield 1 IronIngot
- on click:if (IronOre>0.99) lose 1 IronOre
- //Debug
- *TEMPLATE
- *GameStats
- name:Game Stats
- tag:Debug
- desc:Shows the game's hidden values. Also includes values normally hidden inside of tooltips. Mainly for debugging proposes.
- //req:10 GameStatProgress
- text:Game Stats<//></>Tick:[Tick]</>Scene:[Scene]</>
- Resources
- //Cash and HP
- *Cash
- name:Cash
- desc:Used for the basics.
- *Help
- name:Inventory
- desc:Hello
- tag:Prompts
- //Collectables
- *TEMPLATE
- hidden when 0
- tag:Ore
- *RawCoal
- name:Raw Coal
- desc:It's basically a rock. Sells for <b>$0.50</b>.<//><b>Tier 1</b><//>Found In:<b>Cave Of Blue</b>
- *IronOre
- name:Iron Ore
- 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>
- *IronIngot
- name:Iron Ingot
- 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>
- //Story
- *TEMPLATE
- always hidden
- *ThisWillNeverBeUsed
- //Intro
- on tick:if (Tick=1 and Scene=0) log ???:Hey
- on tick:if (Tick=3 and Scene=0) log ???:HEY!
- on tick:if (Tick=6 and Scene=0) log ???:You should pay attention to your messages for a minute.
- on tick:if (Tick=9 and Scene=0) log ???:Who am I?
- on tick:if (Tick=12 and Scene=0) log ???:Not Important right now.
- 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.
- 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.
- on tick:if (Tick=21 and Scene=0) log ???:I personally don't believe it by you should check for yourself if you like.
- on tick:if (Tick=24 and Scene=0) log ???:Beware of the creatures in there too.
- 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.
- on tick:if (Tick=30 and Scene=0) log ???:That's all I have to say. Goodbye for now.
- on tick:if (Tick=31 and Scene=0) lose 1 Tick
- *Tick
- on tick:yield 1 Tick
- *Scene
- on earn:lose (Tick) Tick
- //Changelog
- *ThisWillNeverBeUsed2
- 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)<//></>
- *Tick2
- on tick:if (0>=Tick2) yield 1 Tick2
- on load:lose 1 Tick2
- //Misc
- *ACHPoints
- always hidden
- *TEMPLATE
- *ACH
- text:<b>[ACHPoints]/0 (~[((ACHPoints/0)*100)]%) earned</>
- tag:ACHTAG
- no tooltip
Add Comment
Please, Sign In to add comment