alchemist role + locales fix

This commit is contained in:
Ed
2024-06-02 12:22:22 +03:00
parent 6a5fae3403
commit a3a7605ac7
24 changed files with 115 additions and 22 deletions

View File

@@ -15,9 +15,9 @@ namespace Content.Shared.GameTicking
// But this is easier, and at least it isn't hardcoded.
//TODO: Move these, they really belong in StationJobsSystem or a cvar.
[ValidatePrototypeId<JobPrototype>]
public const string FallbackOverflowJob = "Adventurer";
public const string FallbackOverflowJob = "CP14Adventurer";
public const string FallbackOverflowJobName = "job-name-adventurer";
public const string FallbackOverflowJobName = "cp14-job-name-adventurer";
// TODO network.
// Probably most useful for replays, round end info, and probably things like lobby menus.

View File

@@ -0,0 +1,5 @@
department-CP14Free = Free civilians
department-CP14Free-desc = Individuals who are not burdened by contracts and work for the government, but do not receive free assistance from it either. Find your own way of earning a living.
department-CP14Command = Officers of the Law
department-CP14Command-desc = Persons working directly for government officials. Bound by a magical contract, they cannot act against the interests of the state.

View File

@@ -0,0 +1,5 @@
cp14-job-name-adventurer = Adventurer
cp14-job-desc-adventurer = A hunter of thrills, riches and fame, constantly risking his life. Search for valuables in dangerous places and sell them to the settlement.
cp14-job-name-alchemist = Alchemist
cp14-job-desc-alchemist = A scientist of sorts, exploring the nature of substances. Create poisons and medicines from numerous natural plants and ingredients and sell them to the settlement.

View File

@@ -0,0 +1 @@
cp14-job-supervisors-command = all authority figures

View File

@@ -1 +0,0 @@
job-name-adventurer = Adventurer

View File

@@ -0,0 +1,5 @@
department-CP14Free = Свободные гражданские
department-CP14Free-desc = Лица, не обремененные контрактами и работой на государство, но и не получающие от него бесплатной помощи. Найдите свой способ заработка.
department-CP14Command = Служители закона
department-CP14Command-desc = Лица, напрямую работающие на представителей власти. Связанные магическим контрактом, они не могут действовать против интересов государства.

View File

@@ -0,0 +1,5 @@
cp14-job-name-adventurer = Авантюрист
cp14-job-desc-adventurer = Охотник за острыми эмоциями, богатствами и славой, постоянно рискующий своей жизнью. Ищите ценности в опасных местах, и продавайте их поселению.
cp14-job-name-alchemist = Алхимик
cp14-job-desc-alchemist = В своем роде ученый, исследующий природу веществ. Создавайте яды и лекарства, из многочисленных природных растений и ингредиентов, и продавайте их поселению.

View File

@@ -0,0 +1 @@
cp14-job-supervisors-command = всем представителям власти

View File

@@ -1 +0,0 @@
job-name-adventurer = Авантюрист

View File

@@ -2,6 +2,7 @@
id: Cargo
description: department-Cargo-description
color: "#A46106"
editorHidden: true
roles:
- CargoTechnician
- Quartermaster
@@ -11,6 +12,7 @@
id: Civilian
description: department-Civilian-description
color: "#9FED58"
editorHidden: true
weight: -10
roles:
- Bartender
@@ -36,6 +38,7 @@
id: Command
description: department-Command-description
color: "#334E6D"
editorHidden: true
roles:
- Captain
- CentralCommandOfficial
@@ -52,6 +55,7 @@
id: Engineering
description: department-Engineering-description
color: "#EFB341"
editorHidden: true
roles:
- AtmosphericTechnician
- ChiefEngineer
@@ -62,6 +66,7 @@
id: Medical
description: department-Medical-description
color: "#52B4E9"
editorHidden: true
roles:
- Chemist
- ChiefMedicalOfficer
@@ -74,6 +79,7 @@
id: Security
description: department-Security-description
color: "#DE3A3A"
editorHidden: true
weight: 20
roles:
- HeadOfSecurity
@@ -86,6 +92,7 @@
id: Science
description: department-Science-description
color: "#D381C9"
editorHidden: true
roles:
- ResearchDirector
- Scientist
@@ -95,6 +102,7 @@
id: Specific
description: department-Specific-description
color: "#9FED58"
editorHidden: true
weight: 10
roles:
- Boxer

