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

Players can no longer exploit Meteorshot to throw anything that's not a turf #17465

Merged
merged 3 commits into from
Mar 8, 2022

Conversation

Sirryan2002
Copy link
Contributor

@Sirryan2002 Sirryan2002 commented Mar 6, 2022

What Does This PR Do

Adds an additional move_resist < INFINITY check to meteorshot to prevent anything thats not supposed to be immobile from being thrown around. This allows meteorshot to blow stuff off its anchor points but not critical things like cryodorm computers or shields

Why It's Good For The Game

Players should not have the ability to throw any seemingly immovable object off their hinges/anchors. Not to mention this will likely causes serious issues when knocking APCs, or even cryodorm equipment off their anchorpoints. Also has serious balance implications because all a nukie needs to get passed a reinforced vault door or shieldwall is a meteorshot or two

Changelog

🆑
fix: fixes an exploit with meteorshot
/:cl:

Comment on lines 197 to 199
if(!M.anchored)
var/atom/throw_target = get_edge_target_turf(M, get_dir(src, get_step_away(M, src)))
M.throw_at(throw_target, 3, 2)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Fox-McCloud
Im recalling a past incident where someone tried this and it had a bunch of adverse effects and we had to revert it.

I could be wrong though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright, I've changed it over to move_resist since using anchored actively takes away from the intentions of meteorshot rather than just fixing the exploitive stuff

@Sirryan2002
Copy link
Contributor Author

going to look into possibly using move_resist instead of this

@AffectedArc07 AffectedArc07 added Tweak This PR tweaks something ingame Needs Head Approval and removed Needs Head Approval labels Mar 6, 2022
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Copy link
Member

@AffectedArc07 AffectedArc07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What could go wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tweak This PR tweaks something ingame
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants