Changes

Jump to navigation Jump to search

Guides:Flattening

1,959 bytes added, 14:39, 7 November 2007
Refactoring, rewriting some
[[CDB|Main]] / [[:Category:Guides|Guides]] / '''{{PAGENAME}}'''
'''Flattening''' is the [[digging]] process of making a [[tile]]'s [[slope]] levelflat.Flatness can be defined two ways:
==Flattening made easy==* All tile corners are the same height* All tile borders are level (0 [[slope]])
==Automatic flattening =Assumptions=Automatic flattening is an action on a tile: right-click the tile and choose "Flatten". === Requirements ===# The tile and the surrounding 8 tiles are flattenable (see below)
# [[Shovel]] is active
# You have probably want a [[cart]] to put dirt into
Some tile types prevent flattening. The most common are [[tree]], [[clay]], and [[marsh]].
===ActionsFlattening time ===# Pick a single corner as you reference (you could place a [[small barrel]] or another [[container]] The action time is based on it so you know the reference corner).# Right-click on height difference (in "dirts", as seen when examining a [[tile border]] that adjoins ) between the reference point highest and see which end lowest corners of the tile border needs to be dug.#* If the reference corner is the highest, then drop the required dirt at the lowest end.#* If the reference corner is the lowest, then dig the required amount from the highest end.# Repeat until area The time is flat9 seconds plus an additional 10 seconds for every 4 dirts difference.Examples:
* 0 ="The ground is flat now."* 1..3 =Technical data about flattening9 secs* 4..7 =19 secs* 8..11 =29 secsThe times given when you start to flatten correspond to the number of dirt "difference" are:* 12..15 = 39 secs* 16..19 = 49 secs* etc
*0 = "The ground is flat now."*1..3 = Examples of tiles that would give 9 secs*4..7 = 19 secs*8..11 = 29 secs*12..15 = 39 secs*16..19 = 49 secs*etc So the seconds flattening time is (the "number of dirt difference" / 4, rounded down, * 10 + 9. The "number of dirt difference" below is the height difference between the highest and lowest points. So a 9-second timer could be from tiles like this):
<pre>
| | | | | |
1---2 3---3 0---3
(2) (3) (3)
</pre>
Every 10 seconds, the flattening action moves some dirt from high corners and drops it on low corners. When the flattening timer finished, the tile is not necessarily completely flat. If at the end sum of the timer heights of the tile corners is in a multiple of four, then the tile can be flattened. Otherwise, there are 1-3 dirt difference rangeextra that prevent it from being completely even. The different results are listed below: * If there is 1 extra dirt, these messages you attempt to assemble.* If there are displayed2 extra dirt:** If the dirts are on the same corner (0-0-0-2), you attempt to assemble once.*** In this case, '''the tile is not flattened completely'''. You must flatten again to finish.** Otherwise, if you have at least one dirt in your inventory, you attempt to fill twice.** Otherwise, you attempt to assemble twice.* If there are 3 extra dirts, you attempt to fill.
1: '''Assemble''' means you attempt to dig one dirt on a high corner. If you can carry an additional dirt, the message "You assemble some dirt from a corner." (is displayed and you get gain one dirt added . Otherwise, the message "You would not be able to [[inventory]])carry all the heavy dirt you would dig" is displayed.
2: Depending on how much dirt '''Fill''' means you are carrying you get: 0: "You assemble some attempt drop one dirt from on a low corner." (twice) and If you get 2 have a dirt added to inventory. 1: drop, the message "You use some of the dirt in one corner." is displayed and you lose one dirt. Otherwise, the message "If you carried some dirt, it would be used to fill the 1 corners that need it." Note the tile is '''NOT''' flat. 2: "You use some of the dirt in one corner." (twice) and the 2 dirt in inventory are useddisplayed.
3: Depending if you are carrying any dirt you get: 0: "If you carried some dirtthe flattening action successfully flattened the tile completely, it would be used to fill the 1 corners that need it.message " Note the tile The ground is '''NOT''' flathere. 1: "You use some of the dirt in one cornerwill be displayed. If this message is not displayed, you either failed to perform an assemble or fill, or it was a 0-0-0-2 spread."
==ExampleManual flattening ==Manual flattening is the act of making an area flat through manually [[dig]]ging and dropping [[dirt]]. While the process requires more interaction by the digger, it is vastly superior when flattening areas of more than a few tiles. === Procedure ===# Pick a single corner as your reference (you could place a [[small barrel]] or another [[container]] on it so you know the reference corner).# Right-click on a [[tile border]] that adjoins the reference point and see which end of the tile border needs to be dug.#* If the reference corner is the highest, then drop the required dirt at the lowest end.#* If the reference corner is the lowest, then dig the required amount from the highest end.# Repeat until area is flat. === Manual flattening example ===
Lets say you have a 4-tile area you want to be completely level. You stand in the center of that area at reference corner 'x' below, and examine the tile borders leading to corners 'a', 'b', 'c', and 'd' showing how high or low each point is compared to yourself.
Remember that slopes are measured on tile borders, and dirt is dug or dropped at the corner you are standing nearest to. The message "Two dirts steep toward you (ie DROP)" means +2 on this diagram; "One dirt steep away from you (ie DIG)" means -1. The message has nothing to do with how you are facing, and everything to do with where you are standing in the tile.
* Since corner B is one dirt higher than corner X, and go dig one dirt from corner B.* Next, since corner A is one dirt lower than corner X, go dig a drop the dirt from corner B and drop it on corner A, making both of those .* Now the XA and XB borders levelare flat. Dig * Corner C is two dirt higher than corner X, so dig two dirt from corner C and drop them on .* Next, since corner D and tile border is three dirt lower than corner X->, drop the two dirt from C will be level as well, with on corner D still needing .* XC is now flat, but XD is not. You need get one more dirt from elsewhere (go dig '''outside your ''' the flattening area and drop it on XD.* Now all four tile area)borders are flat. You'll  Then you need to do repeat the same thing now observing eprocess for corners A, B, fC, D. E.g . for corner A, you would need to level corners E, G and h relative to athe one left of A (not in diagram). Then for corner B, byou level E, c F and d to the one above B (not displayed). If you levelled AE before then BE will already be flat. (This is obvious when considering we're adjusting the heights of each corner. First we made sure A and B were the same height as X. If we then make E the same height as A, it's necessarily also the edges level (same height as B.) Remember, don't dig/dump from points or drop on corners you've already leveled).levelled!
[[Category:Guides]]
[[Category:Babel/F]]
1,894

edits

Navigation menu