Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Roman Colosseum Clicker
- by:Devin Ramos
- desc:-As emperor of the Roman Empire, Vespasian, it is your goal to make a grand Colosseum in which events will be held.<//>-You can begin by hiring farmers, which will begin making food which you can sell for Aureus. Aureus is the currency of the empire. After that you can save up Aureus to hire other people and make Concrete, Colosseum Pieces, and eventually Colosseums! At that point you can hire gladiators and start the games!<//>-<b>In time you will realize that this structure is an amazing, complex, and very important piece of Roman society and is not easy to control. You will learn the work done for the construction of the Colosseum, and realize how incredible it was for the time.</b><//>-Citations:<//>-https://www.ancient.eu/Colosseum/<//>-https://en.wikipedia.org/wiki/Roman_currency#Roman_Empire:_27_BC_%E2%80%93_476_AD<//>-https://en.wikipedia.org/wiki/Damnatio_ad_bestias
- created:15/12/17
- updated:1/2/17
- Settings
- building cost increase:115%
- Layout
- *main
- contains:resources1, resources2, button1, button2, button3, button4, header
- *resources1
- contains:tag:resource1
- class:fullWidth
- *resources2
- contains:tag:resource2
- class:fullWidth
- *button1
- contains:tag:button1
- *button2
- contains:tag:button2
- *button3
- contains:tag:button3
- *button4
- contains:tag:button4
- *header
- header:<b><u>Roman Colosseum Clicker</u></b> | <b><u>By: Devin Ramos</u></b>
- *store
- contains:buildings, upgrades, stats
- *buildings
- contains:BulkDisplay, Buildings
- header:<b>Jobs</b>
- tooltip origin:left
- *upgrades
- contains:Upgrades
- header:<b>Upgrades</b>
- costs:hide
- names:hide
- *actions
- in:upgrades
- contains:tag:action
- header:<b>Actions</b>
- costs:hide
- names:hide
- *achievs
- in:store
- contains:Achievements
- header:<b>Achievements</b>
- names:hide
- *stats
- contains:tag:stat
- ps:hide
- header:<b>Statistics</b>
- class:cleared
- Buttons
- *sellFood
- name:Sell Food
- desc:Sell 25% of your food for money
- tag:button1
- on click:
- $currentFood=food*0.25
- $moneyFood=$currentFood*3
- yield $moneyFood dollars
- lose $currentFood food
- end
- *buyConcrete
- name:Buy Concrete
- desc:Buy some concrete with Aureus.
- tag:button2
- on click:
- if (dollars>=4)
- yield 1 concrete
- lose 4 dollars
- end
- end
- *sellConcrete
- name:Sell Concrete
- desc:Drastic times cause for drastic measures. Sell 1 concrete for a little money.
- tag:button3
- on click:
- if (concrete>=1)
- yield 3 dollars
- lose 1 concrete
- end
- end
- *sellValuables
- name:Sell Valuables
- desc:Trade away all of your valuables for Aureus!
- tag:button4
- on click:
- if (valuables>=1)
- $currentVal=valuables
- $val2=valMultiplier
- $price=$currentVal*$val2
- yield $price dollars
- lose valuables
- end
- end
- Resources
- *TEMPLATE
- tag:stat
- *dollarsMade
- name:Aureus Made
- desc:How many Aureus have been made.
- is always:dollars:earned
- text:[this] Aureus made
- *concreteMade
- name:Concrete Made
- desc:How much concrete has been made.
- is always:concrete:earned
- text:[this] concrete made
- *valMultiplier
- name:Valuable Worth
- desc:How much each valuable is worth.
- text:Valuables worth [this] Aureus
- start with:250
- *buildTime
- name:Time Until Next Colosseum
- desc:The amount of time left until another Colosseum is built.
- text:[this] seconds left until new Colosseum!
- hidden when 0
- *buildReady
- name:A Colosseum is ready!
- desc:A Colosseum if ready to be opened, use the "Finish Colosseum" action!
- text:A Colosseum is ready!
- hidden when 0
- *tries
- name:tries
- always hidden
- *gameHeld
- name:Games Held
- desc:How many games you've held so far!
- text:[this] Games held!
- hidden when 0
- *gameTime
- name:Time until game ends
- desc:The amount of time until the game ends!
- text:[this] seconds of game left!
- hidden when 0
- *visitors
- name:Visits
- desc:The number of times someone has visited a game!
- text:[this] game Visits
- hidden when 0
- *animals
- name:Animals Used
- desc:The number of animals used in the games!
- text:[this] Animals used
- hidden when 0
- *gameCool
- name:Game Cool Down
- desc:The amount of time you have to wait for another game.
- always hidden
- *win
- name:You Win!
- desc:You've done a lot in the game and you've essentially won! You can still play if you want.<q>"Thanks for playing!"<//>-Devin Ramos</q>
- text:<b>You Win!</b>
- hidden when 0
- *TEMPLATE
- tag:resource1
- *food
- name:Food
- desc:The main food supply of the Roman Empire, hopefully there is enough for everyone. They include such things as bread, and other delicacies. One food unit is about 50,000 in the real world.
- show earned
- start with:150
- *dollars
- name:Aureus
- desc:The currency used in the Roman Empire at the time.
- show earned
- start with:200
- *valuables
- name:Valuables
- desc:An assortment of various riches and valuable items. Great for trade, and they are found every now and then.
- show earned
- start with:1
- *TEMPLATE
- tag:resource2
- *concrete
- name:Concrete
- desc:A common building material for the Roman Empire that is used to make big buildings.
- show earned
- start with:10
- *piece
- name:Colloseum Piece
- desc:A piece of building made from mostly concrete that can be used for the Colloseum!
- show earned
- *colosseum
- name:Colosseum
- desc:A grand structure made for holding games with gladiators and fighting!<q>"And also death..."</q>
- hidden when 0
- Buildings
- *TEMPLATE
- tag:building
- *hidden
- name:Hidden
- on tick:lose 1 buildTime
- on tick:yield 0.003 valuables
- on tick:lose 1 gameTime
- on tick:lose 1 gameCool
- on tick:
- if (dollars:earned>=1250000)
- if (colosseum:earned>=2)
- if (gameHeld:earned>=10)
- if (concreteMaker>=5)
- if (visitors>=800000)
- if (builder>=5)
- yield 1 win
- end
- end
- end
- end
- end
- end
- end
- always hidden
- start with:1
- *readyAlerter
- name:Ready Alerter
- on tick:
- if (tries>=1)
- if (buildTime=0)
- yield 0.000000001 buildReady
- end
- end
- end
- on tick:
- if (tries=0)
- lose buildReady
- end
- end
- always hidden
- start with:1
- *farmer
- name:Farmer
- desc:Hire a Roman citizen to farm for you and make food for the empire!
- icon:https://imgur.com/Y0OQnqp.png
- on tick:yield 0.05 food
- cost:35 dollars
- *concreteLayer
- name:Concrete Layer
- desc:Hire a Roman to lay concrete to make Colloseum Pieces! <b>Make sure you have some concrete</b>
- icon:https://imgur.com/JIKOXS0.png
- on tick:
- if (concrete>=1.5)
- yield 0.1 piece
- lose 1.5 concrete
- end
- end
- cost:300 dollars
- *concreteMaker
- name:Concrete Maker
- desc:Hire a Roman to make concrete, kind of slow though
- icon:https://imgur.com/3sCts28.png
- on tick:yield 0.05 concrete
- cost:500 dollars
- *builder
- name:Builder
- desc:Hire someone to start building a Colosseum from Colosseum Pieces! <b>They will begin building when you click the "Build Colosseum" Action.</b>
- cost:2000 dollars
- req:(piece:earned>=1)
- *aqueFarmer
- name:Aqueduct Farmer
- desc:A farmer that uses the Aqueducts to grow their crops!
- cost:3500 dollars
- on tick:yield 2.5 food
- req:(food:earned>=20000)
- *gladiator
- name:Gladiator
- desc:Force someone to partake in the Colosseum games, whether it be a Roman or a slave!
- cost:1000 dollars,50 food
- req:(colosseum:earned>=1)
- *animalKeeper
- name:Animal Keeper
- desc:Trains and holds animals to be used in the games, and you unlock more upgrades with more of these!
- on tick:
- if (gameHeld>=1)
- yield 0.2 animals
- end
- end
- cost:2000 dollars, 100 food
- req:(colosseum:earned>=1)
- *helper
- name:Helper
- desc:Hire someone to help everyone else, but with some costs.<//>Makes a small amount of food.<//>Helps find valuables.<//>Accidentally destroys some Colosseum Pieces.
- cost:10000 dollars
- on tick:yield 0.033 food
- on tick:yield 0.001 valuables
- on tick:lose 0.1 piece
- req:5 farmer,1 concreteLayer,1 concreteMaker,1 gladiator
- Upgrades
- *TEMPLATE
- tag:action
- *buildColosseum
- name:Build Colosseum
- desc:Start building 1 Colosseum, goes faster with more building workers! You need 30 Colosseum Pieces.
- no buy
- on click:if (buildTime>=1) toast You can't make more than 1 Colosseum at a time!
- on click:if (piece=0) toast You can't build without Colosseum Pieces!
- on click:
- if (buildTime=0)
- if (piece>=30)
- $multi=0.5
- if (have builderU1) $multi=$multi+0.25
- if (have builderU2) $multi=$multi+0.1
- $build=builder*$multi
- $time=600/$build
- yield $time buildTime
- lose 30 piece
- yield 1 tries
- end
- end
- end
- req:1 builder
- *actualBuild
- name:Finish Colosseum
- desc:You've just made a Colosseum, and need to add the finishing touch! Wait for it to be done building, first.
- no buy
- req:1 tries
- on click:
- if (tries>=1)
- if (buildTime=0)
- lose 1 tries
- yield 1 colosseum
- end
- end
- end
- *startGame
- name:Start Game
- desc:Start a game in all of your Colosseums! Fights to the death are sure to cheer up citizens. <b>You will lose some food for the people.</b>
- no buy
- req:1 gladiator
- on click:if (gameTime>=1) toast You can't have more than one game at a time!
- on click:if (gameCool>=1) toast You need to wait before starting another game!
- on click:
- if (colosseum>=1)
- if (gameTime=0)
- if (gameCool=0)
- toast A game has started!
- yield 1 gameHeld
- yield 10 gameTime
- yield 60 gameCool
- $currentFood=food*0.35
- lose $currentFood food
- $gladMult=0.5
- if (have gladiatorU1) $gladMult=$gladMult-0.1
- if (have gladiatorU2) $gladMult=$gladMult-0.15
- $glad=gladiator*$gladMult
- lose $glad gladiator
- $visits1=colosseum*(random(10000,25000))
- $visits2=food*0.35
- $visits3=$visits2*4
- $visits4=$visits1+$visits3
- $gladProfit=8000
- if (have gladiatorU1) $gladProfit=$gladProfit+1000
- if (have gladiatorU2) $gladProfit=$gladProfit+1000
- $visits5=gladiator*$gladProfit
- $visits6=0
- if (have animalHyena) $visits6=$visits6+5000
- if (have animalBuffalo) $visits6=$visits6+6000
- if (have animalElephant) $visits6=$visits6+7500
- if (have animalBear) $visits6=$visits6+10000
- if (have animalWolf) $visits6=$visits6+11000
- if (have animalTiger) $visits6=$visits6+12500
- if (have animalLion) $visits6=$visits6+13000
- $visitsFinal=$visits4+$visits5+$visits6
- yield $visitsFinal visitors
- end
- end
- end
- end
- on click:if (colosseum=0) toast You can't hold games without a Colosseum!
- //Farmer Upgrades
- *TEMPLATE
- tag:otherUp
- *farmerU1
- name:Stronger Hoes
- desc:Your Farmers are twice as efficient!<q>"These hoes are made of the finest of materials, such as wood, rope, etc."</q>
- icon:https://imgur.com/Y0OQnqp.png
- passive:multiply yield of farmer by 2
- cost:10 food,300 dollars
- req:1 farmer
- *farmerU2
- name:Fine Hoes
- desc:Your Farmers are twice as efficient!<q>"The hoes are fiiiine"</q>
- icon:https://imgur.com/kJaOeDC.png
- passive:multiply yield of farmer by 2
- cost:20 food,1100 dollars
- req:10 farmer
- *farmerU3
- name:Communal Farm Bonding
- desc:Your Farmers are 5 times as efficient!<q>"Now we have something in common."</q>
- icon:https://imgur.com/jKG0HVm.png
- passive:multiply yield of farmer by 5
- cost:50 food,10000 dollars
- req:25 farmer
- //Concrete Maker Upgrades
- *concreteMakerU1
- name:Volcanic Ash
- desc:Your Concrete Makers are twice as efficient!<q>"This stuff isn't easy to get, pay up."</q>
- icon:https://imgur.com/3sCts28.png
- passive:multiply yield of concreteMaker by 2
- cost:10 food,500 dollars
- req:1 concreteMaker
- *concreteMakerU2
- name:Refilling Cracks
- desc:Your Concrete Makers are twice as efficient!<q>"We work day and night and fill in the smallest of cracks."</q>
- icon:https://imgur.com/cvHHqLb.png
- passive:multiply yield of concreteMaker by 2
- cost:50 food,10000 dollars
- req:10 concreteMaker
- //Builder Upgrades
- *builderU1
- name:Teamwork
- desc:Your Builders can build faster!<q>"Anything can be done with a little bit of this."</q>
- cost:5500 dollars
- req:1 builder
- *builderU2
- name:Advanced Engineering
- desc:Your Builders can build faster!<q>"The power of teamwork has expanded to allow some engineering."</q>
- cost:20000 dollars
- req:10 builder
- //Gladiator Upgrades
- *gladiatorU1
- name:Friendly Fire
- desc:Your Gladiators die less often and attract more visitors!
- cost:10000 dollars
- req:1 gladiator
- *gladiatorU2
- name:Stronger Shields
- desc:Your Gladiators die less often and attract more visitors!
- cost:50000 dollars
- req:10 gladiator
- //Aqueduct Farmer Upgrades
- *aqueFarmerU1
- name:Steeper Slopes
- desc:Your Aqueduct Farmers are twice as efficient!<q>"It could be used as a log flume, though I wouldn't recommend trying."</q>
- passive:multiply yield of aqueFarmer by 2
- cost:6500 dollars
- req:1 aqueFarmer
- *aqueFarmerU2
- name:Even Water Distribution
- desc:Your Aqueduct Farmers are twice as efficient!<q>"This will help those little runt farms with small amounts of water."</q>
- passive:multiply yield of aqueFarmer by 2
- cost:65000 dollars
- req:10 aqueFarmer
- //Valuable Upgrades
- *valuableU1
- name:Rarer Resources
- desc:Your valuables are worth more!
- passive:
- if (valMultiplier=250)
- yield 100 valMultiplier
- end
- end
- cost:7000 dollars
- req:(valuables:earned>=5)
- *valuableU2
- name:Pure Materials
- desc:Your valuables are worth more!
- passive:
- if (valMultiplier=350)
- yield 100 valMultiplier
- end
- end
- cost:30000 dollars
- req:(valuables:earned>=15)
- *valuableU3
- name:Harvest Gem
- desc:Your valuables are worth much more, but you make food slower.
- passive:
- multiply yield of farmer by 0.90
- multiply yield of aqueFarmer by 0.90
- if (valMultiplier=450)
- yield 300 valMultiplier
- end
- end
- cost:500000 dollars
- req:(valuables:earned>=40)
- //Animal Upgrades
- *animalHyena
- name:Hyenas
- desc:Another animal to use in the games! Increases the number of visits per game.
- cost:40000 dollars
- req:1 animalKeeper
- *animalBuffalo
- name:Buffalos
- desc:Another animal to use in the games! Increases the number of visits per game.
- cost:70000 dollars
- req:2 animalKeeper
- *animalElephant
- name:Elephants
- desc:Another animal to use in the games! Increases the number of visits per game.
- cost:150000 dollars
- req:5 animalKeeper
- *animalBear
- name:Bears
- desc:Another animal to use in the games! Increases the number of visits per game.
- cost:300000 dollars
- req:10 animalKeeper
- *animalWolf
- name:Wolves
- desc:Another animal to use in the games! Increases the number of visits per game.
- cost:750000 dollars
- req:15 animalKeeper
- *animalTiger
- name:Tigers
- desc:Another animal to use in the games! Increases the number of visits per game.
- cost:1750000 dollars
- req:20 animalKeeper
- *animalLion
- name:Lions
- desc:Another animal to use in the games! Increases the number of visits per game.
- cost:5000000 dollars
- req:25 animalKeeper
- Achievements
- //Farmers
- *farmer1
- name:My First Farmer
- desc:Have 1 Farmer.
- icon:https://imgur.com/Y0OQnqp.png
- req:1 farmer
- *farmer2
- name:You Reap What You Sow
- desc:Have 10 Farmers.
- icon:https://imgur.com/kJaOeDC.png
- req:10 farmer
- *farmer3
- name:Farm Ill
- desc:Have 25 Farmers.
- icon:https://imgur.com/jKG0HVm.png
- req:25 farmer
- //Concrete Layers
- *layer1
- name:Filling In The Cracks
- desc:Have 1 Concrete Layer.
- icon:https://imgur.com/JIKOXS0.png
- req:1 concreteLayer
- *layer2
- name:Dam. That's a wall.
- desc:Have 10 Concrete Layers.<q>"You get it... Right?"</q>
- icon:https://imgur.com/QInw5lY.png
- req:10 concreteLayer
- *layer3
- name:We need Reinforcements!
- desc:Have 25 Concrete Layers.
- icon:https://imgur.com/baYi8KM.png
- req:25 concreteLayer
- //Concrete Makers
- *maker1
- name:Production
- desc:Have 1 Concrete Maker.
- icon:https://imgur.com/3sCts28.png
- req:1 concreteMaker
- *maker2
- name:Production Line
- desc:Have 10 Concrete Makers.
- icon:https://imgur.com/cvHHqLb.png
- req:10 concreteMaker
- *maker3
- name:Awesome Automation
- desc:Have 25 Concrete Makers.
- icon:https://imgur.com/cEj4qc0.png
- req:25 concreteMaker
- //Builders
- *builder1
- name:Build it Up!
- desc:Have 1 Builder.
- req:1 builder
- *builder2
- name:Can't Stop!
- desc:Have 10 Builders.
- req:10 builder
- *builder3
- name:Won't Stop!
- desc:Have 25 Builders.
- req:25 builder
- //Pieces
- *piece1
- name:The Start of Something Beautiful
- desc:Make 1 Colosseum Piece.<q>"Hopefully"</q>
- req:1 piece
- *piece2
- name:You really wanted those, huh?
- desc:Make 100 Colosseum Pieces.
- req:(piece:earned>=100)
- //Colosseums
- *colosseum1
- name:A Grand Colosseum
- desc:Create 1 Colosseum!<q>"You're not done yet, right?"
- req:(colosseum:earned>=1)
- *colosseum2
- name:That's a lot of blood
- desc:Create 5 Colosseums!
- req:(colosseum:earned>=5)
- CSS
- #game
- {
- background:#770e0e;
- font-size:15px;
- font-family:"Optima",sans-serif,serif;
- color:black;
- }
- .thing
- {
- border-radius:5px;
- background:rgba(37,143,177,0.75);
- }
- #box-main
- {
- left:0px;
- top:0px;
- bottom:0px;
- overflow:hidden;
- width:60%;
- position:absolute;
- border:2px ridge black;
- }
- #box-header
- {
- left:0px;
- top:0px;
- width:100%;
- height:5%;
- }
- #box-button1
- {
- top:25%;
- right:0px;
- bottom:0px;
- left:0px;
- position:absolute;
- }
- #box-button2
- {
- top:30%;
- left:0px;
- bottom:0px;
- right:0px;
- position:absolute;
- }
- #box-button3
- {
- top:35%;
- right:0px;
- bottom:0px;
- left:0px;
- position:absolute;
- }
- #box-button4
- {
- top:40%;
- right:0px;
- bottom:0px;
- left:0px;
- position:absolute;
- }
- #box-resources1.fullWidth
- {
- width:100%;
- top:10%;
- height:4%;
- min-height:32px;
- z-index:100;
- position:absolute;
- text-align:center;
- }
- #box-resources2.fullWidth
- {
- width:100%;
- top:15%;
- height:4%;
- min-height:32px;
- z-index-100;
- position:absolutel
- text-align:center;
- }
- #box-buildings,#box-upgrades,#box-achievs,#box-stats
- {
- top:0px;
- bottom:0px;
- width:50%;
- overflow-x:hidden;
- overflow-y:scroll;
- padding-bottom:48px;
- position:absolute;
- border:2px ridge black;
- }
- #box-upgrades,#box-achievs,#box-stats,#box-header
- {
- text-align:center;
- }
- #box-buildings
- {
- height:100%;
- right:50%;
- clear:both;
- }
- #box-achievs
- {
- height:25%;
- right:0%;
- }
- #box-upgrades
- {
- top:25%;
- right:0%;
- }
- #box-stats
- {
- right:100%;
- height:25%;
- top:75%;
- width:150%;
- z-index:0;
- }
Add Comment
Please, Sign In to add comment