tweak(AgeRequirement): Make the requiredAge more sensible (#30913)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
- !type:OverallPlaytimeRequirement
|
||||
time: 144000 #40 hrs
|
||||
- !type:AgeRequirement
|
||||
requiredAge: 20
|
||||
requiredAge: 21
|
||||
weight: 10
|
||||
startingGear: QuartermasterGear
|
||||
icon: "JobIconQuarterMaster"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
department: Command
|
||||
time: 54000 # 15 hours
|
||||
- !type:AgeRequirement
|
||||
requiredAge: 20
|
||||
requiredAge: 21
|
||||
weight: 20
|
||||
startingGear: CaptainGear
|
||||
icon: "JobIconCaptain"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
department: Command
|
||||
time: 36000 # 10 hours
|
||||
- !type:AgeRequirement
|
||||
requiredAge: 20
|
||||
requiredAge: 21
|
||||
weight: 20
|
||||
startingGear: HoPGear
|
||||
icon: "JobIconHeadOfPersonnel"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
- !type:OverallPlaytimeRequirement
|
||||
time: 144000 #40 hrs
|
||||
- !type:AgeRequirement
|
||||
requiredAge: 20
|
||||
requiredAge: 21
|
||||
weight: 10
|
||||
startingGear: ChiefEngineerGear
|
||||
icon: "JobIconChiefEngineer"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
- !type:OverallPlaytimeRequirement
|
||||
time: 144000 #40 hrs
|
||||
- !type:AgeRequirement
|
||||
requiredAge: 20
|
||||
requiredAge: 21
|
||||
weight: 10
|
||||
startingGear: CMOGear
|
||||
icon: "JobIconChiefMedicalOfficer"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
- !type:OverallPlaytimeRequirement
|
||||
time: 144000 #40 hrs
|
||||
- !type:AgeRequirement
|
||||
requiredAge: 20
|
||||
requiredAge: 21
|
||||
weight: 10
|
||||
startingGear: ResearchDirectorGear
|
||||
icon: "JobIconResearchDirector"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
- !type:OverallPlaytimeRequirement
|
||||
time: 144000 #40 hrs
|
||||
- !type:AgeRequirement
|
||||
requiredAge: 20
|
||||
requiredAge: 21
|
||||
weight: 10
|
||||
startingGear: HoSGear
|
||||
icon: "JobIconHeadOfSecurity"
|
||||
|
||||
Reference in New Issue
Block a user