Skip to content
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

feat(chatSpawn): 假人生成 允许只指定假人名称 #75

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

PuppyOne
Copy link
Contributor

@PuppyOne PuppyOne commented Jan 28, 2025

命令允许在不指定假人生成坐标的情况下,在玩家位置直接生成指定名称假人。输入时只需提供假人名称。

eg.

在玩家位置生成一个名为 猪人塔假人 的模拟玩家:

假人生成 猪人塔假人
# spawned simulated player named `猪人塔假人`.

如果名称包含空格:

假人生成 "猪人塔 假人"
# spawned simulated player named `猪人塔 假人`.

TODO:

    • fix(chatSpawn): 完善所有命令的 假人插件未初始化完成 提示
    • feat(chatSpawn): 更新命令参数错误提示
    • feat(help): 更新 假人生成 帮助信息

提取生成模拟玩家和注册到记分板的代码到 `spawnAndRegisterSimulatedPlayer` 函数
@PuppyOne PuppyOne changed the title feat(chatSpawn): ffpp 增加只指定假人名称生成的命令 feat(chatSpawn): 假人生成 允许只指定假人名称 Jan 28, 2025
@PuppyOne PuppyOne marked this pull request as ready for review January 29, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants