forked from townforge/townforge
486 lines
32 KiB
HTML
486 lines
32 KiB
HTML
<html>
|
|
<head>
|
|
<title>Townforge player's manual</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1> Basic gameplay elements </h1>
|
|
|
|
<h2> Overview </h2>
|
|
<p>
|
|
Townforge is a blockchain based game where you create buildings which will provide you with income.
|
|
<br>
|
|
Buildings and land cost a one off sum as well as regular maintenance costs. Payout is earned at every
|
|
game update, which happens every 360 blocks. A portion of the block rewards go to the game, to be
|
|
redistributed to players. A research "tech tree" allows players to improve their buildings' efficiency.
|
|
Peer to peer trade allows players to exchange goods and money. A 3D world view allows players to
|
|
bring their buildings to life, and a decentralized chat is available in game.
|
|
<br>
|
|
Every game action is stored on a blockchain, ensuring that what you own cannot be taken away from
|
|
you unless the game rules allow it. No exit scam, no central database corruption, no rules change at
|
|
a whim without notice. The game state is stored on every game user's copy of the blockchain.
|
|
</p>
|
|
|
|
<h2> Player </h2>
|
|
<p>
|
|
Any wallet may create a game account. Game accounts are linked to the main wallet address.
|
|
For anti spam purposes, there is a 1 coin account creation fee.
|
|
<br>
|
|
The game account may be deposited to (from its associated wallet or any other) and withdrawn from.
|
|
Withdrawal is automated, and player controlled. Money deposited into the game is still under the
|
|
wallet owner's control, not under a third party's control, so you can use your own keys to withdraw
|
|
at any time. This protects against an exit scam by the game author.
|
|
<br>
|
|
A player may own any number of buildings in the game, in one or more cities. Note that a player can
|
|
manage only up to 8 buildings before management staff is required (for a fee). This is intended to
|
|
encourage richer players to go for large buildings rather than many smaller ones. Currently, a player
|
|
can manage up to 12 buildings without requiring staff. Above this, one staff is required for up to
|
|
four extra buildings. A management staff is also required for every team of up to four staff.
|
|
<br>
|
|
A decentralized chat is available, using transactions in the txpool. They will not be mined, so are
|
|
transient and therefore not suitable for information you want to be preserved. Notifications about
|
|
new buildings, new discoveries, etc will also be placed in the chat.
|
|
</p>
|
|
|
|
<h2> Cities and treasury </h2>
|
|
<p>
|
|
The world of Townforge is a large grid, upon which cities may be founded. At the start of the game,
|
|
there is one single city. Every city is founded by a mayor, and starts off which a town square and
|
|
a town hall. New cities can be bought from the game, which their price depending on the current
|
|
number of cities and the total economic activity. The more cities currently existing, the higher the
|
|
cost of a new city. The larger the world, the lower the cost.
|
|
<br>
|
|
Each city has a treasury. This is the amount of money in the city coffers. This treasury is managed
|
|
by the consensus rules, and can only be used automatically by the game update. Every game update
|
|
(every 360 blocks, so roughly 4 times a day), about 9% of the block rewards for the last 360 blocks
|
|
get awarded to city treasuries in proportion to their economic strength. About 10% of each town's
|
|
treasury gets distributed to players based on their buildings' economic strength. The city mayor
|
|
receives 0.1% of the treasury. The game account receives 0.01% of the treasury. The game account
|
|
will be used for storytelling purposes (prizes for participating in role playing or similar events),
|
|
expenses like VPS hosting, and other reasons I deem appropriate.
|
|
<br>
|
|
The treasury also receives money from players buying new land or items directly from the game,
|
|
land tax, etc. The higher the treasury grows, the more attractive it is to build in a city, since
|
|
that treasury will flow back into player's pockets.
|
|
<br>
|
|
Cities may be bought and sold on the open market.
|
|
<br>
|
|
Cities reach new levels upon reaching a certain size (but do not downgrade if they drop below this
|
|
threshold). Reaching a new level allows players to build new building types in this city. Here are
|
|
the building types which become available at various levels:
|
|
<table>
|
|
<tr> <td> Role </td> <td> Level </td> </tr>
|
|
<tr> <td> Cultural </td> <td> 1 </td> </tr>
|
|
<tr> <td> Affluent Residential </td> <td> 2 </td> </tr>
|
|
<tr> <td> Military </td> <td> 3 </td> </tr>
|
|
<tr> <td> Research </td> <td> 4 </td> </tr>
|
|
</table>
|
|
</p>
|
|
|
|
<h2> Flags and buildings </h2>
|
|
<p>
|
|
Each city is placed at a point on the world. Players may buy land from the game, from tiny 8x8 plots
|
|
to the largest allowed, 256x256. Those plots of lands are called flags for historical reasons. A flag
|
|
is empty when bought, and may be bought and sold on the open market. Flags are always rectangular.
|
|
<br>
|
|
Flags pay land tax every game update. Land tax is based on flag size as well as the flag's economic
|
|
power. Economic power is a measure of the quality/strength of the building one builds on that land.
|
|
An empty flag is deemed to hold a basic 100% economic power. Land tax also increases very slightly
|
|
with distance from the town square, to avoid people building things at preposterous distances.
|
|
<br>
|
|
Buildings may be built on flags. There are a few types of buildings. Some buildings qualify for payouts
|
|
from the city treasury, while some others produce materials instead. Yet others don't do either, but
|
|
provide bonuses for other buildings. Every new building is assigned an economic power, which is its
|
|
relative output. It can range from the baseline 100% to a maximum of 300%. A 300% building will yield
|
|
3 times the income of a 100% building (at least for buildings getting treasury payouts, it's a little
|
|
more complex for producing buildings). However, they cost more the 3 times as much to build.
|
|
<br>
|
|
Buildings have prerequisites. Most buildings require being in the influence area of an agricultural
|
|
building. If they are not, they will not be active, and thus not provide income. Some other prerequisites
|
|
are softer, and only give bonuses and penalties.
|
|
<br>
|
|
Current building types are:
|
|
<table>
|
|
<tr><td> Role </td><td> Payout </td></tr>
|
|
<tr><td> Agricultural </td><td> 0.7% </td></tr>
|
|
<tr><td> Craft </td><td> 1.2% </td></tr>
|
|
<tr><td> Industrial </td><td> 1.5% </td></tr>
|
|
<tr><td> Commercial </td><td> 1.5% </td></tr>
|
|
<tr><td> Basic residential </td><td> 1.2% </td></tr>
|
|
<tr><td> Affluent residential </td><td> 1.3% </td></tr>
|
|
<tr><td> Luxury residential </td><td> 1.5% </td></tr>
|
|
<tr><td> Military </td><td> - </td></tr>
|
|
<tr><td> Cultural </td><td> 0.6% </td></tr>
|
|
<tr><td> Stonecutter </td><td> - </td></tr>
|
|
<tr><td> Sawmill </td><td> - </td></tr>
|
|
<tr><td> Kiln </td><td> - </td></tr>
|
|
<tr><td> Smelter </td><td> - </td></tr>
|
|
<tr><td> Workforce </td><td> - </td></tr>
|
|
<tr><td> Road </td><td> 0.8% </td></tr>
|
|
<tr><td> Research </td><td> - </td></tr>
|
|
</table>
|
|
Some of those (industrial, luxury residential, kiln, smelter) are not available just yet, and will be
|
|
made available following a progressing storyline.
|
|
<br>
|
|
For example, if a city consists of two agricultural farms only, identical in all respects except one
|
|
has twice the other's economic power, and the city treasury contains 1000, then the farms will receive
|
|
a payout of 10 * 0.7% * 2 / 3 ~ 4.67 and 2.33 respectively at every game update.
|
|
<br>
|
|
Producing buildings (stonecutter, sawmill, kiln, smelter, workforce) do not get treasury payout.
|
|
Instead, they consume some resources (stone, wood) and produce more resources. Those resources are
|
|
needed to build other buildings. While it is possible to buy those resources directly from the game's
|
|
supply, those prices are dear, and players with those producing buildings will offer better value.
|
|
<br>
|
|
Buildings may be demolished. Demolishing a building removes all blocks from its 3D representation,
|
|
and resets the type to none. Another building may then be constructed on the flag. The owner recovers
|
|
20% of the blocks in the original budget (whether they were used in the 3D representation or not).
|
|
<br>
|
|
If a building owner does not have enough money to pay the tax for a plot of land, this plot of land
|
|
will disappear, along with any building on it. The land is then free to be bought by another player.
|
|
Similarly, if a building falls to 0 repair condition, it will disappear (the land remains the owner's
|
|
property). It is therefore in the player's interest to ensure buildings are repaired in time, and to
|
|
keep enough balance to meet land tax requirements. Repairing a building costs labour and materials.
|
|
If a building's repair level falls below 70%, its efficiency starts decreasing. Above 70%, no ill
|
|
effects apply.
|
|
<br>
|
|
Some building types have restrictions on size, depending on economic power. This should be kept in
|
|
mind when buying land. The following table lists the minimum size of a plot for building types. The
|
|
first value is the minimum size of a 100% building, the second value for a 300% building. For other
|
|
economic power values, the minimum size is interpolated and rounded down.
|
|
<table>
|
|
<tr><td> Role </td><td> Min size at 100% - 300% </td></tr>
|
|
<tr><td> Agricultural </td><td> 12-30 </td></tr>
|
|
<tr><td> Craft </td><td> 16-40 </td></tr>
|
|
<tr><td> Industrial </td><td> 40-180 </td></tr>
|
|
<tr><td> Commercial </td><td> - </td></tr>
|
|
<tr><td> Basic residential </td><td> - </td></tr>
|
|
<tr><td> Affluent residential </td><td> 24-120 </td></tr>
|
|
<tr><td> Luxury residential </td><td> 96-180 </td></tr>
|
|
<tr><td> Military </td><td> 24-80 </td></tr>
|
|
<tr><td> Cultural </td><td> - </td></tr>
|
|
<tr><td> Stonecutter </td><td> 20-60 </td></tr>
|
|
<tr><td> Sawmill </td><td> 20-60 </td></tr>
|
|
<tr><td> Kiln </td><td> 28-80 </td></tr>
|
|
<tr><td> Smelter </td><td> 28-80 </td></tr>
|
|
<tr><td> Workforce </td><td> - </td></tr>
|
|
<tr><td> Road </td><td> 8-36 </td></tr>
|
|
<tr><td> Research </td><td> 20-72 </td></tr>
|
|
</table>
|
|
</p>
|
|
|
|
<h3> Shares </h3>
|
|
|
|
<p>
|
|
Shares are the way payouts are calculated. Every building has a number of shares based on its characteristics,
|
|
and that number acts as a weight when the treasury pays out.
|
|
<br>
|
|
The basic number of shares for a building is its area in squares multiplied by its economic power.
|
|
<br>
|
|
Other things come into play: if the repair level of a building falls below 70%, its share count will
|
|
start going down. Similarly, if a building's requirements are not met, this building will be inactive,
|
|
and its shares zeroed until requirements are met.
|
|
<br>
|
|
The number of shares is used to apportion treasury income within a city and pricing new cities.
|
|
<br>
|
|
Roads and discoveries (see below) also affect shares.
|
|
</p>
|
|
|
|
<h3> Influence </h3>
|
|
|
|
<p>
|
|
Some building types have an influence over the surrounding land. Influence is a prerequisite for
|
|
many other buildings. For example, most buildings need to be within the influence area of an agricultural
|
|
building, and a residential building takes a penalty from being within the influence of an industrial
|
|
building. Military buildings are even more complicated: most buildings receive a bonus from being under
|
|
the influence of one military building, but a penalty if the are under the influence of three or more.
|
|
<br>
|
|
<table>
|
|
<tr><td> Role </td><td> Agr. </td><td> Craft </td><td> Ind. </td><td> Com. </td><td> Bas. </td><td> Aff. </td><td> Lux. </td><td> Mil. </td><td> Cul. </td><td> Stone. </td><td> Sawmill </td><td> Kiln </td><td> Smelter </td><td> Work. </td><td> Road </td><td> Research </td> </tr>
|
|
<tr><td> Agricultural </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> B1 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> </tr>
|
|
<tr><td> Craft </td><td> N1 </td><td> </td><td> </td><td> </td><td> B1 </td><td> </td><td> </td><td> B1 </td><td> </td><td> B1 </td><td> B1 </td><td> </td><td> </td><td> </td><td> </td><td> B1 </td> </tr>
|
|
<tr><td> Industrial </td><td> N1 </td><td> </td><td> B2 </td><td> B1 </td><td> B1 </td><td> </td><td> </td><td> B1 </td><td> </td><td> B1 </td><td> B1 </td><td> B1 </td><td> B1 </td><td> B1 </td><td> </td><td> B2 </td> </tr>
|
|
<tr><td> Commercial </td><td> N1 </td><td> N1 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> B1P3 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> </tr>
|
|
<tr><td> Basic residential </td><td> </td><td> </td><td> P1 </td><td> B1 </td><td> B1 </td><td> B2 </td><td> B1 </td><td> B1P3 </td><td> B2 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> </tr>
|
|
<tr><td> Affluent residential </td><td> </td><td> B1 </td><td> P3 </td><td> N1 </td><td> </td><td> B3 </td><td> B1 </td><td> B1P3 </td><td> B2 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> B1 </td> </tr>
|
|
<tr><td> Luxury residential </td><td> </td><td> </td><td> P99 </td><td> N1 </td><td> P1 </td><td> </td><td> </td><td> B1P3 </td><td> B4 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> B2 </td> </tr>
|
|
<tr><td> Military </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> </tr>
|
|
<tr><td> Cultural </td><td> </td><td> </td><td> P99 </td><td> </td><td> </td><td> </td><td> </td><td> P99 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> B1 </td> </tr>
|
|
<tr><td> Stonecutter </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> B1 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> </tr>
|
|
<tr><td> Sawmill </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> B1 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> </tr>
|
|
<tr><td> Kiln </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> B1 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> </tr>
|
|
<tr><td> Smelter </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> B1 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> </tr>
|
|
<tr><td> Workforce </td><td> </td><td> </td><td> </td><td> </td><td> B4 </td><td> </td><td> </td><td> B1 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> P2 </td><td> </td><td> </td> </tr>
|
|
<tr><td> Road </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> </tr>
|
|
<tr><td> Research </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> </tr>
|
|
</table>
|
|
<p>
|
|
Legend: <br>
|
|
Nx: needs x buildings of that type <br>
|
|
Bx: gets a 5% bonus from every building of that type up to x of them<br>
|
|
Px: gets a 5% penalty from every building of that type up to x of them<br>
|
|
BxPy: gets a 5% bonus from every building of that type up to x of them, except if there are y or more, in which case it's a 5% penalty per such building<br>
|
|
</p>
|
|
The larger a building's plot and the higher a builing's economic power, the larger its influence will be.
|
|
</p>
|
|
|
|
<h3> Production and potential </h3>
|
|
<p>
|
|
Some building types don't get treasury payouts, but consume and produce resources instead.
|
|
Production goes up faster than consumption with economic power.
|
|
<br>
|
|
Currently, only stonecutter (producing stone) and sawmill (producing wood) are available.
|
|
Kiln (producing bricks) and Smelter (producing metal) will be available later on in updates.
|
|
</p>
|
|
<p>
|
|
Potential has a substantial effect on production. Potential is an inherent property of the
|
|
land a building is built upon. Some land lends itself well to quarrying stone, some other
|
|
to wood felling, etc. Building a stonecutter on land that has good stone potential will see
|
|
better returns. For buildings which generate materials, potential is used to determine the
|
|
quality mix of the materials. Low potential will yield cheap materials (though in larger
|
|
quantities) while a high potential will yield smaller quantities of more expensive materials
|
|
Potential also applies to agricultural land, and stability (which controls how fast a building needs repairs).
|
|
</p>
|
|
<p>
|
|
Each of stone and wood has three different types. The mix of stone or wood a building produces
|
|
depends on the building's economic power. Higher economic power skews towards the more expensive
|
|
types of each. Keep this in mind since building requirements depend on role (basic residential
|
|
buildings only need the cheapest basic wood type, while affluent residential buildings will
|
|
also require some more expensive wood type) and on economic power, so it is possible that the
|
|
market gets a glut of one type of wood and scarcity of another. A canny businessman will see
|
|
the trends to know what to build.
|
|
</p>
|
|
<p>
|
|
New buildings have to be built close enough to existing resource generating buildings. For
|
|
instance, if a new building requires some type of stone, it has to be built close enough to
|
|
a stonecutter (such proximity rule is waived if building at the center of town, since there
|
|
are no such building yet). The resource availability distance is the furthest away from a
|
|
resource generating building that can be built without incurring extra labour cost for
|
|
resource transportation. Beyond 16 times that distance, you cannot build at all without
|
|
first building intermediate stonecutters or sawmills.
|
|
</p>
|
|
|
|
<h3> Roads </h3>
|
|
|
|
<p>
|
|
Roads are simple building types meant to link other flags. They provide bonuses to buildings
|
|
they touch, and get their own bonus from them. The more buildings a road connects, the higher
|
|
its return will be.
|
|
<br>
|
|
In order to connect to a building, a road must touch it flush. If the length of the connection
|
|
is smaller than 8 squares, the connection will be more fragile and the bonuses will fall.
|
|
Commercial buildings get more bonus if they have more connection length with the road, up to
|
|
20 tiles, since window browsing space attracts more customers. Residential buildings get a
|
|
slightly better bonus if they're on the north side of the road, as the world is in the northern
|
|
hemisphere, so free space on the south side to let the sun through benefits them.
|
|
If the difference between a building's economic power and the road's economic power is larger
|
|
than 50%, then a connection will not be made, even if they two flags touch each other.
|
|
<br>
|
|
Different building types contribute more less to a road's shares, from 40% for agricultural
|
|
buildings to 150% for commercial buildings. Otherwise, the shares a building contributes to
|
|
a road is proportional to its area and economic power.
|
|
<br>
|
|
Roads connecting to other roads get a bonus based on the surrounding roads' bonuses.
|
|
<br>
|
|
Different building types get more or less affected by road bonuses. Commercial buildings get
|
|
the most effect, while agricultural ones the least:
|
|
<table>
|
|
<tr><td> Role </td><td> Bonus </td></tr>
|
|
<tr><td> Agricultural </td><td> 30% </td></tr>
|
|
<tr><td> Craft </td><td> 110% </td></tr>
|
|
<tr><td> Industrial </td><td> 50% </td></tr>
|
|
<tr><td> Commercial </td><td> 150% </td></tr>
|
|
<tr><td> Basic residential </td><td> 100% </td></tr>
|
|
<tr><td> Affluent residential </td><td> 115% </td></tr>
|
|
<tr><td> Luxury residential </td><td> 140% </td></tr>
|
|
<tr><td> Military </td><td> 80% </td></tr>
|
|
<tr><td> Cultural </td><td> 120% </td></tr>
|
|
<tr><td> Stonecutter </td><td> 80% </td></tr>
|
|
<tr><td> Sawmill </td><td> 80% </td></tr>
|
|
<tr><td> Kiln </td><td> 80% </td></tr>
|
|
<tr><td> Smelter </td><td> 80% </td></tr>
|
|
<tr><td> Workforce </td><td> 80% </td></tr>
|
|
<tr><td> Road </td><td> - </td></tr>
|
|
<tr><td> Research </td><td> 85% </td></tr>
|
|
</table>
|
|
</p>
|
|
|
|
</body>
|
|
|
|
<h2> 3D world </h2>
|
|
|
|
<p>
|
|
Townforge allows players to give a shape to their creations. A block based 3D world show the
|
|
city and the buildings it contains. Players may freely build on their flags using the budget
|
|
they already paid for when they setup their building. This is intended to provide an outlet
|
|
for creativity, and is not needed in order to participate in the economic game. It is nonetheless
|
|
encouraged, and may be involved in some kind of voting/competition mechanic later on.
|
|
<br>
|
|
To help different buildings keep a similar scale, a block is meant to be about a foot (30 cm)
|
|
in each direction. Thus, a typical residential door will be 7 blocks high.
|
|
<br>
|
|
Building is done by pressing Z to place a block where the turquoise cursor is or X to remove a
|
|
block where from red cursor is (move the mouse to move those cursors). It is not possible to
|
|
remove a block that's already mined. The block type to use can be selected by clicking on the
|
|
player or flag inventories, of pressing TAB (if the GUI is not focused).
|
|
<br>
|
|
While building, all blocks are kept locally, and will only be submitted to the blockchain once
|
|
"Approve build" is clicked. All new "in progress" blocks are displayed with a ghost effect to
|
|
distinguish them from already mined blocks.
|
|
<br>
|
|
You can move and look around the world using the arrows keys, WASD keys, page up/down and by
|
|
moving the mouse while the right button is pressed. Pressing control slows down movement speed,
|
|
while pressing shift speeds it up.
|
|
<br>
|
|
Placing a block incurs labour cost as well as the block placed. The higher the block, the more
|
|
labour cost is incurred. There are currently no architectural/structural rules, so building
|
|
hovering blocks is possible. It is not encouraged.
|
|
<br>
|
|
Models in the vox format may be imported and exported. This format is from Magica Voxel, which
|
|
runs on Windows. Note that if you build a model with Magical Voxel, you should match the colour
|
|
indices to the Townforge material indices (ie, pine is 1, oak is 2, teak is 3, sandstone is 4,
|
|
granite is 5, marble is 6).
|
|
<br>
|
|
To find your (or others') buildings, you can double click on a building in the player info
|
|
dialog or the game update events dialog. The camera will automatically switch to a free camera.
|
|
<br>
|
|
</p>
|
|
|
|
<h2> User interface </h2>
|
|
<p>
|
|
The UI is contained in a shadable widget that can be moved around by dragging it around and
|
|
resized by clicking on the bottom right corner when it is opened. While some of it can be
|
|
used in spectator mode, you will need to have a game account before being able to use much
|
|
of it. Among other things, the camera mode can be changed to a free camera by selecting the
|
|
desired mode in the Commands menu. The UI's contents may be panned with the mouse if they
|
|
extend past the size of the actual widget.
|
|
</p>
|
|
<p>
|
|
Control is by mouse and keyboard. Right click with the mouse to rotate the view, left click
|
|
to select tiles. Left click on the sky to deselect.
|
|
<br>
|
|
Key mappings:
|
|
<table>
|
|
<tr><td> Key </td><td> Action </td></tr>
|
|
<tr><td> W </td><td> Look down </td></tr>
|
|
<tr><td> A </td><td> Look left </td></tr>
|
|
<tr><td> S </td><td> Look up </td></tr>
|
|
<tr><td> D </td><td> Look right </td></tr>
|
|
<tr><td> Page up </td><td> Move up (in free camera mode) </td></tr>
|
|
<tr><td> Page down </td><td> Move down (in free camera mode) </td></tr>
|
|
<tr><td> Up arrow </td><td> move forward </td></tr>
|
|
<tr><td> Left arrow </td><td> move left </td></tr>
|
|
<tr><td> Down arrow </td><td> move backward </td></tr>
|
|
<tr><td> Right arrow </td><td> move right </td></tr>
|
|
<tr><td> Escape </td><td> close dialog, or open options </td></tr>
|
|
<tr><td> ~ </td><td> open/close in-game chat </td></tr>
|
|
<tr><td> c </td><td> open/close in-game chat </td></tr>
|
|
<tr><td> f </td><td> switch to free camera mode </td></tr>
|
|
<tr><td> o </td><td> switch to orbit camera mode </td></tr>
|
|
<tr><td> TAB </td><td> cycle through available building block types </td></tr>
|
|
<tr><td> z </td><td> Place a block at the blue mouse cursor location </td></tr>
|
|
<tr><td> x </td><td> Remove a block at the red mouse cursor location </td></tr>
|
|
</table>
|
|
</p>
|
|
|
|
<h2> Research </h2>
|
|
|
|
<p>
|
|
Research allows a player to make discoveries. Discoveries have a variety of effects, but
|
|
a tpyical effect is to provide a bonus of some sort. For example, the "improved plough"
|
|
discovery gives a 3% bonus in shares to all the discoverer's agricultural buildings.
|
|
<br>
|
|
Many discoveries yield a patent. The patent is an item that is freely tradable on the open
|
|
market, and it is this item which provides the benefit. So if the player making the
|
|
"improved plough" discovery has no agricultural buildings, they may decide to sell the
|
|
patent to their discovery to someone for whom it will be much more lucrative.
|
|
<br>
|
|
Discoveries are made by paying towards research on a particular subject. Every discovery
|
|
has a difficulty, which represents an estimation of how much research will have to be made
|
|
before the discovery is made. Paying towards research gives you a certain chance of making
|
|
that discovery. The more is paid for research, the higher the chance of discovery. The
|
|
higher the difficulty, the lower the chance. The difficulty of a discovery goes down with
|
|
time, as well as with money already spent on research. So if a discovery seems too dear
|
|
to research, waiting will bring it down to affordable levels, if someone else doesn't beat
|
|
you to the punch.
|
|
<br>
|
|
Patents last a limited time. After 15 days (might change), everyone gets the benefit of
|
|
the discovery for which a patent was awarded. This will prevent the first discoverer from
|
|
obtaining an advantage leading to a snowball effect.
|
|
<br>
|
|
Research buildings provide a bonus to research, essentially making discoveries cheaper
|
|
for the owner of those buildings.
|
|
<br>
|
|
More discoveries will be added later on, possibly in conjunction with storytelling.
|
|
</p>
|
|
|
|
<h2> Special events </h2>
|
|
|
|
<p>
|
|
Special events are temporary alterations to game rules which happen randomly at a game update
|
|
boundary. Some events have good or bad effect, providing interest and potential hooks for storytelling.
|
|
Special events include fire (there will be new discoveries providing protection against
|
|
fire), time limited bonuses for some types of buildings (bumper harvest increase influence
|
|
of agricultural buildings), epidemics causing lower payouts for some building types, strikes
|
|
causing labour shortages, social unrest causing damage to buildings not near a military building,
|
|
festival increasing cultural building payouts, etc.
|
|
Special events are localized to a particular town. To see whether a special event is currently
|
|
active in town, see the "Town" section in the UI. If a special event is active, there will also
|
|
be a "?" button to get more information about it. There cannot be more than one special event
|
|
active in a given town at the same time.
|
|
</p>
|
|
|
|
<h2> Leaderboards </h2>
|
|
|
|
<p>
|
|
Leaderboards track various statistics. It is fairly likely that some small amount of the
|
|
treasury will be distributed to those at the top of at least some of them.
|
|
</p>
|
|
|
|
<h2> Blockchain </h2>
|
|
|
|
<p>
|
|
Townforge is a blockchain based game. The entire game state is stored on the chain. This
|
|
brings advantages (protection against exit scam, against abuse of power by the game author)
|
|
but also drawbacks (the need to wait for a block for every action to be recorded on the
|
|
blockchain).
|
|
<br>
|
|
The blockchain is based on Monero, so a lot of things will be very similar to Monero.
|
|
In particular, non-game transactions benefit for Monero style privacy. In game transactions
|
|
are public, however. Everyone will know that game character Alice just built a new house
|
|
on that location, with those settings, etc. However, Noone knows who plays Alice, since
|
|
gameplay happens through blockchain transactions. However, Alice might have more than one
|
|
character, and nobody will know, assuming she does not do things like giving all of a
|
|
character's money to the other. It is what the Internet was meant to be:
|
|
somewhere you can live in without having to constantly show papers.
|
|
<br>
|
|
Note that the daemon the game connects to will know which player the game controls. As with
|
|
Monero, you are supposed to use your own daemon.
|
|
<br>
|
|
Technically, the block target time is one minute. The emission curve is similar to Monero's
|
|
starting off at about 35 coins per block and decreasing till a floor of 1 coin a minute,
|
|
where tail emission starts. This makes the tail emission about 50% higher than Monero's.
|
|
<br>
|
|
Game transactions are much smaller that normal transactions. 100 bytes is typical, compared
|
|
to 2.5 kB for out of game transactions. This is what you get for eschewing privacy (after
|
|
all, you need people to see your buildings to build a city). Note that in game transactions
|
|
do not compromise the privacy pool of normal out of game transactions since the in game
|
|
accounts are balance based, not output based.
|
|
<br>
|
|
Townforge is intended to be merge mined with Monero. It will piggy back on what Tari does.
|
|
It *might* be mined separately to start with. This would ensure more coins get owned by
|
|
actual game players, but would make the chain more vulnerable to 51% attacks.
|
|
<br>
|
|
The decentralized marketplace is implemented by transactions which get publicized on the
|
|
txpool, and mined when they're matched with another.
|
|
<br>
|
|
A huge number of consensus changes were made: all the game specific rules are consensus
|
|
changes. These changes have not received anywhere near the scrutiny a Monero consensus
|
|
change would receive. Since markets allow items, buildings etc to be turned to and from
|
|
money, this means that there is a non trivial chance that there may be a bug which affects
|
|
balances. Money supply looks unlikely to be affected, though. This is a game first, and
|
|
a currency second. Treat is as such.
|
|
</p>
|
|
|
|
</html>
|