fix: aliens vs predator specify year as there is also an older game not to be confused with

This commit is contained in:
CosminPerRam 2024-04-28 22:28:41 +03:00
parent 4df721e3b6
commit 462677f928
4 changed files with 9 additions and 4 deletions

View file

@ -90,7 +90,7 @@ requirements/information.
| Pirates, Vikings, and Knights II | PVAK2 | Valve | |
| PixARK | PIXARK | Valve | |
| Ark: Survival Ascended | ASA | Epic | Available on the 'tls' feature |
| Aliens vs. Predator | AVP | Valve | |
| Aliens vs. Predator 2010 | AVP | Valve | |
## Planned to add support:

View file

@ -11,7 +11,7 @@ Games:
- [PixARK](https://store.steampowered.com/app/593600/PixARK/) support.
- [Ark: Survival Ascended](https://store.steampowered.com/app/2399830/ARK_Survival_Ascended/) support, note: not yet in
the games definitions.
- [Aliens vs. Predator](https://store.steampowered.com/app/10680/Aliens_vs_Predator/) support.
- [Aliens vs. Predator 2010](https://store.steampowered.com/app/10680/Aliens_vs_Predator/) support.
Protocols:

View file

@ -54,7 +54,7 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
"asrd" => game!("Alien Swarm: Reactive Drop", 2304, Protocol::Valve(Engine::new(563_560))),
"atlas" => game!("ATLAS", 57561, Protocol::Valve(Engine::new(834_910))),
"avorion" => game!("Avorion", 27020, Protocol::Valve(Engine::new(445_220))),
"avp" => game!("Aliens vs. Predator", 27015, Protocol::Valve(Engine::new(10_680))),
"avp2010" => game!("Aliens vs. Predator 2010", 27015, Protocol::Valve(Engine::new(10_680))),
"barotrauma" => game!("Barotrauma", 27016, Protocol::Valve(Engine::new(602_960))),
"basedefense" => game!("Base Defense", 27015, Protocol::Valve(Engine::new(632_730)), GatheringSettings {
players: GatherToggle::Enforce,

View file

@ -37,7 +37,12 @@ game_query_mod!(
Engine::new(296_300),
27016
);
game_query_mod!(avp, "Aliens vs. Predator", Engine::new(10_680), 27015);
game_query_mod!(
avp2010,
"Aliens vs. Predator 2010",
Engine::new(10_680),
27015
);
game_query_mod!(barotrauma, "Barotrauma", Engine::new(602_960), 27016);
game_query_mod!(blackmesa, "Black Mesa", Engine::new(362_890), 27015);
game_query_mod!(brainbread2, "BrainBread 2", Engine::new(346_330), 27015);