View File

@@ -2,6 +2,8 @@
id: CP14RandomSpawnerGatherGloodgrass
name: bloodgrass spawner
parent: MarkerBase
categories:
- Spawner
components:
- type: Sprite
layers:
@@ -21,6 +23,8 @@
id: CP14RandomSpawnerGatherAgaricShroom
name: agaric shroom spawner
parent: MarkerBase
categories:
- Spawner
components:
- type: Sprite
layers:

View File

@@ -2,6 +2,8 @@
id: CP14RandomDirtLootSpawner
name: dirt spawner
parent: CP14DirtEffect
categories:
- Spawner
components:
- type: RandomSpawner
prototypes:

View File

@@ -2,6 +2,8 @@
id: CP14SpawnPointAdventurer
parent: SpawnPointJobBase
name: adventurer
categories:
- Spawner
components:
- type: SpawnPoint
job_id: Adventurer

View File

@@ -233,7 +233,6 @@
save: false
abstract: true
components:
- type: Flashable
# Organs
- type: StatusEffects
allowed:
@@ -252,6 +251,7 @@
- Muted
- Pacified
- StaminaModifier
- Flashed
- type: Blindable
- type: Bloodstream
bloodReagent: CP14Blood

View File

@@ -73,6 +73,8 @@
name: alchemy furnace
parent: CP14BaseFireplace
description: A furnace fueled by wood, coal, or any other burning material. Handy for heating your alchemical potions.
categories:
- Debug
components:
- type: Sprite
sprite: _CP14/Structures/Specific/Alchemy/alchemy_furnace.rsi

View File

@@ -1,5 +1,5 @@
- type: roleLoadout
id: JobAdventurer
id: CP14JobAdventurer
groups:
- CP14TestHead
- CP14TestEyes

View File

@@ -0,0 +1,20 @@
- type: job
id: CP14Adventurer
name: cp14-job-name-adventurer
description: cp14-job-desc-adventurer
playTimeTracker: CP14JobAdventurer
startingGear: CP14TestGear
icon: "CP14JobIconAdventurer"
supervisors: cp14-job-supervisors-command
- type: job
id: CP14Alchemist
name: cp14-job-name-alchemist
description: cp14-job-desc-alchemist
playTimeTracker: CP14JobAlchemist
startingGear: CP14TestGear
icon: "CP14JobIconAlchemist"
supervisors: cp14-job-supervisors-command
- type: startingGear
id: CP14TestGear

View File

@@ -1,11 +0,0 @@
- type: job
id: Adventurer
name: job-name-adventurer
description: job-description-adventurer
playTimeTracker: JobAdventurer
startingGear: CP14TestGear
icon: "JobIconCargoTechnician" #TODO replace
supervisors: job-supervisors-everyone
- type: startingGear
id: CP14TestGear

View File

@@ -1,6 +1,12 @@
- type: department
id: Mercenary
description: department-Mercenary-description
color: "#e6a447"
id: CP14Free
description: department-CP14Free-desc
color: "#429976"
roles:
- Adventurer
- CP14Adventurer
- CP14Alchemist
- type: department
id: CP14Command
description: department-CP14Command-desc
color: "#fadb3e"

View File

@@ -1,4 +1,7 @@
# Jobs
- type: playTimeTracker
id: JobAdventurer
id: CP14JobAdventurer
- type: playTimeTracker
id: CP14JobAlchemmist

View File

@@ -0,0 +1,20 @@
- type: statusIcon
id: CP14JobIcon
abstract: true
priority: 1
locationPreference: Right
isShaded: true
- type: statusIcon
parent: CP14JobIcon
id: CP14JobIconAdventurer
icon:
sprite: /Textures/_CP14/Interface/Misc/job_icons.rsi
state: Adventurer
- type: statusIcon
parent: CP14JobIcon
id: CP14JobIconAlchemist
icon:
sprite: /Textures/_CP14/Interface/Misc/job_icons.rsi
state: Alchemist

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"size": {
"x": 9,
"y": 9
},
"license": "All rights reserved for the CrystallPunk14 project only",
"copyright": "Created by TheShuEd (Github) for CrystallPunk14",
"states": [
{
"name": "Adventurer"
},
{
"name": "Alchemist"
}
]
}