Files
William Barker 6336d3dc87 [Organic Towns] New Feature: Festival Calendar
Added user requested repeating section for holidays and festivals
2025-07-27 12:53:46 -04:00

1756 lines
101 KiB
HTML

<input type="hidden" name="attr_setupDone" value="0">
<input name="attr_tab1" data-i18n-title="settlement-c" class="sheet-tab sheet-tab1" type="radio" checked="checked" value="1"><span class="sheet-tabSpan" data-i18n-title="settlement-c"></span>
<input name="attr_tab1" data-i18n-title="construct" class="sheet-tab sheet-tab2" type="radio" value="2"><span class="sheet-tabSpan" data-i18n-title="construct-c"></span>
<input name="attr_tab1" data-i18n-title="reports-c" class="sheet-tab sheet-tab3" type="radio" value="3"><span class="sheet-tabSpan" data-i18n-title="reports-c"></span>
<input name="attr_tab1" data-i18n-title="calendar-c" class="sheet-tab sheet-tab4" type="radio" value="4"><span class="sheet-tabSpan" data-i18n-title="calendar-c"></span>
<div class="sheet-tab-content sheet-tab1"><!--- Tab 1 start -->
<label style="width: 820px; font-size: 28px; font-weight: 700; text-align: center; margin: 50px 0px 4px -12px; border: 1px solid transparent;" data-i18n="organicTownsSettlementSheet-c">Organic Towns Settlement Sheet</label>
<div style="display: inline-block; vertical-align: top; height: 250px; width: 400px; margin: 0px 0px 0px 8px; border: 1px solid transparent">
<input type="text" name="attr_setlementName" style="width: 280px; height: 24px; font-size: 24px; margin: 36px 0px 4px 54px; font-weight: 500; text-align: center; border: 0; border-radius: 0; border-bottom: 3px solid Black; background-color: transparent " value="">
<label style="width: 240px; font-size: 13px; font-weight: 600; text-align: center; margin: -4px 0px 4px 72px; border: 1px solid transparent;" data-i18n="settlementName-c">Settlement Name</label>
<div style="display: inline-block; vertical-align: top; height: 60px; width: 190px; border: 1px solid transparent">
<input type="text" name="attr_governmentType" style="display: inline-block; vertical-align: top; width: 160px; height: 22px; font-size: 18px; margin: 8px 0px 4px 14px; font-weight: 500; text-align: center; border: 0; border-radius: 0; border-bottom: 3px solid Black; background-color: transparent " value="">
<label style="width: 150px; font-size: 13px; font-weight: 600; text-align: center; margin: -4px 0px 4px 20px; border: 1px solid transparent;" data-i18n="governmentType-c">Government Type</label>
</div>
<div style="display: inline-block; vertical-align: top; height: 60px; width: 190px; border: 1px solid transparent">
<input type="text" name="attr_setlementLeader" style="display: inline-block; vertical-align: top; width: 160px; height: 22px; font-size: 18px; margin: 8px 0px 4px 4px; font-weight: 500; text-align: center; border: 0; border-radius: 0; border-bottom: 3px solid Black; background-color: transparent " value="">
<label style="width: 150px; font-size: 13px; font-weight: 600; text-align: center; margin: -4px 0px 4px 8px; border: 1px solid transparent;" data-i18n="settlementLeader-c">Settlement Leader</label>
</div>
<div style="display: inline-block; vertical-align: top; margin: 0px 0px 0px 0px; border: 1px dashed transparent;">
<div style="display: inline-block; vertical-align: top; height: 68px; width: 70px; margin: 4px 0px 4px 56px; border: 2px solid Brown;">
<input type="text" name="attr_food" class="sheet-square" style="font-size: 28px;" value="0">
</div>
<label style="width: 72px; font-size: 13px; font-weight: 600; text-align: center; margin: -2px 0px 4px 56px; padding: 0; border: 1px solid transparent;" data-i18n="food-c">Food</label>
</div>
<div style="display: inline-block; vertical-align: top; margin: 0px 0px 0px 0px; border: 1px dashed transparent;">
<div style="display: inline-block; vertical-align: top; height: 68px; width: 70px; margin: 4px 0px 4px 16px; border: 2px solid Brown;">
<input type="text" name="attr_water" class="sheet-square" style="font-size: 28px;" value="">
</div>
<label style="width: 72px; font-size: 13px; font-weight: 600; text-align: center; margin: -2px 0px 4px 16px; padding: 0; border: 1px solid transparent;" data-i18n="water-c">Water</label>
</div>
<div style="display: inline-block; vertical-align: top; margin: 0px 0px 0px 0px; border: 1px dashed transparent;">
<div style="display: inline-block; vertical-align: top; height: 68px; width: 70px; margin: 4px 0px 4px 16px; border: 2px solid Brown;">
<input type="text" name="attr_housing" class="sheet-square" style="font-size: 28px;" value="">
</div>
<label style="width: 72px; font-size: 13px; font-weight: 600; text-align: center; margin: -2px 0px 4px 16px; padding: 0; border: 1px solid transparent;" data-i18n="housing-c">Housing</label>
</div>
</div>
<div style="display: inline-block; vertical-align: top; height: 250px; width: 396px; border: 1px solid transparent">
<div style="display: inline-block; vertical-align: top; margin: 0px 0px 0px 0px; border: 1px dashed transparent;">
<div style="display: inline-block; vertical-align: top; height: 68px; width: 70px; margin: 30px 0px 4px 26px; border: 2px solid Brown;">
<input type="text" name="attr_population" class="sheet-square" style="font-size: 16px;" value="500">
</div>
<label style="width: 72px; font-size: 13px; font-weight: 600; text-align: center; margin: 0px 0px 4px 26px; padding: 0; border: 1px solid transparent;" data-i18n="population-c">Population</label>
</div>
<div style="display: inline-block; vertical-align: top; height: 130px; width: 87px; margin: 0px 0px 0px 0px; border: 1px dashed transparent;">
<div style="display: inline-block; vertical-align: top; height: 68px; width: 70px; margin: 30px 0px 4px 12px; border: 2px solid Brown;">
<input type="text" name="attr_populationGrowth" class="sheet-square" style="font-size: 22px;" value="3">
</div>
<button class="btn sheet-textButton" type="action" name="act_popGrowth">
<label style="width: 72px; height: 18px; font-size: 13px; font-weight: 800; text-align: center; margin: -2px 0px 0px 0px; padding: 0;" data-i18n="population-c">Population</label>
<label style="width: 72px; height: 18px; font-size: 13px; font-weight: 800; text-align: center; margin: -2px 0px 0px 0px; padding: 0;" data-i18n="growth-c">Growth</label></button>
</div>
<div style="display: inline-block; vertical-align: top; height: 130px; width: 87px;; margin: 0px 0px 0px 0px; border: 1px dashed transparent;">
<div style="display: inline-block; vertical-align: top; height: 68px; width: 70px; margin: 30px 0px 4px 12px; border: 2px solid Brown;">
<input type="text" name="attr_monthlySP" class="sheet-square" value="">
</div>
<button class="btn sheet-textButton" type="action" name="act_Maintenance">
<label style="width: 72px; font-size: 13px; font-weight: 600; text-align: center; margin: 0px 0px 4px 0px; padding: 0; border: 1px solid transparent;" data-i18n="monthlySP-c">Monthly SP</label></button>
</div>
<div style="display: inline-block; vertical-align: top; margin: 0px 0px 0px 0px; border: 1px dashed transparent;">
<div style="display: inline-block; vertical-align: top; height: 68px; width: 70px; margin: 30px 0px 4px 12px; border: 2px solid Brown;">
<input type="text" name="attr_temporarySP" class="sheet-square" value="">
</div>
<label style="width: 72px; font-size: 13px; font-weight: 600; text-align: center; margin: 0px 0px 4px 12px; padding: 0; border: 1px solid transparent;" data-i18n="temporarySP-c">Temporary SP</label>
</div>
<div style="display: inline-block; vertical-align: top; margin: -6px 0px 0px 0px; border: 1px dashed transparent;">
<div style="display: inline-block; vertical-align: top; height: 68px; width: 70px; margin: 0px 0px 4px 26px; border: 2px solid Brown;">
<input type="text" name="attr_morale" class="sheet-square" value="1">
</div>
<label style="width: 72px; font-size: 13px; font-weight: 600; text-align: center; margin: 0px 0px 4px 26px; padding: 0; border: 1px solid transparent;" data-i18n="morale-c">Morale</label>
</div>
<div style="display: inline-block; vertical-align: top; margin: -6px 0px 0px 0px; border: 1px dashed transparent;">
<div style="display: inline-block; vertical-align: top; height: 68px; width: 70px; margin: 0px 0px 4px 14px; border: 2px solid Brown;">
<input type="text" name="attr_crime" class="sheet-square" value="0">
</div>
<label style="width: 72px; font-size: 13px; font-weight: 600; text-align: center; margin: 0px 0px 4px 14px; padding: 0; border: 1px solid transparent;" data-i18n="crime-c">Crime</label>
</div>
<div style="display: inline-block; vertical-align: top; margin: -6px 0px 0px 0px; border: 1px dashed transparent;">
<div style="display: inline-block; vertical-align: top; height: 68px; width: 70px; margin: 0px 0px 4px 14px; border: 2px solid Brown;">
<input type="text" name="attr_defense" class="sheet-square" value="0">
</div>
<label style="width: 72px; font-size: 13px; font-weight: 600; text-align: center; margin: 0px 0px 4px 14px; padding: 0; border: 1px solid transparent;" data-i18n="defense-c">Defense</label>
</div>
<div style="display: inline-block; vertical-align: top; margin: -6px 0px 0px 0px; border: 1px dashed transparent;">
<div style="display: inline-block; vertical-align: top; height: 68px; width: 70px; margin: 0px 0px 4px 14px; border: 2px solid Brown;">
<input type="text" name="attr_trade" class="sheet-square" value="">
</div>
<label style="width: 72px; font-size: 13px; font-weight: 600; text-align: center; margin: 0px 0px 4px 14px; padding: 0; border: 1px solid transparent;" data-i18n="trade-c">Trade</label>
</div>
</div>
<!-- Buildings -->
<div style="display: inline-block; vertical-align: top; height: 298px; width: 796px; margin: 6px 0px 0px 0px; border: 3px solid Brown;">
<label style="width: 786px; font-size: 22px; font-weight: 700; text-align: center; margin: 2px 0px 4px 0px; border: 1px solid transparent;" data-i18n="buildings:-c">Buildings:</label>
<div style="display: inline-block; vertical-align: top; height: 268px; width: 194px; margin: 0px 0px 0px 0px; border: 1px solid transparent;">
<label style="width: 186px; font-size: 11px; font-weight: 700; text-align: right; margin: 0px 0px 0px 0px; border: 1px solid transparent;">I&nbsp; &nbsp; &nbsp; II &nbsp; &nbsp; &nbsp; III</label>
<!-- House -->
<label class="sheet-building" data-i18n="house-c">House</label>
<input type="text" name="attr_house_I" class="sheet-building" value="">
<input type="text" name="attr_house_II" class="sheet-building" value="">
<input type="text" name="attr_house_III" class="sheet-building" value="">
<!-- Well -->
<label class="sheet-building" data-i18n="well-c">Well</label>
<input type="text" name="attr_house_I" class="sheet-building" value="">
<div class="round" >
<input type="checkbox" id="Well_II" name="attr_well_II" style="margin: 0" value="-10" />
<label for="Well_II"></label>
</div>
<div class="round">
<input type="checkbox" id="Well_III" name="attr_well_III" style="margin: 0" value="-25" />
<label for="Well_III"></label>
</div>
<!-- Farm -->
<label class="sheet-building" data-i18n="farm-c">Farm</label>
<input type="text" name="attr_farm_I" class="sheet-building" value="-5">
<input type="text" name="attr_farm_II" class="sheet-building" value="-25">
<input type="text" name="attr_farm_III" class="sheet-building" value="-75">
<!-- Pasture -->
<label class="sheet-building" data-i18n="pasture-c">Pasture</label>
<input type="text" name="attr_pasture_I" class="sheet-building" value="-5">
<input type="text" name="attr_pasture_II" class="sheet-building" value="-25">
<input type="text" name="attr_pasture_III" class="sheet-building" value="-100">
<!-- Town Hall -->
<label class="sheet-building" data-i18n="townHall-c">Town Hall</label>
<div class="round">
<input type="checkbox" id="townHall_I" name="attr_townHall_I" style="margin: 0" value="-5" />
<label for="townHall_I"></label>
</div>
<div class="round">
<input type="checkbox" id="townHall_II" name="attr_townHall_II" style="margin: 0" value="-10" />
<label for="townHall_II"></label>
</div>
<div class="round">
<input type="checkbox" id="townHall_III" name="attr_townHall_III" style="margin: 0" value="-25" />
<label for="townHall_III"></label>
</div>
<!-- Workshop -->
<label class="sheet-building" data-i18n="workshop-c">Workshop</label>
<div class="round">
<input type="checkbox" id="workshop_I" name="attr_workshop_I" style="margin: 0" value="0" />
<label for="workshop_I"></label>
</div>
<div class="round">
<input type="checkbox" id="workshop_II" name="attr_workshop_II" style="margin: 0" value="0" />
<label for="workshop_II"></label>
</div>
<div class="round">
<input type="checkbox" id="workshop_III" name="attr_workshop_III" style="margin: 0" value="0" />
<label for="workshop_III"></label>
</div>
<!-- Wall -->
<label class="sheet-building" data-i18n="wall-c">Wall</label>
<input type="text" name="attr_wall_I" class="sheet-building" value="">
<input type="text" name="attr_wall_II" class="sheet-building" value="">
<input type="text" name="attr_wall_III" class="sheet-building" value="">
<!-- Gate -->
<label class="sheet-building" data-i18n="gate-c">Gate</label>
<input type="text" name="attr_gate_I" class="sheet-building" value="">
<input type="text" name="attr_gate_II" class="sheet-building" value="">
<input type="text" name="attr_gate_III" class="sheet-building" value="">
<!-- Tower -->
<label class="sheet-building" data-i18n="tower-c">Tower</label>
<input type="text" name="attr_tower_I" class="sheet-building" value="">
<input type="text" name="attr_tower_II" class="sheet-building" value="">
<input type="text" name="attr_tower_III" class="sheet-building" value="">
<!-- Tavern -->
<label class="sheet-building" data-i18n="tavern-c">Tavern</label>
<div class="round">
<input type="checkbox" id="tavern_I" name="attr_tavern_I" style="margin: 0" value="" />
<label for="tavern_I"></label>
</div>
<div class="round">
<input type="checkbox" id="tavern_II" name="attr_tavern_II" style="margin: 0" value="" />
<label for="tavern_II"></label>
</div>
<div class="round">
<input type="checkbox" id="tavern_III" name="attr_tavern_III" style="margin: 0" value="" />
<label for="tavern_III"></label>
</div>
</div>
<div style="display: inline-block; vertical-align: top; height: 268px; width: 194px; margin: 0px 0px 0px 0px; border: 1px dashed transparent;">
<label style="width: 186px; font-size: 11px; font-weight: 700; text-align: right; margin: 0px 0px 0px 0px; border: 1px solid transparent;">I&nbsp; &nbsp; &nbsp; II &nbsp; &nbsp; &nbsp; III</label>
<!-- Inn -->
<label class="sheet-building" data-i18n="inn-c">Inn</label>
<div class="round">
<input type="checkbox" id="inn_I" name="attr_inn_I" style="margin: 0" value="5" />
<label for="inn_I"></label>
</div>
<div class="round">
<input type="checkbox" id="inn_II" name="attr_inn_II" style="margin: 0" value="20" />
<label for="inn_II"></label>
</div>
<div class="round">
<input type="checkbox" id="inn_III" name="attr_inn_III" style="margin: 0" value="100" />
<label for="inn_III"></label>
</div>
<!-- Stable -->
<label class="sheet-building" data-i18n="stable-c">Stable</label>
<div class="round">
<input type="checkbox" id="stable_I" name="attr_stable_I" style="margin: 0" value="5" />
<label for="stable_I"></label>
</div>
<div class="round">
<input type="checkbox" id="stable_II" name="attr_stable_II" style="margin: 0" value="20" />
<label for="stable_II"></label>
</div>
<div class="round">
<input type="checkbox" id="stable_III" name="attr_stable_III" style="margin: 0" value="25" />
<label for="stable_III"></label>
</div>
<!-- Lumber Mill -->
<label class="sheet-building" data-i18n="lumberMill-c">Lumber Mill</label>
<div class="round">
<input type="checkbox" id="lumberMill_I" name="attr_lumberMill_I" style="margin: 0" value="-10" />
<label for="lumberMill_I"></label>
</div>
<div class="round">
<input type="checkbox" id="lumberMill_II" name="attr_lumberMill_II" style="margin: 0" value="-20" />
<label for="lumberMill_II"></label>
</div>
<div class="round">
<input type="checkbox" id="lumberMill_III" name="attr_lumberMill_III" style="margin: 0" value="-50" />
<label for="lumberMill_III"></label>
</div>
<!-- Hunting Camp -->
<label class="sheet-building" data-i18n="huntingCamp-c">Hunting Camp</label>
<div class="round">
<input type="checkbox" id="huntingCamp_I" name="attr_huntingCamp_I" style="margin: 0" value="-5" />
<label for="huntingCamp_I"></label>
</div>
<div class="round">
<input type="checkbox" id="huntingCamp_II" name="attr_huntingCamp_II" style="margin: 0" value="-10" />
<label for="huntingCamp_II"></label>
</div>
<div class="round">
<input type="checkbox" id="huntingCamp_III" name="attr_huntingCamp_III" style="margin: 0" value="-20" />
<label for="huntingCamp_III"></label>
</div>
<!-- Mine -->
<label class="sheet-building" data-i18n="mine-c">Mine</label>
<div class="round">
<input type="checkbox" id="mine_I" name="attr_mine_I" style="margin: 0" value="-10" />
<label for="mine_I"></label>
</div>
<div class="round">
<input type="checkbox" id="mine_II" name="attr_mine_II" style="margin: 0" value="-20" />
<label for="mine_II"></label>
</div>
<div class="round">
<input type="checkbox" id="mine_III" name="attr_mine_III" style="margin: 0" value="-50" />
<label for="mine_III"></label>
</div>
<!-- Market -->
<label class="sheet-building" data-i18n="market-c">Market</label>
<div class="round">
<input type="checkbox" id="market_I" name="attr_market_I" style="margin: 0" value="10" />
<label for="market_I"></label>
</div>
<div class="round">
<input type="checkbox" id="market_II" name="attr_market_II" style="margin: 0" value="40" />
<label for="market_II"></label>
</div>
<div class="round">
<input type="checkbox" id="market_III" name="attr_market_III" style="margin: 0" value="100" />
<label for="market_III"></label>
</div>
<!-- Docks -->
<label class="sheet-building" data-i18n="docks-c">Docks</label>
<div class="round">
<input type="checkbox" id="docks_I" name="attr_docks_I" style="margin: 0" value="0" />
<label for="docks_I"></label>
</div>
<div class="round">
<input type="checkbox" id="docks_II" name="attr_docks_II" style="margin: 0" value="-3" />
<label for="docks_II"></label>
</div>
<div class="round">
<input type="checkbox" id="docks_III" name="attr_docks_III" style="margin: 0" value="-50" />
<label for="docks_III"></label>
</div>
<!-- Dry Docks -->
<label class="sheet-building" data-i18n="dryDocks-c">Dry Docks</label>
<div class="round">
<input type="checkbox" id="dryDocks_I" name="attr_dryDocks_I" style="margin: 0" value="0" />
<label for="dryDocks_I"></label>
</div>
<div class="round">
<input type="checkbox" id="dryDocks_II" name="attr_dryDocks_II" style="margin: 0" value="0" />
<label for="dryDocks_II"></label>
</div>
<div class="round">
<input type="checkbox" id="dryDocks_III" name="attr_dryDocks_III" style="margin: 0" value="0" />
<label for="dryDocks_III"></label>
</div>
<!-- Temple -->
<label class="sheet-building" data-i18n="temple-c">Temple</label>
<div class="round">
<input type="checkbox" id="temple_I" name="attr_temple_I" style="margin: 0" value="0" />
<label for="temple_I"></label>
</div>
<div class="round">
<input type="checkbox" id="temple_II" name="attr_temple_II" style="margin: 0" value="0" />
<label for="temple_II"></label>
</div>
<div class="round">
<input type="checkbox" id="temple_III" name="attr_temple_III" style="margin: 0" value="0" />
<label for="temple_III"></label>
</div>
<!-- Guardhouse -->
<label class="sheet-building" data-i18n="guardhouse-c">Guardhouse</label>
<div class="round">
<input type="checkbox" id="guardhouse_I" name="attr_guardhouse_I" style="margin: 0" value="-5" />
<label for="guardhouse_I"></label>
</div>
<div class="round">
<input type="checkbox" id="guardhouse_II" name="attr_guardhouse_II" style="margin: 0" value="-20" />
<label for="guardhouse_II"></label>
</div>
<div class="round">
<input type="checkbox" id="guardhouse_III" name="attr_guardhouse_III" style="margin: 0" value="-70" />
<label for="guardhouse_III"></label>
</div>
</div>
<input type="hidden" name="attr_col1Buildings" value="0">
<input type="hidden" name="attr_col2Buildings" value="0">
<input type="hidden" name="attr_col3Buildings" value="0">
<input type="hidden" name="attr_col4Buildings" value="0">
<div style="display: inline-block; vertical-align: top; height: 268px; width: 194px; margin: 0px 0px 0px 0px; border: 1px dashed transparent;">
<label style="width: 186px; font-size: 11px; font-weight: 700; text-align: right; margin: 0px 0px 0px 0px; border: 1px solid transparent;">I&nbsp; &nbsp; &nbsp; II &nbsp; &nbsp; &nbsp; III</label>
<!-- Mine -->
<label class="sheet-building" data-i18n="barracks-c">Barracks</label>
<div class="round">
<input type="checkbox" id="barracks_I" name="attr_barracks_I" style="margin: 0" value="-5" />
<label for="barracks_I"></label>
</div>
<div class="round">
<input type="checkbox" id="barracks_II" name="attr_barracks_II" style="margin: 0" value="-10" />
<label for="barracks_II"></label>
</div>
<div class="round">
<input type="checkbox" id="barracks_III" name="attr_barracks_III" style="margin: 0" value="-25" />
<label for="barracks_III"></label>
</div>
<!-- Merchant Shop -->
<label class="sheet-building" data-i18n="merchantShop-c">Merchant Shop</label>
<input type="text" name="attr_merchantShop_I" class="sheet-building" value="">
<!-- Road -->
<label class="sheet-building" data-i18n="road-c">Road</label>
<div class="round">
<input type="checkbox" id="road_I" name="attr_road_I" style="margin: 0" value="-2" />
<label for="road_I"></label>
</div>
<div class="round">
<input type="checkbox" id="road_II" name="attr_road_II" style="margin: 0" value="-5" />
<label for="road_II"></label>
</div>
<div class="round">
<input type="checkbox" id="road_III" name="attr_road_III" style="margin: 0" value="-25" />
<label for="road_III"></label>
</div>
<!-- Outpost -->
<label class="sheet-building" data-i18n="outpost-c">Outpost</label>
<input type="text" name="attr_outpost_I" class="sheet-building" value="-5">
<input type="text" name="attr_outpost_II" class="sheet-building" value="-25">
<input type="text" name="attr_outpost_III" class="sheet-building" value="-125">
<!-- Keep -->
<label class="sheet-building" data-i18n="keep-c">Keep</label>
<div class="round">
<input type="checkbox" id="keep_I" name="attr_keep_I" style="margin: 0" value="-10" />
<label for="keep_I"></label>
</div>
<div class="round">
<input type="checkbox" id="keep_II" name="attr_keep_II" style="margin: 0" value="-20" />
<label for="keep_II"></label>
</div>
<div class="round">
<input type="checkbox" id="keep_III" name="attr_keep_III" style="margin: 0" value="-100" />
<label for="keep_III"></label>
</div>
<!-- Cemetary -->
<label class="sheet-building" data-i18n="cemetary-c">Cemetary</label>
<div class="round">
<input type="checkbox" id="cemetary_I" name="attr_cemetary_I" style="margin: 0" value="0" />
<label for="cemetary_I"></label>
</div>
<div class="round">
<input type="checkbox" id="cemetary_II" name="attr_cemetary_II" style="margin: 0" value="0" />
<label for="cemetary_II"></label>
</div>
<div class="round">
<input type="checkbox" id="cemetary_III" name="attr_cemetary_III" style="margin: 0" value="0" />
<label for="cemetary_III"></label>
</div>
<!-- Storehouse -->
<label class="sheet-building" data-i18n="storehouse-c">Storehouse</label>
<div class="round">
<input type="checkbox" id="storehouse_I" name="attr_storehouse_I" style="margin: 0" value="-2" />
<label for="storehouse_I"></label>
</div>
<div class="round">
<input type="checkbox" id="storehouse_II" name="attr_storehouse_II" style="margin: 0" value="-5" />
<label for="storehouse_II"></label>
</div>
<div class="round">
<input type="checkbox" id="storehouse_III" name="attr_storehouse_III" style="margin: 0" value="-20" />
<label for="storehouse_III"></label>
</div>
<!-- Academy -->
<label class="sheet-building" data-i18n="academy-c">Academy</label>
<div class="round">
<input type="checkbox" id="academy_I" name="attr_academy_I" style="margin: 0" value="0" />
<label for="academy_I"></label>
</div>
<div class="round">
<input type="checkbox" id="academy_II" name="attr_academy_II" style="margin: 0" value="20" />
<label for="academy_II"></label>
</div>
<div class="round">
<input type="checkbox" id="academy_III" name="attr_academy_III" style="margin: 0" value="50" />
<label for="academy_III"></label>
</div>
<!-- Guildhall -->
<label class="sheet-building" data-i18n="guildhall-c">Guildhall</label>
<input type="text" name="attr_guildhall_I" class="sheet-building" value="">
<input type="text" name="attr_guildhall_II" class="sheet-building" value="">
<input type="text" name="attr_guildhall_III" class="sheet-building" value="">
<!-- Prison -->
<label class="sheet-building" data-i18n="prison-c">Prison</label>
<div class="round">
<input type="checkbox" id="prison_I" name="attr_prison_I" style="margin: 0" value="0" />
<label for="prison_I"></label>
</div>
<div class="round">
<input type="checkbox" id="prison_II" name="attr_prison_II" style="margin: 0" value="20" />
<label for="prison_II"></label>
</div>
<div class="round">
<input type="checkbox" id="prison_III" name="attr_prison_III" style="margin: 0" value="200" />
<label for="prison_III"></label>
</div>
</div>
<div style="display: inline-block; vertical-align: top; height: 268px; width: 194px; margin: 0px 0px 0px -4px; border: 1px dashed transparent;">
<label style="width: 186px; font-size: 11px; font-weight: 700; text-align: right; margin: 0px 0px 0px 0px; border: 1px solid transparent;">I&nbsp; &nbsp; &nbsp; II &nbsp; &nbsp; &nbsp; III</label>
<!-- Orphanage -->
<label class="sheet-building" data-i18n="orphanage-c">Orphanage</label>
<div class="round">
<input type="checkbox" id="orphanage_I" name="attr_orphanage_I" style="margin: 0" value="0" />
<label for="orphanage_I"></label>
</div>
<div class="round">
<input type="checkbox" id="orphanage_II" name="attr_orphanage_II" style="margin: 0" value="-5" />
<label for="orphanage_II"></label>
</div>
<div class="round">
<input type="checkbox" id="orphanage_III" name="attr_orphanage_III" style="margin: 0" value="-30" />
<label for="orphanage_III"></label>
</div>
<!-- Mage Tower -->
<label class="sheet-building" data-i18n="mageTower-c">Mage Tower</label>
<div class="round">
<input type="checkbox" id="mageTower_I" name="attr_mageTower_I" style="margin: 0" value="0" />
<label for="mageTower_I"></label>
</div>
<div class="round">
<input type="checkbox" id="mageTower_II" name="attr_mageTower_II" style="margin: 0" value="0" />
<label for="mageTower_II"></label>
</div>
<div class="round">
<input type="checkbox" id="mageTower_III" name="attr_mageTower_III" style="margin: 0" value="0" />
<label for="mageTower_III"></label>
</div>
<!-- Brothel -->
<label class="sheet-building" data-i18n="brothel-c">Brothel</label>
<div class="round">
<input type="checkbox" id="brothel_I" name="attr_brothel_I" style="margin: 0" value="5" />
<label for="brothel_I"></label>
</div>
<div class="round">
<input type="checkbox" id="brothel_II" name="attr_brothel_II" style="margin: 0" value="25" />
<label for="brothel_II"></label>
</div>
<div class="round">
<input type="checkbox" id="brothel_III" name="attr_brothel_III" style="margin: 0" value="100" />
<label for="brothel_III"></label>
</div>
<!-- Arena -->
<label class="sheet-building" data-i18n="arena-c">Arena</label>
<div class="round">
<input type="checkbox" id="arena_I" name="attr_arena_I" style="margin: 0" value="10" />
<label for="arena_I"></label>
</div>
<div class="round">
<input type="checkbox" id="arena_II" name="attr_arena_II" style="margin: 0" value="50" />
<label for="arena_II"></label>
</div>
<div class="round">
<input type="checkbox" id="arena_III" name="attr_arena_III" style="margin: 0" value="100" />
<label for="arena_III"></label>
</div>
<!-- Theater -->
<label class="sheet-building" data-i18n="theater-c">Theater</label>
<div class="round">
<input type="checkbox" id="theater_I" name="attr_theater_I" style="margin: 0" value="5" />
<label for="theater_I"></label>
</div>
<div class="round">
<input type="checkbox" id="theater_II" name="attr_theater_II" style="margin: 0" value="20" />
<label for="theater_II"></label>
</div>
<div class="round">
<input type="checkbox" id="theater_III" name="attr_theater_III" style="margin: 0" value="50" />
<label for="theater_III"></label>
</div>
<!-- Apothecary -->
<label class="sheet-building" data-i18n="apothecary-c">Apothecary</label>
<div class="round">
<input type="checkbox" id="apothecary_I" name="attr_apothecary_I" style="margin: 0" value="5" />
<label for="apothecary_I"></label>
</div>
<div class="round">
<input type="checkbox" id="apothecary_II" name="attr_apothecary_II" style="margin: 0" value="0" />
<label for="apothecary_II"></label>
</div>
<div class="round">
<input type="checkbox" id="apothecary_III" name="attr_apothecary_III" style="margin: 0" value="0" />
<label for="apothecary_III"></label>
</div>
<!-- Brewery -->
<label class="sheet-building" data-i18n="brewery-c">Brewery</label>
<div class="round">
<input type="checkbox" id="brewery_I" name="attr_brewery_I" style="margin: 0" value="5" />
<label for="brewery_I"></label>
</div>
<div class="round">
<input type="checkbox" id="brewery_II" name="attr_brewery_II" style="margin: 0" value="20" />
<label for="brewery_II"></label>
</div>
<div class="round">
<input type="checkbox" id="brewery_III" name="attr_brewery_III" style="margin: 0" value="50" />
<label for="brewery_III"></label>
</div>
<!-- Bandit Hideout -->
<label class="sheet-building" data-i18n="banditHideout-c">Bandit Hideout</label>
<div class="round">
<input type="checkbox" id="banditHideout_I" name="attr_banditHideout_I" style="margin: 0" value="-10" />
<label for="banditHideout_I"></label>
</div>
<div class="round">
<input type="checkbox" id="banditHideout_II" name="attr_banditHideout_II" style="margin: 0" value="-25" />
<label for="banditHideout_II"></label>
</div>
<div class="round">
<input type="checkbox" id="banditHideout_III" name="attr_banditHideout_III" style="margin: 0" value="-100" />
<label for="banditHideout_III"></label>
</div>
<!-- Trading Company -->
<label class="sheet-building" data-i18n="tradingCompany-c">Trading Company</label>
<div class="round">
<input type="checkbox" id="tradingCompany_I" name="attr_tradingCompany_I" style="margin: 0" value="0" />
<label for="tradingCompany_I"></label>
</div>
<div class="round">
<input type="checkbox" id="tradingCompany_II" name="attr_tradingCompany_II" style="margin: 0" value="0" />
<label for="tradingCompany_II"></label>
</div>
<div class="round">
<input type="checkbox" id="tradingCompany_III" name="attr_tradingCompany_III" style="margin: 0" value="0" />
<label for="tradingCompany_III"></label>
</div>
</div>
</div>
<!-- Resources -->
<div style="display: inline-block; vertical-align: top; height: 134px; width: 260px; margin: 6px 0px 0px 0px; border: 3px solid Brown;">
<label style="width: 250px; font-size: 22px; font-weight: 700; text-align: center; margin: 6px 0px 4px 0px; border: 1px solid transparent;" data-i18n="resources:-c">Resources:</label>
<label style="width: 250px; font-size: 11px; font-weight: 700; text-align: right; margin: 0px 0px 0px 0px; border: 1px solid transparent;">rare&nbsp; &nbsp; &nbsp; adequate &nbsp; &nbsp; abundant</label>
<!-- Lumber -->
<label style="display: inline-block; vertical-align: top; width: 84px; font-size: 22px; font-weight: 700; text-align: left; margin: 4px 0px 4px 10px; border: 1px solid transparent;" data-i18n="lumber-c">Lumber</label>
<div style="display: inline-block; vertical-align: top; height: 20px; width: 140px; margin: 4px 0px 0px 0px; border: 0px solid Black;">
<div class="round" style="border: 0;">
<input type="checkbox" id="lumber_I" name="attr_lumber" style="margin: 0" value="1" />
<label for="lumber_I"></label>
</div>
<div class="round" style="margin: 0px 0px 0px 20px; border: 0;" >
<input type="checkbox" id="lumber_II" name="attr_lumber" value="2" />
<label for="lumber_II"></label>
</div>
<div class="round" style="margin: 0px 0px 0px 28px; border: 0;">
<input type="checkbox" id="lumber_III" name="attr_lumber" value="3" />
<label for="lumber_III"></label>
</div>
</div>
<!-- Stone -->
<label style="display: inline-block; vertical-align: top; width: 84px; font-size: 22px; font-weight: 700; text-align: left; margin: 4px 0px 4px 10px; border: 1px solid transparent;" data-i18n="stone-c">Stone</label>
<div style="display: inline-block; vertical-align: top; height: 20px; width: 140px; margin: 4px 0px 0px 0px; border: 0px solid Black;">
<div class="round" style="border: 0;">
<input type="checkbox" id="stone_I" name="attr_stone" style="margin: 0" value="1" />
<label for="stone_I"></label>
</div>
<div class="round" style="margin: 0px 0px 0px 20px; border: 0;" >
<input type="checkbox" id="stone_II" name="attr_stone" value="2" />
<label for="stone_II"></label>
</div>
<div class="round" style="margin: 0px 0px 0px 28px; border: 0;">
<input type="checkbox" id="stone_III" name="attr_stone" value="3" />
<label for="stone_III"></label>
</div>
</div>
<!-- Metal -->
<label style="display: inline-block; vertical-align: top; width: 84px; font-size: 22px; font-weight: 700; text-align: left; margin: 4px 0px 4px 10px; border: 1px solid transparent;" data-i18n="metal-c">Metal</label>
<div style="display: inline-block; vertical-align: top; height: 20px; width: 140px; margin: 4px 0px 0px 0px; border: 0px solid Black;">
<div class="round" style="border: 0;">
<input type="checkbox" id="metal_I" name="attr_metal" style="margin: 0" value="1" />
<label for="metal_I"></label>
</div>
<div class="round" style="margin: 0px 0px 0px 20px; border: 0;" >
<input type="checkbox" id="metal_II" name="attr_metal" value="2" />
<label for="metal_II"></label>
</div>
<div class="round" style="margin: 0px 0px 0px 28px; border: 0;">
<input type="checkbox" id="metal_III" name="attr_metal" value="3" />
<label for="metal_III"></label>
</div>
</div>
</div>
<!-- Notes -->
<div style="display: inline-block; vertical-align: top; height: 140px; width: 510px; margin: 6px 0px 0px 0px; border: 2px solid transparent;">
<label style="width: 480px; font-size: 22px; font-weight: 700; text-align: center; margin: 8px 0px 4px 26px; border: 1px solid transparent;" data-i18n="notes:-c">Notes:</label>
<input type="text" name="attr_note1" class="sheet-note" style="width: 490px; margin: -6px 0px 4px 20px;" value="">
<input type="text" name="attr_note2" class="sheet-note" style="width: 490px; margin: 0px 0px 4px 20px;" value="">
<input type="text" name="attr_note3" class="sheet-note" style="width: 490px; margin: 0px 0px 4px 20px;" value="">
<input type="text" name="attr_note4" class="sheet-note" style="width: 490px; margin: 0px 0px 4px 20px;" value="">
</div>
<input type="text" name="attr_note5" class="sheet-note" style="margin: -6px 0px 4px 14px;" value="">
<input type="text" name="attr_note6" class="sheet-note" value="">
<input type="text" name="attr_note7" class="sheet-note" value="">
<input type="text" name="attr_note8" class="sheet-note" value="">
<input type="text" name="attr_note9" class="sheet-note" value="">
<input type="text" name="attr_note10" class="sheet-note" value="">
<input type="text" name="attr_note11" class="sheet-note" value="">
<input type="text" name="attr_note12" class="sheet-note" value="">
<input type="text" name="attr_note13" class="sheet-note" value="">
<input type="text" name="attr_note14" class="sheet-note" value="">
<input type="text" name="attr_note15" class="sheet-note" value="">
<input type="text" name="attr_note16" class="sheet-note" value="">
</div>
<div class="sheet-tab-content sheet-tab2"><!--- Tab 2 start -->
<label style="width: 820px; font-size: 24px; font-weight: 700; text-align: center; margin: 50px 0px 4px -12px; border: 1px solid transparent;" data-i18n="organicTownsSettlementSheet-c">Organic Towns Settlement Sheet</label>
<div style="display: inline-block; vertical-align: top; height: 438px; width: 790px; margin: 6px 0px 0px 10px; border: 3px solid Brown;">
<label style="width: 770px; font-size: 20px; font-weight: 700; text-align: left; margin: 10px 0px 4px 16px; border: 0px solid Red;" data-i18n="constructionQueue:-c">Construction Queue:</label>
<label style="display: inline-block; vertical-align: top; width: 200px; font-size: 18px; font-weight: 700; text-align: center; margin: 8px 0px 4px 10px; border: 1px solid transparent;" data-i18n="building:-c">Building</label>
<label style="display: inline-block; vertical-align: top; width: 70px; font-size: 18px; font-weight: 700; text-align: left; margin: 8px 0px 4px 2px; border: 1px solid transparent;" data-i18n="SPCost:-c">SP Cost:</label>
<label style="display: inline-block; vertical-align: top; width: 320px; font-size: 18px; font-weight: 700; text-align: center; margin: 8px 0px 4px 4px; border: 1px solid transparent;" data-i18n="monthsOfCompletedConstruction:-c">Months Of Completed Construction:</label>
<label style="display: inline-block; vertical-align: top; width: 120px; font-size: 18px; font-weight: 700; text-align: center; margin: 8px 0px 4px 4px; border: 1px solid transparent;" data-i18n="notes:-c">Notes:</label>
<input type="text" name="attr_bc1" class="sheet-note sheet-bc" style="margin: -4px 0px 0px 2px;" value="">
<input type="text" name="attr_spc1" class="sheet-note sheet-spc" style="margin: -4px 20px 0px 10px;" value="">
<div class="sheet-attribArray" style="margin: -6px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc1" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc1" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc1" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc1" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc1" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc1" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc1" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc1" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc1" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc1" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc1" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc1" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc1" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn1" class="sheet-note sheet-cn" style="margin: -4px 0px 0px 8px;" value="">
<input type="text" name="attr_bc2" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc2" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc2" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc2" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc2" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc2" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc2" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc2" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc2" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc2" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc2" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc2" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc2" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc2" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc2" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn2" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc3" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc3" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc3" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc3" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc3" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc3" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc3" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc3" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc3" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc3" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc3" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc3" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc3" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc3" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc3" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn3" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc4" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc4" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc4" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc4" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc4" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc4" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc4" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc4" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc4" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc4" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc4" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc4" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc4" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc4" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc4" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn4" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc5" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc5" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc5" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc5" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc5" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc5" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc5" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc5" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc5" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc5" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc5" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc5" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc5" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc5" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc5" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn5" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc6" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc6" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc6" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc6" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc6" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc6" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc6" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc6" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc6" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc6" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc6" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc6" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc6" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc6" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc6" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn6" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc7" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc7" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc7" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc7" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc7" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc7" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc7" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc7" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc7" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc7" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc7" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc7" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc7" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc7" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc7" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn7" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc8" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc8" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc8" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc8" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc8" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc8" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc8" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc8" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc8" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc8" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc8" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc8" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc8" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc8" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc8" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn8" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc9" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc9" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc9" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc9" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc9" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc9" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc9" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc9" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc9" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc9" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc9" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc9" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc9" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc9" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc9" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn9" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc10" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc10" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc10" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc10" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc10" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc10" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc10" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc10" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc10" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc10" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc10" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc10" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc10" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc10" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc10" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn10" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc11" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc11" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc11" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc11" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc11" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc11" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc11" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc11" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc11" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc11" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc11" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc11" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc11" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc11" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc11" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn11" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc12" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc12" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc12" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc12" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc12" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc12" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc12" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc12" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc12" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc12" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc12" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc12" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc12" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc12" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc12" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn12" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc13" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc13" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc13" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc13" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc13" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc13" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc13" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc13" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc13" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc13" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc13" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc13" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc13" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc13" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc13" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn13" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc14" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc14" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc14" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc14" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc14" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc14" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc14" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc14" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc14" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc14" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc14" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc14" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc14" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc14" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc14" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn14" class="sheet-note sheet-cn" value="">
<input type="text" name="attr_bc15" class="sheet-note sheet-bc" value="">
<input type="text" name="attr_spc15" class="sheet-note sheet-spc" value="">
<div class="sheet-attribArray" style="margin: 1px 0px 0px 0px; background-color: rgb(172, 172, 172)">
<input type="radio" name="attr_mc15" value="0" class="sheet-zero" checked data-i18n-title="clear-c" /><span></span>
<input type="radio" name="attr_mc15" value="1" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc15" value="2" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc15" value="3" class="sheet-rndused" title="3"/><span></span>
<input type="radio" name="attr_mc15" value="4" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc15" value="5" class="sheet-rndused" title="5" /><span></span>
<input type="radio" name="attr_mc15" value="6" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc15" value="7" class="sheet-rndused" title="7" /><span></span>
<input type="radio" name="attr_mc15" value="8" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc15" value="9" class="sheet-rndused" title="9" /><span></span>
<input type="radio" name="attr_mc15" value="10" class="sheet-rndused" /><span></span>
<input type="radio" name="attr_mc15" value="11" class="sheet-rndused" title="11" /><span></span>
<input type="radio" name="attr_mc15" value="12" class="sheet-rndused" /><span></span>
</div>
<input type="text" name="attr_cn15" class="sheet-note sheet-cn" value="">
</div>
<div style="display: inline-block; vertical-align: top; height: 530px; width: 790px; margin: 4px 0px 10px 10px; border: 3px solid Brown;">
<label style="width: 770px; font-size: 20px; font-weight: 700; text-align: left; margin: 0px 0px 4px 16px; border: 1px solid transparent;" data-i18n="recentEvents:-c">Recent Events:</label>
<input type="text" name="attr_event1" class="sheet-event" style="height: 23px; margin: -16px 0px 0px 8px; " value="">
<input type="text" name="attr_event2" class="sheet-event" style="height: 23px;" value="">
<input type="text" name="attr_event3" class="sheet-event" style="height: 24px;" value="">
<input type="text" name="attr_event4" class="sheet-event" style="height: 24px;" value="">
<input type="text" name="attr_event5" class="sheet-event" style="height: 25px;" value="">
<input type="text" name="attr_event6" class="sheet-event" style="height: 25px;" value="">
<input type="text" name="attr_event7" class="sheet-event" style="height: 25px;" value="">
<input type="text" name="attr_event8" class="sheet-event" style="height: 26px;" value="">
<input type="text" name="attr_event9" class="sheet-event" style="height: 25px;" value="">
<input type="text" name="attr_event10" class="sheet-event" style="height: 26px;" value="">
<input type="text" name="attr_event11" class="sheet-event" style="height: 25px;" value="">
<input type="text" name="attr_event12" class="sheet-event" style="height: 26px;" value="">
<input type="text" name="attr_event13" class="sheet-event" style="height: 25px;" value="">
<input type="text" name="attr_event14" class="sheet-event" style="height: 26px;" value="">
<input type="text" name="attr_event15" class="sheet-event" style="height: 25px;" value="">
<input type="text" name="attr_event16" class="sheet-event" style="height: 26px;" value="">
<input type="text" name="attr_event17" class="sheet-event" style="height: 25px;" value="">
<input type="text" name="attr_event18" class="sheet-event" style="height: 26px;" value="">
<input type="text" name="attr_event19" class="sheet-event" style="height: 25px;" value="">
<input type="text" name="attr_event20" class="sheet-event" style="height: 26px;" value="">
</div>
</div>
<div class="sheet-tab-content sheet-tab3"><!--- Tab 3 start -->
<label style="display: inline-block; vertical-align: top; width: 402px; font-size: 24px; font-weight: 700; text-align: center; margin: 50px 0px 22px 0px; padding: 0; border: 1px solid transparent;" data-i18n="reports-c">Reports</label>
<label style="display: inline-block; vertical-align: top; width: 402px; font-size: 24px; font-weight: 700; text-align: center; margin: 50px 0px 22px 0px; padding: 0; border: 1px solid transparent;" data-i18n="guildhalls&UniqueBuidings-c">Guildhalls & UniqueBuidings</label>
<div style="display: inline-block; vertical-align: top; width: 402px; border: 1px solid Gray;">
<label style="width: 406px; font-size: 18px; font-weight: 600; text-align: center; margin: 20px 0px 4px 0px; padding: 0; border: 1px solid transparent;" data-i18n="maintenance-c">Maintenance</label>
<label style="display: inline-block; vertical-align: top; width: 60px; font-size: 16px; font-weight: 500; text-align: left; margin: 10px 0px 4px 6px; border: 0px solid Black;" data-i18n="expenses:-c">Expenses:</label>
<input type="text" name="attr_expenses" style="display: inline-block; vertical-align: top; width: 44px; height: 20px; margin: 10px 0px 0px 0px; font-weight: 400; text-align: center; color: Red; border: 0; border-radius: 0; border-bottom: 2px solid DimGray; background-color: transparent " value="0">
<label style="display: inline-block; vertical-align: top; width: 190px; font-size: 16px; font-weight: 500; text-align: right; margin: 10px 0px 4px 6px; border: 0px solid Black;" data-i18n="net:-c">Net:</label>
<input type="text" name="attr_net" style="display: inline-block; vertical-align: top; width: 44px; height: 20px; margin: 10px 0px 0px 0px; font-weight: 400; text-align: center; color: Black; border: 0; border-radius: 0; border-bottom: 2px solid DimGray; background-color: transparent " value="0">
<textarea name="attr_maintenance" rows="32" cols="80">
</textarea>
<label style="display: inline-block; vertical-align: top; width: 60px; font-size: 16px; font-weight: 500; text-align: left; margin: 10px 0px 4px 6px; border: 0px solid Black;" data-i18n="income:-c">Income:</label>
<input type="text" name="attr_income" style="display: inline-block; vertical-align: top; width: 44px; height: 20px; margin: 10px 0px 0px 0px; font-weight: 400; text-align: center; color: Black; border: 0; border-radius: 0; border-bottom: 2px solid DimGray; background-color: transparent " value="0">
<textarea name="attr_benefits" rows="32" cols="80">
</textarea>
</div>
<div style="display: inline-block; vertical-align: top; width: 402px; border: 1px solid Gray;">
<label style="width: 406px; font-size: 18px; font-weight: 600; text-align: center; margin: 20px 0px 4px 0px; padding: 0; border: 1px solid transparent;" data-i18n="guildhalls-c">Guildhalls</label>
<div style="display: inline-block; vertical-align: top; width: 402px; border: 1px solid DimGray;">
<label style="display: inline-block; vertical-align: top; width: 186px; font-size: 18px; font-weight: 600; text-align: center; margin: 2px 0px 4px 0px; border:0; border-bottom: 1px solid Black;" data-i18n-title="guildhallName-c" data-i18n="name-c">Name</label>
<label style="display: inline-block; vertical-align: top; width: 90px; font-size: 18px; font-weight: 600; text-align: center; margin: 2px 0px 4px -2px; border:0; border-bottom: 1px solid Black;" data-i18n-title="guildhallType-c" data-i18n="type-c">Type</label>
<label style="display: inline-block; vertical-align: top; width: 90px; font-size: 18px; font-weight: 600; text-align: center; margin: 2px 0px 4px -2px; border:0; border-bottom: 1px solid Black;" data-i18n="level-c">Level</label>
<input type="text" name="attr_gh1name" class="sheet-ghub" value="">
<input type="text" name="attr_gh1type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_gh1level" class="sheet-building" style="width: 90px; font-size: 18px;" value="" >
<input type="text" name="attr_gh1desc" class="sheet-desc" value="">
<input type="text" name="attr_gh2name" class="sheet-ghub" value="">
<input type="text" name="attr_gh2type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_gh2level" class="sheet-building" style="width: 90px; font-size: 18px;" value="">
<input type="text" name="attr_gh2desc" class="sheet-desc" value="">
<input type="text" name="attr_gh3name" class="sheet-ghub" value="">
<input type="text" name="attr_gh3type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_gh3level" class="sheet-building" style="width: 90px; font-size: 18px;" value="">
<input type="text" name="attr_gh3desc" class="sheet-desc" value="">
<input type="text" name="attr_gh4name" class="sheet-ghub" value="">
<input type="text" name="attr_gh4type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_gh4level" class="sheet-building" style="width: 90px; font-size: 18px;" value="">
<input type="text" name="attr_gh4desc" class="sheet-desc" value="">
<input type="text" name="attr_gh5name" class="sheet-ghub" value="">
<input type="text" name="attr_gh5type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_gh5level" class="sheet-building" style="width: 90px; font-size: 18px;" value="">
<input type="text" name="attr_gh5desc" class="sheet-desc" value="">
<input type="text" name="attr_gh6name" class="sheet-ghub" value="">
<input type="text" name="attr_gh6type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_gh6level" class="sheet-building" style="width: 90px; font-size: 18px;" value="">
<input type="text" name="attr_gh6desc" class="sheet-desc" value="">
<input type="text" name="attr_gh7name" class="sheet-ghub" value="">
<input type="text" name="attr_gh7type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_gh7level" class="sheet-building" style="width: 90px; font-size: 18px;" value="">
<input type="text" name="attr_gh7desc" class="sheet-desc" value="">
<input type="text" name="attr_gh8name" class="sheet-ghub" value="">
<input type="text" name="attr_gh8type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_gh8level" class="sheet-building" style="width: 90px; font-size: 18px;" value="">
<input type="text" name="attr_gh8desc" class="sheet-desc" value="">
<input type="text" name="attr_gh9name" class="sheet-ghub" value="">
<input type="text" name="attr_gh9type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_gh9level" class="sheet-building" style="width: 90px; font-size: 18px;" value="">
<input type="text" name="attr_gh9desc" class="sheet-desc" value="">
<input type="text" name="attr_gh10name" class="sheet-ghub" value="">
<input type="text" name="attr_gh10type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_gh10level" class="sheet-building" style="width: 90px; font-size: 18px;" value="">
<input type="text" name="attr_gh10desc" class="sheet-desc" value="">
</div>
<label style="width: 406px; font-size: 18px; font-weight: 600; text-align: center; margin: 20px 0px 4px 0px; padding: 0; border: 1px solid transparent;" data-i18n="uniqueBuidings-c">Unique Buidings</label>
<div style="display: inline-block; vertical-align: top; width: 402px; border: 1px solid DimGray;">
<label style="display: inline-block; vertical-align: top; width: 186px; font-size: 18px; font-weight: 600; text-align: center; margin: 2px 0px 4px 0px; border:0; border-bottom: 1px solid Black;" data-i18n="name-c">Name</label>
<label style="display: inline-block; vertical-align: top; width: 90px; font-size: 18px; font-weight: 600; text-align: center; margin: 2px 0px 4px -2px; border:0; border-bottom: 1px solid Black;" data-i18n="type-c">Type</label>
<label style="display: inline-block; vertical-align: top; width: 90px; font-size: 18px; font-weight: 600; text-align: center; margin: 2px 0px 4px -2px; border:0; border-bottom: 1px solid Black;" data-i18n-title="levelSPMaintenanceCost-c" data-i18n="levelCost-c">Level Cost</label>
<input type="text" name="attr_ub1name" class="sheet-ghub" value="">
<input type="text" name="attr_ub1type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_ub1_I" class="sheet-building" data-i18n-title="leveICost-c" value="">
<input type="text" name="attr_ub1_II" class="sheet-building" data-i18n-title="leveIICost-c" value="">
<input type="text" name="attr_ub1_III" class="sheet-building" data-i18n-title="leveIIICost-c" value="">
<input type="text" name="attr_ub1desc" class="sheet-desc" value="">
<input type="text" name="attr_ub2name" class="sheet-ghub" value="">
<input type="text" name="attr_ub2type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_ub2_I" class="sheet-building" value="">
<input type="text" name="attr_ub2_II" class="sheet-building" value="">
<input type="text" name="attr_ub2_III" class="sheet-building" value="">
<input type="text" name="attr_ub2desc" class="sheet-desc" value="">
<input type="text" name="attr_ub3name" class="sheet-ghub" value="">
<input type="text" name="attr_ub3type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_ub3_I" class="sheet-building" value="">
<input type="text" name="attr_ub3_II" class="sheet-building" value="">
<input type="text" name="attr_ub3_III" class="sheet-building" value="">
<input type="text" name="attr_ub3desc" class="sheet-desc" value="">
<input type="text" name="attr_ub4name" class="sheet-ghub" value="">
<input type="text" name="attr_ub4type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_ub4_I" class="sheet-building" value="">
<input type="text" name="attr_ub4_II" class="sheet-building" value="">
<input type="text" name="attr_ub4_III" class="sheet-building" value="">
<input type="text" name="attr_ub4desc" class="sheet-desc" value="">
<input type="text" name="attr_ub5name" class="sheet-ghub" value="">
<input type="text" name="attr_ub5type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_ub5_I" class="sheet-building" value="">
<input type="text" name="attr_ub5_II" class="sheet-building" value="">
<input type="text" name="attr_ub5_III" class="sheet-building" value="">
<input type="text" name="attr_ub5desc" class="sheet-desc" value="">
<input type="text" name="attr_ub6name" class="sheet-ghub" value="">
<input type="text" name="attr_ub6type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_ub6_I" class="sheet-building" value="">
<input type="text" name="attr_ub6_II" class="sheet-building" value="">
<input type="text" name="attr_ub6_III" class="sheet-building" value="">
<input type="text" name="attr_ub6desc" class="sheet-desc" value="">
<input type="text" name="attr_ub7name" class="sheet-ghub" value="">
<input type="text" name="attr_ub7type" class="sheet-ghub" style="width: 98px; font-weight: 450;" value="">
<input type="text" name="attr_ub7_I" class="sheet-building" value="">
<input type="text" name="attr_ub7_II" class="sheet-building" value="">
<input type="text" name="attr_ub7_III" class="sheet-building" value="">
<input type="text" name="attr_ub7desc" class="sheet-desc" value="">
</div>
</div>
</div>
<div class="sheet-tab-content sheet-tab4"><!--- Tab 4 start -->
<label style="display: inline-block; vertical-align: top; width: 40px; font-size: 18px; font-weight: 500; text-align: center; margin: 0px 0px 8px 500px; padding-top: 4px" data-i18n="date:-c">Date:</label>
<input name="attr_curDay" type="text" style="display: inline-block; vertical-align: top; height: 24px; width: 40px; text-align: center; font-size: 16px; font-weight: 600; margin: 0px 0px 2px 6px; border-bottom: 2px solid DimGray;">
<input name="attr_curMonth" type="text" style="display: inline-block; vertical-align: top; height: 24px; width: 80px; text-align: center; font-size: 16px; font-weight: 500; margin: 0px 0px 2px 6px; border-bottom: 2px solid DimGray;">
<input name="attr_curYear" type="text" style="display: inline-block; vertical-align: top; height: 24px; width: 80px; text-align: center; font-size: 16px; font-weight: 500; margin: 0px 0px 2px 6px; border-bottom: 2px solid DimGray;">
<label style="display: inline-block; vertical-align: top; width: 40px; font-size: 14px; font-weight: 500; text-align: center; margin: -6px 0px 8px 560px;"data-i18n="day-c">Day</label>
<label style="display: inline-block; vertical-align: top; width: 64px; font-size: 14px; font-weight: 500; text-align: center; margin: -6px 0px 8px 6px;" data-i18n="month-c">Month</label>
<label style="display: inline-block; vertical-align: top; width: 74px; font-size: 14px; font-weight: 500; text-align: center; margin: -6px 0px 8px 6px;" data-i18n="year-c">Year</label>
<label style="display: inline-block; vertical-align: top; width: 810px; font-size: 36px; font-weight: 700; text-align: center; margin: 30px 0px 22px 0px; padding: 0; border: 1px solid transparent;" data-i18n="calendar-c">Calendar</label>
<label style="display: inline-block; vertical-align: top; width: 420px; font-size: 24px; font-weight: 700; text-align: center; margin: 0px 0px 8px 20px;" data-i18n="festival-c">Festival</label>
<label style="display: inline-block; vertical-align: top; width: 200px; font-size: 24px; font-weight: 700; text-align: center; margin: 0px 0px 8px 6px;" data-i18n="month(s)-c">Month(s)</label>
<label style="display: inline-block; vertical-align: top; width: 60px; font-size: 24px; font-weight: 700; text-align: center; margin: 0px 0px 8px 6px;" data-i18n="day(s)-c">Day(s)</label>
<fieldset class="repeating_festival">
<input name="attr_festival" type="text" style="height: 24px; width: 420px; text-align: center; font-size: 18px; font-weight: 600; margin: 0px 0px 0px 20px; border: 1px solid DimGray;">
<input name="attr_feastMonth" type="text" style="height: 24px; width: 200px; text-align: center; font-size: 18px; font-weight: 500; margin: 0px 0px 0px 6px; border: 1px solid DimGray;">
<input name="attr_feastDays" type="text" style="height: 24px; width: 100px; text-align: center; font-size: 18px; font-weight: 500; margin: 0px 0px 0px 6px; border: 1px solid DimGray;">
<textarea class="festival" name="attr_feastNotes" placeholder="Festival Notes"></textarea>
</fieldset>
</div>
<!-- Roll Templates - Unneeded (for now?????) -->
<rolltemplate class="sheet-rolltemplate-check">
<div class="container">
<div><h1>{{name}}{{#SkillName}}<span class="tcat" data-i18n="for-l"> *for* </span> {{SkillName}}{{/SkillName}}</h1></div>
<div class="arrow-container"><div class="arrow-right"></div></div>
{{#Check}}
<div class="rowcolor"><span class="tcat" data-i18n="check-c">Check: </span>{{computed::Roll}}</div>
{{#rollLess() computed::Roll 7 }}
<div class="rowcolor"><span class="tcat" data-i18n="result-c">Result: </span><span data-i18n="failure-c">Failure</span></div>
{{/rollLess() computed::Roll 7 }}
{{#rollBetween() computed::Roll 7 9}}
<div class="rowcolor"><span class="tcat" data-i18n="result-c">Result: </span><span data-i18n="partial-success-c">Partial Success</span></div>
{{/rollBetween() computed::Roll 7 9}}
{{#rollBetween() computed::Roll 10 11}}
<div class="rowcolor"><span class="tcat" data-i18n="result-c">Result: </span><span data-i18n="success-c">Success!</span></div>
{{/rollBetween() computed::Roll 10 11}}
{{#rollGreater() computed::Roll 11}}
{{#rollGreater() computed::Doubles 0 }}
<div class="rowcolor"><span class="tcat" data-i18n="result-c">Result: </span><span style="color: Red; font-weight: bold;" data-i18n="ultra-success-c" >Ultra Success!</span></div>
{{/rollGreater() computed::Doubles 0 }}
{{#^rollGreater() computed::Doubles 0 }}
<div class="rowcolor"><span class="tcat" data-i18n="result-c">Result: </span><span data-i18n="success-c">Success!</span></div>
{{/^rollGreater() computed::Doubles 0 }}
{{/rollGreater() computed::Roll 11}}
{{/Check}}
{{#DL}}
<div class="rowcolor"><span class="tcat">DL: </span>{{DL}}</div>
{{#rollLess() computed::Roll DL }}
<div class="rowcolor"><span class="tcat" data-i18n="result-c">Result: </span><span data-i18n="failure-c">Failure</span></div>
{{/rollLess() computed::Roll DL }}
{{#^rollLess() computed::Roll DL }}
<div class="rowcolor"><span class="tcat" data-i18n="result-c">Result: </span><span data-i18n="success-c">Success!</span></div>
{{/^rollLess() computed::Roll DL }}
{{/DL}}
{{#Damage}}
<div class="rowcolor"><span class="tcat" data-i18n="damage-c">Damage: </span>{{Damage}}</div>
{{/Damage}}
</div>
</rolltemplate>
<script type="text/worker">
on("sheet:opened", function(eventInfo){
getAttrs(["setupDone"], function(pvalue) {
console.log("Hello there");
let SetupDone=parseInt(pvalue.setupDone);
console.log("setupdone: "+SetupDone );
if (SetupDone==0){
console.log("Do setup");
setAttrs({
farm_I: 0, // -5
farm_II: 0, // -25
farm_III: 0, // -75
pasture_I: 0, // -5
pasture_II: 0, // -25
pasture_III: 0, // -100
outpost_I: 0, // -5
outpost_II: 0, // -25
outpost_III: 0, // -125
setupDone: 1
});
}
});
});
on('clicked:popGrowth', (info) => {
//console.log("\n\n popGrowth Clicked\n\n");
getAttrs(["population", "populationGrowth"], function(values) {
let Population = parseInt(values.population)||0;
let PopulationGrowth = parseInt(values.populationGrowth)||0;
//console.log(" Population: " + Population + " PopulationGrowth " + PopulationGrowth);
let Growth = Math.ceil(Population*(PopulationGrowth/100));
let newPopulation = Population + Growth;
//console.log(" Growth: " + Growth + " new Population " + newPopulation);
setAttrs({
population: newPopulation
});
});
});
on('clicked:maintenance', (info) => {
console.log("\n\n Expenses\n\n");
/* NB: Orphanage_I and Docks_I are *NOT* set to zero as this would indicate they are checked */
/* Expenses
barracks: -5 -10 -25
banditHideout: -10 -25 -100
docks: 0 -3 -50
farm: -5 -25 -75
guardhouse: -5 -20 -70
huntingCamp: -5 -10 -20
lumberMill: -10 -20 -50
orphanage: 0 -5 -30
outpost: -5 -25 -125
pasture: -5 -25 -100
road: -2 -5 -25
storehouse: -2 -5 -20
townHall: -5 -10 -25
well: 0 -10 -25
Income:
academy: 0 20 50
apothecary: 5 0 0
arena: 10 50 100
brewery: 5 20 50
brothel: 5 25 100
inn: 5 20 100
market: 10 40 100
merchant: 5
prison: 0 20 200
stable: 5 20 25
theater: 5 20 50
*/
getAttrs(["barracks_I","barracks_II","barracks_III", "banditHideout_I", "banditHideout_II", "banditHideout_III", "docks_I", "docks_II", "docks_III", "farm_I", "farm_II", "farm_III", "guardhouse_I", "guardhouse_II", "guardhouse_III", "huntingCamp_I", "huntingCamp_II", "huntingCamp_III", "lumberMill_I", "lumberMill_II", "lumberMill_III", "orphanage_I", "orphanage_II", "orphanage_III", "outpost_I", "outpost_II", "outpost_III", "pasture_I", "pasture_II", "pasture_III", "road_I", "road_II", "road_III", "storehouse_I", "storehouse_II", "storehouse_III", "townHall_I", "townHall_II", "townHall_III", "well_I", "well_II", "well_III", "academy_I","academy_II","academy_III", "apothecary_I", "apothecary_II", "apothecary_III", "arena_I", "arena_II", "arena_III", "brewery_I", "brewery_II", "brewery_III", "brothel_I", "brothel_II", "brothel_III", "inn_I", "inn_II", "inn_III", "market_I", "market_II", "market_III", "merchantShop_I", "prison_I", "prison_II", "prison_III", "stable_I", "stable_II", "stable_III", "theater_I", "theater_II", "theater_III","ub1_I","ub1_II","ub1_III","ub2_I","ub2_II","ub2_III","ub3_I","ub3_II","ub3_III","ub4_I","ub4_II","ub4_III","ub5_I","ub5_II","ub5_III","ub6_I","ub6_II","ub6_III","ub7_I","ub7_II","ub7_III","ub1name","ub2name","ub3name","ub4name","ub5name","ub6name","ub7name"], function(values) {
let Expenses = 0;
let Income = 0;
let Report = "Building Maintenance Expenses:\n";
let Tally = "Building Revenue:\n";
let Barracks_I = parseInt(values.barracks_I)||0;
let Barracks_II = parseInt(values.barracks_II)||0;
let Barracks_III = parseInt(values.barracks_III)||0;
//console.log(" Barracks: I: "+ Barracks_I + " II: " + Barracks_II + " III: " + Barracks_III);
Expenses += Barracks_I + Barracks_II + Barracks_III;
if (Barracks_I != 0 || Barracks_II != 0 || Barracks_III != 0) {
Report += " Barracks:\t\t" + Barracks_I + "\t" + Barracks_II + "\t" + Barracks_III + "\n";
}
let BanditHideout_I = parseInt(values.banditHideout_I)||0;
let BanditHideout_II = parseInt(values.banditHideout_II)||0;
let BanditHideout_III = parseInt(values.banditHideout_III)||0;
//console.log(" banditHideout: I: "+ BanditHideout_I + " II: " + BanditHideout_II + " III: " + BanditHideout_III);
Expenses += BanditHideout_I + BanditHideout_II + BanditHideout_III;
if (BanditHideout_I != 0 || BanditHideout_II != 0 || BanditHideout_III != 0) {
Report += " BanditHideout:\t" + BanditHideout_I + "\t" + BanditHideout_II + "\t" + BanditHideout_III + "\n";
}
let Docks_I = parseInt(values.docks_I)||0;
let Docks_II = parseInt(values.docks_II)||0;
let Docks_III = parseInt(values.docks_III)||0;
//console.log(" Docks: I: "+ Docks_I + " II: " + Docks_II + " III: " + Docks_III);
Expenses += Docks_I + Docks_II + Docks_III;
if (Docks_I != 0 || Docks_II != 0 || Docks_III != 0) {
Report += " Docks:\t\t\t" + Docks_I + "\t" + Docks_II + "\t" + Docks_III + "\n";
}
let Farm_I = parseInt(values.farm_I)||0;
let Farm_II = parseInt(values.farm_II)||0;
let Farm_III = parseInt(values.farm_III)||0;
//console.log(" Farm: I: "+ Farm_I + " II: " + Farm_II + " III: " + Farm_III);
//farm: -5 -25 -75
Expenses += -5*Farm_I + -25*Farm_II + -75*Farm_III;
if (Farm_I != 0 || Farm_II != 0 || Farm_III != 0) {
Report += " Farm:\t\t\t" + -5*Farm_I + "\t" + -25*Farm_II + "\t" + -75*Farm_III + "\n";
}
let Guardhouse_I = parseInt(values.guardhouse_I)||0;
let Guardhouse_II = parseInt(values.guardhouse_II)||0;
let Guardhouse_III = parseInt(values.guardhouse_III)||0;
//console.log(" Guardhouse: I: "+ Guardhouse_I + " II: " + Guardhouse_II + " III: " + Guardhouse_III);
Expenses += Guardhouse_I + Guardhouse_II + Guardhouse_III;
if (Guardhouse_I != 0 || Guardhouse_II != 0 || Guardhouse_III != 0) {
Report += " Guardhouse:\t\t" + Guardhouse_I + "\t" + Guardhouse_II + "\t" + Guardhouse_III + "\n";
}
let HuntingCamp_I = parseInt(values.huntingCamp_I)||0;
let HuntingCamp_II = parseInt(values.huntingCamp_II)||0;
let HuntingCamp_III = parseInt(values.huntingCamps_III)||0;
//console.log(" HuntingCamp: I: "+ HuntingCamp_I + " II: " + HuntingCamp_II + " III: " + HuntingCamp_III);
Expenses += HuntingCamp_I + HuntingCamp_II + HuntingCamp_III;
if (HuntingCamp_I != 0 || HuntingCamp_II != 0 || HuntingCamp_III != 0) {
Report += " HuntingCamp:\t" + HuntingCamp_I + "\t" + HuntingCamp_II + "\t" + HuntingCamp_III + "\n";
}
let LumberMill_I = parseInt(values.lumberMill_I)||0;
let LumberMill_II = parseInt(values.lumberMill_II)||0;
let LumberMill_III = parseInt(values.lumberMill_III)||0;
//console.log(" LumberMill: I: "+ LumberMill_I + " II: " + LumberMill_II + " III: " + LumberMill_III);
Expenses += LumberMill_I + LumberMill_II + LumberMill_III;
if (LumberMill_I != 0 || LumberMill_II != 0 || LumberMill_III != 0) {
Report += " LumberMill:\t\t" + LumberMill_I + "\t" + LumberMill_II + "\t" + LumberMill_III + "\n";
}
let Orphanage_I = parseInt(values.orphanage_I)||0;
let Orphanage_II = parseInt(values.orphanage_II)||0;
let Orphanage_III = parseInt(values.orphanage_III)||0;
//console.log(" Orphanage: I: "+ Orphanage_I + " II: " + Orphanage_II + " III: " + Orphanage_III);
Expenses += Orphanage_I + Orphanage_II + Orphanage_III;
if (Orphanage_I != 0 || Orphanage_II != 0 || Orphanage_III != 0) {
Report += " Orphanage:\t\t" + Orphanage_I + "\t" + Orphanage_II + "\t" + Orphanage_III + "\n";
}
let Pasture_I = parseInt(values.pasture_I)||0;
let Pasture_II = parseInt(values.pasture_II)||0;
let Pasture_III = parseInt(values.pasture_III)||0;
//console.log(" Pasture: I: "+ Pasture_I + " II: " + Pasture_II + " III: " + Pasture_III);
// pasture: -5 -25 -100
Expenses += -5*Pasture_I + -25*Pasture_II + -100*Pasture_III;
if (Pasture_I != 0 || Pasture_II != 0 || Pasture_III != 0) {
Report += " Pasture:\t\t\t" + -5*Pasture_I + "\t" + -25*Pasture_II + "\t" + -100*Pasture_III + "\n";
}
let Road_I = parseInt(values.road_I)||0;
let Road_II = parseInt(values.road_II)||0;
let Road_III = parseInt(values.road_III)||0;
//console.log(" Road: I: "+ Road_I + " II: " + Road_II + " III: " + Road_III);
Expenses += Road_I + Road_II + Road_III;
if (Road_I != 0 || Road_II != 0 || Road_III != 0) {
Report += " Road:\t\t\t" + Road_I + "\t" + Road_II + "\t" + Road_III + "\n";
}
let Storehouse_I = parseInt(values.storehouse_I)||0;
let Storehouse_II = parseInt(values.storehouse_II)||0;
let Storehouse_III = parseInt(values.storehouse_III)||0;
//console.log(" Storehouse: I: "+ Storehouse_I + " II: " + Storehouse_II + " III: " + Storehouse_III);
Expenses += Storehouse_I + Storehouse_II + Storehouse_III;
if (Storehouse_I != 0 || Storehouse_II != 0 || Storehouse_III != 0) {
Report += " Storehouse:\t\t" + Storehouse_I + "\t" + Storehouse_II + "\t" + Storehouse_III + "\n";
}
let TownHall_I = parseInt(values.townHall_I)||0;
let TownHall_II = parseInt(values.townHall_II)||0;
let TownHall_III = parseInt(values.townHall_III)||0;
//console.log(" TownHall: I: "+ TownHall_I + " II: " + TownHall_II + " III: " + TownHall_III);
Expenses += TownHall_I + TownHall_II + TownHall_III;
if (TownHall_I != 0 || TownHall_II != 0 || TownHall_III != 0) {
Report += " TownHall:\t\t" + TownHall_I + "\t" + TownHall_II + "\t" + TownHall_III + "\n";
}
let Well_I = parseInt(values.well_I)||0;
let Well_II = parseInt(values.well_II)||0;
let Well_III = parseInt(values.well_III)||0;
//console.log(" Well: I: "+ Well_I + " II: " + Well_II + " III: " + Well_III);
Expenses += Well_I + Well_II + Well_III;
if (Well_II != 0 || Well_III != 0) {
Report += " Well:\t\t\t" + Well_I + "\t" + Well_II + "\t" + Well_III + "\n";
}
//
// User defined buildings: Unique Buildings
//
let UBTitle = "Unique Buildings\n";
let UBExpenseFlag = 0;
let UBIncomeFlag = 0;
let UB1_I = parseInt(values.ub1_I)||0;
let UB1_II = parseInt(values.ub1_II)||0;
let UB1_III = parseInt(values.ub1_III)||0;
let UB1Name = values.ub1name;
//console.log(" UB1:"+UB1Name+" "+ UB1_I + " II: " + UB1_II + " III: " + UB1_III);
let Adjustment1 = UB1_I + UB1_II + UB1_III;
if (Adjustment1 < 0) {
if (UBExpenseFlag == 0) {
Report += UBTitle;
UBExpenseFlag = 1;
}
Expenses += Adjustment1;
Report += " "+UB1Name+":\t\t" + UB1_I + "\t" + UB1_II + "\t" + UB1_III + "\n";
}
let UB2_I = parseInt(values.ub2_I)||0;
let UB2_II = parseInt(values.ub2_II)||0;
let UB2_III = parseInt(values.ub2_III)||0;
let UB2Name = values.ub2name;
//console.log(" UB2:"+UB2Name+" "+ UB2_I + " II: " + UB2_II + " III: " + UB2_III);
let Adjustment2 = UB2_I + UB2_II + UB2_III;
if (Adjustment2 < 0) {
if (UBExpenseFlag == 0) {
Report += UBTitle;
UBExpenseFlag = 1;
}
Expenses += Adjustment2;
Report += " "+UB2Name+":\t\t" + UB2_I + "\t" + UB2_II + "\t" + UB2_III + "\n";
}
let UB3_I = parseInt(values.ub3_I)||0;
let UB3_II = parseInt(values.ub3_II)||0;
let UB3_III = parseInt(values.ub3_III)||0;
let UB3Name = values.ub3name;
//console.log(" UB3:"+UB3Name+" "+ UB3_I + " II: " + UB3_II + " III: " + UB3_III);
let Adjustment3 = UB3_I + UB3_II + UB3_III;
if (Adjustment3 < 0) {
if (UBExpenseFlag == 0) {
Report += UBTitle;
UBExpenseFlag = 1;
}
Expenses += Adjustment3;
Report += " "+UB3Name+":\t\t" + UB3_I + "\t" + UB3_II + "\t" + UB3_III + "\n";
}
let UB4_I = parseInt(values.ub4_I)||0;
let UB4_II = parseInt(values.ub4_II)||0;
let UB4_III = parseInt(values.ub4_III)||0;
let UB4Name = values.ub4name;
//console.log(" UB4:"+UB4Name+" "+ UB4_I + " II: " + UB4_II + " III: " + UB4_III);
let Adjustment4 = UB4_I + UB4_II + UB4_III;
if (Adjustment4 < 0) {
if (UBExpenseFlag == 0) {
Report += UBTitle;
UBExpenseFlag = 1;
}
Expenses += Adjustment4;
Report += " "+UB4Name+":\t\t" + UB4_I + "\t" + UB4_II + "\t" + UB4_III + "\n";
}
let UB5_I = parseInt(values.ub5_I)||0;
let UB5_II = parseInt(values.ub5_II)||0;
let UB5_III = parseInt(values.ub5_III)||0;
let UB5Name = values.ub5name;
//console.log(" UB5:"+UB5Name+" "+ UB5_I + " II: " + UB5_II + " III: " + UB5_III);
let Adjustment5 = UB5_I + UB5_II + UB5_III;
if (Adjustment5 < 0) {
if (UBExpenseFlag == 0) {
Report += UBTitle;
UBExpenseFlag = 1;
}
Expenses += Adjustment5;
Report += " "+UB5Name+":\t\t" + UB5_I + "\t" + UB5_II + "\t" + UB5_III + "\n";
}
let UB6_I = parseInt(values.ub6_I)||0;
let UB6_II = parseInt(values.ub6_II)||0;
let UB6_III = parseInt(values.ub6_III)||0;
let UB6Name = values.ub6name;
//console.log(" UB6:"+UB6Name+" "+ UB6_I + " II: " + UB6_II + " III: " + UB6_III);
let Adjustment6 = UB6_I + UB6_II + UB6_III;
if (Adjustment6 < 0) {
if (UBExpenseFlag == 0) {
Report += UBTitle;
UBExpenseFlag = 1;
}
Expenses += Adjustment6;
Report += " "+UB6Name+":\t\t" + UB6_I + "\t" + UB6_II + "\t" + UB6_III + "\n";
}
let UB7_I = parseInt(values.ub7_I)||0;
let UB7_II = parseInt(values.ub7_II)||0;
let UB7_III = parseInt(values.ub7_III)||0;
let UB7Name = values.ub7name;
//console.log(" UB7:"+UB7Name+" "+ UB7_I + " II: " + UB7_II + " III: " + UB7_III);
let Adjustment7 = UB7_I + UB7_II + UB7_III;
if (Adjustment7 < 0) {
if (UBExpenseFlag == 0) {
Report += UBTitle;
UBExpenseFlag = 1;
}
Expenses += Adjustment7;
Report += " "+UB7Name+":\t\t" + UB7_I + "\t" + UB7_II + "\t" + UB7_III + "\n";
}
//console.log("\n\nReport:\n\n"+ Report);
let Academy_I = parseInt(values.academy_I)||0;
let Academy_II = parseInt(values.academy_II)||0;
let Academy_III = parseInt(values.academy_III)||0;
//console.log(" Academy: I: "+ Academy_I + " II: " + Academy_II + " III: " + Academy_III);
Income += Academy_I + Academy_II + Academy_III;
if (Academy_I != 0 || Academy_II != 0 || Academy_III != 0) {
Tally += " Academy:\t" + Academy_I + "\t" + Academy_II + "\t" + Academy_III + "\n";
}
let Apothecary_I = parseInt(values.apothecary_I)||0;
let Apothecary_II = parseInt(values.apothecary_II)||0;
let Apothecary_III = parseInt(values.apothecary_III)||0;
//console.log(" Apothecary: I: "+ Apothecary_I + " II: " + Apothecary_II + " III: " + Apothecary_III);
Income += Apothecary_I + Apothecary_II + Apothecary_III;
if (Apothecary_I != 0 || Apothecary_II != 0 || Apothecary_III != 0) {
Tally += " Apothecary:\t" + Apothecary_I + "\t" + Apothecary_II + "\t" + Apothecary_III + "\n";
}
let Arena_I = parseInt(values.arena_I)||0;
let Arena_II = parseInt(values.arena_II)||0;
let Arena_III = parseInt(values.arena_III)||0;
//console.log(" Arena: I: "+ Arena_I + " II: " + Arena_II + " III: " + Arena_III);
Income += Arena_I + Arena_II + Arena_III;
if (Arena_I != 0 || Arena_II != 0 || Arena_III != 0) {
Tally += " Arena:\t\t" + Arena_I + "\t" + Arena_II + "\t" + Arena_III + "\n";
}
let Brewery_I = parseInt(values.brewery_I)||0;
let Brewery_II = parseInt(values.brewery_II)||0;
let Brewery_III = parseInt(values.brewery_III)||0;
//console.log(" Brewery: I: "+ Brewery_I + " II: " + Brewery_II + " III: " + Brewery_III);
Income += Brewery_I + Brewery_II + Brewery_III;
if (Brewery_I != 0 || Brewery_II != 0 || Brewery_III != 0) {
Tally += " Brewery:\t" + Brewery_I + "\t" + Brewery_II + "\t" + Brewery_III + "\n";
}
let Brothel_I = parseInt(values.brothel_I)||0;
let Brothel_II = parseInt(values.brothel_II)||0;
let Brothel_III = parseInt(values.brothel_III)||0;
//console.log(" Brothel: I: "+ Brothel_I + " II: " + Brothel_II + " III: " + Brothel_III);
Income += Brothel_I + Brothel_II + Brothel_III;
if (Brothel_I != 0 || Brothel_II != 0 || Brothel_III != 0) {
Tally += " Brothel:\t\t" + Brothel_I + "\t" + Brothel_II + "\t" + Brothel_III + "\n";
}
let Inn_I = parseInt(values.inn_I)||0;
let Inn_II = parseInt(values.inn_II)||0;
let Inn_III = parseInt(values.inn_III)||0;
//console.log(" Inn: I: "+ Inn_I + " II: " + Inn_II + " III: " + Inn_III);
Income += Inn_I + Inn_II + Inn_III;
if (Inn_I != 0 || Inn_II != 0 || Inn_III != 0) {
Tally += " Inn:\t\t" + Inn_I + "\t" + Inn_II + "\t" + Inn_III + "\n";
}
let Market_I = parseInt(values.market_I)||0;
let Market_II = parseInt(values.market_II)||0;
let Market_III = parseInt(values.market_III)||0;
//console.log(" Market: I: "+ Market_I + " II: " + Market_II + " III: " + Market_III);
Income += Market_I + Market_II + Market_III;
if (Market_I != 0 || Market_II != 0 || Market_III != 0) {
Tally += " Market:\t\t" + Market_I + "\t" + Market_II + "\t" + Market_III + "\n";
}
let MerchantShop_I = parseInt(values.merchantShop_I)||0;
//console.log(" Merchant: I: "+ MerchantShop_I);
Income += 5*MerchantShop_I;
if (MerchantShop_I != 0) {
Tally += " Merchants:\t" + 5*MerchantShop_I + "\n";
}
let Prison_I = parseInt(values.prison_I)||0;
let Prison_II = parseInt(values.prison_II)||0;
let Prison_III = parseInt(values.prison_III)||0;
//console.log(" Prison: I: "+ Prison_I + " II: " + Prison_II + " III: " + Prison_III);
Income += Prison_I + Prison_II + Prison_III;
if (Prison_I != 0 || Prison_II != 0 || Prison_III != 0) {
Tally += " Prison:\t\t" + Prison_I + "\t" + Prison_II + "\t" + Prison_III + "\n";
}
let Stable_I = parseInt(values.stable_I)||0;
let Stable_II = parseInt(values.stable_II)||0;
let Stable_III = parseInt(values.stable_III)||0;
//console.log(" Stable: I: "+ Stable_I + " II: " + Stable_II + " III: " + Stable_III);
Income += Stable_I + Stable_II + Stable_III;
if (Stable_I != 0 || Stable_II != 0 || Stable_III != 0) {
Tally += " Stable:\t\t" + Stable_I + "\t" + Stable_II + "\t" + Stable_III + "\n";
}
let Theater_I = parseInt(values.theater_I)||0;
let Theater_II = parseInt(values.theater_II)||0;
let Theater_III = parseInt(values.theater_III)||0;
//console.log(" Theater: I: "+ Theater_I + " II: " + Theater_II + " III: " + Theater_III);
Income += Theater_I + Theater_II + Theater_III;
if (Theater_I != 0 || Theater_II != 0 || Theater_III != 0) {
Tally += " Theater:\t\t" + Theater_I + "\t" + Theater_II + "\t" + Theater_III + "\n";
}
//
// User defined buildings: Unique Buildings
// (Already Defined above
if (Adjustment1 > 0) {
if (UBIncomeFlag == 0) {
Tally += UBTitle;
UBIncomeFlag = 1;
}
Income += Adjustment1;
Tally += " "+UB1Name+":\t\t" + UB1_I + "\t" + UB1_II + "\t" + UB1_III + "\n";
}
if (Adjustment2 > 0) {
if (UBIncomeFlag == 0) {
Tally += UBTitle;
UBIncomeFlag = 1;
}
Income += Adjustment2;
Tally += " "+UB2Name+":\t\t" + UB2_I + "\t" + UB2_II + "\t" + UB2_III + "\n";
}
if (Adjustment3 > 0) {
if (UBIncomeFlag == 0) {
Tally += UBTitle;
UBIncomeFlag = 1;
}
Income += Adjustment3;
Tally += " "+UB3Name+":\t\t" + UB3_I + "\t" + UB3_II + "\t" + UB3_III + "\n";
}
if (Adjustment4 > 0) {
if (UBIncomeFlag == 0) {
Tally += UBTitle;
UBIncomeFlag = 1;
}
Income += Adjustment4;
Tally += " "+UB4Name+":\t\t" + UB4_I + "\t" + UB4_II + "\t" + UB4_III + "\n";
}
if (Adjustment5 > 0) {
Income += Adjustment5;
if (UBIncomeFlag == 0) {
Tally += UBTitle;
UBIncomeFlag = 1;
}
Tally += " "+UB5Name+":\t\t" + UB5_I + "\t" + UB5_II + "\t" + UB5_III + "\n";
}
if (Adjustment6 > 0) {
if (UBIncomeFlag == 0) {
Tally += UBTitle;
UBIncomeFlag = 1;
}
Income += Adjustment6;
Tally += " "+UB6Name+":\t\t" + UB6_I + "\t" + UB6_II + "\t" + UB6_III + "\n";
}
if (Adjustment7 > 0) {
if (UBIncomeFlag == 0) {
Tally += UBTitle;
UBIncomeFlag = 1;
}
Income += Adjustment7;
Tally += " "+UB7Name+":\t\t" + UB7_I + "\t" + UB7_II + "\t" + UB7_III + "\n";
}
setAttrs({
expenses: Expenses, maintenance: Report, income: Income, benefits: Tally, net: Income + Expenses
});
});
});
// Set monthlySP = Math.ceil(population/10)
on("change:population", function(eventInfo) {
let NewValue = eventInfo.newValue;
let OldValue = eventInfo.previousValue;
let SourceAttribute = eventInfo.sourceAttribute;
console.log(" SourceAttribute: " + SourceAttribute);
console.log(" NewValue: " + NewValue);
getAttrs(["monthlySP"], function(values) {
let MonthlySP = parseInt(values.monthlySP)||0;
let newMonthlySP = Math.ceil(NewValue/10);
console.log(" MonthlySP was: " + MonthlySP + " now: " + newMonthlySP);
setAttrs({
monthlySP: newMonthlySP
});
});
});
</script>