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

Add more translation #66

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions addons/sourcemod/scripting/hosties/lastrequest.sp
Original file line number Diff line number Diff line change
Expand Up @@ -3798,27 +3798,48 @@ InitializeGame(iPartnersIndex)
{
g_BeerGogglesTimer = CreateTimer(1.0, Timer_BeerGoggles, _, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE);
}

// announce LR
PrintToChatAll(CHAT_BANNER, "LR KDrunk Start", LR_Player_Prisoner, LR_Player_Guard);
}
case Knife_LowGrav:
{
SetEntityGravity(LR_Player_Prisoner, gShadow_LR_KnifeFight_LowGrav);
SetEntityGravity(LR_Player_Guard, gShadow_LR_KnifeFight_LowGrav);

// announce LR
PrintToChatAll(CHAT_BANNER, "LR KLG Start", LR_Player_Prisoner, LR_Player_Guard);
}
case Knife_HiSpeed:
{
SetEntPropFloat(LR_Player_Prisoner, Prop_Data, "m_flLaggedMovementValue", gShadow_LR_KnifeFight_HiSpeed);
SetEntPropFloat(LR_Player_Guard, Prop_Data, "m_flLaggedMovementValue", gShadow_LR_KnifeFight_HiSpeed);

// announce LR
PrintToChatAll(CHAT_BANNER, "LR KHS Start", LR_Player_Prisoner, LR_Player_Guard);
}
case Knife_ThirdPerson:
{
SetThirdPerson(LR_Player_Prisoner, g_Game);
SetThirdPerson(LR_Player_Guard, g_Game);

// announce LR
PrintToChatAll(CHAT_BANNER, "LR KTP Start", LR_Player_Prisoner, LR_Player_Guard);
}
case Knife_Drugs:
{
ShowOverlayToClient(LR_Player_Prisoner, "models/effects/portalfunnel_sheet");
ShowOverlayToClient(LR_Player_Guard, "models/effects/portalfunnel_sheet");

// announce LR
PrintToChatAll(CHAT_BANNER, "LR KDrugs Start", LR_Player_Prisoner, LR_Player_Guard);
}
case Knife_Vintage:
{
// announce LR
PrintToChatAll(CHAT_BANNER, "LR KF Start", LR_Player_Prisoner, LR_Player_Guard);
}

}

// set HP
Expand All @@ -3829,8 +3850,6 @@ InitializeGame(iPartnersIndex)
GivePlayerItem(LR_Player_Prisoner, "weapon_knife");
GivePlayerItem(LR_Player_Guard, "weapon_knife");

// announce LR
PrintToChatAll(CHAT_BANNER, "LR KF Start", LR_Player_Prisoner, LR_Player_Guard);
}
case LR_Shot4Shot:
{
Expand Down
27 changes: 26 additions & 1 deletion addons/sourcemod/translations/hosties.phrases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,33 @@
"LR KF Start"
{
"#format" "{1:N},{2:N}"
"en" "{1} chose to have Knife Fight with {2}."
"en" "{1} chose to have Vintage Knife Fight with {2}."
}
"LR KDrunk Start"
{
"#format" "{1:N},{2:N}"
"en" "{1} chose to have Drunken Boxing with {2}."
}
"LR KLG Start"
{
"#format" "{1:N},{2:N}"
"en" "{1} chose to have LowGrav Knife Fight with {2}."
}
"LR KHS Start"
{
"#format" "{1:N},{2:N}"
"en" "{1} chose to have Knife Hi Speed with {2}."
}
"LR KTP Start"
{
"#format" "{1:N},{2:N}"
"en" "{1} chose to have Knife Third Person with {2}."
}
"LR KDrugs Start"
{
"#format" "{1:N},{2:N}"
"en" "{1} chose to have Knife Drugs with {2}."
}
"LR S4S Start"
{
"#format" "{1:N},{2:N}"
Expand Down