tweak(AgeRequirement): Make the requiredAge more sensible (#30913)

This commit is contained in:
Brandon Hu
2024-08-11 18:47:26 +00:00
committed by GitHub
parent 65521696c8
commit 46f631fa11
9 changed files with 11 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ public sealed partial class AgeRequirement : JobRequirement
reason = FormattedMessage.FromMarkupPermissive(Loc.GetString("role-timer-age-to-young",
("age", RequiredAge)));
if (profile.Age <= RequiredAge)
if (profile.Age < RequiredAge)
return false;
}
else
@@ -41,7 +41,7 @@ public sealed partial class AgeRequirement : JobRequirement
reason = FormattedMessage.FromMarkupPermissive(Loc.GetString("role-timer-age-to-old",
("age", RequiredAge)));
if (profile.Age >= RequiredAge)
if (profile.Age > RequiredAge)
return false;
}

View File

@@ -4,8 +4,8 @@ role-timer-overall-insufficient = You require [color=yellow]{TOSTRING($time, "0"
role-timer-overall-too-high = You require [color=yellow]{TOSTRING($time, "0")}[/color] fewer minutes of playtime to play this role. (Are you trying to play a trainee role?)
role-timer-role-insufficient = You require [color=yellow]{TOSTRING($time, "0")}[/color] more minutes with [color={$departmentColor}]{$job}[/color] to play this role.
role-timer-role-too-high = You require[color=yellow] {TOSTRING($time, "0")}[/color] fewer minutes with [color={$departmentColor}]{$job}[/color] to play this role. (Are you trying to play a trainee role?)
role-timer-age-to-old = Your character must be under the age of [color=yellow]{$age}[/color] to play this role.
role-timer-age-to-young = Your character must be over the age of [color=yellow]{$age}[/color] to play this role.
role-timer-age-to-old = Your character's age must be at most [color=yellow]{$age}[/color] to play this role.
role-timer-age-to-young = Your character's age must be atleast [color=yellow]{$age}[/color] to play this role.
role-timer-whitelisted-species = Your character must be one of the following species to play this role:
role-timer-blacklisted-species = Your character must not be one of the following species to play this role:

View File

@@ -16,7 +16,7 @@
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
- !type:AgeRequirement
requiredAge: 20
requiredAge: 21
weight: 10
startingGear: QuartermasterGear
icon: "JobIconQuarterMaster"

View File

@@ -17,7 +17,7 @@
department: Command
time: 54000 # 15 hours
- !type:AgeRequirement
requiredAge: 20
requiredAge: 21
weight: 20
startingGear: CaptainGear
icon: "JobIconCaptain"

View File

@@ -17,7 +17,7 @@
department: Command
time: 36000 # 10 hours
- !type:AgeRequirement
requiredAge: 20
requiredAge: 21
weight: 20
startingGear: HoPGear
icon: "JobIconHeadOfPersonnel"

View File

@@ -16,7 +16,7 @@
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
- !type:AgeRequirement
requiredAge: 20
requiredAge: 21
weight: 10
startingGear: ChiefEngineerGear
icon: "JobIconChiefEngineer"

View File

@@ -18,7 +18,7 @@
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
- !type:AgeRequirement
requiredAge: 20
requiredAge: 21
weight: 10
startingGear: CMOGear
icon: "JobIconChiefMedicalOfficer"

View File

@@ -10,7 +10,7 @@
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
- !type:AgeRequirement
requiredAge: 20
requiredAge: 21
weight: 10
startingGear: ResearchDirectorGear
icon: "JobIconResearchDirector"

View File

@@ -16,7 +16,7 @@
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
- !type:AgeRequirement
requiredAge: 20
requiredAge: 21
weight: 10
startingGear: HoSGear
icon: "JobIconHeadOfSecurity"