JobRequirement refactor (#30347)

* refactor JobRequirements

* add profile support

* fix

* Update quartermaster.yml

* sloth fixes

* inport 30208

* Update DepartmentPrototype.cs

* species restriction

* left tweak stick

* stringbuilder is cool!
This commit is contained in:
Ed
2024-08-05 07:25:49 +03:00
committed by GitHub
parent 01e1624567
commit a95d2257c3
22 changed files with 415 additions and 233 deletions

View File

@@ -15,6 +15,8 @@
time: 36000 #10 hours
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
- !type:AgeRequirement
requiredAge: 20
weight: 10
startingGear: QuartermasterGear
icon: "JobIconQuarterMaster"

View File

@@ -16,6 +16,8 @@
- !type:DepartmentTimeRequirement
department: Command
time: 54000 # 15 hours
- !type:AgeRequirement
requiredAge: 20
weight: 20
startingGear: CaptainGear
icon: "JobIconCaptain"

View File

@@ -16,6 +16,8 @@
- !type:DepartmentTimeRequirement
department: Command
time: 36000 # 10 hours
- !type:AgeRequirement
requiredAge: 20
weight: 20
startingGear: HoPGear
icon: "JobIconHeadOfPersonnel"

View File

@@ -15,6 +15,8 @@
time: 36000 #10 hrs
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
- !type:AgeRequirement
requiredAge: 20
weight: 10
startingGear: ChiefEngineerGear
icon: "JobIconChiefEngineer"

View File

@@ -17,6 +17,8 @@
time: 36000 #10 hrs
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
- !type:AgeRequirement
requiredAge: 20
weight: 10
startingGear: CMOGear
icon: "JobIconChiefMedicalOfficer"

View File

@@ -9,6 +9,8 @@
time: 36000 #10 hrs
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
- !type:AgeRequirement
requiredAge: 20
weight: 10
startingGear: ResearchDirectorGear
icon: "JobIconResearchDirector"

View File

@@ -15,6 +15,8 @@
time: 108000 # 30 hrs
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
- !type:AgeRequirement
requiredAge: 20
weight: 10
startingGear: HoSGear
icon: "JobIconHeadOfSecurity"

View File

@@ -1,5 +1,6 @@
- type: department
id: Cargo
name: department-Cargo
description: department-Cargo-description
color: "#A46106"
roles:
@@ -9,6 +10,7 @@
- type: department
id: Civilian
name: department-Civilian
description: department-Civilian-description
color: "#9FED58"
weight: -10
@@ -34,6 +36,7 @@
- type: department
id: Command
name: department-Command
description: department-Command-description
color: "#334E6D"
roles:
@@ -50,6 +53,7 @@
- type: department
id: Engineering
name: department-Engineering
description: department-Engineering-description
color: "#EFB341"
roles:
@@ -60,6 +64,7 @@
- type: department
id: Medical
name: department-Medical
description: department-Medical-description
color: "#52B4E9"
roles:
@@ -72,6 +77,7 @@
- type: department
id: Security
name: department-Security
description: department-Security-description
color: "#DE3A3A"
weight: 20
@@ -84,6 +90,7 @@
- type: department
id: Science
name: department-Science
description: department-Science-description
color: "#D381C9"
roles:
@@ -93,6 +100,7 @@
- type: department
id: Specific
name: department-Specific
description: department-Specific-description
color: "#9FED58"
weight: 10