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

DF server variable to exclude specific weapons from staying when weapon stay is enabled #65

Open
nickalreadyinuse opened this issue Jan 25, 2021 · 1 comment · May be fixed by #278
Open
Labels
enhancement New feature or request

Comments

@nickalreadyinuse
Copy link

Some kind of DF setting or mask to exclude specific weapons from staying, e.g.

$DF WSExclude "Rail Driver, C4, Grenades, Rocket Launcher"

@rafalh rafalh added the enhancement New feature or request label Jan 25, 2021
@GooberRF
Copy link
Contributor

To build on this suggestion, which I really do think would be an incredible feature for server operators to have...

Specifying it by item name would make the most sense, since the item is ultimately what would be affected. For flexibility, I'd suggest something like this (similar to $DF Item Replacement)

$DF Item Is Powerup: "rail gun" true

This line would make the rail gun pickup unaffected by weapon stay (ie. treated as a powerup). The game already does this for the fusion by default.

Implementing it in this way, though, would also allow server operators the ability to do the opposite if they choose - ie. make an item that normally wouldn't be affected by weapon stay, instead affected by weapon stay.

$DF Item Is Powerup: "shoulder cannon" false

This line would make the fusion behave like all other weapon pickups even when weapon stay is on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants