Advertisement
Jacklack3

flower clicker

Oct 19th, 2018
1,298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Let's make a game!
  2.     name: flower clicker
  3.     by:jackomix
  4.     desc:"better than stardew valley and harvest moon combined" ~me
  5.     created:19/10/2017
  6.     version:alpha
  7.  
  8. Settings
  9.     building cost increase:115%
  10.     building cost refund:50%
  11.     tiling background: https://jackomix.neocities.org/rocketbuilding/background.png
  12.     stylesheet:https://jackomix.neocities.org/rocketbuilding/css.txt
  13.  
  14. Layout
  15.     *main
  16.       contains:res, buttons, achiev, news
  17.       *res
  18.         contains:Resources
  19.         class:fullWidth
  20.       *buttons
  21.         contains:Buttons
  22.       *achiev
  23.         header:Achievements
  24.         contains:Achievements
  25.         tooltip origin:right
  26.         names:hide
  27.       *news
  28.         contains:Log
  29.     *store
  30.       contains:buildings, upgrades, research
  31.       *buildings
  32.         contains:BulkDisplay, Buildings
  33.         header:Buildings
  34.         tooltip origin:left
  35.       *upgrades
  36.         contains:Upgrades
  37.         header:Upgrades
  38.         costs:hide
  39.         names:hide
  40.       *research
  41.         contains:tag:research
  42.         header:Research
  43.         costs:hide
  44.         names:hide
  45.        
  46. Buttons
  47.     *plantaflower
  48.         name:Plant a flower
  49.         desc:Plant a flower at the click of a button!
  50.         on click:anim icon wobble
  51.         on click:yield 1 flower
  52.         on click:yield 1 click
  53.         icon:https://jackomix.neocities.org/rocketbuilding/flower.png
  54.         no text
  55.         class:bigButton
  56.         icon class:shadowed
  57.  
  58. Resources
  59.     *flower|flowers
  60.         name:Flower|Flowers
  61.         desc:Flowers, they feel, smell and look great. (Also important for the ecosystem I guess...)
  62.         icon:https://jackomix.neocities.org/rocketbuilding/flower.png
  63.         class:noBackground
  64.         show earned
  65.    
  66.     *coin|coins
  67.         name:Coin|Coins
  68.         desc:Dolla dolla!
  69.         icon:https://jackomix.neocities.org/rocketbuilding/coin.png
  70.         class:noBackground
  71.         hidden when 0
  72.  
  73.     *goblo|goblos
  74.         name:Goblo|Goblos
  75.         desc:Weird creatures, perhaps they can help with something...
  76.         icon:https://jackomix.neocities.org/rocketbuilding/goblo.png
  77.         class:noBackground
  78.         hidden when 0
  79.  
  80.     *click|clicks
  81.         name:Click|Clicks
  82.         desc:The amount of times you manually planted a flower.
  83.         class:noBackground
  84.         hidden
  85.  
  86.     *second|seconds
  87.         name:Second|Seconds
  88.         desc:Hey kids, get off my code!
  89.         hidden
  90.     *newssecond|newsseconds
  91.         name:News Second|News Seconds
  92.         desc:Those darn kids...
  93.         hidden
  94.  
  95. Buildings
  96.     *clock
  97.         name:Clock
  98.         desc:To count the time!
  99.         on tick:yield 1 second
  100.         on tick:yield 1 newssecond
  101.         start with:1
  102.         hidden
  103.     *newsticker
  104.         name:News Ticker
  105.         desc:Manages the news ticker.
  106.         on tick:if (newssecond=8) do newsgen
  107.         on load:do newsgen
  108.         on newsgen:
  109.                     lose newsseconds
  110.                     clear log
  111.                     $rndnews = random(1,14)
  112.                     if ($rndnews=1)
  113.                         log No one still knows why the chicken crossed the road.
  114.                     end
  115.                     if ($rndnews=2)
  116.                         log "I thought it was 3 the whole time!" says scientist when he discovers the real answer to 2+2.
  117.                     end
  118.                     if ($rndnews=3)
  119.                         log Cookies are getting more popular every second. ;)
  120.                     end
  121.                     if ($rndnews=4 and flowers=0)
  122.                         log Dumb gardener has no flowers, reports journalist.
  123.                     end
  124.                     if ($rndnews=4 and flowers>=1000 and no flowerstore)
  125.                         log "It's nice to see flowers as I drive by." says neighbor to gardener.
  126.                     end
  127.                     if ($rndnews=4 and have flowerstore)
  128.                         log The flower store gets at least 2 customers a day!
  129.                     end
  130.                     if ($rndnews=5)
  131.                         log Government declares pulling grass as a crime. "Waaaaah!" baby says.
  132.                     end
  133.                     if ($rndnews=6)
  134.                         log Scroll Lock key to be the most used key in history. "Every week I have to get a replacement." says caveman.
  135.                     end
  136.                     if ($rndnews=7)
  137.                         log aaaaaaaaaaaaaaaaa
  138.                     end
  139.                     if ($rndnews=8)
  140.                         log City gets flood, no water reaches it however due to it being a floating island.
  141.                     end
  142.                     if ($rndnews=9)
  143.                         log No news! "It's a slow day today..." says little boy.
  144.                     end
  145.                     if ($rndnews=10)
  146.                         log Wassup! It's "Tipz and Trix!" episode 1, Tip: Check yoself befo' youu 'reck yoself!
  147.                     end
  148.                     if ($rndnews=11)
  149.                         log Weather Forecast: It's gonna be a day.
  150.                     end
  151.                     if ($rndnews=12)
  152.                         log New religion called "Qwerty" which worships themselves.
  153.                     end
  154.                     if ($rndnews=13)
  155.                         log Comedian dies of laughter on stage, family mourns over his loss.
  156.                     end
  157.                     if ($rndnews=14)
  158.                         log Song about looking "at you" confuse paranoid blind people...
  159.                     end
  160.         end
  161.         start with:1
  162.         hidden
  163.  
  164.     *flowerpot|flowerpots
  165.         name:Flower pot|Flower pots
  166.         desc:A nice pot to plant a flower.<//><b>Effect:</b><.>Plants 0.1 flowers every second.
  167.         icon:https://jackomix.neocities.org/rocketbuilding/flower%20pot.png
  168.         cost:30 flowers
  169.         on tick:yield 0.1 flower
  170.         unlocked
  171.  
  172.     *land
  173.         name:Land
  174.         desc:Buy a nice 1 cubic centimeter of land.<//><b>Effect:</b><.>Plants 1 flowers every second.
  175.         icon:https://jackomix.neocities.org/rocketbuilding/land.png
  176.         cost:80 flowers
  177.         on tick:yield 1 flower
  178.         req:1 flowerpot:max
  179.  
  180.     *well|wells
  181.         name:Well|Wells
  182.         desc:All this time you were really getting water from your house a km away.<//><b>Effect:</b><.>Plants 10 flowers every second.
  183.         icon:https://jackomix.neocities.org/rocketbuilding/well.png
  184.         cost:6000 flowers
  185.         cost:25 coins
  186.         on tick:yield 10 flower
  187.         req:1 flowerstore:max
  188.  
  189.     *shovel|shovels
  190.         name:Shovel|Shovels
  191.         desc:Better than hands!<//><b>Effect:</b><.>Plants 25 flowers every second.
  192.         icon:https://jackomix.neocities.org/rocketbuilding/shovel.png
  193.         cost:10000 flowers
  194.         cost:125 coins
  195.         on tick:yield 25 flower
  196.         req:1 well:max
  197.  
  198.     *flowerstore|flowerstores
  199.         name:Flower Store|Flower Stores
  200.         desc:Come one come all to the Flower shop! <//><b>Effect:</b><.>Sells 1 flower for 0.1 coins.
  201.         icon:https://jackomix.neocities.org/rocketbuilding/store.png
  202.         cost:10000 flowers
  203.         on tick:if (flowers >= 1) lose 1 flower
  204.         on tick:if (flowers >= 0) yield 0.1 coin
  205.         req:5000 flowers:earned
  206.  
  207. Upgrades
  208.     *holesonthebottom
  209.         name:Holes on the bottom
  210.         desc:You think a hole would decrease flower production...<//><b>Effect:</b><.>Doubles the effect of flower pots.
  211.         icon:https://jackomix.neocities.org/rocketbuilding/flower%20pot2.png
  212.         cost:100 flowers
  213.         passive:multiply yield of flowerpots by 2
  214.         req:50 flowers:earned
  215.         req:5 flowerpots
  216.     *nicepattern
  217.         name:Nice pattern
  218.         desc:The pattern attracts the gardener. ;)<//><b>Effect:</b><.>Doubles the effect of flower pots.
  219.         icon:https://jackomix.neocities.org/rocketbuilding/flower%20pot3.png
  220.         cost:500 flowers
  221.         passive:multiply yield of flowerpots by 2
  222.         req:250 flowers:earned
  223.         req:10 flowerpots
  224.  
  225.     *bettersoil
  226.         name:Better soil
  227.         desc:The darker the soil the better right?<//><b>Effect:</b><.>Doubles the effect of land.
  228.         icon:https://jackomix.neocities.org/rocketbuilding/land2.png
  229.         cost:1000 flowers
  230.         passive:multiply yield of land by 2
  231.         req:500 flowers:earned
  232.         req:5 land
  233.     *woodchips
  234.         name:Wood chips
  235.         desc:Nice pretty red wood chips. :)<//><b>Effect:</b><.>Doubles the effect of land.
  236.         icon:https://jackomix.neocities.org/rocketbuilding/land3.png
  237.         cost:2000 flowers
  238.         passive:multiply yield of land by 2
  239.         req:1000 flowers:earned
  240.         req:10 land
  241.  
  242.     *spoopywell
  243.         name:Spoopy Well
  244.         desc:tis spoooooopy!<//><b>Effect:</b><.>Doubles the effect of wells.
  245.         icon:https://jackomix.neocities.org/rocketbuilding/well2.png
  246.         cost:10000 flowers
  247.         passive:multiply yield of wells by 2
  248.         req:3 wells
  249.     *naturalwell
  250.         name:Natural Well
  251.         desc:You have to be one with the one you are taking...<//><b>Effect:</b><.>Doubles the effect of wells.
  252.         icon:https://jackomix.neocities.org/rocketbuilding/well3.png
  253.         cost:25000 flowers
  254.         passive:multiply yield of wells by 2
  255.         req:13 wells
  256.  
  257.     *shinyshovel
  258.         name:Shiny Shovel
  259.         desc:Made from shiny materials.<//><b>Effect:</b><.>Doubles the effect of shovels.
  260.         icon:https://jackomix.neocities.org/rocketbuilding/shovel2.png
  261.         cost:35000 flowers
  262.         passive:multiply yield of shovels by 2
  263.         req:1 shovel
  264.     *shadowshovel
  265.         name:Shadow Shovel
  266.         desc:Both words sound similar...<//><b>Effect:</b><.>Doubles the effect of shovels.
  267.         icon:https://jackomix.neocities.org/rocketbuilding/shovel3.png
  268.         cost:70000 flowers
  269.         passive:multiply yield of shovels by 2
  270.         req:10 shovels
  271.  
  272.     *neonopensign
  273.         name:Neon Open Sign
  274.         desc:I like to daydream at the neon open sign...<//><b>Effect:</b><.>Doubles the effect of flower stores.
  275.         icon:https://jackomix.neocities.org/rocketbuilding/store2.png
  276.         cost:15000 flowers
  277.         passive:multiply coins yield of flowerstores by 2
  278.         req:3 flowerstores
  279.     *slidingdoor
  280.         name:Sliding Door
  281.         desc:Thank you sliding door!<//><b>Effect:</b><.>Doubles the effect of flower stores.
  282.         icon:https://jackomix.neocities.org/rocketbuilding/store3.png
  283.         cost:30000 flowers
  284.         passive:multiply coins yield of flowerstores by 2
  285.         req:10 flowerstores
  286.  
  287.     *strawberryseeds
  288.         name:Strawberry Seeds
  289.         desc:Strawberry champagne on us!<//><b>Effect:</b><.>Doubles the flowers per click.
  290.         icon:https://jackomix.neocities.org/rocketbuilding/strawberryseeds.png
  291.         cost:200 flowers
  292.         passive:multiply flower yield of plantaflower by 2
  293.         req:250 clicks:earned
  294.     *cherryseeds
  295.         name:Cherry Seeds
  296.         desc:Do you believe in life after love?<//><b>Effect:</b><.>Doubles the flowers per click.
  297.         icon:https://jackomix.neocities.org/rocketbuilding/cherryseeds.png
  298.         cost:5000 flowers
  299.         passive:multiply flower yield of plantaflower by 2
  300.         req:1000 clicks:earned
  301.     *bananaseeds
  302.         name:Banana Seeds
  303.         desc:;)<//><b>Effect:</b><.>Doubles the flowers per click.
  304.         icon:https://jackomix.neocities.org/rocketbuilding/bananaseeds.png
  305.         cost:10000 flowers
  306.         passive:multiply flower yield of plantaflower by 2
  307.         req:5000 clicks:earned
  308.  
  309. /*Research*/
  310.     *wandofgoblos
  311.         tag:research
  312.         name:Wand of Goblos
  313.         desc:A glowing wand found at a wizard's store.<//><b>Effect:</b><.>Attracts 1 Goblo per second.
  314.         icon:https://jackomix.neocities.org/rocketbuilding/wandofgoblos.png
  315.         cost:10000 flowers
  316.         cost:1000 coins
  317.         on tick:yield 1 goblo
  318.         req:1 flowerstore
  319.  
  320. Achievements
  321.     *1flower
  322.         name:The start of a legend
  323.         desc:Plant a flower.
  324.         req:1 flower
  325.         icon:https://jackomix.neocities.org/rocketbuilding/1flower.png
  326.     *100flower
  327.         name:Piece of cake
  328.         desc:Plant 100 flowers.
  329.         req:100 flowers
  330.         icon:https://jackomix.neocities.org/rocketbuilding/100flowers.png
  331.     *1000flower
  332.         name:Real gardener
  333.         desc:Plant 1000 flowers.
  334.         req:1000 flowers
  335.         icon:https://jackomix.neocities.org/rocketbuilding/1000flowers.png
  336.     *100000flower
  337.         name:2flower4me
  338.         desc:Plant 100000 flowers.
  339.         req:100000 flowers
  340.         icon:https://jackomix.neocities.org/rocketbuilding/100000flowers.png
  341.     *1000000flower
  342.         name:How do you do it!?
  343.         desc:Plant 1000000 flowers.
  344.         req:1000000 flowers
  345.         icon:https://jackomix.neocities.org/rocketbuilding/1000000flowers.png
  346.  
  347.     *10minutes
  348.         name:Short film
  349.         desc:Play for 10 minutes.
  350.         req:600 seconds
  351.         icon:https://jackomix.neocities.org/rocketbuilding/10minutes.png
  352.     *30minutes
  353.         name:Almost feature-length
  354.         desc:Play for 30 minutes.
  355.         req:1800 seconds
  356.         icon:https://jackomix.neocities.org/rocketbuilding/30minutes.png
  357.     *1hour
  358.         name:Full movie
  359.         desc:Play for an hour.
  360.         req:3600 seconds
  361.         icon:https://jackomix.neocities.org/rocketbuilding/1hour.png
  362.     *5hour
  363.         name:The trilogy
  364.         desc:Play for 5 hours.
  365.         req:18000 seconds
  366.         icon:https://jackomix.neocities.org/rocketbuilding/5hours.png
  367.     *24hours
  368.         name:Movie marathon
  369.         desc:Play for 24 hours.
  370.         req:86400 seconds
  371.         icon:https://jackomix.neocities.org/rocketbuilding/24hours.png
  372.     *48hours
  373.         name:Movie marathon on loop
  374.         desc:Play for 48 hours.
  375.         req:172800 seconds
  376.         icon:https://jackomix.neocities.org/rocketbuilding/48hours.png
  377.     *72hours
  378.         name:Thank you for playing flower clicker. :)
  379.         desc:Play for 72 hours.
  380.         req:259200 seconds
  381.         icon:https://jackomix.neocities.org/rocketbuilding/72hours.png
  382.  
  383.     *1flowerpot
  384.         name:Cute decoration
  385.         desc:Own 1 flower pot.
  386.         req:1 flowerpot
  387.         icon:https://jackomix.neocities.org/rocketbuilding/1flowerpot.png
  388.     *50flowerpots
  389.         name:Pretty decorations
  390.         desc:Own 50 flower pots.
  391.         req:50 flowerpot
  392.         icon:https://jackomix.neocities.org/rocketbuilding/50flowerpots.png
  393.     *100flowerpots
  394.         name:Beautiful decorations <3
  395.         desc:Own 100 flower pots.
  396.         req:100 flowerpot
  397.         icon:https://jackomix.neocities.org/rocketbuilding/100flowerpots.png
  398.  
  399.     *1land
  400.         name:An ant's home
  401.         desc:Own 1 land.
  402.         req:1 land
  403.         icon:https://jackomix.neocities.org/rocketbuilding/1land.png
  404.     *50land
  405.         name:An ant's cottage
  406.         desc:Own 50 land.
  407.         req:50 land
  408.         icon:https://jackomix.neocities.org/rocketbuilding/50land.png
  409.     *100land
  410.         name:An ant's mansion
  411.         desc:Own 100 land.
  412.         req:100 land
  413.         icon:https://jackomix.neocities.org/rocketbuilding/100land.png
  414.  
  415.     *1well
  416.         name:What's down this hole?
  417.         desc:Own 1 well.
  418.         req:1 well
  419.         icon:https://jackomix.neocities.org/rocketbuilding/1well.png
  420.     *50wells
  421.         name:Welp, now I know.
  422.         desc:Own 50 wells.
  423.         req:50 wells
  424.         icon:https://jackomix.neocities.org/rocketbuilding/50wells.png
  425.     *100wells
  426.         name:...Hello?
  427.         desc:Own 100 wells.
  428.         req:100 wells
  429.         icon:https://jackomix.neocities.org/rocketbuilding/100wells.png
  430.  
  431.     *1shovel
  432.         name:Dig
  433.         desc:Own 1 shovel.
  434.         req:1 shovel
  435.         icon:https://jackomix.neocities.org/rocketbuilding/1shovel.png
  436.     *50shovel
  437.         name:Diggy-dig
  438.         desc:Own 50 shovels.
  439.         req:50 shovels
  440.         icon:https://jackomix.neocities.org/rocketbuilding/50shovels.png
  441.     *100shovel
  442.         name:Diggy-dig-dig
  443.         desc:Own 100 shovels.
  444.         req:100 shovels
  445.         icon:https://jackomix.neocities.org/rocketbuilding/100shovels.png
  446.  
  447.     *1store
  448.         name:Chapter 2: Hobby to Job.
  449.         desc:Own 1 flower store.
  450.         req:1 flowerstore
  451.         icon:https://jackomix.neocities.org/rocketbuilding/1store.png
  452.     *50stores
  453.         name:50 stores all beside each other
  454.         desc:Own 50 flower stores.
  455.         req:50 flowerstores
  456.         icon:https://jackomix.neocities.org/rocketbuilding/50stores.png
  457.     *100stores
  458.         name:Everywhere you look!
  459.         desc:Own 100 flower stores.
  460.         req:100 flowerstores
  461.         icon:https://jackomix.neocities.org/rocketbuilding/100stores.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement