SHARE
TWEET

Untitled

a guest Mar 21st, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Let's make a game!
  2.     name:Bunny Clicker    
  3.            by:Orteil
  4.     desc:The Jedi are fighting the Sith! Oh.. this is embarrassing. We’re out of     Lightsabers!
  5.            <//>Make cute bunnies and shoot for the stars!
  6.     created:21/3/2019
  7.     updated:21/3/2019
  8.     version:1
  9.  
  10. Settings
  11.     background:stuff/blue.jpg
  12.     building cost increase:115%
  13.     building cost refund:50%
  14.     spritesheet:icons, 48 by 48, stuff/lightsaber.png
  15.     stylesheet:stuff/bigBlue.css
  16.  
  17. Layout
  18.     use default
  19.        
  20. Buttons
  21.     *bunnyButton
  22.         name:Make a bunny
  23.         desc:Click this little bunny to get more bunnies!
  24.         on click:anim icon wobble
  25.         on click:yield 1 bunny
  26.         on click:if (have goldenTouch and chance(1%)) yield 1 goldenCarrot
  27.         icon:stuff/bunny.png
  28.         no text
  29.         class:bigButton hasFlares
  30.         icon class:shadowed
  31.         tooltip origin:bottom
  32.         tooltip class:red
  33.        
  34. Resources
  35.     *bunny|bunnies
  36.         name:Bunny|Bunnies
  37.         desc:These are your bunnies. You can use them to purchase things. Your goal is to have as many bunnies as possible!
  38.         icon:icons[0,0]
  39.         class:noBackground
  40.         show earned
  41.        
  42.     *goldenCarrot|goldenCarrots
  43.         name:Golden carrot|Golden carrots
  44.         desc:These shiny carrots are terribly rare, terribly precious and terribly delicious!
  45.         icon:icons[0,1]
  46.         class:noBackground
  47.         hidden when 0
  48.        
  49. Shinies
  50.     *luckyBunny
  51.         on click:log Woop
  52.         movement:onRight moveLeft fade bounce:0.05
  53.         frequency:60
  54.         frequency variation:30
  55.         icon:stuff/luckyBunny.png
  56.         class:bigButton
  57.         on click:
  58.             $boost=1
  59.             if (have clover) $boost=4
  60.             if (chance(25%))
  61.                 //get at least 7, or between 1 and 3 minutes of our bunny production
  62.                 $amount=max(7,random(bunnies:ps*60*1,bunnies:ps*60*3))*$boost
  63.                 toast The lucky bunny grants you<//><b>[$amount] bunnies</b>.
  64.                 yield $amount bunnies
  65.             else
  66.                 $amount=1*$boost
  67.                 toast The lucky bunny grants you<//><b>[$amount] golden carrot[s?$amount]</b>!
  68.                 yield $amount goldenCarrot
  69.             end
  70.         end
  71.  
  72. Buildings
  73.     *TEMPLATE
  74.         on click:anim glow
  75.        
  76.     *cage|cages
  77.         name:Rabbit cage|Rabbit cages
  78.         desc:A tiny little cage.<//><b>Effect:</b><.>Produces 1 rabbit every 10 seconds.
  79.         icon:icons[3,0]
  80.         cost:15 bunnies
  81.         on tick:yield 0.1 bunny
  82.         unlocked
  83.    
  84.     *hutch|hutches
  85.         name:Rabbit hutch|Rabbit hutches
  86.         desc:A bit roomier than a cage, with enough space to hop around.<//><b>Effect:</b><.>Produces 1 rabbit every 2 seconds.
  87.         icon:icons[3,1]
  88.         cost:100 bunnies
  89.         on tick:yield 0.5 bunnies
  90.         req:100 bunnies:earned
  91.    
  92.     *coop|coops
  93.         name:Rabbit coop|Rabbit coops
  94.         desc:A much nicer rabbit home where full bunny families can live.<//><b>Effect:</b><.>Produces 5 rabbits per second.
  95.         icon:icons[3,2]
  96.         cost:600 bunnies
  97.         on tick:yield 5 bunnies
  98.         req:600 bunnies:earned
  99.    
  100.     *pen|pens
  101.         name:Rabbit pen|Rabbit pens
  102.         desc:A lovely enclosure with plenty of green space.<//><b>Effect:</b><.>Produces 12 rabbits per second.
  103.         icon:icons[3,3]
  104.         cost:4000 bunnies
  105.         on tick:yield 12 bunnies
  106.         req:4000 bunnies:earned
  107.    
  108.     *meadow|meadows
  109.         name:Rabbit meadow|Rabbit meadows
  110.         desc:A wide open space full of shade and lush grass.<//><b>Effect:</b><.>Produces 90 rabbits per second.
  111.         icon:icons[3,4]
  112.         cost:20000 bunnies
  113.         on tick:yield 90 bunnies
  114.         req:20000 bunnies:earned
  115.    
  116.     *village|villages
  117.         name:Rabbit village|Rabbit villages
  118.         desc:Your bunnies are building their own villages now!<//><b>Effect:</b><.>Produces 300 rabbits per second.
  119.         icon:icons[3,5]
  120.         cost:200000 bunnies, 1 goldenCarrot
  121.         on tick:yield 300 bunnies
  122.         req:200000 bunnies:earned and independenceDay
  123.        
  124.     *city|cities
  125.         name:Rabbit city|Rabbit cities
  126.         desc:A bustling little city, populated with busy rabbits.<//><b>Effect:</b><.>Produces 1000 rabbits per second.
  127.         icon:icons[3,6]
  128.         cost:3000000 bunnies, 4 goldenCarrots
  129.         on tick:yield 1000 bunnies
  130.         req:3000000 bunnies:earned and independenceDay
  131.        
  132.     *citadel|citadels
  133.         name:Moon citadel|Moon citadels
  134.         desc:An ornate palace standing on the moon, ruled by bunny kings and queens and staffed with royal bunny guards.<//><b>Effect:</b><.>Produces 4000 rabbits per second.
  135.         icon:icons[3,7]
  136.         cost:70000000 bunnies, 16 goldenCarrots
  137.         on tick:yield 4000 bunnies
  138.         on tick:if (have moonGardens) yield 0.01 goldenCarrot
  139.         req:70000000 bunnies:earned and independenceDay
  140.        
  141.     *fortress
  142.         name:Freedom fortress
  143.         text:Freedom fortress ([this]%)
  144.         desc:A huge bunny castle. A monument to the adventurous spirit of bunnykind, which will take time and effort to complete.<//><b>The fortress is [this]% complete.</b>
  145.         icon:icons[3,8]
  146.         cost:300000000 bunnies, 100 goldenCarrots
  147.         req:70000000 bunnies:earned and independenceDay
  148.         limit:100
  149.         cost increase:105%
  150.        
  151. Upgrades
  152.     *TEMPLATE
  153.         on click:anim glow
  154.    
  155.     //food upgrades
  156.     //inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
  157.    
  158.     *parsley
  159.         name:Parsley
  160.         desc:A nice little supplement to your bunnies' diet.<//><b>Effect:</b><.>+1 bunny/click
  161.         icon:icons[1,1]
  162.         cost:100 bunnies
  163.         passive:increase bunny yield of bunnyButton by 1
  164.         req:10 bunnies:earned
  165.        
  166.     *spinach
  167.         name:Spinach
  168.         desc:Big tasty leaves, perfect for hungry bunnies.<//><b>Effect:</b><.>+1 bunny/click
  169.         icon:icons[1,2]
  170.         cost:200 bunnies
  171.         passive:increase bunny yield of bunnyButton by 1
  172.         req:50 bunnies:earned
  173.        
  174.     *lettuce
  175.         name:Lettuce
  176.         desc:Frilly greens loved by all bunnies.<//><b>Effect:</b><.>+1 bunny/click
  177.         icon:icons[1,3]
  178.         cost:400 bunnies
  179.         passive:increase bunny yield of bunnyButton by 1
  180.         req:200 bunnies:earned
  181.        
  182.     *broccoli
  183.         name:Broccoli
  184.         desc:Crunchy greens that look like little trees.<//><b>Effect:</b><.>bunnies/click x2<.>bunny production +5%
  185.         icon:icons[1,4]
  186.         cost:3000 bunnies
  187.         passive:multiply bunny yield of bunnyButton by 2
  188.         passive:multiply yield of bunnies by 1.05
  189.         req:1000 bunnies:earned
  190.        
  191.     *apple
  192.         name:Apple
  193.         desc:Nice pieces of juicy red apples.<//><b>Effect:</b><.>bunnies/click x1.5<.>bunny production +5%
  194.         icon:icons[1,5]
  195.         cost:10000 bunnies
  196.         passive:multiply bunny yield of bunnyButton by 1.5
  197.         passive:multiply yield of bunnies by 1.05
  198.         req:1000 bunnies:earned
  199.        
  200.     *radish
  201.         name:Radish
  202.         desc:Purple, crunchy, and strangely spicy.<//><b>Effect:</b><.>bunnies/click x1.5<.>bunny production +5%
  203.         icon:icons[1,6]
  204.         cost:50000 bunnies
  205.         passive:multiply bunny yield of bunnyButton by 1.5
  206.         passive:multiply yield of bunnies by 1.05
  207.         req:10000 bunnies:earned
  208.        
  209.     *mint
  210.         name:Mint
  211.         desc:Tasty, and gives your bunnies a lovely breath.<//><b>Effect:</b><.>bunnies/click x1.5<.>bunny production +5%
  212.         icon:icons[1,7]
  213.         cost:100000 bunnies
  214.         passive:multiply bunny yield of bunnyButton by 1.5
  215.         passive:multiply yield of bunnies by 1.05
  216.         req:50000 bunnies:earned
  217.        
  218.     *chard
  219.         name:Chard
  220.         desc:Broad leaves that make for a tasty salad.<//><b>Effect:</b><.>bunnies/click x1.5<.>bunny production +5%
  221.         icon:icons[1,8]
  222.         cost:500000 bunnies
  223.         passive:multiply bunny yield of bunnyButton by 1.5
  224.         passive:multiply yield of bunnies by 1.05
  225.         req:100000 bunnies:earned
  226.        
  227.     *cherry
  228.         name:Cherry
  229.         desc:Your bunnies look like little vampires when they start munching on these!<//><b>Effect:</b><.>bunnies/click x1.5<.>bunny production +5%
  230.         icon:icons[1,9]
  231.         cost:1000000 bunnies
  232.         passive:multiply bunny yield of bunnyButton by 1.5
  233.         passive:multiply yield of bunnies by 1.05
  234.         req:500000 bunnies:earned
  235.        
  236.     *carrot
  237.         name:Carrot
  238.         desc:The quintessential rabbit food! Crunchy, orange, and perfect.<//><b>Effect:</b><.>bunnies/click x2<.>bunny production +10%
  239.         icon:icons[1,0]
  240.         cost:100000000 bunnies
  241.         passive:multiply bunny yield of bunnyButton by 2
  242.         passive:multiply yield of bunnies by 1.1
  243.         req:1000000 bunnies:earned
  244.    
  245.     //building upgrades
  246.    
  247.     *buildingUpgrade1
  248.         name:Sippy bottles
  249.         desc:Your bunnies can drink their fill!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
  250.         icon:icons[2,0] icons[3,0]
  251.         cost:1000 bunnies
  252.         passive:multiply yield of cage by 2
  253.         passive:multiply yield of hutch by 2
  254.         passive:multiply yield of coop by 2
  255.         req:(cages>=10 or hutches>=10 or coops>=10)
  256.        
  257.     *buildingUpgrade2
  258.         name:Prime grade hay
  259.         desc:Not just for horses anymore!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
  260.         icon:icons[2,0] icons[3,1]
  261.         cost:100000 bunnies
  262.         passive:multiply yield of cage by 2
  263.         passive:multiply yield of hutch by 2
  264.         passive:multiply yield of coop by 2
  265.         req:(cages>=50 or hutches>=50 or coops>=50)
  266.        
  267.     *buildingUpgrade3
  268.         name:Shredded newspapers
  269.         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
  270.         icon:icons[2,0] icons[3,2]
  271.         cost:5000000 bunnies
  272.         passive:multiply yield of cage by 2
  273.         passive:multiply yield of hutch by 2
  274.         passive:multiply yield of coop by 2
  275.         req:(cages>=100 or hutches>=100 or coops>=100)
  276.        
  277.     *buildingUpgrade4
  278.         name:Pretty fences
  279.         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
  280.         icon:icons[2,0] icons[3,3]
  281.         cost:50000 bunnies
  282.         passive:multiply yield of pen by 2
  283.         passive:multiply yield of meadow by 2
  284.         req:(pens>=10 or meadows>=10)
  285.        
  286.     *buildingUpgrade5
  287.         name:Bunny playground
  288.         desc:If your bunnies are outside, they might as well get some exercise!<//><b>Effect:</b><.>rabbit pen production x2<.>rabbit meadow production x2
  289.         icon:icons[2,0] icons[3,4]
  290.         cost:5000000 bunnies
  291.         passive:multiply yield of pen by 2
  292.         passive:multiply yield of meadow by 2
  293.         req:(pens>=50 or meadows>=50)
  294.        
  295.     *buildingUpgrade6
  296.         name:Bunny TVs
  297.         desc:Televisions that broadcast bunny cartoons, bunny sitcoms, and bunny news bulletins.<//><b>Effect:</b><.>rabbit village production x2<.>rabbit city production x2
  298.         icon:icons[2,0] icons[3,5]
  299.         cost:1000000 bunnies
  300.         passive:multiply yield of village by 2
  301.         passive:multiply yield of city by 2
  302.         req:(villages>=10 or cities>=10)
  303.        
  304.     *buildingUpgrade7
  305.         name:Wee little bunny cars
  306.         desc:Your bunnies drive around in these. How nice!<//><b>Effect:</b><.>rabbit village production x2<.>rabbit city production x2
  307.         icon:icons[2,0] icons[3,6]
  308.         cost:500000000 bunnies
  309.         passive:multiply yield of village by 2
  310.         passive:multiply yield of city by 2
  311.         req:(villages>=50 or cities>=50)
  312.        
  313.     *buildingUpgrade8
  314.         name:Soothing moon crystals
  315.         desc:Just really nice to be around.<//><b>Effect:</b><.>moon citadel production x2
  316.         icon:icons[2,0] icons[3,7]
  317.         cost:1000000000 bunnies
  318.         passive:multiply yield of citadel by 2
  319.         req:10 citadels
  320.        
  321.     //golden carrot upgrades
  322.    
  323.     *goldenTouch
  324.         name:Golden touch
  325.         desc:The delicate art of finding vegetables made of precious metals.<//><b>Effect:</b><.>1% chance of gaining 1 golden carrot per bunny click
  326.         icon:icons[2,5]
  327.         cost:1 goldenCarrot
  328.         req:1 goldenCarrot:earned
  329.        
  330.     *rabbitHaste
  331.         name:Rabbit's haste
  332.         desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>lucky bunnies appear 30% more often
  333.         icon:icons[2,6]
  334.         passive:multiply frequency of luckyBunny by 0.7
  335.         cost:5 goldenCarrots
  336.         req:1 goldenCarrot:earned
  337.    
  338.     *independenceDay
  339.         name:Independence day
  340.         desc:Your bunnies are making their first step towards declaring their independence from the oppressive shackles of pens and cages.<//><b>Effect:</b><.>unlocks new buildings
  341.         icon:icons[2,7]
  342.         cost:10 goldenCarrots
  343.         req:5 goldenCarrots:earned
  344.        
  345.     *clover
  346.         name:Clover
  347.         desc:A delicious herb that tastes lucky.<//><b>Effect:</b><.>lucky bunny effects are 4 times more powerful
  348.         icon:icons[2,8]
  349.         cost:100 goldenCarrots
  350.         req:50 goldenCarrots:earned
  351.        
  352.     *moonGardens
  353.         name:Moon gardens
  354.         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
  355.         icon:icons[2,9]
  356.         cost:100 goldenCarrots
  357.         req:50 goldenCarrots:earned
  358.        
  359. Achievements
  360.     *TEMPLATE
  361.         on click:anim glow
  362.        
  363.     *bunnyAchiev1
  364.         name:Run rabbit run
  365.         desc:Have <b>1</b> bunny.
  366.         req:1 bunny
  367.         icon:icons[2,4] icons[0,2] icons[0,6]
  368.     *bunnyAchiev2
  369.         name:Bunniest home videos
  370.         desc:Have <b>1000</b> bunnies.
  371.         req:1000 bunnies
  372.         icon:icons[2,4] icons[0,3] icons[0,6]
  373.     *bunnyAchiev3
  374.         name:You got buns, hun
  375.         desc:Have <b>1000000</b> bunnies.
  376.         req:10000000 bunnies
  377.         icon:icons[2,4] icons[0,4] icons[0,6]
  378.        
  379.     *clickAchiev1
  380.         name:That tickles
  381.         desc:Click the bunny <b>10</b> times.
  382.         req:10 bunnyButton clicks
  383.         icon:icons[2,2] icons[0,2] icons[0,6]
  384.     *clickAchiev2
  385.         name:Don't squeeze me I'll fart
  386.         desc:Click the bunny <b>100</b> times.
  387.         req:100 bunnyButton clicks
  388.         icon:icons[2,2] icons[0,3] icons[0,6]
  389.     *clickAchiev3
  390.         name:You're cruising for a bruising, dude
  391.         desc:Click the bunny <b>2000</b> times.
  392.         req:2000 bunnyButton clicks
  393.         icon:icons[2,2] icons[0,4] icons[0,6]
  394.        
  395.     *bunnyPsAchiev1
  396.         name:Be vewy vewy quiet
  397.         desc:Produce <b>10</b> bunnies per second.
  398.         req:10 bunnies per second
  399.         icon:icons[2,3] icons[0,2] icons[0,6]
  400.     *bunnyPsAchiev2
  401.         name:Hop and a skip
  402.         desc:Produce <b>1000</b> bunnies per second.
  403.         req:1000 bunnies per second
  404.         icon:icons[2,3] icons[0,3] icons[0,6]
  405.     *bunnyPsAchiev3
  406.         name:Go forth and multiply
  407.         desc:Produce <b>100000</b> bunnies per second.
  408.         req:100000 bunnies per second
  409.         icon:icons[2,3] icons[0,4] icons[0,6]
  410.        
  411.     *carrotAchiev1
  412.         name:Isn't it neat
  413.         desc:Have <b>1</b> golden carrot.
  414.         req:1 goldenCarrot
  415.         icon:icons[0,1] icons[0,2]
  416.     *carrotAchiev2
  417.         name:All that glitters
  418.         desc:Have <b>100</b> golden carrots.
  419.         req:100 goldenCarrot
  420.         icon:icons[0,1] icons[0,3]
  421.     *carrotAchiev3
  422.         name:Zero nutritional value
  423.         desc:Have <b>1000</b> golden carrots.
  424.         req:1000 goldenCarrot
  425.         icon:icons[0,1] icons[0,4]
  426.    
  427.     *fortressAchiev
  428.         name:Freedom!
  429.         desc:Complete building the <b>freedom fortress</b>.<//>This is it. You beat the game!
  430.         req:100 fortress
  431.         icon:icons[3,8] icons[0,4]
  432.        
  433. CSS
  434.   .thing
  435.   {
  436.     text-shadow:1px 1px 0 red;
  437.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top