Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Office Clicker
- by:Joe
- desc:A clicker. In an office setting.
- created:21/06/2020
- updated:26/06/2020
- version:1.02
- Settings
- background:https://images.unsplash.com/photo-1497366754035-f200968a6e72
- building cost increase:110%
- building cost refund:50%
- stylesheet:https://pastebin.com/epeZmuk7
- Layout
- use default
- Buttons
- *MainButton
- name:Do Work
- desc:Click this to do some work. Grants 1 Experience per click.
- on click:yield 10000 Money
- icon:https://image0.flaticon.com/icons/png/256/3003/3003095.png
- class:bigButton
- no text
- shown
- Resources
- *Experience
- name:Experience|Experience
- desc:The amount of Experience you have. They say experience can't be measured, but you've proven them wrong.
- start with:0
- hidden when 0
- show earned
- icon:https://i.postimg.cc/LsX7fjd7/Experience.png
- //https://image0.flaticon.com/icons/png/512/3035/3035500.png
- *Money
- name:Money|Money
- desc:The amount of Money you have. They say Money can be measured, and they were right!
- start with:0
- show earned
- icon:https://i.postimg.cc/FHhwr2Th/Money.png
- //https://image.flaticon.com/icons/png/512/2916/2916115.png
- *Building1PS
- start with:0
- always hidden
- *Building2PS
- start with:0
- always hidden
- *Building3PS
- start with:0
- always hidden
- *Building4PS
- start with:0
- always hidden
- *Building5PS
- start with:0
- always hidden
- *Building6PS
- start with:0
- always hidden
- *Building7PS
- start with:0
- always hidden
- *Building8PS
- start with:0
- always hidden
- Buildings
- *TEMPLATE
- on click:anim glow
- //General Idea:
- //Building yields increase 10 times with each jump
- //Building costs increase 11 times with each jump
- //Buildings are unlocked at 75% the cost
- //Store the buildings' PS value in separate resources for calculations
- *Building1
- name:Unpaid Intern|Unpaid Interns
- desc:They see it as experience, you see it as free labor. <//><b>Base Effect:</b><.>+0.1 Money per second <//><b>Current Effect:</b><.>+[(Building1PS:ps / Building1)] Money per second (rounded)
- on tick:yield 0.1 Money
- on tick:yield 0.1 Building1PS
- cost:10 Money
- icon:https://i.postimg.cc/cLQB16ZC/baby.png
- //https://www.flaticon.com/free-icon/avatar_1717992
- *Building2
- name:Receptionist|Receptionists
- desc:Someone else can finally answer those dang phones for you.<//><b>Effect:</b><.>+___ Money per second
- on tick:yield 1 Money
- on tick:yield 1 Building2PS
- cost:110 Money
- req:82.5 Money:earned
- icon:https://i.postimg.cc/BbzGm4v9/receptionist.png
- //https://www.flaticon.com/free-icon/receptionist_745555
- *Building3
- name:Salesperson|Salespeople
- desc:Someone else answering the phones AND making phone calls? You've got it made.<//><b>Effect:</b><.>+___ Money per second
- on tick:yield 10 Money
- on tick:yield 10 Building3PS
- cost:1210 Money
- req:907.5 Money:earned
- icon:https://i.postimg.cc/x810s6yH/phone.png
- //https://www.flaticon.com/free-icon/call-center_925076
- *Building4
- name:Manager|Managers
- desc:At some point in your career, your job is to make sure others are doing their jobs.<//><b>Effect:</b><.>+___ Money per second
- on tick:yield 100 Money
- on tick:yield 100 Building4PS
- cost:13310 Money
- req:9982.5 Money:earned
- icon:___
- //___
- *Building5
- name:Director|Directors
- desc:___ <//><b>Effect:</b><.>+___ Money per second
- on tick:yield 1000 Money
- on tick:yield 1000 Building5PS
- cost:146410 Money
- req:109807.5 Money:earned
- icon:___
- //___
- *Building6
- name:Vice President|Vice Presidents
- desc:___ <//><b>Effect:</b><.>+___ Money per second
- on tick:yield 10000 Money
- on tick:yield 10000 Building6PS
- cost:1610510 Money
- req:1207882.5 Money:earned
- icon:___
- //___
- *Building7
- name:Executive|Executives
- desc:___ <//><b>Effect:</b><.>+___ Money per second
- on tick:yield 100000 Money
- on tick:yield 100000 Building7PS
- cost:17715610 Money
- req:13286707.5 Money:earned
- icon:___
- //___
- *Building8
- name:Board Member|Board Members
- desc:___ <//><b>Effect:</b><.>+____ Money per second
- on tick:yield 1000000 Money
- on tick:yield 1000000 Building8PS
- cost:194871710 Money
- req:146153782.5 Money:earned
- icon:
- //
- Upgrades
- *TEMPLATE
- on click:anim glow
- //General Ideas:
- //Click Upgrades:
- //Add an upgrade for each Money:ps threshold (1, 10, 100, etc.)
- //The upgrade adds 10% of the Money:ps value at each threshold, starting with 1000 (i.e. the 1000 upgrade would get the click to 100 per click)
- //Increase the cost for each upgrade by 110% starting at the 10 threshold
- //Building Upgrades:
- //Increase productivity of a building at 25, 50, 75, 100, 150, 200, 250, 300, 350, 400, 450, 500, 600, 700, 800, 900, 1000, 1250, 1500, 1750, 2000, 2250, and 2500
- //The upgrades increase the productivity by the number of buildings since last upgrade divided by 10 at each stage (so at 25, 50, 75, and 100, it's x2.5. At 150, 200, 250 and 300, it's x5.)
- //The cost calculation for the upgrade at these thresholds are 5 times the cost of a building at that threshold (I can use the initial cost of the building times 1.1 to the power of the number associated with the threshold). I.e. the cost of the Building 1 at 25 threshold is 5 * (10 * (1.1 ^ 25)). (10 * 1.1^25) gets the cost of the building on the 25th building, with 10 being the initial building cost, 1.1 being the building increase cost, and 25 being the number of buildings.
- *ClickAtPS0
- name:Water Cooler
- desc:You obtain a water cooler. Although the staff can't get as much done, you can accomplish more in the silence.<//><b>Effect:</b><.>+1 Money per click
- cost:100 Money
- passive:increase yield of MainButton by 1
- icon:https://i.postimg.cc/8s8BJ4zz/Water-Cooler.png
- // //
- *ClickAtPS1
- name:Glasses
- desc:You finally listened to your ophthalmologist and got some glasses. You should have done this before!<//><b>Effect:</b><.>+1 Money per click
- req:Money:ps >= 1
- cost:250 Money
- passive:increase yield of MainButton by 1
- icon:https://i.postimg.cc/MHZnVgj0/glasses-1.png
- //https://www.flaticon.com/free-icon/glasses_2943412
- // *ClickAtPS10
- // name:___
- // desc:___<//><b>Effect:</b><.>+2 Money per click.
- // req:Money:ps >= 10
- // cost:1000 Money
- // passive:increase yield of MainButton by 2
- // icon:___
- // //___
- // *ClickAtPS100
- // name:___
- // desc:___<//><b>Effect:</b><.>+6 Money per click.
- // req:Money:ps >= 100
- // cost:11000 Money
- // passive:increase yield of MainButton by 15
- // icon:___
- // //___
- // *ClickAtPS1000
- // name:___
- // desc:___<//><b>Effect:</b><.>+90 Money per click.
- // req:Money:ps >= 1000
- // cost:121000 Money
- // passive:increase yield of MainButton by 80
- // icon:___
- // //___
- // *ClickAtPS10000
- // name:___
- // desc:___<//><b>Effect:</b><.>+900 Money per click.
- // req:Money:ps >= 10000
- // cost:1331000 Money
- // passive:increase yield of MainButton by 900
- // icon:___
- // //___
- // *ClickAtPS100000
- // name:___
- // desc:___<//><b>Effect:</b><.>+9000 Money per click.
- // req:Money:ps >= 100000
- // cost:14641000 Money
- // passive:increase yield of MainButton by 9000
- // icon:___
- // //___
- // *ClickAtPS1000000
- // name:___
- // desc:___<//><b>Effect:</b><.>+90000 Money per click.
- // req:Money:ps >= 1000000
- // cost:161051000 Money
- // passive:increase yield of MainButton by 90000
- // icon:___
- // //___
- // *ClickAtPS10000000
- // name:___
- // desc:___<//><b>Effect:</b><.>+900000 Money per click.
- // req:Money:ps >= 10000000
- // cost:1771561000 Money
- // passive:increase yield of MainButton by 900000
- // icon:___
- // //___
- // *ClickAtPS100000000
- // name:___
- // desc:___<//><b>Effect:</b><.>+9000000 Money per click.
- // req:Money:ps >= 100000000
- // cost:19487171000 Money
- // passive:increase yield of MainButton by 9000000
- // icon:___
- // //___
- // *ClickAtPS1000000000
- // name:___
- // desc:___<//><b>Effect:</b><.>+90000000 Money per click.
- // req:Money:ps >= 1000000000
- // cost:214358881000 Money
- // passive:increase yield of MainButton by 90000000
- // icon:___
- // //___
- *Building1At25
- name:Headphones
- desc:Your company can now provide staff with headphones. Now your staff can get more work done and look cool while doing it. Unlocked at 25 [n:Building1].<//><b>Effect:</b><.>2.5x Unpaid Interns productivity
- req:Building1 >= 25
- cost:5*(10*pow(1.1, 25)) Money
- passive:multiply yield of Building1 by 2.5
- icon:https://i.postimg.cc/zvdVjpns/headphones.png
- //https://www.flaticon.com/free-icon/headphones_2727131
- *Building1At50
- name:ID Card
- desc:Your company now provides ID cards. So fancy! Unlocked at 50 [n:Building1].<//><b>Effect:</b><.>2.5x Unpaid Interns productivity
- req:Building1 >= 50
- cost:5870 Money
- passive:multiply yield of Building1 by 2.5
- icon:https://i.postimg.cc/26Db81kK/id-card.png
- //https://www.flaticon.com/free-icon/id-card_2726862
- // *Building1At___
- // name:___
- // desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
- // req:Building1 >= ___
- // cost:___ Money
- // passive:multiply yield of Building1 by ___
- // icon:
- // //
- // *Building1At___
- // name:___
- // desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
- // req:Building1 >= ___
- // cost:___ Money
- // passive:multiply yield of Building1 by ___
- // icon:
- // //
- // *Building1At___
- // name:___
- // desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
- // req:Building1 >= ___
- // cost:___ Money
- // passive:multiply yield of Building1 by ___
- // icon:
- // //
- // *Building1At___
- // name:___
- // desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
- // req:Building1 >= ___
- // cost:___ Money
- // passive:multiply yield of Building1 by ___
- // icon:
- // //
- // *Building1At___
- // name:___
- // desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
- // req:Building1 >= ___
- // cost:___ Money
- // passive:multiply yield of Building1 by ___
- // icon:
- // //
- // *Building1At___
- // name:___
- // desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
- // req:Building1 >= ___
- // cost:___ Money
- // passive:multiply yield of Building1 by ___
- // icon:
- // //
- // *Building1At___
- // name:___
- // desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
- // req:Building1 >= ___
- // cost:___ Money
- // passive:multiply yield of Building1 by ___
- // icon:
- // //
- // *Building1At___
- // name:___
- // desc:___ Unlocked at ___ [n:Building1].<//><b>Effect:</b><.>___x Unpaid Interns productivity
- // req:Building1 >= ___
- // cost:___ Money
- // passive:multiply yield of Building1 by ___
- // icon:
- // //
- // *Building1At450
- // name:___
- // desc:___ Unlocked at 450 [n:Building1].<//><b>Effect:</b><.>5x Unpaid Interns productivity
- // req:Building1 >= 450
- // cost:___ Money
- // passive:multiply yield of Building1 by 5
- // icon:
- // //
- // *Building1At500
- // name:___
- // desc:___ Unlocked at 500 [n:Building1].<//><b>Effect:</b><.>5x Unpaid Interns productivity
- // req:Building1 >= 500
- // cost:___ Money
- // passive:multiply yield of Building1 by 5
- // icon:
- // //
- *Building2At25
- name:Push Papers
- desc:You teach your receptionists to move around papers on their desks to appear busier for customers. Unlocked at 25 [n:Building2].<//><b>Effect:</b><.>2.5x Receptionists productivity
- req:Building2 >= 25
- cost:5959 Money
- passive:multiply yield of Building2 by 2.5
- icon:https://i.postimg.cc/Fsy2Q9gP/Push-Paper.png
- //https://image.flaticon.com/icons/png/512/3056/3056316.png
Advertisement
Add Comment
Please, Sign In to add comment