diff --git a/constants.js b/constants.js index e377f57..477ba30 100644 --- a/constants.js +++ b/constants.js @@ -114,7 +114,7 @@ const upgrades = { "name": "Bigger Micros", "desc": "A macro micro? Certainly more filling.", "cost": { - "food": 100 + "food": buildings.micro.cost * 5 }, "effect": { "type": "prod-2x", @@ -130,7 +130,7 @@ const upgrades = { "name": "Beefy Micros", "desc": "25% more protein, 10% fewer carbs.", "cost": { - "food": 500 + "food": buildings.micro.cost * 50 }, "effect": { "type": "prod-2x", @@ -141,5 +141,21 @@ const upgrades = { "micro": 10 } } + }, + "anthro-prod-1": { + "name": "Willing Prey", + "desc": "Why bother chasing it down?", + "cost": { + "food": buildings.anthro.cost * 5 + }, + "effect": { + "type": "prod-2x", + "target": "anthro" + }, + "prereqs": { + "buildings": { + "anthro": 1 + } + } } } diff --git a/gorge.css b/gorge.css index 53d3065..d145de8 100644 --- a/gorge.css +++ b/gorge.css @@ -122,37 +122,37 @@ body.dark { #upgrade-tooltip { position: absolute; width: 200px; - height: 300px; - background: #222; + height: 125%; + background: #333; display: none; z-index: 1; left: 0px; top: 0px; - border: 5px; - border-color: #fff; } #upgrade-tooltip-desc { - position:absolute; - top: 0px; - left: 0px; + font-size: 14px; + color: #bbb; + margin: 10px; + top: 50%; + left: 10px; } #upgrade-tooltip-effect { - position: absolute; - top: 50px; + font-size: 20px; + margin: 10px; } #upgrade-tooltip-cost { position: absolute; - right: 0px; - bottom: 0px; + right: 10px; + bottom: 10px; } #upgrade-tooltip-prereqs { position: absolute; - left: 0px; - bottom: 0px; + left: 10px; + bottom: 10px; } .cost-met { @@ -174,6 +174,7 @@ body.dark { .upgrade-button-inactive { background-color: #222 !important; + color: #999 !important; } .upgrade-button-name { diff --git a/gorge.html b/gorge.html index 07d36f2..6ef39a2 100644 --- a/gorge.html +++ b/gorge.html @@ -35,8 +35,8 @@