Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No more free mattress steel #2000

Merged

Conversation

arimah
Copy link
Contributor

@arimah arimah commented Sep 13, 2024

About the PR

  • Update the disgusting dirty mattress to use our own unique construction graph, bedNF, with the correct node.
  • Update the Destructible component so the mattress breaks into 1–2 cloth, not 1–2 steel.

Why / Balance

On upstream, mattresses can be neither constructed nor deconstructed. They're also not encountered often. Here on Frontier, we have our own construction graph for mattresses, which requires 2 cloth per mattress. If we don't override the mattress construction graph to bedNF, then it can be deconstructed into 2 cloth + 1 steel, same as a bed. The 2 cloth can be used to make another mattress, and now you have an infinite steel glitch.

Similarly, the destruction trigger is updated to match the actual material cost of the mattress.

With the arrival of the McHobo, with its 4 million mattresses, this could be abused to farm steel. Hopefully no one actually does this, unless they really want a ban for exploiting a bug.

How to test

  1. Spawn a mattress and a screwdriver. Apply screwdriver to mattress. Behold 2 cloth.
  2. Use the cloth to make another mattress. Screwdriver that too. Still just 2 cloth.
  3. Beat the crap out of a mattress until it gets destroyed. 1–2 cloth should spawn and no steel.

Media

2024-09-13.10-15-18.mp4

Requirements

  • I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
  • I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Might break someone's exploit meta, but should have no other effects.

Changelog
🆑

  • fix: Mattresses now break into just cloth, no more steel.

@ErhardSteinhauer ErhardSteinhauer merged commit 1d9bfcd into new-frontiers-14:master Sep 13, 2024
13 checks passed
FrontierATC added a commit that referenced this pull request Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants