Skip to content

Commit

Permalink
删除灯人 & 优化语言文件
Browse files Browse the repository at this point in the history
  • Loading branch information
commandf1 committed Oct 1, 2024
1 parent 8e08e9c commit 132d703
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 62 deletions.
16 changes: 2 additions & 14 deletions COG/Config/Impl/LanguageConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ private LanguageConfig(string path) : base(
public string GuesserGuessContinuously { get; private set; } = null!;
public string GuesserGuessEnabledRolesOnly { get; private set; } = null!;
public string GuesserCanGuessSubRoles { get; private set; } = null!;

public string LoverDescription { get; private set; } = null!;
public string LoverCountOptionName { get; private set; } = null!;
public string LoversDieTogetherOptionName { get; private set; } = null!;
public string LoverEnablePrivateChat { get; private set; } = null!;

public string Enable { get; private set; } = null!;
public string Disable { get; private set; } = null!;
Expand Down Expand Up @@ -130,8 +125,7 @@ private LanguageConfig(string path) : base(

public string DefaultEjectText { get; private set; } = null!;
public string AlivePlayerInfo { get; private set; } = null!;
public string LoverEjectText { get; private set; } = null!;


public string SystemMessage { get; private set; } = null!;

private void SetTranslations()
Expand All @@ -155,17 +149,12 @@ private void SetTranslations()

// Neutral


// Sub-Roles
GuesserMaxGuessTime = GetString("role.sub-roles.guesser.max-guess-time");
GuesserGuessContinuously = GetString("role.sub-roles.guesser.guess-continuously");
GuesserGuessEnabledRolesOnly = GetString("role.sub-roles.guesser.guess-enabled-roles-only");
GuesserCanGuessSubRoles = GetString("role.sub-roles.guesser.can-guess-sub-roles");

LoverDescription = GetString("role.sub-roles.lover.description");
LoverCountOptionName = GetString("role.sub-roles.lover.count-option");
LoversDieTogetherOptionName = GetString("role.sub-roles.lover.die-together");
LoverEnablePrivateChat = GetString("role.sub-roles.lover.private-chat");

Enable = GetString("option.enable");
Disable = GetString("option.disable");
CogOptions = GetString("option.main.cog-options");
Expand Down Expand Up @@ -217,7 +206,6 @@ private void SetTranslations()

DefaultEjectText = GetString("game.exile.default");
AlivePlayerInfo = GetString("game.exile.alive-player-info");
LoverEjectText = GetString("game.exile.lover-message");

SystemMessage = GetString("game.chat.system-message");

Expand Down
2 changes: 0 additions & 2 deletions COG/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ public override void Load()
new Sheriff(),
new Vigilante(),
new SoulHunter(),
// new Technician(),

// Impostor
new Impostor(),
Expand All @@ -157,7 +156,6 @@ public override void Load()
new Jester(),

// Sub-roles
new Lighter(),
new Guesser()
});

Expand Down
11 changes: 0 additions & 11 deletions COG/Resources/InDLL/Config/language.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@ role:
guess-continuously: "连续赌注"
guess-enabled-roles-only: "仅能赌注启用职业"
can-guess-sub-roles: "启用赌注副职业"
lighter:
name: "灯人"
description: "要相信光!"
long-description: "视野不会受到电力破坏影响"
lover:
name: "恋人"
description: "你与 %lover% 坠入了爱河"
count-option: "恋人对数"
die-together: "恋人共死"
private-chat: "启用私聊频道"
camp:
unknown:
name: "未知阵营"
Expand Down Expand Up @@ -136,6 +126,5 @@ game:
exile:
default: "%player% 是 %role%。"
alive-player-info: "剩余 %crew% 个船员, %neutral% 个中立, %imp% 个内鬼。"
lover-message: "%player% 是 %role%。\n%lover% 似乎由于伤心过度殉情了。"
chat:
system-message: "<b>【系统消息】</b>\0"
35 changes: 0 additions & 35 deletions COG/Role/Impl/SubRole/Lighter.cs

This file was deleted.

0 comments on commit 132d703

Please sign in to comment.