Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Rat Clicker
- by:Gamers_Party
- desc:This is a simple idle game to showcase some of the basic functionalities of Idle Game Maker.<//>Make rats and shoot for the stars!
- created:25/7/2017
- updated:24/10/2017
- version:1
- Settings
- background:stuff/meadow.jpg
- building cost increase:115%
- building cost refund:50%
- spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
- stylesheet:stuff/bigBlue.css
- Layout
- use default
- Buttons
- *bunnyButton
- name:Make a rat
- desc:Click this little rat to get more rats!
- on click:anim icon wobble
- on click:yield 1 rat
- on click:if (have goldenTouch and chance(1%)) yield 1 goldenCarrot
- icon:https://www58.online-convert.com/dl/web7/download-file/ffb6a974-c8fd-4c7d-957c-692e3ffd0154/341853C1-B12F-43C6-AD0A-F52C9B344E14.jpg
- no text
- class:bigButton hasFlares
- icon class:shadowed
- tooltip origin:bottom
- tooltip class:red
- Resources
- *rat|rats
- name:Rat|Rats
- desc:These are your rats. You can sell them to purchase better rat things. Your goal is to have as many rats as possible! The big rat has to say something: SSSSSQUUUUEEEEAAAAKKKKKK! SSSQQQQQUUUEEEEAAAAAKKKK! SSSSSQUUUUEEEEAAAAKKKKKK! SSSQQQQQUUUEEEEAAAAAKKKK! Translation to English: Oh, and Gamers_Party has had pet rats. Four have died and now he has three rats left.
- icon:
- class:noBackground
- show earned
- *goldenCarrot|goldenCarrots
- name:Golden carrot|Golden carrots
- desc:These shiny carrots are terribly rare, terribly precious and terribly delicious!
- icon:icons[0,1]
- class:noBackground
- hidden when 0
- Shinies
- *ratGod
- on click:log Woop
- movement:onRight moveLeft fade bounce:0.05
- frequency:60
- frequency variation:30
- icon:https://www58.online-convert.com/dl/web7/download-file/ffb6a974-c8fd-4c7d-957c-692e3ffd0154/341853C1-B12F-43C6-AD0A-F52C9B344E14.jpg
- class:bigButton
- on click:
- $boost=1
- if (have clover) $boost=4
- if (chance(25%))
- //get at least 7, or between 1 and 3 minutes of our rat production
- $amount=max(7,random(rats:ps*60*1,rats:ps*60*3))*$boost
- toast The rat god grants you<//><b>[$amount] rats</b>.
- yield $amount rats
- else
- $amount=1*$boost
- toast The rat god grants you<//><b>[$amount] golden carrot[s?$amount]</b>!
- yield $amount goldenCarrot
- end
- end
- *ratGodess
- on click:log Woop
- movement:onLeft moveRight fade bounce:0.05
- frequency:120
- frequency variation:30
- icon:https://www58.online-convert.com/dl/web7/download-file/ffb6a974-c8fd-4c7d-957c-692e3ffd0154/341853C1-B12F-43C6-AD0A-F52C9B344E14.jpg
- class:bigButton
- on click:
- $boost=1
- if (have clover) $boost=16
- if (chance(25%))
- //get at least 7, or between 1 and 3 minutes of our rat production
- $amount=max(7,random(rats:ps*60*1,rats:ps*60*3))*$boost
- toast The rat godess grants you<//><b>[$amount] rats</b>.
- yield $amount rats
- else
- if (have clover)
- $amount=20*$boost
- toast The rat godess grants you<//><b>[$amount] golden carrot[s?$amount]</b>!
- yield $amount goldenCarrot
- else
- $amount=1*$boost
- toast The rat godess grants you<//><b>[$amount] golden carrot[s?$amount]</b>!
- yield $amount goldenCarrot
- end
- end
- end
- Buildings
- *TEMPLATE
- on click:anim glow
- *cage|cages
- name:Rat cage|Rat cages
- desc:A tiny little cage.<//><b>Effect:</b><.>Produces 1 rat every 10 seconds.
- icon:icons[3,0]
- cost:15 rat
- on tick:yield 0.1 rats
- unlocked
- *hutch|hutches
- name:Rat hutch|Rat hutches
- desc:A bit roomier than a cage, with enough space to run around.<//><b>Effect:</b><.>Produces 1 rat every 2 seconds.
- icon:icons[3,1]
- cost:100 rats
- on tick:yield 0.5 rats
- req:100 rats:earned
- *coop|coops
- name:Rat coop|Rat coops
- desc:A much nicer rat home where full rat families can live.<//><b>Effect:</b><.>Produces 5 rat per second.
- icon:icons[3,2]
- cost:600 rats
- on tick:yield 5 rats
- req:600 rats:earned
- *pen|pens
- name:Rat pen|Rat pens
- desc:A lovely enclosure with plenty of dark spaces to sleep in.<//><b>Effect:</b><.>Produces 12 rats per second.
- icon:icons[3,3]
- cost:4000 rats
- on tick:yield 12 rats
- req:4000 rats:earned
- *meadow|meadows
- name:Rat meadow|Rat meadows
- desc:A wide open space full of shade and yummy food.<//><b>Effect:</b><.>Produces 90 rats per second.
- icon:icons[3,4]
- cost:20000 rats
- on tick:yield 90 rats
- req:20000 rats:earned
- *village|villages
- name:Rat village|Rat villages
- desc:Your rats are building their own villages now!<//><b>Effect:</b><.>Produces 300 rats per second.
- icon:icons[3,5]
- cost:200000 rats, 1 goldenCarrot
- on tick:yield 300 rats
- req:200000 rats:earned and independenceDay
- *city|cities
- name:Rat city|Rat cities
- desc:A bustling little city, populated with busy rats.<//><b>Effect:</b><.>Produces 1000 rats per second.
- icon:icons[3,6]
- cost:3000000 rats, 4 goldenCarrots
- on tick:yield 1000 rats
- req:3000000 rats:earned and independenceDay
- *citadel|citadels
- name:Moon citadel|Moon citadels
- desc:An ornate palace standing on the moon, ruled by rat kings and queens and staffed with royal rat guards.<//><b>Effect:</b><.>Produces 4000 rats per second.
- icon:icons[3,7]
- cost:70000000 rats, 16 goldenCarrots
- on tick:yield 4000 rats
- on tick:if (have moonGardens) yield 0.01 goldenCarrot
- req:70000000 rats:earned and independenceDay
- *fortress
- name:Freedom fortress
- text:Freedom fortress ([this]%)
- desc:A huge rat castle. A monument to the adventurous spirit of ratkind, which will take time and effort to complete.<//><b>The fortress is [this]% complete.</b>
- icon:icons[3,8]
- cost:300000000 rats, 100 goldenCarrots
- req:70000000 rats:earned and independenceDay
- limit:100
- cost increase:105%
- Upgrades
- *TEMPLATE
- on click:anim glow
- //food upgrades
- *parsley
- name:Grapes
- desc:Little round balls that are fun to eat and fun to play with!<//><b>Effect:</b><.>+1 rat/click
- icon:icons[1,1]
- cost:100 rats
- passive:increase rat yield of bunnyButton by 1
- req:10 rats:earned
- *spinach
- name:Bananas
- desc:Round yellow foods that are nice in summer.<//><b>Effect:</b><.>+1 rat/click
- icon:icons[1,2]
- cost:200 rats
- passive:increase rat yield of bunnyButton by 1
- req:50 rats:earned
- *lettuce
- name:Lettuce
- desc:Frilly greens loved by all rats.<//><b>Effect:</b><.>+1 rat/click
- icon:icons[1,3]
- cost:400 rats
- passive:increase rat yield of bunnyButton by 1
- req:200 rats:earned
- *broccoli
- name:Yogurt
- desc:White liquid that is cold and perfect in summer.<//><b>Effect:</b><.>bunnies/click x2<.>rat production +5%
- icon:icons[1,4]
- cost:3000 rats
- passive:multiply rat yield of bunnyButton by 2
- passive:multiply yield of rats by 1.05
- req:1000 rats:earned
- *apple
- name:Apple
- desc:Nice pieces of juicy red apples.<//><b>Effect:</b><.>rats/click x1.5<.>rat production +5%
- icon:icons[1,5]
- cost:10000 rats
- passive:multiply rat yield of bunnyButton by 1.5
- passive:multiply yield of rats by 1.05
- req:1000 rats:earned
- *radish
- name:Broccoli
- desc:Crunchy greens that look like little trees. Aaaaahhhh! Giant rats.<//><b>Effect:</b><.>rats/click x1.5<.>rat production +5%
- icon:icons[1,6]
- cost:50000 rats
- passive:multiply rat yield of bunnyButton by 1.5
- passive:multiply yield of rats by 1.05
- req:10000 rats:earned
- *mint
- name:Peas
- desc:Round green balls that are fun to share.<//><b>Effect:</b><.>rats/click x1.5<.>rat production +5%
- icon:icons[1,7]
- cost:100000 rats
- passive:multiply rat yield of bunnyButton by 1.5
- passive:multiply yield of rats by 1.05
- req:50000 rats:earned
- *chard
- name:Parsley
- desc:Good for a rat. And also tasty.<//><b>Effect:</b><.>rats/click x1.5<.>rat production +5%
- icon:icons[1,8]
- cost:500000 rats
- passive:multiply rat yield of bunnyButton by 1.5
- passive:multiply yield of rats by 1.05
- req:100000 rats:earned
- *cherry
- name:Cherries
- desc:Your rats look like vampires when they eat some!<//><b>Effect:</b><.>rats/click x1.5<.>rat production +5%
- icon:icons[1,9]
- cost:1000000 rats
- passive:multiply rat yield of bunnyButton by 1.5
- passive:multiply yield of rats by 1.05
- req:500000 rats:earned
- *carrot
- name:Chicken bones
- desc:Round greens that you can eat.<//><b>Effect:</b><.>rats/click x2<.>rat production +10%
- icon:icons[1,0]
- cost:100000000 rats
- passive:multiply rat yield of bunnyButton by 2
- passive:multiply yield of rats by 1.1
- req:1000000 rats:earned
- //building upgrades
- *buildingUpgrade1
- name:Sippy bottles
- desc:Your rats can drink their fill!<//><b>Effect:</b><.>cage production x2<.>hutch production x2<.>coop production x2
- icon:icons[2,0] icons[3,0]
- cost:1000 rats
- passive:multiply yield of cage by 2
- passive:multiply yield of hutch by 2
- passive:multiply yield of coop by 2
- req:(cages>=10 or hutches>=10 or coops>=10)
- *buildingUpgrade2
- name:Prime grade hey
- desc:Not just for horses anymore!<//><b>Effect:</b><.>cage production x2<.>hutch production x2<.>coop production x2
- icon:icons[2,0] icons[3,1]
- cost:100000 rats
- passive:multiply yield of cage by 2
- passive:multiply yield of hutch by 2
- passive:multiply yield of coop by 2
- req:(cages>=50 or hutches>=50 or coops>=50)
- *buildingUpgrade3
- name:Shredded newspapers
- desc:You'd think they just rip these up, but really they enjoy reading the Sunday comics.<//><b>Effect:</b><.>cage production x2<.>hutch production x2<.>coop production x2
- icon:icons[2,0] icons[3,2]
- cost:5000000 rats
- passive:multiply yield of cage by 2
- passive:multiply yield of hutch by 2
- passive:multiply yield of coop by 2
- req:(cages>=100 or hutches>=100 or coops>=100)
- *buildingUpgrade4
- name:Pretty fences
- desc:Just the right size so your rats can peek through but not jump over!<//><b>Effect:</b><.>pen production x2<.>meadow production x2
- icon:icons[2,0] icons[3,3]
- cost:50000 rats
- passive:multiply yield of pen by 2
- passive:multiply yield of meadow by 2
- req:(pens>=10 or meadows>=10)
- *buildingUpgrade5
- name:Rat playground
- desc:If your rats are outside, they might as well get some exercise!<//><b>Effect:</b><.>pen production x2<.>meadow production x2
- icon:icons[2,0] icons[3,4]
- cost:5000000 rats
- passive:multiply yield of pen by 2
- passive:multiply yield of meadow by 2
- req:(pens>=50 or meadows>=50)
- *buildingUpgrade6
- name:Rat TVs
- desc:Televisions that broadcast rat cartoons, rat sitcoms, and rat news bulletins.<//><b>Effect:</b><.>village production x2<.>city production x2
- icon:icons[2,0] icons[3,5]
- cost:1000000 rats
- passive:multiply yield of village by 2
- passive:multiply yield of city by 2
- req:(villages>=10 or cities>=10)
- *buildingUpgrade7
- name:Wee little rat cars
- desc:Your rats drive around in these. How cute!<//><b>Effect:</b><.>village production x2<.>city production x2
- icon:icons[2,0] icons[3,6]
- cost:500000000 rats
- passive:multiply yield of village by 2
- passive:multiply yield of city by 2
- req:(villages>=50 or cities>=50)
- *buildingUpgrade8
- name:Soothing moon crystals
- desc:Just really nice to be around.<//><b>Effect:</b><.>moon citadel production x2
- icon:icons[2,0] icons[3,7]
- cost:1000000000 rats
- passive:multiply yield of citadel by 2
- req:10 citadels
- //golden carrot upgrades
- *goldenTouch
- name:Golden touch
- desc:The delicate art of finding treats.<//><b>Effect:</b><.>1% chance of gaining 1 golden carrot per rat click
- icon:icons[2,5]
- cost:1 goldenCarrot
- req:1 goldenCarrot:earned
- *rabbitHaste
- name:Rat's haste
- desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>rat gods appear 30% more often
- icon:icons[2,6]
- passive:multiply frequency of ratGod by 0.7
- cost:5 goldenCarrots
- req:1 goldenCarrot:earned
- *rabbitHastes
- name:Rat's haste
- desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>rat god appear 30% more often
- icon:icons[2,6]
- passive:multiply frequency of ratGod by 1
- cost:5 goldenCarrots
- req:1 goldenCarrot:earned
- *rabbitHastess
- name:Rat's haste again
- desc:I'm late! I'm late! For a very important date again<//><b>Effect:</b><.>rat godesses appear 30% more often
- icon:icons[2,6]
- passive:multiply frequency of ratGodess by 0.7
- cost:5 goldenCarrots
- req:1 goldenCarrot:earned
- *rabbitHastesses
- name:Rat's haste again
- desc:I'm late! I'm late! For a very important date again<//><b>Effect:</b><.>rat godesses appear 30% more often
- icon:icons[2,6]
- passive:multiply frequency of ratGodess by 1
- cost:5 goldenCarrots
- req:1 goldenCarrot:earned
- *independenceDay
- name:Independence day
- desc:Your rats are making their first step towards declaring their independence from the oppressive shackles of pens and cages.<//><b>Effect:</b><.>unlocks new buildings
- icon:icons[2,7]
- cost:10 goldenCarrots
- req:5 goldenCarrots:earned
- *clover
- name:Clover
- desc:A delicious treat that tastes lucky.<//><b>Effect:</b><.>rat god effects are 4 times more powerful
- icon:icons[2,8]
- cost:100 goldenCarrots
- req:50 goldenCarrots:earned
- *moonGardens
- name:Moon gardens
- desc:The royal botanists in your moon citadels have found new ways of cultivating plants in reduced gravity!<//><b>Effect:</b><.>moon citadels now produce 1 golden carrot every 100 seconds
- icon:icons[2,9]
- cost:100 goldenCarrots
- req:50 goldenCarrots:earned
- Achievements
- *TEMPLATE
- on click:anim glow
- *bunnyAchiev1
- name:Run rat run
- desc:Have <b>1</b> rat.
- req:1 rat
- icon:icons[2,4] icons[0,2] icons[0,6]
- *bunnyAchiev2
- name:Funniest home videos
- desc:Have <b>1000</b> rats.
- req:1000 rats
- icon:icons[2,4] icons[0,3] icons[0,6]
- *bunnyAchiev3
- name:You got buns, hun
- desc:Have <b>1000000</b> rats.
- req:10000000 rats
- icon:icons[2,4] icons[0,4] icons[0,6]
- *clickAchiev1
- name:That tickles!
- desc:Click the rat <b>10</b> times.
- req:10 bunnyButton clicks
- icon:icons[2,2] icons[0,2] icons[0,6]
- *clickAchiev2
- name:Don't squeeze me I'll poo and wee on you
- desc:Click the rat <b>100</b> times.
- req:100 bunnyButton clicks
- icon:icons[2,2] icons[0,3] icons[0,6]
- *clickAchiev3
- name:You're cruising for a bruising, dude
- desc:Click the rat <b>2000</b> times.
- req:2000 bunnyButton clicks
- icon:icons[2,2] icons[0,4] icons[0,6]
- *bunnyPsAchiev1
- name:Be vewy vewy quiet
- desc:Produce <b>10</b> rats per second.
- req:10 rats per second
- icon:icons[2,3] icons[0,2] icons[0,6]
- *bunnyPsAchiev2
- name:Hop and a skip
- desc:Produce <b>1000</b> rats per second.
- req:1000 rats per second
- icon:icons[2,3] icons[0,3] icons[0,6]
- *bunnyPsAchiev3
- name:Go forth and multiply
- desc:Produce <b>100000</b> rats per second.
- req:100000 rats per second
- icon:icons[2,3] icons[0,4] icons[0,6]
- *carrotAchiev1
- name:Isn't it neat
- desc:Have <b>1</b> golden carrot.
- req:1 goldenCarrot
- icon:icons[0,1] icons[0,2]
- *carrotAchiev2
- name:All that glitters
- desc:Have <b>100</b> golden carrots.
- req:100 goldenCarrot
- icon:icons[0,1] icons[0,3]
- *carrotAchiev3
- name:Zero nutritional value
- desc:Have <b>1000</b> golden carrots.
- req:1000 goldenCarrot
- icon:icons[0,1] icons[0,4]
- *fortressAchiev
- name:And the #1 pet award of all time goes to...
- desc:Complete building the <b>Freedom fortress</b>.<//>This is it. You beat the game!
- req:100 fortress
- icon:icons[3,8] icons[0,4]
Add Comment
Please, Sign In to add comment