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

Enhancement: Add "Stop" Button/ModSetting for Zoneable Creatures Like Intelligent Animals and Undraftable Mechs #18

Open
maarxx opened this issue Mar 26, 2023 · 0 comments

Comments

@maarxx
Copy link

maarxx commented Mar 26, 2023

Enhancement: Add "Stop" Button/ModSetting for Zoneable Creatures Like Intelligent Animals and Undraftable Mechs

Currently it seems the logic for showing the "Stop" button is regarding whether or not the thing is draftable (colonist or mechanoid).

If this is just a matter of maintaining vanilla limitations, then this isn't technically accurate.

Anything that can be zoned into an Allowed Area is stoppable. The vanilla equivalent is creating a new 1x1 Allowed Area that is their current position, changing them to this Area, then changing them back to their previous Area.

This will effectively Stop them, even in pure vanilla.

(Maybe you can't stop roaming/penned animals anymore in vanilla since they don't have allowed areas.)

Please consider expanding the Stop button (or at least the options) accordingly, for Mechanoids even if undraftable, and for intelligent animals, both by virtue of still respecting Allowed Area.

What you probably would actually want to check are things like __instance.playerSettings?.RespectsAllowedArea and !__instance.InMentalState or something.

@maarxx maarxx changed the title Enhancement: Add "Stop" Button for Tamed Animals (At Least Zoneable Ones) Enhancement: Add "Stop" Button for Zoneable Creatures Like Intelligent Animals and Undrafted Mechs Mar 27, 2023
@maarxx maarxx changed the title Enhancement: Add "Stop" Button for Zoneable Creatures Like Intelligent Animals and Undrafted Mechs Enhancement: Add "Stop" Button for Zoneable Creatures Like Intelligent Animals and Undraftable Mechs Mar 27, 2023
@maarxx maarxx changed the title Enhancement: Add "Stop" Button for Zoneable Creatures Like Intelligent Animals and Undraftable Mechs Enhancement: Add "Stop" Button/ModSetting for Zoneable Creatures Like Intelligent Animals and Undraftable Mechs Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant