-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
dedicated unload loot button #59596
dedicated unload loot button #59596
Conversation
You should implement the activity with the activity actor system. See #40013. |
in the future I would like to generalize this and further similar activities to that system and split them into chunks (so code isn't replicated), however for now it seems like a lot of work and risks regression when we should be in freeze. This is just a quick assist for the new nested zombie items making the workflow of unloading a bit snappier potentially. |
Why go trough zones for this? Shouldn't this be just a player action? Do you want NPC's to use this function as well and that's why you're using zones? I get there's a player action for unloading a container, but that puts it into your inventory as opposed to your solution where it is dropped onto the ground. I feel like it should be more similar to unload container as a player action. |
You can make it a quick assist with an activity actor and save the refactoring for later. There's no real need to add to legacy code here. |
So you can do it en-masse. If you have a huge unload zone you can unload everything in there. It also gets nested containers.
Onto the ground exists as well but is unbound by default "Unload container" in the bindings menu. It's very useful. |
I apologize but I don't understand what this means. |
I mean you can make a simple activity actor and pretty much just copy over your do_turn (with some small adjustments probably). It's not any more complicated but uses the modern activity system instead of the legacy one. |
d01bbb3
to
f31366b
Compare
f31366b
to
35df591
Compare
|
* Unload loot working * kind of working * new mode with interrupts working correctly * feature parity test * Clangin' * clang again
Summary
None
Purpose of change
Should be a way to strip corpses and unload stuff without otherwise sorting
Describe the solution
Added a new method similar to sort but with the actual moving removed. just tries to unload nearby unload zones.
Moved over to the activity actor system, made some functions that were just used in the old activities available in a namspace for use across the systems.
Describe alternatives you've considered
Testing
Load up game, make an unload zone, kill some zeds, try unloading
Additional context