Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Realistic Cookie Clicker V0.19
- by:Diesel0307
- desc:Cookie Clicker, but more realistic!
- created:9/12/2017
- updated:14/12/2017
- Settings
- building cost increase:115%
- Layout
- *main
- contains:resources, button1, button2, button3, button4, header
- *resources
- contains:tag:resource
- class:fullWidth
- *button1
- contains:tag:button1
- *button2
- contains:tag:button2
- *button3
- contains:tag:button3
- *button4
- contains:tag:button4
- *header
- header:<b><u>Realistic Cookie Clicker</u></b>
- *store
- contains:buildings, upgrades, stats
- *buildings
- contains:BulkDisplay, Buildings
- header:<b>Buildings</b>
- tooltip origin:left
- *upgrades
- contains:Upgrades
- header:<b>Upgrades</b>
- costs:hide
- names:hide
- *achievs
- in:store
- contains:Achievements
- header:<b>Achievements</b>
- names:hide
- *stats
- contains:tag:stat
- ps:hide
- header:<b>Statistics</b>
- class:cleared
- Buttons
- *bakeCookie
- name:Bake a cookie
- desc:Bake 2 ingredients into a cookie!
- tag:button1
- on click:
- $base=1
- $basePrice=2
- if (have click1) $base=$base*2
- if (have click1) $basePrice=$basePrice*2
- if (have click2) $base=$base*2
- if (have click2) $basePrice=$basePrice*2
- if (have click3) $base=$base*2
- if (have click3) $basePrice=$basePrice*2
- if (ingredients>=$basePrice)
- yield $base cookie
- lose $basePrice ingredients
- end
- end
- *buyIngredients
- name:Buy ingredients
- desc:Buy ingredients using money.
- tag:button2
- on click:
- $base=1
- $basePrice=1
- if (have ingredient1) $base=$base*2
- if (have ingredient1) $basePrice=$basePrice*2
- if (dollars>=$basePrice)
- yield $base ingredients
- lose $basePrice dollars
- end
- end
- *sellCookies
- name:Sell cookies
- desc:Sell all of your cookies for money.
- on click:
- $currentCookies=cookies*2.5
- yield $currentCookies dollars
- lose cookies
- end
- tag:button3
- *sellHalfCookies
- name:Sell half cookies
- desc:Sell half of your cookies for money.
- on click:
- $halfCookies=cookies*0.5
- $moneyCookies=$halfCookies*2.5
- yield $moneyCookies dollars
- lose $halfCookies cookies
- end
- tag:button4
- Resources
- *TEMPLATE
- tag:stat
- *cookieEarned
- name:Cookies Made
- desc:How many cookies have been made.
- is always:cookies:earned
- text:[this] Cookies made
- *moneyEarned
- name:Dollars Made
- desc:How many dollars have been made.
- is always:dollars:earned
- text:[this] Dollars earned
- *multiplier
- name:Production Multiplier
- start with:100
- text:[this]% production multiplier
- *TEMPLATE
- tag:resource
- *cookie|cookies
- name:Cookie|Cookies
- desc:You can sell cookies for money which you can use to buy things.
- show earned
- *ingredient|ingredients
- name:Ingredient|Ingredients
- desc:The things you use to bake cookies.
- show earned
- *dollar|dollars
- name:Dollar|Dollars
- desc:National currency that can be used to buy things and hire people.
- show earned
- start with:20
- Buildings
- *TEMPLATE
- tag:building
- *helping|helpings
- name:Helping Hand|Helping Hands
- desc:Hire a friend to make cookies every 20 seconds, with their own ingredients!
- icon:https://imgur.com/lgeJ4lx.png
- cost:30 dollars
- on tick:yield 0.05 cookies
- *shopper|shoppers
- name:Shopper|Shoppers
- desc:Hire a shopper to buy ingredients every 20 seconds!
- icon:https://imgur.com/x8lpy89.png
- cost:40 dollars
- on tick:yield 0.05 ingredients
- *grandma|grandmas
- name:Grandma|Grandmas
- desc:You hire your grandma to bake cookies for you, such a sweet woman.
- icon:https://imgur.com/qzDbClh.png
- cost:100 dollars
- on tick:yield 1 cookies
- *chef1
- name:1-Star Chef
- desc:Hire a beginner chef to bake cookies with your ingredients!
- cost:1200 dollars
- on tick:
- if (ingredients>=2)
- yield 1 cookie
- lose 2 ingredients
- end
- end
- Upgrades
- //building upgrades
- *energy1
- name:Energy Drinks
- desc:Your Helping Hands are twice as efficient!<q>"This stuff gets me fired up!"</q>
- icon:https://imgur.com/IDYZf3s.png
- cost:25 cookies
- passive:multiply yield of helping by 2
- req:1 helping
- *energy2
- name:Monster Drinks
- desc:Your Helping Hands are twice as efficient!<q>"Doesn't contain batteries. We swear."</q>
- icon:https://imgur.com/YH1nxjM.png
- cost:100 cookies
- passive:multiply yield of helping by 2
- req:10 helping
- *energy3
- name:Hyper Drinks
- desc:Your Helping Hands are twice as efficient!<q>"Can you hear colors yet?"</q>
- icon:https://imgur.com/o4Htezc.png
- cost:10000 cookies
- passive:multiply yield of helping by 2
- req:25 helping
- *shopWheels
- name:Lubricated Shopping Cart Wheels
- desc:Your Shoppers are twice as efficient!<q>"A little bit goes a long way."</q>
- icon:https://imgur.com/dz4WYZJ.png
- cost:30 cookies
- passive:multiply yield of shopper by 2
- req:1 shopper
- *shopDiscount
- name:Discounts
- desc:Your Shoppers are twice as efficient!<q>"10% off chocolate-related items, if you have the online coupon, that is."</q>
- icon:https://imgur.com/T1jfxWO.png
- cost:75 cookies
- passive:multiply yield of shopper by 2
- req:10 shoppers
- *shopSale
- name:Sales
- desc:Your Shoppers are twice as efficient!<q>"Now don't buy too much, the companies will make a fortune."</q>
- icon:https://imgur.com/y9AzR17.png
- cost:7500 cookies
- passive:multiply yield of shopper by 2
- req:25 shoppers
- *grandmaWalkers
- name:Free Walkers
- desc:Your Grandmas are twice as efficient!<q>"Pick one up on the 3rd floor. Good luck with no elevator."</q>
- icon:https://imgur.com/hDYR7W5.png
- cost:50 cookies
- passive:multiply yield of grandma by 2
- req:1 grandma
- *grandmaChairs
- name:Automatic Chairs
- desc:Your Grandmas are twice as efficient!<q>"Voice activated to ensure it does what the grandmas really want."</q>
- icon:https://imgur.com/FdTD1q8.png
- cost:500 cookies
- passive:multiply yield of grandma by 2
- req:10 grandmas
- *grandmaTime
- name:Quality Time
- desc:Your Grandmas are twice as efficient!<q>"Sometimes time is all you need... And cookies, don't forget about that."</q>
- icon:https://imgur.com/6n7i1SV.png
- cost:40000 cookies
- passive:multiply yield of grandma by 2
- req:25 grandmas
- //cookie upgrades
- *plainC
- name:Plain Cookies
- desc:Cookie production multiplier <b>+1%</b>.<q>"Meh."</q>
- cost:250000 cookies
- req:cookies:earned>=50000
- passive:multiply yield of tag:building by 1.01
- on earn:yield 1 multiplier
- *sugarC
- name:Sugar Cookies
- desc:Cookie production multiplier <b>+1%</b>.<q>"Tasty, if a little unimaginative."</q>
- cost:2500000 cookies
- req:cookies:earned>=150000
- passive:multiply yield of tag:building by 1.01
- on earn:yield 1 multiplier
- //button upgrades
- *click1
- name:Oven Mitts
- desc:You bake cookies twice as fast!<q>"You mean you weren't already using these?"</q>
- icon:https://imgur.com/MowinYA.png
- cost:60 cookies
- req:cookies:earned>=1000
- *click2
- name:Rubber Oven Mitts
- desc:You bake cookie twice as fast!<q>"Not sure how these help, but you do you."</q>
- cost:300 cookies
- req:cookies:earned>=10000
- *click3
- name:Heat-Producing Gloves
- desc:You bake cookies twice as fast!<q>"Hand-crafted with micro-heaters to make the cookies firm."</q>
- cost:35000 cookies
- req:cookies:earned>=100000
- *ingredient1
- name:Swift Buyer
- desc:You buy ingredients twice as fast.<q>"It's simply called a self check-out lane, people!"</q>
- cost:50 cookies
- req:ingredients:earned>=250
- Achievements
- //Cookies
- *cookie1
- name:Wake and Bake
- desc:Make your first cookie!
- icon:https://imgur.com/J9lPmZ5.png
- req:cookies:earned>=1
- *cookie2
- name:Making Some Dough
- desc:Bake 1,000 cookies!
- icon:https://imgur.com/qN9Wz15.png
- req:cookies:earned>=1000
- *cookie3
- name:So Baked Right Now
- desc:Bake 100,000 cookies!
- icon:https://imgur.com/qxFiDGU.png
- req:cookies:earned>=100000
- *cookie4
- name:Fledgling Bakery
- desc:Bake 1,000,000 cookies!
- icon:https://imgur.com/x4zuca8.png
- req:cookies:earned>=1000000
- //Cps
- *cps1
- name:Auto-Cookie
- desc:Make 1 cookie per second!
- icon:https://imgur.com/J9lPmZ5.png
- req:1 cookie per second
- *cps2
- name:Can't Handle it Already
- desc:Make 10 cookies per second!
- icon:https://imgur.com/qN9Wz15.png
- req:10 cookies per second
- *cps3
- name:No Milk?
- desc:Make 100 cookies per second!
- icon:https://imgur.com/qxFiDGU.png
- req:100 cookies per second
- *cps4
- name:Cookie Monster
- desc:Make 1,000 cookies per second!
- icon:https://imgur.com/x4zuca8.png
- req:1000 cookies per second
- //Dollars
- *money1
- name:Juicy Profits
- desc:Sell your first batch of cookies for profits!
- icon:https://imgur.com/eEWXAj3.png
- req:dollars:earned>=20.5
- *money2
- name:Cash! Now!
- desc:Make 100 dollars!
- icon:https://imgur.com/mlIDKI3.png
- req:dollars:earned>=100
- *money3
- name:Write Some Checks
- desc:Make 1,000 dollars!
- icon:https://imgur.com/04XtI2H.png
- req:dollars:earned>=1000
- *money4
- name:The Root of Some Evil
- desc:Make 100,000 dollars!
- icon:https://imgur.com/NNRdSVa.png
- req:dollars:earned>=100000
- *money5
- name:The Root of Most Evil
- desc:Make 1,000,000 dollars!
- icon:https://imgur.com/qATe15D.png
- req:dollars:earned>=1000000
- //Helping Hands
- *buddy
- name:Buddy
- desc:Hire a Helping Hand to make cookies for you, how wonderful.
- icon:https://imgur.com/lgeJ4lx.png
- req:1 helpings
- *friendCircle
- name:Friendship Circle
- desc:Hire 10 Helping Hands!
- icon:https://imgur.com/IDYZf3s.png
- req:10 helpings
- *popularity
- name:Popularity
- desc:Hire 50 Helping Hands!
- icon:https://imgur.com/YH1nxjM.png
- req:50 helpings
- //Shoppers
- *kaching
- name:Ka-Ching!
- desc:Hire a Shopper to get ingredients for you.
- icon:https://imgur.com/x8lpy89.png
- req:1 shoppers
- *priceTag
- name:No Price Tags Required
- desc:Hire 10 Shoppers!
- icon:https://imgur.com/dz4WYZJ.png
- req:10 shoppers
- *vualt
- name:Ingredient Vault
- desc:Hire 50 Shoppers!
- icon:https://imgur.com/T1jfxWO.png
- req:50 shoppers
- //Grandmas
- *helpElder
- name:Support the Elderly
- desc:Hire a Grandma to help you!
- icon:https://imgur.com/qzDbClh.png
- req:1 grandmas
- *retirement
- name:Retirement
- desc:Hire 10 Grandmas!
- icon:https://imgur.com/hDYR7W5.png
- req:10 grandmas
- *bedTime
- name:Bed Time Schedules
- desc:Hire 50 Grandmas!
- icon:https://imgur.com/FdTD1q8.png
- req:50 grandmas
- Shinies
- *chance
- name:Chance!
- on click:
- $cookieBoost=cookies
- if (chance(50%))
- yield $cookieBoost*0.25 cookies
- toast Lucky Chance! You gained 25% of your cookies!
- else
- if (chance(40%))
- $helpingLoss=helpings*0.005
- $actualLoss=dollars*$helpingLoss
- lose $actualLoss dollars
- toast Unlucky Chance! You lost 0.005% of your dollars per Helping Hand
- else
- $cookieLoss=cookies
- lose $cookieLoss*0.5 cookies
- toast Unlucky Chance! You lost 50% of your cookies
- end
- end
- duration:15
- movement:anywhere wiggle growShrink
- frequency:90
- frequency variation:60
- end
- CSS
- #game
- {
- background:#258fb1;
- font-size:15px;
- font-family:"Gill Sans",sans-serif,serif;
- color:black;
- }
- .thing
- {
- border-radius:5px;
- background:rgba(196,61,23,0.75);
- }
- #game.filtersOn .thing.building.notOwned
- {
- filter:blur(1px);
- }
- .thing-icon,.particle
- {
- width:32px;
- height:32px;
- }
- #box-main
- {
- left:0px;
- top:0px;
- bottom:0px;
- overflow:hidden;
- width:60%;
- position:absolute;
- border:2px ridge black;
- }
- #box-header
- {
- left:0px;
- top:0px;
- width:100%;
- height:5%;
- }
- #box-button1
- {
- top:25%;
- right:0px;
- bottom:0px;
- left:0px;
- position:absolute;
- }
- #box-button2
- {
- top:30%;
- left:0px;
- bottom:0px;
- right:0px;
- position:absolute;
- }
- #box-button3
- {
- top:35%;
- right:0px;
- bottom:0px;
- left:0px;
- position:absolute;
- }
- #box-button4
- {
- top:40%;
- right:0px;
- bottom:0px;
- left:0px;
- position:absolute;
- }
- #box-resources.fullWidth
- {
- width:100%;
- top:10%;
- height:4%;
- min-height:32px;
- z-index:100;
- position:absolute;
- text-align:center;
- }
- #box-buildings,#box-upgrades,#box-achievs,#box-stats
- {
- top:0px;
- bottom:0px;
- width:50%;
- overflow-x:hidden;
- overflow-y:scroll;
- padding-bottom:48px;
- position:absolute;
- border:2px ridge black;
- }
- #box-upgrades,#box-achievs,#box-stats,#box-header
- {
- text-align:center;
- }
- #box-buildings
- {
- height:100%;
- right:50%;
- clear:both;
- }
- #box-achievs
- {
- height:25%;
- right:0%;
- }
- #box-upgrades
- {
- top:25%;
- right:0%;
- }
- #box-stats
- {
- right:100%;
- height:25%;
- top:75%;
- width:150%;
- z-index:0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement