Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- created: 19/11/2019
- version: 1.0.0
- Settings
- building cost increase: 100%
- building cost refund: 100%
- Layout
- *main
- contains:res, buttons
- *res
- contains:Resources
- class:fullWidth
- *buttons
- contains:Buttons
- *store
- contains:buildings, upgrades
- *buildings
- contains:Buildings
- header:Tasks and Buildings
- tooltip origin:left
- costs:hide
- *upgrades
- contains:Upgrades
- header:Upgrades
- costs:hide
- names:hide
- CSS
- #game{
- background:rgba(127,127,127,1);
- }
- .autoMiners
- {
- background:rgba(127,127,255,1);
- }
- .autoMiners:hover{
- background:rgba(191,191,255,1);
- }
- Buttons
- *IronMine
- name:Mine For Iron Here!
- desc:Click to mine some stone and iron ([chanceOfIron]% chance). Multiplier: [clickPower*100]%
- on click:
- if (chance(chanceOfIron%))
- yield 1*clickPower iron
- if (have task1) yield 1*clickPower task2iron
- end
- yield 1*clickPower stone
- yield 1*clickPower task1stone
- end
- class:bigButton
- Resources
- *stone
- name:Stone
- desc:Unwanted stuff. Maybe.
- *iron
- name:Iron
- desc:Every mining game has to start with this metal.
- *task1stone
- name:Stone
- always hidden
- *task2iron
- name:Iron
- always hidden
- *task3miners
- name:Iron Miners
- always hidden
- *chanceOfIron
- is always:1+task1*0.01
- always hidden
- *clickPower
- is always:1+task2*0.01
- always hidden
- Buildings
- *task1
- name:Your first task
- desc:Welcome to Generic Mining Game! Your first task is to gain 20 stone by clicking on the Iron Mine. Finish this to increase chance for iron by 0.01% and unlock the next task! All tasks can be completed infinite times.
- text:Obtain 20 stone. [task1stone]/20
- cost:20 task1stone
- *task2
- name:The search for metals
- desc:Stone is not valuable enough, obviously. Extracting iron would be better. Reward: +1% resources per click.
- text:Obtain 1 iron. [task2iron]/1
- cost:1 task2iron
- req:task1
- *task3
- name:Automation
- desc:Clicking is boring and outdated. How about some automation? Reward: x1.01 iron miner speed
- text:Build 10 iron miners. [task3miners]/10
- cost:10 task3miners
- on gain:multiply yield of ironMiner by 1.01
- req:task2
- *ironMiner
- name:Iron Miner
- desc:Clicks on the iron mine for you. (This is a building! They have a blue background.)
- cost:1 iron
- cost increase:101%
- req:task2
- on tick:
- if (chance(chanceOfIron%))
- yield 0.1*clickPower iron
- if (have task1) yield 0.1*clickPower task2iron
- end
- yield 0.1*clickPower stone
- yield 0.1*clickPower task1stone
- end
- on gain:yield 1 task3miners
- class:autoMiners
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement