Township: Difference between revisions

From Melvor Idle
(Partial update for v1.1.2, requires many amends to automated tables still)
(→‎Repairing Buildings: Correct repair cost formula)
Line 32: Line 32:
See: Township.getSingleResourceRepairCostForBuilding,  
See: Township.getSingleResourceRepairCostForBuilding,  
-->The repair cost of a building depends on the cost of constructing the building (after any building cost reducing bonuses), the building's efficiency, and any decreased repair cost bonuses, where each {{BuildingIcon|Market}} built decreases the repair cost by 0.25%. The repair cost of a building can be calculated as follows:
-->The repair cost of a building depends on the cost of constructing the building (after any building cost reducing bonuses), the building's efficiency, and any decreased repair cost bonuses, where each {{BuildingIcon|Market}} built decreases the repair cost by 0.25%. The repair cost of a building can be calculated as follows:
<math>\text{Repair Cost} = \text{Base Building Cost} \times \text{Max Buildings} \times \left ( 1 - \frac{\text{Building Cost Reduction %}}{100} \right ) \times \left ( 1 - \frac{\text{Repair Cost Reduction %}}{100} \right )</math>
<math>\text{Repair Cost} = \frac{\text{Base Building Cost}}{3} \times \text{Max Buildings} \times \left ( 1 - \frac{\text{Building Cost Reduction %}}{100} \right ) \times \left ( 1 - \frac{\text{Repair Cost Reduction %}}{100} \right )</math>


Where <math>\text{Max Buildings}</math> is the maximum amount of that building that can be built within the biome in which the repair is taking place.
Where <math>\text{Max Buildings}</math> is the maximum amount of that building that can be built within the biome in which the repair is taking place.

Revision as of 00:42, 21 April 2023

This page was last updated for (v1.1.1).
Township

Township is a skill which tasks the player with running a town inside the land of Melvor. Similar to

Error creating thumbnail: File missing
Farming

, it can be trained passively. However, unlike

Error creating thumbnail: File missing
Farming

,

Error creating thumbnail: File missing
Township

has no

Error creating thumbnail: File missing
Mastery

levels, and uses a unique tick system of progression. Each hour, the town will advance by one tick, during each tick Resources and GP will be gained, which may then be reinvested into the town or converted into a number of Consumables and other resources for use in other skills.

Over time, both the Health of the town's Population and efficiency of Buildings will deteriorate, with buildings requiring Repair in order to remain fully productive.

Town

A

Error creating thumbnail: File missing
Town

contains Buildings that are used to produce Resources and GP GP for the player. The buildings are built within Biomes, where each biome can accommodate different types of buildings and is subject to different production bonuses provided by the selected Worship.

Building and Upgrading

To construct buildings, first select a biome - a list of available buildings for that biome will then be revealed. Clicking on the build button for a building where the skill level, population, and the cost requirements have been met will then construct the selected quantity of that building. Once constructed, buildings cannot be destroyed or downgraded (with the exception of Worship related buildings, which are destroyed when the current worship changes).

Once the maximum amount of a particular building has been constructed, an option to upgrade that building to the next tier will become available, provided an upgrade exists and the skill level and population requirements have been met. Upgraded buildings will provide a greater benefit than the previous tiers of the same type of building.

The cost of building can be reduced with some Worship bonuses and in the following ways:

Repairing Buildings

Buildings which have been built will initially start with 100% efficiency and then degrade randomly over time - for every town update there is a 25% chance that each building will degrade by a flat 1%, down to a minimum efficiency of 20%. The exception to this is the Template:BuildingIcon, which does not degrade over time. The current efficiency of a building can be seen as a percentage in the top-left corner of that building's tile. While degraded, buildings which provide Resources or Stats will provide less of that resource or stat.

There are two ways to return a building to 100% efficiency:

  • Repair the building, at the cost of the resources stated at the bottom of that building's tile
  • If the maximum number of a building has yet to be built, constructing another one of that building will also fully repair that building. This has the benefit of avoiding the repair cost that would otherwise have to be paid

The repair cost of a building depends on the cost of constructing the building (after any building cost reducing bonuses), the building's efficiency, and any decreased repair cost bonuses, where each Template:BuildingIcon built decreases the repair cost by 0.25%. The repair cost of a building can be calculated as follows: [math]\displaystyle{ \text{Repair Cost} = \frac{\text{Base Building Cost}}{3} \times \text{Max Buildings} \times \left ( 1 - \frac{\text{Building Cost Reduction %}}{100} \right ) \times \left ( 1 - \frac{\text{Repair Cost Reduction %}}{100} \right ) }[/math]

Where [math]\displaystyle{ \text{Max Buildings} }[/math] is the maximum amount of that building that can be built within the biome in which the repair is taking place.

Biomes

There are ten biomes in total, where a different assortment of buildings may be built within each. Some of these biomes have level and population requirements that must be met before they may be accessed. Depending on the selected

Error creating thumbnail: File missing
Worship

buildings within some biomes can produce more or fewer resources than the same buildings within other biomes.

Stats

Error creating thumbnail: File missing
Statistics

are various properties in the Town that do not take up

Error creating thumbnail: File missing
Storage

space. These can be seen as cards immediately above the various Resources for a town.

Population

Error creating thumbnail: File missing
Population

is a core feature of Township. The population of a town affects how much skill XP is gained per tick (1 XP is provided per citizen, before any XP bonuses), and is a requirement for many Biomes and Buildings.

The population of a town can be increased by constructing more Template:BuildingIcon or upgrades to that building which provide population. The population is also affected by Happiness, as the town's population is increased by the current happiness percentage, and Health, where for each 1% reduction in health the town's population is also decreased by 1%.

If any buildings providing population or happiness degrade or if the health of the town decreases, then the town's population will decrease also - this can be alleviated by ensuring these buildings are regularly Repaired and the health of the town is maintained at or near 100%.

Storage

Error creating thumbnail: File missing
Storage

allows Resources to be stockpiled in the Town. A Town starts with a base

Error creating thumbnail: File missing
Storage

of 50,000, where additional capacity can be gained by constructing more Template:BuildingIcon. No resources can be gained beyond the maximum storage capacity.

The maximum amount of each resource that can accumulate can be configured by visiting the "Maximum Storage" section of the Township page. Here the resource cap for each resource can be configured, and if needed excess resources can be discarded by using the "Yeet Resources" section.

Happiness

Error creating thumbnail: File missing
Happiness

is a modifier affecting the amount of Population a town has, and therefore also affects the amount of skill experience earned per tick.

Error creating thumbnail: File missing
Happiness

provides a flat increase to the amount of experience you earn, where 1% Happiness increases experience by 1%. Happiness has no limit, and can exceed 100%.

Happiness can be increased by building additional Template:BuildingIcon and Template:BuildingIcon, and with the following bonuses:

Education

Error creating thumbnail: File missing
Education

is a modifier to the amount of resources each building produces.

Error creating thumbnail: File missing
Education

provides a flat increase to the resource production, where 1% education increases the amount of resources produced by 1%. Education has no limit, and can exceed 100%.

Education can be increased by building additional Template:BuildingIcon and Template:BuildingIcon, and with the following bonuses:

Health

Error creating thumbnail: File missing
Health

is a modifier which affects the Population of a town. Once

Error creating thumbnail: File missing
Level 15

has been reached there is a 25% chance that the health of the town will decrease by 1% during each town update, falling to a minimum of 20% health. The health of a town can be improved by converting either Herbs or

Error creating thumbnail: File missing
Potions

into

Error creating thumbnail: File missing
Health

, the cost of which is 10% of the current amount generated per update for the resource being converted.

Worship

Error creating thumbnail: File missing
Worship

is a stat that provides multiple powerful bonuses based on the chosen deity. It is gained by building Template:BuildingIcon or Template:BuildingIcon and has a set cap of 2,000. Note that although each Deity is associated with a different Template:BuildingIcon, all statues provide an identical amount of worship.

A deity to worship is initially selected when the town is first created, and can then be changed later at a cost of 50,000,000GP. Upon changing, the town will enter a period of unrest during which time all Template:BuildingIcon and Template:BuildingIcon will be destroyed.

All bonuses are additive with one another.

Resources

There are a total of 13 resources. The production of all resources can be increased through

Error creating thumbnail: File missing
Education

, stacking additively with any regular modifiers.

Error creating thumbnail: File missing
GP

is a special type of resource that is deposited directly into the player's Bank, while the other 12 resources are kept within

Error creating thumbnail: File missing
Storage

. This is the only resource that is not affected by resource production bonuses. GP is earned by taxing the town's Population, where the tax rate starts at 0% and increases by 10% for each Template:BuildingIcon that is built, up to a maximum of 80%. Citizens are taxed every town update, and the amount of GP earned in tax from each citizen is 1.5GP for every 10% of tax rate. The amount of GP earned can be affected by Township specific GP production modifiers, such as those present within some Seasons, although is not affected by global GP modifiers such as from Aorpheat's Signet Ring.

The other 12 resources may be used within the Town, or traded via the Template:BuildingIcon to obtain items for the player (see Template:BuildingIcon). The amount of resources produced by a building can be calculated as follows: [math]\displaystyle{ \textrm{Production} = \textrm{Base Amount} \times \left ( 1 + \frac{\textrm{Biome & Building Production Bonus}}{100} \right ) \times \left ( 1 + \frac{\textrm{Education} + \textrm{Resource Production Bonus}}{100} \right ) \times \frac{\textrm{Building Efficiency}}{100} }[/math]

Seasons

Seasons are periods of time during which modifiers affecting the quantity of various #Resources and #Stats relevant to that season are active. Seasons last for three days each, with the first season when a town is created being Spring. Once a season has ended the next season will begin, with the regular seasons progressing in the following order: Spring, Summer, Fall, and Winter.

