Staxel
ExpandedFurniture
SF  [developer] 3 Nov, 2020 @ 2:23am
Manual: Fences (pulled from the readme)
Fences are extremely complicated under the hood and make extensive use of the AutoTile system. AutoTile unclutters your inventory, but comes with the limitation that there are probably a few configurations that are hard to make and a small few might be impossible. Just about any *reasonable* fence should be makeable, however.

I've tested my fences extensively and with some effort I have yet to find a configuration I can't make. If you do find a configuration you can't make, please let me know.

All of my fences are prefaced with "EF" and you can use it as a search term. They will NOT interact with the vanilla fences at all. I recommend using one or the other, but not both. All EF fences interact with other EF fences as though they're the same fence. This could look weird and may make a few configurations involving proximate fences impossible. I considered it a small price to pay for flexible and expandable fences. If you're doing weird fence interactions then you might consider pulling out the occasional vanilla fence piece if you really get stuck.

I've re-used the vanilla fence art where I could, to save on resources, but a few had to be edited for positioning.

Every Fence has a special variation for detailing. In the files they're all called "destroyed" but now that there are Lang files I've given them appropriate descriptors. Not all Variant fences actually look broken. Some simply look overgrown or have some other extra decorative element. Variant fences could in theory be used as stand-alone fences, but they're usually meant to be detail or accent pieces.

Some Fences have gates that are separate blocks. These have no autoTile sections and don't interact with the logic at all. More gates are planned at some point when I'm not sick of looking at the fences. (I'm still sick of them!)

I don't presently intend to make Gates for the Wooden Pole Fences or the Rough Wooden Fence. Zallieh has done those:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1300044927
Requests might make me change my mind.

All EF fences come with the following pieces or sub-pieces:

  • End - connects to one other fence tile.
    • It can only be placed when three of the surrounding four tiles are empty air. This tile is new and has been added to every fence.
    • All "Destroyed" End tiles are actually meant to be stand alone fence posts that can be used with the "Normal" fence without any sign of destruction or decay.
  • Straight - This piece was in every vanilla fence. It's a fence post in the center with two connections in a straight line. If this piece got new art it's likely because there was a positioning issue or graphical bug.
    • This piece will be placed by default if you manage to create a situation that makes every other piece invalid.
    • Being adjacent to a Corner, Middle, or End piece will let you place these.
  • Middle - This piece was only present in the stone pillar fence and the Wooden Pole fence. It's a straight connector without a fence post. If removing a post wasn't suitable for the fence I used it as a decorative embelishment piece. All M sections are technically "floating" and MUST be attached to a different fence piece or a wall or something. Even if it looks like they could stand on their own, they won't.
    • Being adjacent to a Corner, or Straight piece will let you place these.
    • You can place a long string of these, but they're really designed for being placed between Straight pieces.
    • If the fence has a Middle and Middle2 piece then the "Middle" piece will be directional and the "Middle2" will be flippable.

  • Corner - This piece was in every vanilla fence. You know what a corner is. If this piece got new art it's likely because there was a positioning issue or graphical bug.
    • Being adjacent to a Corner, or Straight piece will let you place these.
  • T Section - Three connection points.
    • If Three pieces of the fence surround the targeted block this piece will be available. You'll often have to go back and knock out a previously placed block to place this.
  • Cross - Four connection points.
    • If four pieces of the fence surround the targeted block this piece will be available. You'll often have to go back and knock out a previously placed block to place this.

How To Get Cool Patterns

There are three patterns you can make easily with the fences on a straight stretch. It may take a little getting used to, though.

If you place a Straight Piece, you'll be prompted to next place a Middle Piece and vice versa: SMSMSMSMSMSMS. This is the default pattern and takes no effort. Just never rotate the tiles.

All Straights is the standard pattern for the default farm fence: SSSSSSSS. To get this pattern place an M piece just before you want your straight pattern to start (You can knock it out later and replace it with a corner or something.) ROTATE TWICE. You'll now be placing a straight piece that will look identical to the other straight piece, but it will always drop another straight piece: MSSSSS.

The MMMMMM Pattern is done just the same as the SSSSS pattern but you start the sequence with an S and then ROTATE TWICE.

You're not locked into one pattern or the other, you can flip between them at will to create something like this: SMMSSMMSSMMMSSSMMMSSSMSSSSMSSSSM.

Take note that the M section has (usually) been designed as a decorative accent. Some M sections (Especially on the Rope Fence) will not play well visually with themselves. The MMMM pattern won't look good for all fences.

The Stone Fence has and extra directional middle piece. It can make loads of patterns. (See the steam page for images.) Because of the added complexity there's no good way to instruct you to get every pattern.

S>MMMMM<S is the vanilla game pattern and should be fairly easy to achieve if you're comfortable with the simpler fences.

The one pattern you can't make with just the tall Stone Fence is SMSMSMSMSMS. To make this you'll want to make SSSSS and then knock out every other block to get S_S_S. Then you'll need to swap to the Short Stone Fence and fill in the holes SmSmS. The M blocks between the two fences are virtually identical, but small chips have been removed from the base of the Short Stone Fence's medium tile so you can distinguish them and troubleshoot any issues.

Good luck! I find S>MsM<S to be particularly nice.