Skip to content

Fence construction and dismantling update#38969

Open
SECBATON-GRIFFON wants to merge 48 commits intovgstation-coders:Bleeding-Edgefrom
SECBATON-GRIFFON:fence-update
Open

Fence construction and dismantling update#38969
SECBATON-GRIFFON wants to merge 48 commits intovgstation-coders:Bleeding-Edgefrom
SECBATON-GRIFFON:fence-update

Conversation

@SECBATON-GRIFFON
Copy link
Contributor

@SECBATON-GRIFFON SECBATON-GRIFFON commented Feb 1, 2026

[content][balance]

What this does

Adds fences, fence doors, fence secure doors and fence posts to plasteel stack recipes.
Allows rods to mend holes in fences with just 1 sheet of plasteel required.
Allows RCDs, xenomorphs, wall smashing mobs and hulk punches to delete fences.
Greatly simplifies secure fence door code, now only requiring mobs to match the direction to pass with no subtypes.
Makes fence types auto smoothed, removing the corner and end subtypes.
Lets secure doors have their direction flipped on alt click if on the same tile as them, whether from just being built or opened.
Closes #38964.

Why it's good

Jungle neccessated the balance.
Makes mapping them easier as a side effect.

How it was tested

Loading snaxi, spawning plasteel, building a fence with them, cutting through with wirecutters, mending with plasteel, cutting through with a drill, deconstructing them with an RCD, loading fence_example.dmm as a map element.

Changelog

🆑

  • rscadd: Fences, fence posts, fence doors and fence secure doors can now be built with plasteel, or from an RCD. They take 5 seconds to build and cannot be stacked on each other. (RCD fences take 3 seconds to build and cost 4 matter units)
  • tweak: Fences can now have their holes repaired with plasteel, or be cut into plasteel at their biggest hole stage; both are instant.
  • tweak: Fences can now be deconstructed with drills, RCDs, hulk punches, xenomorphs and wall smashing mobs. Medium power fence explosions now drop their plasteel on deletion.
  • tweak: Any sharp object with a sharp blade (including wirecutters) now works for fence hole cutting, with higher sharpness speeding up cut time. Fence ends and corners can now be cut through, unless built from fence posts.
  • tweak: Fence hole cut time has been reduced to 10 seconds for each stage, from 20.
  • tweak: Fences now auto smooth when mapped, with junglestation slightly adjusted for this. This also affects construction. To aid issues with secure fence doors arising from this, secure fence doors can now have their access direction flipped on alt click while on the same turf.

@D3athrow-Issues D3athrow-Issues added Balance Potentially going to upset people as it changes balance of the game. Content Adds something. Neat! labels Feb 1, 2026
@gurfan
Copy link
Collaborator

gurfan commented Feb 1, 2026

<tweak: Fence hole cut time has been reduced to 5 seconds from 20, and medium size climb-through has been reduced to 10 seconds from 20. Any sharp object with a sharpness equal to or higher than wirecutters now works for hole cutting.

It's not the most consequential change but I dislike shortening the time because it makes fences way less good at keeping someone out for a while. Not every barrier needs to be this trivial to pass through. This will affect snaxi balance as well.

@SECBATON-GRIFFON
Copy link
Contributor Author

SECBATON-GRIFFON commented Feb 1, 2026

It's not the most consequential change but I dislike shortening the time because it makes fences way less good at keeping someone out for a while. Not every barrier needs to be this trivial to pass through. This will affect snaxi balance as well.

only reducing it due to it being trivial to make with rods. could change it to plasteel if this is a concern.
also i don't think it should take a whole minute to cut through these to begin with regardless. a constructed barrier like this shouldn't take as long as an rwall to get through.

@SECBATON-GRIFFON SECBATON-GRIFFON marked this pull request as ready for review February 1, 2026 21:11
@gurfan
Copy link
Collaborator

gurfan commented Feb 1, 2026

