mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 07:17:27 +00:00
Fix some game ids and clarify rules 6 and 7. (#143)
* Fix wrongly named game ids of l4d, l4d2 and q3a * Specify how edition/protocol names are appended to games, rule 7 * Clarify rule 6 regarding numbers * Add/Update badge * Fix rule 7 misswording * Fix 7 Days to Die * List id changes in the changelog * Forgot to fix test * Apply Douile suggestion regarding rule 6 Co-authored-by: Tom <25043847+Douile@users.noreply.github.com> * Fix typo on rule 6 and wrap text * Clarify further rule 7 --------- Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Tom <25043847+Douile@users.noreply.github.com>
This commit is contained in:
parent
2cc9e56168
commit
e3dd7cd1c7
7 changed files with 36 additions and 25 deletions
|
|
@ -52,18 +52,23 @@ and 2017 would be `swb22017`).
|
|||
(`Day of Defeat` -> `dod`), then the new name should ignore rule #2
|
||||
(`Day of Dragons` -> `dayofdragons`).
|
||||
5. Roman numbering will be converted to arabic numbering (`XIV` -> `14`).
|
||||
6. Unless numbers are at the end of a name, they will be considered words,
|
||||
but digits will always be used instead of the acronym (counter to #2) (`Left 4
|
||||
Dead` -> `l4d`) unless they at the start position (`7 Days to Die` -> `sdtd`),
|
||||
if they are at the end (such as sequel number or the year), always append them
|
||||
(`Team Fortress 2` -> `teamfortress2`, `Unreal Tournament 2003` ->
|
||||
`unrealtournament2003`).
|
||||
7. If a game supports multiple protocols, multiple entries will be done for
|
||||
said game where the edition/protocol name (first disposable in this order) will
|
||||
be appended to the game name (Minecraft is divided by 2 editions, Java and Bedrock
|
||||
which will be `minecraftjava` and `minecraftbedrock` respectively) and one more
|
||||
entry can be added by the base name of the game which queries in a group said
|
||||
supported protocols to make generic queries easier and disposable.
|
||||
6. Unless numbers (years included) are at the end of a name, they will be considered
|
||||
words. If a number is not in the first position, its entire numeric digits will be
|
||||
used instead of the acronym of that number's digits (`Left 4 Dead` -> `l4d`). If the
|
||||
number is in the first position the longhand (words: 5 -> five) representation of the
|
||||
number will be used to create an acronym (`7 Days to Die` -> `sdtd`). Other examples:
|
||||
`Team Fortress 2` -> `teamfortress2`, `Unreal Tournament 2003` ->
|
||||
`unrealtournament2003`.
|
||||
7. If a game supports multiple protocols, multiple entries will be done for said game
|
||||
where the edition/protocol name (first disposable in this order) will be appended to
|
||||
the base game id's: `<game_id><protocol_id>` (where the protocol id will follow all
|
||||
rules except #2) (Minecraft is mainly divided by 2 editions, Java and Bedrock
|
||||
which will be `minecraftjava` and `minecraftbedrock` respectively, but it also has
|
||||
legacy versions, which use another protocol, an example would be the one for `1.6`,
|
||||
so the name would be `Legacy 1.6` which its id will be `legacy16`, resulting in the
|
||||
entry of `minecraftlegacy16`). One more entry can be added by the base name of the
|
||||
game, which queries in a group said supported protocols to make generic queries
|
||||
easier and disposable.
|
||||
8. If its actually about a mod that adds the ability for queries to be performed,
|
||||
process only the mod name.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue