MAZ - Mass Assign Zones
[b][i]Mass assign pawns to zones by holding shift!.
New update 1.8.0, also holding control will mass assign every player controlled pawn on the current map!
This will include all colonists, animals, robots(mods) and mechs (and more modded pawns possibly)!
Added new effects, a flash on the header button when applying a zone and a yellow border while all assignment mode is active(holding control).
Update 1.8.1, added in-game update notification menu as an experiment and to tell you about new features.
Updated source code.
I consulted with ai on these updates because I suck at coding but I gotta tell you. . . I must not suck that bad because I had to clean up almost everything I got as a response. . . but it sure saved hours of time battling random bugs!
1.6 Update: Simply let the game know we are still fully functional and supported!
1.5 Update: Special thanks to Pos 5 for prompting me to get this updated and offering advice on how to fix it.
Works with any mod using the basic pawncolumn assignarea class, like Misc Robots.[/i][/b]
[i]Almost all credit goes to Fluffy for making the shift to mass assign for the animal tab in the first place!
All I've done here is use a harmony transpiler to shove the shift to assign functionality into the base game pawn area assignment columns.
And Fluffy did a great job coding the mass assigner, all props to him, if he is upset I will take this down.
[url=https://steamcommunity.com/sharedfiles/filedetails/?id=712141500/]Fluffy's Animal Tab[/url]
Unfortunately, you can't hold shift and take a screenshot so you have to take my word that it works just like animal tab!
A new row of zone buttons will overlay the header and allow you to click to assign every pawn to that zone.[/i]
Compatibility
New 1.8.0 update's all assignment mode and effects don't apply on the animals tab for users of Fluffy's animal tab. No intent on fixing this for now, just use any other tab with zone assignment.
Area Inclusion and Exclusion is sort of compatible. There's no major issues, however upon assigning all pawns to a zone all inclusions and exclusions are erased. I was looking into how I could rewrite this mod but the other mod has completely rewritten the area system and I'm having a tough time wrapping my head around it. . . I'll keep at it when I can, [b]just a heads up your inclusions and exclusions will be erased when mass assigning![/b]
I took another look at this and it seems overwriting the zones feels preferable to abiding by Inclusions and Exclusion, if you use these mods together, use this one more like an emergency zone applicator.
[i]Got a report that Children and Learning is incompatible. However, testing myself shows no issue. Doesn't override forced school zone. If anyone else has errors, please post some logs in a discussion and I'll take a peak![/i]
Somehow, someway isn't 100% compatible with TD Enhancement Pack human vs animal zone limiter, but I don't think thats anyone's fault.
I looked at the code of TD and it changes the same call this mod and fluffy's animal tab uses to summon the available zones yet it always summons all of them.
Important Info
[u]Includes crappy google translations for most languages. Leave a comment/discussion with a better translation and I will update it.
Requires harmony, doesn't require animal tab.
Safe to install/uninstall whenever.[/u]
Tested on 1.2 and up to 1.6
Not fully tested with Ideology and beyond, but it shouldn't have issues.
Check out my other mods!
[url=https://steamcommunity.com/sharedfiles/filedetails/?id=2853583481]Fast Decompose[/url]
[url=https://steamcommunity.com/sharedfiles/filedetails/?id=2681062330]Titanium+ (continued)[/url]