Widget:YieldCalc: Difference between revisions

From Ara: History Untold Wiki
No edit summary
No edit summary
Line 25: Line 25:
/* Yield Calculator */
/* Yield Calculator */
let a = document.getElementById("cityProd"); /* City Production */
let a = document.getElementById("cityProd"); /* City Production */
let b = 6; /* Yield(Apples) of the region */
let b = 4; /* Yield(Apples) of the region */
let c = 3; /* Amount of Farms in the region */
let c = 3; /* Amount of Farms in the region */
let e = 250; /* Total Percentage Bonus (e.g. 50% from a Plow) */
let e = 250; /* Total Percentage Bonus (e.g. 50% from a Plow) */

Revision as of 22:07, 24 October 2024

This widget is used to display and calculate the yield with the values submitted by the user.

Usage: ‎{{#Widget:YieldCalc}}