Skip to content

Instantly share code, notes, and snippets.

@v21
Last active March 20, 2020 11:34
Show Gist options
  • Save v21/a97f0e661728f38f777741f581a08b4c to your computer and use it in GitHub Desktop.
Save v21/a97f0e661728f38f777741f581a08b4c to your computer and use it in GitHub Desktop.
Let's make a game!
name:The Recycling Center
by:Team Rubiks
Desc: One man’s trash is another man’s… trash to be sold for money.<//>Create your own trash empire!
created:25/7/2017
updated:24/10/2017
version:1
Settings
background:http://v21.io/files/temp/igm/background.png
building cost increase:115%
building cost refund:50%
spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
stylesheet:stuff/bigBlue.css
Layout
use default
Buttons
*junkButton
name:Pick up junk
desc:Collect that junk!
on click:anim icon wobble
on click:yield 1 junk
icon:http://v21.io/files/temp/igm/digger.png
no text
class:bigButton hasFlares
icon class:shadowed
tooltip origin:bottom
tooltip class:red
*sellButton
name:Sell junk
desc:Sell that junk!
on click:anim icon wobble
on click:
if (junk > 10)
yield -10 junk
yield 1 dollars
end
end
icon:http://v21.io/files/temp/igm/sell-junk-button.png
no text
class:bigButton2 hasFlares
icon class:shadowed
tooltip origin:bottom
tooltip class:red
req:200 junk:earned
Resources
*junk
name:Piece of Junk|Pieces of Junk
desc:Trash that is waiting to be reborn... or repurposed
icon:http://v21.io/files/temp/igm/junk.png
class:noBackground
show earned
*dollars|money|dollar
name:Dollars
desc:Sweet, sweet monies to buy more equipment with
icon:http://v21.io/files/temp/igm/dollars.png
class:noBackground
show earned
*parts
name:Parts
desc: Shiny happy parts to hold together other parts
icon:http://v21.io/files/temp/igm/parts.png
class:noBackground
show earned
Shinies
*raccoon
name:Raccoon
desc: +100 junk
on click:yield 100 junk
movement:anywhere wiggle fade
frequency: 30
icon:http://v21.io/files/temp/igm/raccoon.png
Buildings
*TEMPLATE
on click:anim glow
*dropOffPoint1
name:Drop-Off Point|drop off point
desc:A small drop off point.<//><b>Effect:</b><.>Produces 1 piece of junk every 10 seconds.
icon:http://v21.io/files/temp/igm/dropoff.png
cost:15 junk
on tick:yield 0.1 junk
unlocked
*dropOffPoint2
name:Advanced Drop-Off Point|Advanced drop off point
desc:A drop off point that did a PhD.<//><b>Effect:</b><.>Produces 1 piece of junk every 2 seconds.
icon:http://v21.io/files/temp/igm/dropoff-adv.png
cost:75 junk
on tick:yield 0.5 junk
req:100 junk:earned
*dropOffPoint3
name:Galaxy Brain Drop-Off Point|Galaxy Brain drop off point
desc:A drop off point the redefined what it means to...drop off.<//><b>Effect:</b><.>Produces 3 pieces of junk every second.
icon:http://v21.io/files/temp/igm/dropoff-adv-2.png
cost:150 dollars
on tick:yield 3 junk
req:300 dollars:earned
*processingPlant
name:Turn junk into parts
desc:Give your trash new life as a shiny happy part.<//><b>Effect:</b><.>Turns 10 pieces of junk into 1 part every ten seconds.
icon:icons[3,0]
cost:100 dollars
on tick:yield -1 junk
on tick:yield 0.1 parts
req:80 dollars:earned
*sellParts
name:Sell parts
desc:Sell parts to a manufacturer and get DOLLARS!!<//><b>Effect:</b><.>Every so often, sells 10 parts for 300 dollars
icon:icons[3,0]
cost:350 dollars
on tick:
if (chance(1%))
yield -10 parts
yield 300 dollars
end
end
req:300 dollars:earned
Upgrades
*TEMPLATE
on click:anim glow
//food upgrades
//inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
*junkButtonFaster
name:Pick up junk faster
desc:Pick up junk real quick.<//><b>Effect:</b><.>Pick up an extra junk when you click
icon:http://v21.io/files/temp/igm/pickup1.png
cost:150 junk
passive:increase junk yield of junkButton by 1
req:100 junk:earned
*junkButton2
name:Pick up junk faster
desc:Pick up junk faster than you can say ‘pick up junk’.<//><b>Effect:</b><.>Pick up an extra 10 junk when you click
icon:http://v21.io/files/temp/igm/pickup2.png
cost:500 junk
passive:increase junk yield of junkButton by 10
req:1500 junk:earned
*sellJunk1
name:Sell junk faster
desc:Sell junk like hot cakes.<//><b>Effect:</b><.>Sell twice as much junk at once
icon:http://v21.io/files/temp/igm/sellfaster.png
cost:20 dollars
passive:increase dollars yield of sellButton by 1
passive:increase junk yield of sellButton by -10
req:15 dollars:earned
*sellJunk2
name:Advertising junk
desc:Advertise your junk, rake in the money.<//><b>Effect:</b><.>Get twice as much money for your junk
icon:http://v21.io/files/temp/igm/advertise.png
cost:50 dollars
passive:multiply dollars yield of sellButton by 2
req:30 dollars:earned
Achievements
*win
name:You win!
desc:10,000 dollars! Wow! You can retire to your trash mansion on that.
req:10000 dollars
CSS
.thing.bigButton2
{
position:absolute;
left:10%;
top:50%;
width:256px;
height:256px;
margin-left:-128px;
margin-top:-128px;
background-color:transparent;
box-shadow:none;
border:none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment