|
<div class="shop-row">
|
|
<div class="shop-info">
|
|
<strong>CI upgrade</strong>
|
|
<span>{% if farm.ci_next_tier %}Upgrade to {{ farm.ci_next_label }} for faster builds{% else %}CI is at the top tier.{% endif %}</span>
|
|
</div>
|
|
{% if farm.ci_next_tier %}
|
|
<form method="post" action="/game/upgrade" data-game-action="upgrade">
|
|
<button type="submit" class="btn btn-sm btn-primary">Upgrade ({{ farm.ci_next_cost }}c)</button>
|
|
</form>
|
|
{% endif %}
|
|
</div>
|
|
<div class="shop-row">
|
|
<div class="shop-info">
|
|
<strong>Refactor (prestige {{ farm.prestige }})</strong>
|
|
<span>{% if not farm.prestige_available %}Reach level {{ farm.prestige_min_level }} to refactor.{% elif farm.refactor_affordable %}Pay {{ farm.refactor_cost }}c to reset your farm for a permanent +25% coin bonus. You keep {{ farm.refactor_carryover_pct }}% of what remains ({{ farm.refactor_carryover_preview }}c) plus your Stars and Legacy upgrades.{% else %}Refactoring costs {{ farm.refactor_cost }}c right now - keep farming to afford it.{% endif %}</span>
|
|
</div>
|
|
{% if farm.refactor_affordable %}
|
|
<form method="post" action="/game/prestige" data-game-action="prestige">
|
|
<button type="submit" class="btn btn-sm btn-primary" data-confirm="Refactoring costs {{ farm.refactor_cost }}c and resets coins, level, CI, extra plots, and perks for a permanent +25% coin bonus. You carry over {{ farm.refactor_carryover_preview }}c and keep your Stars and Legacy upgrades. Continue?">Refactor ({{ farm.refactor_cost }}c)</button>
|
|
</form>
|
|
{% endif %}
|
|
</div>
|