Remove halloween masks and loot box from default scav loadouts#790
Remove halloween masks and loot box from default scav loadouts#790sgtlaggy wants to merge 1 commit into
Conversation
|
I would suggest maybe go the other way and handle the removal via the seasonal event service like Christmas items. My 2c The whole add/remove part of the service probably needs tuned up a bit tbh |
|
Took a look at that, it would work but I'm not sure even that one is appropriate. Its purpose is to remove Christmas items from all bots except gifter but only when the Christmas event isn't active. The April Fools event explicitly adds Christmas gear and loot, effectively a null action because that method will later remove it. IMO removing that method and cleaning event items from the base data is a better option. |
I only recommend removing it like the Xmas removal, because cleaning the data manually now.. then getting more data means you just have to clean it again. Removals should happen in code so it always happens on startup IMO I believe that's why the Christmas removal method exists, so you don't have keep cleaning dumped data but I could be wrong |
|
@acidphantasm is correct here. We tend to not play around with this JSON data directly as it's generated automatically via loot and bot dumps. We either adjust the generation, or adjust how the generated data is used, but never the actual generated data (manually). |
|
Understood. If I force-push a commit with that |
826f2d9 to
a2e55a7
Compare
|
I'm not well versed in how that config file works... If that config file simply adds those items into the pool when each event is active, I don't think it would be necessary (in this case) as the item is already in the pool. You would just need to make sure that your code is removing them from the pool when the event is not active. Frankly, I don't love that these seasonal items are in the base generated loot, but I can't see us regenerating the loot to remove them at this point for 4.1. So I think we're safe to move forward with the assumption that they'll remain there. |
|
That can be added later if necessary. Force-pushed the new commit on its own, copying the use and implementation of |
4.1 scav data appears to have been gathered during the time it was live so halloween loot is included in scav data. This patch removes the masks and pumpkin helmet, which are already present in the seasonal event gear list, as well as the pumpkin loot container, which was not present in event loot but has been added similar to Christmas ornaments.