Skip to content

Commit

Permalink
doc 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
chr233 committed Nov 23, 2022
1 parent 741d481 commit d02e6e2
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ASFEnhance/Event/Command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,17 @@ internal static class Command
if (gamsIDs.Count < 11) //不足11个游戏自动补齐
{
Random rd = new();
uint[] defaultGames = new uint[] { 1718570, 1352930, 1592670, 1920660, 1849900, 1687950, 1240480, 2078780, 2135500, 2135500, 1332010, 1761390, 1084600 };
uint[] defaultGames = new uint[] { 1718570, 1352930, 1592670, 1920660, 1687950, 1240480, 2078780, 2135500, 2135500, 1332010, 1761390, 1084600 };
while (gamsIDs.Count < 11)
{
gamsIDs.Add(defaultGames[rd.Next(defaultGames.Length)]);
if (gamsIDs.Count == 1)
{
gamsIDs.Add(1849900); //Among Us VR
}
else
{
gamsIDs.Add(defaultGames[rd.Next(defaultGames.Length)]); //Random game
}
}
}

Expand Down
29 changes: 29 additions & 0 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,35 @@
## EVENT COMMAND

> Sale event time 11.22 - 11.29
>
> [Store link](https://store.steampowered.com/steamawards/nominations)
| Command | Shorthand | Access | Description |
| ---------------------- | --------- | ---------- | ------------------- |
| `VOTE [Bots] <Choose>` | `V` | `Operator` | 票选 `Steam Awards` |
| `CHECKEVENT [Bots]` | `CE` | `Operator` | 获取徽章解锁情况 |

> Example command to unlock the `Autumn Sale Badge` (only for reference)
```txt
# make vote
VOTE ASF 1718570,1849900,440,1592670,1920660,1687950,1240480,2078780,2135500,2135500,1332010
# play one of your voted game
ADDLICENSE ASF A/440
PLAY ASF 440
# publish review
PUBLISHRECOMMENT ASF 440 lol
# delete review
DELETERECOMMENT ASF 440
# check status of badge
CHECKEVENT ASF
```

> Sale event time 10.19 - ?
>
> [Store link](https://store.steampowered.com/sale/simscelebrationsale?tab=2)
Expand Down
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,35 @@ ASFEnhance 介绍 & 使用指南: [https://keylol.com/t804841-1-1](https://keylo
## 限时活动 EVENT

> 活动时间 11.22 - 11.29
>
> [商店链接](https://store.steampowered.com/steamawards/nominations)
| 命令 | 缩写 | 权限 | 说明 |
| ---------------------- | ---- | ---------- | ------------------- |
| `VOTE [Bots] <Choose>` | `V` | `Operator` | 票选 `Steam Awards` |
| `CHECKEVENT [Bots]` | `CE` | `Operator` | 获取徽章解锁情况 |

> 解锁秋季特卖徽章的示例命令 (仅供参考)
```txt
# 投票
VOTE ASF 1718570,1849900,440,1592670,1920660,1687950,1240480,2078780,2135500,2135500,1332010
# 游玩游戏
ADDLICENSE ASF A/440
PLAY ASF 440
# 发布评测
PUBLISHRECOMMENT ASF 440 lol
# 删除评测
DELETERECOMMENT ASF 440
# 检查徽章
CHECKEVENT ASF
```

> 活动时间 10.19 - ?
>
> [商店链接](https://store.steampowered.com/sale/simscelebrationsale?tab=2)
Expand Down

0 comments on commit d02e6e2

Please sign in to comment.