blakemw Posted May 5, 2022 Share Posted May 5, 2022 I've long desired a feature that is like door restrictions but instead of limiting Duplicants based on the specific Duplicant, it limits them based on an attribute of the Duplicant. Three concrete examples: limiting access to the Atmo Suit docks to Duplicants with at least +6 Athletics. Or limiting access to the Metal Refinery to Dupes with at least +10 Machinery. Or limiting the hamster wheel gym to dupes with less than 10 Athletics. At first glance this might seem difficult to implement, but at second glance I don't think it would be, in fact it would even be technically a strict QoL mod. How so? Because Attribute Gate could be implemented such that all it does is automatically set the Door Restrictions. I absolutely could pause the game, go to the doors, and set the restrictions so that only Dupes with the proper attributes are allowed through. Unpause and continue. Pause again when a Dupe gains an attribute. A mod could do exactly that, just automatically. Although a special Attribute Gate building, which internally would probably use door restrictions to avoid having to mess with pathfinder code, would also serve the purpose. Link to comment Share on other sites More sharing options...
Castrolol Posted July 25, 2022 Share Posted July 25, 2022 It's sounds awesome, I'm working on it now ! it's possible to update restrictions on sim4000 allowing or not based on attributes... I'm looking for to how to do it Link to comment Share on other sites More sharing options...
pether Posted July 25, 2022 Share Posted July 25, 2022 Maybe that will interest you: https://steamcommunity.com/sharedfiles/filedetails/?id=2829258387 Link to comment Share on other sites More sharing options...
Castrolol Posted July 26, 2022 Share Posted July 26, 2022 Oh! it's awesome, but I'm finishing the attribute based door :/ I'll continue just for fun hahaha Link to comment Share on other sites More sharing options...
pether Posted July 26, 2022 Share Posted July 26, 2022 If the mod doesn't work on doors you can always release it, maybe somebody will use it Link to comment Share on other sites More sharing options...
Castrolol Posted July 26, 2022 Share Posted July 26, 2022 I made the door based on the attributes, I'll do some design adjusts and publish (maybe I create another one based on the professions) you can config using comparative operator, and combine with ALL and SOME the current permissions is visible on the information panel the code is available on https://github.com/castrolol/ONI-Mods details: internally I update the access restrictions based on the conditions, and hide the access control per minion screen thanks to https://github.com/peterhaneve/ONIMods by the PLibUI \o Link to comment Share on other sites More sharing options...
Castrolol Posted July 27, 2022 Share Posted July 27, 2022 Published! https://steamcommunity.com/sharedfiles/filedetails/?id=2841162578 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.