I suppose the very quick build time would balance it out, yeah. I think I'd prefer these be made with plasteel, since that would prevent people from spamming them everywhere, but I'd wait for other players opinions on that matter.
Either way having these things be properly buildable/deconstructable is a huge improvement.

@Eneocho
Copy link
Collaborator

Eneocho commented Feb 1, 2026

Clearly the solution is plasteel rods that make plasteel fences/grilles that are way tougher than their regular steel counterparts

@jwhitak
Copy link
Collaborator

jwhitak commented Feb 1, 2026

I'm not a fan of the rod construction menu. How does this affect the lattice quick building?

Considering "Clown that Fences In Security" is something that will absolutely happen in the server, the plasteel idea might be the way to go here. That, or making fences considerably easier to go through and deconstruct (which seems unpopular).

@kilozombie
Copy link
Contributor

Plasteel seems reasonable if they're at a 20 second cut time, I like that. If the clown gets some plasteel and does the bit using it, that's just good planning on his part.

@SECBATON-GRIFFON
Copy link
Contributor Author

Considering "Clown that Fences In Security" is something that will absolutely happen in the server, the plasteel idea might be the way to go here.

did this

@SECBATON-GRIFFON SECBATON-GRIFFON changed the title Fence and rod construction updates Fence construction and dismantling update Feb 1, 2026
@Eneocho
Copy link
Collaborator

Eneocho commented Feb 1, 2026

Considering adding the fences and their variants to the RCD and aRCD.

@falcon2346
Copy link
Contributor

Plasteel seems reasonable if they're at a 20 second cut time, I like that. If the clown gets some plasteel and does the bit using it, that's just good planning on his part.

It's not a 20 second cut time really. 20 seconds lets you pass an object through, you have to cut it 3 times to actually be able to walk through it, so it's an entire 60 second investment. If I'm reading this right you need to cut it an additional time to deconstruct it, so that's 80 seconds. That's way, way too much time for a fence You could probably deconstruct two entire rwalls in that time.

@falcon2346
Copy link
Contributor

You should probably have it check if the item has the SHARP_BLADE flag if you're going to allow other items to cut through it, otherwise screwdrivers are just as good at cutting a fence as wirecutters are and that doesn't make a lick of sense

@SECBATON-GRIFFON
Copy link
Contributor Author

SECBATON-GRIFFON commented Feb 2, 2026

You should probably have it check if the item has the SHARP_BLADE flag if you're going to allow other items to cut through it, otherwise screwdrivers are just as good at cutting a fence as wirecutters are and that doesn't make a lick of sense

good point, added that

It's not a 20 second cut time really. 20 seconds lets you pass an object through, you have to cut it 3 times to actually be able to walk through it, so it's an entire 60 second investment. If I'm reading this right you need to cut it an additional time to deconstruct it, so that's 80 seconds. That's way, way too much time for a fence You could probably deconstruct two entire rwalls in that time.

nope, the cut time is gone for the last step so 60 seconds in total, but if it's better to reduce this time anyways i can do that

@braplord
Copy link
Contributor

braplord commented Feb 4, 2026

clearly the solution is making cutting slower!

@SECBATON-GRIFFON
Copy link
Contributor Author

SECBATON-GRIFFON commented Feb 5, 2026

the RCD placement needs some work

if you mean the issue with dirs, its a deceptively sprite level one, east/west faces north/south and vice versa. fixed it now.

also placement with the RCD should not be instant, and should take more than 1 matter unit

made it take 3 seconds and cost 4 units now

Also the climb-through time being 20 seconds still feels silly when it's faster to just cut through it again. you should probably make it just as fast as the cut time, if not reduced.

debated how to handle this but the emojis hang in the balance enough as is

would you mind looking into the weird sprite issues that fences have? the southwest corner fence is missing a pixel, the front facing ones dont connect properly with each other and they dont seem to connect properly with some of the corner fences

auto smoothing has fixed this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Balance Potentially going to upset people as it changes balance of the game. Content Adds something. Neat!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Fences need finished.

9 participants