|
|
|
@@ -11,133 +11,152 @@ const buildings = { |
|
|
|
"plural": "Micros", |
|
|
|
"desc": "A tasty, squirmy treat.", |
|
|
|
"cost": 1e1, |
|
|
|
"prod": 1e-1/1 |
|
|
|
"prod": 1e-1/1, |
|
|
|
"icon": "fa-universal-access" |
|
|
|
}, |
|
|
|
"anthro": { |
|
|
|
"name": "Anthro", |
|
|
|
"plural": "Anthros", |
|
|
|
"desc": "Something more substantial to sate your hunger.", |
|
|
|
"cost": 1e2, |
|
|
|
"prod": 1e0/1.1 |
|
|
|
"prod": 1e0/1.1, |
|
|
|
"icon": "fa-male" |
|
|
|
}, |
|
|
|
"car": { |
|
|
|
"name": "Car", |
|
|
|
"plural": "Cars", |
|
|
|
"desc": "Crunchy shell, tasty center.", |
|
|
|
"cost": 1.2e3, |
|
|
|
"prod": 1e1/1.2 |
|
|
|
"prod": 1e1/1.2, |
|
|
|
"icon": "fa-car" |
|
|
|
}, |
|
|
|
"bus": { |
|
|
|
"name": "Bus", |
|
|
|
"plural": "Buses", |
|
|
|
"desc": "Probably the worst place to be when a macro is aroud.", |
|
|
|
"cost": 1.4e4, |
|
|
|
"prod": 1e2/1.3 |
|
|
|
"prod": 1e2/1.3, |
|
|
|
"icon": "fa-bus" |
|
|
|
}, |
|
|
|
"house": { |
|
|
|
"name": "House", |
|
|
|
"plural": "Houses", |
|
|
|
"desc": "Home sweet home - but it doesn't taste sweet?", |
|
|
|
"cost": 1.6e5, |
|
|
|
"prod": 1e3/1.4 |
|
|
|
"prod": 1e3/1.4, |
|
|
|
"icon": "fa-home" |
|
|
|
}, |
|
|
|
"apartment": { |
|
|
|
"name": "Apartment", |
|
|
|
"plural": "Apartments", |
|
|
|
"desc": "More snacks, less packaging.", |
|
|
|
"cost": 1.8e6, |
|
|
|
"prod": 1e4/1.5 |
|
|
|
"prod": 1e4/1.5, |
|
|
|
"icon": "fa-building" |
|
|
|
}, |
|
|
|
"block": { |
|
|
|
"name": "Block", |
|
|
|
"plural": "Blocks", |
|
|
|
"desc": "A whole pile of buildings.", |
|
|
|
"cost": 2e7, |
|
|
|
"prod": 1e5/1.6 |
|
|
|
"prod": 1e5/1.6, |
|
|
|
"icon": "fa-warehouse" |
|
|
|
}, |
|
|
|
"town": { |
|
|
|
"name": "Town", |
|
|
|
"plural": "Towns", |
|
|
|
"desc": "'Tourist trap' has never been this literal.", |
|
|
|
"cost": 2.2e8, |
|
|
|
"prod": 1e6/1.7 |
|
|
|
"prod": 1e6/1.7, |
|
|
|
"icon": "fa-building" |
|
|
|
}, |
|
|
|
"city": { |
|
|
|
"name": "City", |
|
|
|
"plural": "Cities", |
|
|
|
"desc": "Please no sitty on our city.", |
|
|
|
"cost": 2.4e9, |
|
|
|
"prod": 1e7/1.8 |
|
|
|
"prod": 1e7/1.8, |
|
|
|
"icon": "fa-city" |
|
|
|
}, |
|
|
|
"metro": { |
|
|
|
"name": "Metropolis", |
|
|
|
"plural": "Metropolises", |
|
|
|
"desc": "A big ol' city. Tasty, too.", |
|
|
|
"cost": 2.6e10, |
|
|
|
"prod": 1e8/1.9 |
|
|
|
"prod": 1e8/1.9, |
|
|
|
"icon": "fa-landmark" |
|
|
|
}, |
|
|
|
"county": { |
|
|
|
"name": "County", |
|
|
|
"plural": "Counties", |
|
|
|
"desc": "Why salt the land when you can slurp it?", |
|
|
|
"cost": 2.8e11, |
|
|
|
"prod": 1e9/2 |
|
|
|
"prod": 1e9/2, |
|
|
|
"icon": "fa-map" |
|
|
|
}, |
|
|
|
"state": { |
|
|
|
"name": "State", |
|
|
|
"plural": "States", |
|
|
|
"desc": "The United States is made up of...43 states - no, 42...", |
|
|
|
"cost": 3e12, |
|
|
|
"prod": 1e10/2.1 |
|
|
|
"prod": 1e10/2.1, |
|
|
|
"icon": "fa-map-signs" |
|
|
|
}, |
|
|
|
"country": { |
|
|
|
"name": "Country", |
|
|
|
"plural": "Countries", |
|
|
|
"desc": "One nation, under paw.", |
|
|
|
"cost": 3.2e13, |
|
|
|
"prod": 1e11/2.2 |
|
|
|
"prod": 1e11/2.2, |
|
|
|
"icon": "fa-flag" |
|
|
|
}, |
|
|
|
"continent": { |
|
|
|
"name": "Continent", |
|
|
|
"plural": "Continents", |
|
|
|
"desc": "Earth-shattering appetite!", |
|
|
|
"cost": 3.4e14, |
|
|
|
"prod": 1e12/2.3 |
|
|
|
"prod": 1e12/2.3, |
|
|
|
"icon": "fa-mountain" |
|
|
|
}, |
|
|
|
"planet": { |
|
|
|
"name": "Planet", |
|
|
|
"plural": "Planets", |
|
|
|
"desc": "Earth appetite!", |
|
|
|
"cost": 3.6e15, |
|
|
|
"prod": 1e13/2.4 |
|
|
|
"prod": 1e13/2.4, |
|
|
|
"icon": "fa-globe-europe" |
|
|
|
}, |
|
|
|
"solar-system": { |
|
|
|
"name": "Solar System", |
|
|
|
"plural": "Solar Systems", |
|
|
|
"desc": "Earths appetite!", |
|
|
|
"cost": 3.8e16, |
|
|
|
"prod": 1e14/2.5 |
|
|
|
"prod": 1e14/2.5, |
|
|
|
"icon": "fa-meteor" |
|
|
|
}, |
|
|
|
"galaxy": { |
|
|
|
"name": "Galaxy", |
|
|
|
"plural": "Galaxy", |
|
|
|
"desc": "In a galaxy far, far down your gullet...", |
|
|
|
"cost": 4.0e17, |
|
|
|
"prod": 1e15/2.6 |
|
|
|
"prod": 1e15/2.6, |
|
|
|
"icon": "fa-sun" |
|
|
|
}, |
|
|
|
"universe": { |
|
|
|
"name": "Universe", |
|
|
|
"plural": "Universes", |
|
|
|
"desc": "Into the you-verse.", |
|
|
|
"cost": 4.2e18, |
|
|
|
"prod": 1e16/2.7 |
|
|
|
"prod": 1e16/2.7, |
|
|
|
"icon": "fa-asterisk" |
|
|
|
}, |
|
|
|
"multiverse": { |
|
|
|
"name": "Multiverse", |
|
|
|
"plural": "Multiverses", |
|
|
|
"desc": "This is getting very silly.", |
|
|
|
"cost": 4.4e19, |
|
|
|
"prod": 1e17/2.8 |
|
|
|
"prod": 1e17/2.8, |
|
|
|
"icon": "fa-infinity" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@@ -220,7 +239,7 @@ function createProdUpgrades() { |
|
|
|
upgrades[prefix + counter] = { |
|
|
|
"name": contents.name, |
|
|
|
"desc": contents.desc, |
|
|
|
"icon": "buildings/" + key, |
|
|
|
"icon": buildings[key].icon, |
|
|
|
"cost": { |
|
|
|
"food": buildings[key].cost * 5 * Math.pow(10,counter - 1) |
|
|
|
}, |
|
|
|
@@ -257,6 +276,7 @@ function createProdAllUpgrades() { |
|
|
|
upgrades[prefix + counter] = { |
|
|
|
"name": contents.name, |
|
|
|
"desc": contents.desc, |
|
|
|
"icon": "fa-cogs", |
|
|
|
"cost": { |
|
|
|
"food": 5 * Math.pow(10, counter+1) |
|
|
|
}, |
|
|
|
@@ -292,6 +312,7 @@ function createClickUpgrades() { |
|
|
|
upgrades[prefix + counter] = { |
|
|
|
name: contents.name, |
|
|
|
desc: contents.desc, |
|
|
|
icon: "fa-hand-pointer", |
|
|
|
cost: { |
|
|
|
food: Math.pow(10, (counter*2)+1) |
|
|
|
}, |
|
|
|
|