In addition to these four seasons, there are two rare seasons which may only occur while the town is using the relevant Worship:

While the relevant worships are active, these seasons have a 20% chance of appearing in place of any of the regular seasons when the current season ends. While a rare season is active it is not possible to change the current Worship. Once a rare season ends, the cycle of regular seasons continues where it left off.

Buildings

Upgrades

Township/UpgradeBuildingTable

Tasks

Tasks are a set of requests from your Township for item donations, bounties on monsters, building township buildings or, rarely, earning skill XP. In return, you will receive

Error creating thumbnail: File missing
Township

Skill XP, Township Resources,

Error creating thumbnail: File missing
GP

,

Error creating thumbnail: File missing
Slayer Coins

, or items.

Tasks can be divided into two broad categories: Casual, and permanent. A complete list of tasks, their requirements, and their rewards can be seen on the Task list page.

Casual Tasks

Casual tasks are randomly assigned to the player, with up to five new tasks being assigned each day. The maximum amount of casual tasks which can be held at the same time is five, and may be removed by either:

  • Completing the task and claiming its rewards
  • Skipping the task for the stated GP GP cost, where the cost is equal to the total amount of experience required to reach the next Township level, up to a maximum of 10,000,000GP

The daily refresh of casual tasks does not remove incomplete tasks - they must be removed using one of the methods stated above.

Casual tasks can provide a combination of GP GP, SC Slayer Coins,

Error creating thumbnail: File missing
Township

experience, and Resources as a reward, where the amount of the currency and experience rewards is determined as follows:

  • The amount of
    Error creating thumbnail: File missing
    Township
    experience is equal to 9% of the total experience between the player's current Township level and the next level
  • The amount of GP GP is five times the amount of Township experience awarded
  • The amount of SC Slayer Coins is 1,000 times the player's
    Error creating thumbnail: File missing
    Slayer
    level

Other Tasks

All other tasks are permanent tasks which may only be completed once and do not change on a daily basis. Many of the Township related Shop purchases are locked behind completing a certain number of these tasks.

Shop Items

One of the ways Township interacts with the rest of the game is by unlocking a variety of useful

Error creating thumbnail: File missing
Shop

purchases.

Skillcape

The skillcape can be purchased from the store for 1,000,000GP after the player reaches

Error creating thumbnail: File missing
Level 99

. The superior skillcape can be purchased from the store for 10,000,000GP after the player reaches

Error creating thumbnail: File missing
Level 120

.

Regular Skillcape

The Township Skillcape is the skillcape for the Township skill. It can be purchased for 1,000,000GP from the Shop once the player reaches

Error creating thumbnail: File missing
Level 99

in the Township skill. The Township Skillcape offers the following benefits when worn:

-15% Township Building Cost (Does not affect GP cost. Capped at -80%)

Superior Skillcape

The Superior Township Skillcape is the superior skillcape for the Township skill. It can be purchased for 10,000,000GP from the Shop once the player reaches

Error creating thumbnail: File missing
Level 120

in the Township skill.

Error creating thumbnail: File missing
Level 120

can only be reached if the player owns the TotH.svg Throne of the Herald expansion. Likewise, the superior skillcape can only be purchased if the player owns this expansion. The superior skillcape offers the following benefits when worn:

-20% Township Building Cost (Does not affect GP cost. Capped at -80%)

Pet

B has a 1-in-120 chance to be unlocked each time a town update occurs. The other Township-related pets are purchased in the

Error creating thumbnail: File missing
Shop

after meeting their conditions.

PetNameDLCEffect
BBMelvor Logo.svg +10% Township Max Storage
MarcyMarcyMelvor Logo.svg +2% Township Skill XP
RogerRogerMelvor Logo.svg +2% Township Resource Generation
AceAceMelvor Logo.svg +1% Chance to Double Items Globally
LaylaLaylaMelvor Logo.svg +2% Township Happiness
Mister FuzzbuttMister FuzzbuttMelvor Logo.svg +5% Global GP (except Item Sales)
Octavius Lepidus VIIIOctavius Lepidus VIIIMelvor Logo.svg +2% Township Education
Classy RockClassy RockTotH.svg +10 Mining Node HP
Cute RockCute RockTotH.svg +2% Chance to Double Items in Mining
+2% Chance to Double Items in Smithing
Royal RockRoyal RockTotH.svg +3% Chance to gain +1 additional resource in Mining (Cannot be doubled)
Elf RockElf RockTotH.svg +5% Global Evasion
Magic RockMagic RockTotH.svg +3% Chance to Double Items in Magic
Party RockParty RockTotH.svg +4% Mastery XP for Melvor Realm only

Skill Boosts

This table lists most sources of Township-specific modifier boosts. For a list of boosts that apply to all skills, see the Skill Boosts page. This list does not contain boosts provided from

Error creating thumbnail: File missing
Mastery

rewards.