Remove special gov.

This commit is contained in:
Josh Mudge 2017-11-12 22:07:01 -07:00
parent d13fd3049c
commit 777470cf6d
1 changed files with 0 additions and 6 deletions

View File

@ -29,7 +29,6 @@ function loadsaved() {
document.getElementById("one").value = one;
document.getElementById("gov").value = hotel;
document.getElementById("gov").value = gov;
document.getElementById("govspecial").value = govspecial;
document.getElementById("indesign").value = indesign;
document.getElementById("outdesign").value = outdesign;
document.getElementById("embassies").value = embassies;
@ -49,7 +48,6 @@ function usesaved() {
var one = localStorage.one
var hotel = localStorage.hotel
var gov = localStorage.gov
var govspecial = localStorage.govspecial
var indesign = localStorage.indesign
var outdesign = localStorage.outdesign
var embassies = localStorage.embassies
@ -73,7 +71,6 @@ function calculate() {
var builders = document.getElementById("builders").value;
var one = document.getElementById("one").value;
var hotel = document.getElementById("hotel").value;
var govspecial = document.getElementById("govspecial").value;
var gov = document.getElementById("gov").value;
var indesign = document.getElementById("indesign").value;
var outdesign = document.getElementById("outdesign").value;
@ -92,7 +89,6 @@ function calculate() {
localStorage.builders = document.getElementById("builders").value;
localStorage.one = document.getElementById("one").value;
localStorage.hotel = document.getElementById("hotel").value;
localStorage.govspecial = document.getElementById("govspecial").value;
localStorage.gov = document.getElementById("gov").value;
localStorage.indesign = document.getElementById("indesign").value;
localStorage.outdesign = document.getElementById("outdesign").value;
@ -135,8 +131,6 @@ function calculate() {
console.log(hotel)
var gov = +gov * 0.015
console.log(gov)
var govspecial = +govspecial * 0.03 // Limit to 4 if govspecial > 4 limiting
console.log(govspecial)
var embassies = +embassies * 0.02
console.log(embassies)
var capital = +capital * 0.05 // Limit to 1 capital.