Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Pencil Clicker
- by:Me
- desc:This is a simple idle game to showcase some of the basic functionalities of Idle Game Maker.<//>Make Pencils 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:100%
- spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
- stylesheet:stuff/bigBlue.css
- Layout
- use default
- Buttons
- *bunnyButton
- name:Make a pencil
- desc:Click this little pencil to get more pencils!
- on click:anim icon wobble
- on click:yield 1 pencil
- on click:if (have rainbowTouch and chance(1%)) yield 1 colorPencil
- icon:stuff/bunny.png
- no text
- class:bigButton hasFlares
- icon class:shadowed
- tooltip origin:bottom
- tooltip class:red
- Resources
- *pencil|pencils
- name:Pencil|Pencils
- desc:These are your Pencils. You can use them to purchase things. Your goal is to have as many pencils as possible!
- icon:icons[0,0]
- class:noBackground
- show earned
- *colorPencil|colorPencils
- name:Color Pencil|Color pencils
- desc:These color pencils are terribly rare, terribly precious and terribly colorful!
- icon:icons[0,1]
- class:noBackground
- hidden when 0
- Shinies
- *luckyPencil
- on click:log Woop
- movement:onRight moveLeft fade bounce:0.05
- frequency:60
- frequency variation:30
- icon:stuff/luckyBunny.png
- class:bigButton
- on click:
- $boost=1
- if (chance(25%))
- //get at least 7, or between 1 and 3 minutes of our bunny production
- $amount=max(7,random(pencils:ps*60*1,pencils:ps*60*3))*$boost
- toast The lucky pencil grants you<//><b>[$amount] pencils</b>.
- yield $amount pencils
- else
- $amount=1*$boost
- toast The lucky pencil grants you<//><b>[$amount] color pencil[s?$amount]</b>!
- yield $amount colorPencil
- end
- end
- Buildings
- *TEMPLATE
- on click:anim glow
- *cage|cages
- name:Pencil cursor|Pencil cursors
- desc:A tiny little pencil.<//><b>Effect:</b><.>Produces 1 pencil every 10 seconds.
- icon:icons[3,0]
- cost:15 pencils
- on tick:yield 0.1 pencil
- unlocked
- *hutch|hutches
- name:Old man|Old men
- desc:Old and tired, but not too tired to make pencils.<//><b>Effect:</b><.>Produces 1 pencil every 2 seconds.
- icon:icons[3,1]
- cost:100 pencils
- on tick:yield 0.5 pencils
- req:100 pencils:earned
- *coop|coops
- name:Lead tree|Lead trees
- desc:Produces lead and wood.<//><b>Effect:</b><.>Produces 5 pencils per second.
- icon:icons[3,2]
- cost:600 pencils
- on tick:yield 5 pencils
- req:600 pencils:earned
- *pen|pens
- name:Pencil factory|Pencil factories
- desc:A dark facility devoted to making pencils.<//><b>Effect:</b><.>Produces 12 pencils per second.
- icon:icons[3,3]
- cost:4000 pencils
- on tick:yield 12 pencils
- req:4000 pencils:earned
- *meadow|meadows
- name:Pencil shrine|Pencil shrines
- desc:Requires blood, but I think it’s worth it.<//><b>Effect:</b><.>Produces 90 pencils per second.
- icon:icons[3,4]
- cost:20000 pencils
- on tick:yield 90 pencils
- req:20000 pencils:earned
- *village|villages
- name:Magic marker|Magic markers
- desc:Uses ancient magic to make pencils.<//><b>Effect:</b><.>Produces 300 pencils per second.
- icon:icons[3,5]
- cost:200000 pencils, 1 colorPencil
- on tick:yield 300 pencils
- req:200000 pencils:earned and independenceDay
- *city|cities
- name:Black magic marker|Black magic markers
- desc:Uses forbidden dark magic to produce many many pencils.<//><b>Effect:</b><.>Produces 1000 pencils per second.
- icon:icons[3,6]
- cost:3000000 pencils, 4 colorPencil
- on tick:yield 1000 pencils
- req:3000000 pencils:earned and independenceDay
- *citadel|citadels
- name:Pencil planet|Pencil planets
- desc:An entire planet devoted to furthering your pencil empire. However, show them no gratitude.<//><b>Effect:</b><.>Produces 4000 rabbits per second.
- icon:icons[3,7]
- cost:70000000 pencils, 16 colorPencils
- on tick:yield 4000 pencils
- on tick:if (have rainbowFactories) yield 0.01 colorPencil
- req:70000000 pencils:earned and independenceDay
- *enchantmenttower
- name:Enchantment tower
- text:Enchantment tower ([this]%)
- desc:A tower to enchant the pencils and make them sentient. This may get out of hand. You have been warned.<//><b>The tower is [this]% complete.</b>
- icon:icons[3,8]
- cost:300000000 pencils, 100 colorPencils
- req:70000000 pencils:earned and independenceDay
- limit:100
- cost increase:105%
- Upgrades
- *TEMPLATE
- on click:anim glow
- //food upgrades
- //inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
- *parsley
- name:Eraser
- desc:Just incase you change your mind.<//><b>Effect:</b><.>+1 pencil/click
- icon:icons[1,1]
- cost:100 pencils
- passive:increase pencil yield of bunnyButton by 1
- req:10 pencils:earned
- *spinach
- name:Eraserholder
- desc:Who said it would stay on the pencil by itself?.<//><b>Effect:</b><.>+1 pencil/click
- icon:icons[1,2]
- cost:200 pencils
- passive:increase pencil yield of bunnyButton by 1
- req:50 pencils:earned
- *lettuce
- name:Dullknife
- desc:Has sharpened a few too many pencils.<//><b>Effect:</b><.>+1 pencil/click
- icon:icons[1,3]
- cost:400 pencils
- passive:increase pencil yield of bunnyButton by 1
- req:200 pencils:earned
- *broccoli
- name:Sharpknife
- desc:Use with care.<//><b>Effect:</b><.>pencil/click x2<.>pencil production +5%
- icon:icons[1,4]
- cost:3000 pencils
- passive:multiply pencil yield of bunnyButton by 2
- passive:multiply yield of pencils by 1.05
- req:1000 pencils:earned
- *apple
- name:Sharpener
- desc:Definitely not for your pinky finger.<//><b>Effect:</b><.>pencils/click x1.5<.>pencil production +5%
- icon:icons[1,5]
- cost:10000 pencils
- passive:multiply pencil yield of bunnyButton by 1.5
- passive:multiply yield of pencils by 1.05
- req:1000 pencils:earned
- *radish
- name:Yellowpaint
- desc:Exciting.<//><b>Effect:</b><.>pencils/click x1.5<.>pencil production +5%
- icon:icons[1,6]
- cost:50000 pencils
- passive:multiply pencil yield of bunnyButton by 1.5
- passive:multiply yield of pencils by 1.05
- req:10000 pencils:earned
- *mint
- name:Orangepaint
- desc:Very exciting.<//><b>Effect:</b><.>pencils/click x1.5<.>pencil production +5%
- icon:icons[1,7]
- cost:100000 pencils
- passive:multiply pencil yield of bunnyButton by 1.5
- passive:multiply yield of pencils by 1.05
- req:50000 pencils:earned
- *chard
- name:Bluepaint
- desc:Yes, very very exciting.<//><b>Effect:</b><.>pencils/click x1.5<.>pencil production +5%
- icon:icons[1,8]
- cost:500000 pencils
- passive:multiply pencil yield of bunnyButton by 1.5
- passive:multiply yield of pencils by 1.05
- req:100000 pencils:earned
- *cherry
- name:Blackpaint
- desc:Yes, very exciting in a dark way.<//><b>Effect:</b><.>pencils/click x1.5<.>pencil production +5%
- icon:icons[1,9]
- cost:1000000 pencils
- passive:multiply pencil yield of bunnyButton by 1.5
- passive:multiply yield of pencils by 1.05
- req:500000 pencils:earned
- *carrot
- name:Goldpaint
- desc:Yes, extremely exiting in many more ways than one, sir.<//><b>Effect:</b><.>pencils/click x2<.>pencil production +10%
- icon:icons[1,0]
- cost:100000000 pencils
- passive:multiply pencil yield of bunnyButton by 2
- passive:multiply yield of pencils by 1.1
- req:1000000 pencils:earned
- //building upgrades
- *buildingUpgrade1
- name:Sippy bottles
- desc:Your bunnies can drink their fill!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
- icon:icons[2,0] icons[3,0]
- cost:1000 bunnies
- 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 hay
- desc:Not just for horses anymore!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
- icon:icons[2,0] icons[3,1]
- cost:100000 bunnies
- 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 poop on these, but they really enjoy reading the Sunday comics.<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
- icon:icons[2,0] icons[3,2]
- cost:5000000 bunnies
- 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 bunnies can peek through but not hop over!<//><b>Effect:</b><.>rabbit pen production x2<.>rabbit meadow production x2
- icon:icons[2,0] icons[3,3]
- cost:50000 bunnies
- passive:multiply yield of pen by 2
- passive:multiply yield of meadow by 2
- req:(pens>=10 or meadows>=10)
- *buildingUpgrade5
- name:Bunny playground
- desc:If your bunnies are outside, they might as well get some exercise!<//><b>Effect:</b><.>rabbit pen production x2<.>rabbit meadow production x2
- icon:icons[2,0] icons[3,4]
- cost:5000000 bunnies
- passive:multiply yield of pen by 2
- passive:multiply yield of meadow by 2
- req:(pens>=50 or meadows>=50)
- *buildingUpgrade6
- name:Bunny TVs
- desc:Televisions that broadcast bunny cartoons, bunny sitcoms, and bunny news bulletins.<//><b>Effect:</b><.>rabbit village production x2<.>rabbit city production x2
- icon:icons[2,0] icons[3,5]
- cost:1000000 bunnies
- passive:multiply yield of village by 2
- passive:multiply yield of city by 2
- req:(villages>=10 or cities>=10)
- *buildingUpgrade7
- name:Wee little bunny cars
- desc:Your bunnies drive around in these. How nice!<//><b>Effect:</b><.>rabbit village production x2<.>rabbit city production x2
- icon:icons[2,0] icons[3,6]
- cost:500000000 bunnies
- 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 bunnies
- passive:multiply yield of citadel by 2
- req:10 citadels
- //golden carrot upgrades
- *rainbowTouch
- name:Rainbow touch
- desc:The heat produced by your hand is transformed into rainbows and shot onto pencils.<//><b>Effect:</b><.>1% chance of gaining 1 colorPencil per bunny click
- icon:icons[2,5]
- cost:1 colorPencil
- req:1 colorPencil:earned
- *rabbitHaste
- name:Pencil haste
- desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>colorPencils appear 30% more often
- icon:icons[2,6]
- passive:multiply frequency of colorPencil by 0.7
- cost:5 colorPencils
- req:1 colorPencils:earned
- *independenceDay
- name:Independence day
- desc:Your sentient pencils are gaining an army. Pray they don't turn against you.<//><b>Effect:</b><.>unlocks new buildings
- icon:icons[2,7]
- cost:10 colorPencils
- req:5 colorPencils:earned
- *rainbowFactories
- name:Rainbow Factories
- desc:Giant prisms allow a constant production of color pencils!<//><b>Effect:</b><.>moon citadels now produce 1 colorPencil every 100 seconds
- icon:icons[2,9]
- cost:100 colorPencils
- req:50 colorPencils:earned
- Achievements
- *TEMPLATE
- on click:anim glow
- *pencilAchiev1
- name:Your number 2 fan
- desc:Have <b>2</b> pencils.
- req:2 pencils
- icon:icons[2,4] icons[0,2] icons[0,6]
- *pencilAchiev2
- name:Good point.
- desc:Have <b>1000</b> pencils.
- req:1000 pencils
- icon:icons[2,4] icons[0,3] icons[0,6]
- *pencilAchiev3
- name:Lets call it a draw.
- desc:Have <b>1000000</b> pencils.
- req:10000000 pencils
- icon:icons[2,4] icons[0,4] icons[0,6]
- *clickAchiev1
- name:Dull puns
- desc:Click the pencil <b>10</b> times.
- req:10 bunnyButton clicks
- icon:icons[2,2] icons[0,2] icons[0,6]
- *clickAchiev2
- name:Putting pencil to paper
- desc:Click the pencil <b>100</b> times.
- req:100 bunnyButton clicks
- icon:icons[2,2] icons[0,3] icons[0,6]
- *clickAchiev3
- name:Did you realize this whole thing is pointless?
- desc:Click the pencil <b>2000</b> times.
- req:2000 bunnyButton clicks
- icon:icons[2,2] icons[0,4] icons[0,6]
- *pencilPsAchiev1
- name:Dot
- desc:Produce <b>10</b> pencils per second.
- req:10 pencils per second
- icon:icons[2,3] icons[0,2] icons[0,6]
- *pencilPsAchiev2
- name:Dot-Dot
- desc:Produce <b>1000</b> pencils per second.
- req:1000 pencils per second
- icon:icons[2,3] icons[0,3] icons[0,6]
- *pencilPsAchiev3
- name:Scribbles
- desc:Produce <b>100000</b> pencils per second.
- req:100000 pencils per second
- icon:icons[2,3] icons[0,4] icons[0,6]
- *cpAchiev1
- name:Isn't it neat
- desc:Have <b>1</b> colorPencil.
- req:1 colorPencil
- icon:icons[0,1] icons[0,2]
- *cpAchiev2
- name:Full rainbow
- desc:Have <b>100</b> colorPencils.
- req:100 colorPencils
- icon:icons[0,1] icons[0,3]
- *carrotAchiev3
- name:Realism
- desc:Have <b>1000</b> colorPencils.
- req:1000 colorPencils
- icon:icons[0,1] icons[0,4]
- *fortressAchiev
- name:Freedom!
- desc:Complete building the <b>enchantment tower</b>.<//>This is it. You beat the game!
- req:100 enchantmenttower
- icon:icons[3,8] icons[0,4]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement