Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Quick info!:
- >This game uses Idle Game Maker, a sort of game engine made by Orteil.<
- >Orteil holds proper rights to Idle Game Maker, and Cookie Clicker<
- >This is a recreation of Cookie Clicker, so Orteil holds rights to all ideas. Though, I, Simanalix did make the code for this (but not for the original Cookie Clicker)<
- >Have fun, and please play the game!<
- Game ID:
- wcNMBLVW
- Game link:
- http://orteil.dashnet.org/igm/?g=wcNMBLVW
- Pastebin link:
- https://pastebin.com/wcNMBLVW
- */
- /* Side note here on a good description style:
- Basic statement<q>Flavor text</q>
- Important numbers and words are done <b>IN BOLD</b>.
- */
- Let's make a game!
- name:Cookie Clicker
- by:Orteil
- version:1
- desc:<b>NOTE: This is actually a recreation of Cookie Clicker in IGM</b></>Recreated by Simanalix343.<//>Cookie Clicker is a javascript game by Orteil<#3af>()</#> and Opti<#3af>()</#>.</>We have an official Discord<#3af>()</#>;if you're looking for help, you may also want to visit the subreddit<#3af></#> or the wiki<#3af>()</#>.</>News and teasers are usually posted on my tumblr<#3af>()</#> and twitter<#3af>()</#>.
- Settings
- stylesheet:stuff/bigBlue.css
- cost increase:100%
- cost refund:50%
- CSS
- //this will be a **pain** to do.
- Layout
- *main
- contains:res, tag:moneyButton
- *res
- contains:tag:mainResource
- class:fullWidth
- *buttons
- contains:Buttons
- *store
- contains:buildings, upgrades
- *buildings
- contains:tag:buildingButton
- header:Buildings
- tooltip origin:left
- *upgrades
- contains:Upgrades
- header:Upgrades
- costs:hide
- names:hide
- Resources
- *TEMPLATE
- always hidden
- no text
- *CostReduction
- start with:1
- *CPC
- start with:1
- *CookiesClicked
- *CursorCPS
- start with:0.1
- *CursorCost
- start with:15
- *CookiesbyCursor
- *unlockCursor
- *buildingCount
- *upgradeCount
- *achievementCount
- *TEMPLATE
- *Cookie|Cookies|cookie|cookies
- tag:mainResource
- name:Cookie|Cookies
- no tooltip
- icon:
- *TEMPLATE
- tag:Prestigious
- *HeavenlyChip|HeavenlyChips
- *Prestige
- Buttons
- *BigCookie
- icon:
- on click:
- yield CPC Cookies
- yield CPC CookiesClicked
- end
- class:bigButton hasFlares
- //tags:moneyButton
- *TEMPLATE
- tag:buildingButton
- on click:
- anim glow
- end
- *Cursor
- tag:clickitty
- text:Cursor <#[?Cookies>=CursorCost|190|b01]>[CursorCost]</#> Cookies
- name:Cursor|Cursors
- desc:(owned:[CursorCount])<//>Autoclicks once every 10 seconds.<//><.>Each cursor produces [CursorCPS] cookies per second<.>[CursorCount] cursors producing [CursorCPS*CursorCount] cookies per second ([CursorCPS*CursorCount/Cookies:ps*100]% of total CpS)<.>[CookiesbyCursor] cookies clicked so far.
- on click:
- if (cookies>=CursorCost)
- yield 1 CursorCount
- lose CursorCost Cookies
- yield CursorCost*0.15 CursorCost
- end
- end
- Buildings
- *TEMPLATE
- on earn:yield 1/this buildingCount
- always hidden
- *CursorCount
- tags:clicker
- on tick:
- yield CursorCPS Cookies
- yield CursorCPS CookiesbyCursor
- end
- Upgrades
- *TEMPLATE
- always hidden
- start with
- *DefaultStats
- *TEMPLATE
- on click:anim glow
- on earn:yield upgradeCount
- *U1|CursorU1
- name:Reinforced index finger
- desc:The mouse and Cursor are <b>twice</b> as efficient.<q>prod prod</q>
- req:1 Cookie
- cost:10 Cookies
- on earn:yield CursorCPS CursorCPS
- icon:
- Achievements
- *A1
- name:Wake and bake
- desc:Bake <b>1</b> cookie in one ascension.<q></q>
- req:(Cookies:earned)>=1
- icon:
- Shinies
- *GoldenCookie
- icon:
- on click:
- $Dumnum1=Cookies*0.15
- $Dumnum2=Cookies:ps*1200
- $Dumnum3=min($Dumnum1,$Dumnum2)
- $Dumnum1=min(7,$Dumnum3)
- yield $Dumnum Cookies
- end
- frequency:300
- frequency variation:600
- movement:growShrink fade wiggle anywhere
- class:hasFlares
Add Comment
Please, Sign In to add comment