Skip to content
Draft
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
1 change: 1 addition & 0 deletions Content.Shared/Access/Components/IdCardConsoleComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public WriteToTargetIdMessage(string fullName, string jobTitle, List<ProtoId<Acc
"Mail", // Nyanotrasen - Mail, see Resources/Prototypes/Nyanotrasen/Access/cargo.yml
"Mantis", // DeltaV - Psionic Mantis, see Resources/Prototypes/DeltaV/Access/epistemics.yml
"Zookeeper", // DeltaV - Add Zookeeper access
"Mercenary"
};

[Serializable, NetSerializable]
Expand Down
2 changes: 1 addition & 1 deletion Resources/ConfigPresets/Build/development.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[game]
# Straight in-game baby
lobbyenabled = false
lobbyenabled = true
# Dev map for faster loading & convenience
map = "Dev"
role_timers = false
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/Access/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@
- Zookeeper # DeltaV - Add Zookeeper access
- Corpsman # DeltaV - Add Corpsman access
- Robotics # Troyéshina pirates - Add Robotics access

- type: accessLevel
id: Mercenary
name: id-card-access-level-mercenary
Original file line number Diff line number Diff line change
Expand Up @@ -432,3 +432,17 @@
- type: StorageFill
contents:
- id: BoxSurvival

# Mercenary

- type: entity
noSpawn: true
parent: ClothingBackpackMerc
id: ClothingBackpackMercFilled
components:
- type: StorageFill
contents:
- id: BoxSurvival
- id: Lighter
- id: CigPackBlack
- id: Flash
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,17 @@
- type: StorageFill
contents:
- id: BoxSurvival


# Mercenary

- type: entity
noSpawn: true
parent: ClothingBackpackDuffelMerc
id: ClothingBackpackDuffelMercFilled
components:
- type: StorageFill
contents:
- id: BoxSurvival
- id: Lighter
- id: CigPackBlack
- id: Flash
Original file line number Diff line number Diff line change
Expand Up @@ -319,4 +319,17 @@
- type: StorageFill
contents:
- id: BoxSurvival


# Mercenary

- type: entity
noSpawn: true
parent: ClothingBackpackSatchelMerc
id: ClothingBackpackSatchelMercFilled
components:
- type: StorageFill
contents:
- id: BoxSurvival
- id: Lighter
- id: CigPackBlack
- id: Flash
8 changes: 7 additions & 1 deletion Resources/Prototypes/Entities/Clothing/Back/duffel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,10 @@
components:
- type: Sprite
sprite: Clothing/Back/Duffels/robotics.rsi


id: ClothingBackpackDuffelMerc
name: mercenary duffel
description: A duffel that has been in many dangerous places, a reliable combat duffel.
components:
- type: Sprite
sprite: Clothing/Back/Duffels/mercenary.rsi
10 changes: 9 additions & 1 deletion Resources/Prototypes/Entities/Clothing/Back/satchel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,12 @@
components:
- type: Sprite
sprite: Clothing/Back/Satchels/robotics.rsi


- type: entity
parent: ClothingBackpackSatchel
id: ClothingBackpackSatchelMerc
name: mercenary satchel
description: A satchel that has been in many dangerous places, a reliable combat satchel.
components:
- type: Sprite
sprite: Clothing/Back/Satchels/mercenary.rsi
19 changes: 19 additions & 0 deletions Resources/Prototypes/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,7 @@

- type: entity
parent: BasePDA

id: RoboticistPDA
name: Roboticist PDA
description: Найкращий друг робота.
Expand All @@ -1167,3 +1168,21 @@
accentVColor: "#891417"
- type: Icon
state: pda-roboticist

id: MercenaryPDA
name: Планшет найманця
description: Чому не зелений?
components:
- type: Pda
id: MercenaryIDCard
state: pda-mercenary
- type: PdaBorderColor
borderColor: "#717059"
accentVColor: "#A32D26"
- type: Icon
state: pda-mercenary
- type: CartridgeLoader # DeltaV - Crime Assist
preinstalled:
- CrewManifestCartridge
- NotekeeperCartridge
- NewsReaderCartridge
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@

- type: entity
parent: IDCardStandard

id: RoboticistIDCard
name: Roboticist ID card
components:
Expand All @@ -879,3 +880,12 @@
- type: PresetIdCard
job: Roboticist

id: MercenaryIDCard
name: ID найманця
components:
- type: PresetIdCard
job: Mercenary
- type: Sprite
layers:
- state: default
- state: idmercenary
11 changes: 11 additions & 0 deletions Resources/Prototypes/Loadouts/Jobs/mercenary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- type: loadout
id: LoadoutMercenaryPackageBse
category: Jobs
cost: 3
exclusive: true
requirements:
- !type:LoadoutJobRequirement
jobs:
- Mercenary
items:
- MercPackageBase
2 changes: 2 additions & 0 deletions Resources/Prototypes/Maps/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@
- type: StationJobs
overflowJobs:
- Captain
- Mercenary
availableJobs:
Captain: [ -1, -1 ]
Mercenary: [ -1, -1 ]

- type: gameMap
id: TestTeg
Expand Down
40 changes: 40 additions & 0 deletions Resources/Prototypes/Roles/Jobs/Security/mercenary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
- type: job
id: Mercenary
name: job-name-mercenary
description: job-description-mercenary
playTimeTracker: JobMercenary
requirements:
- !type:DepartmentTimeRequirement
department: Security
time: 14400
- !type:WhitelistRequirement
startingGear: MercenaryGear
canBeAntag: true
icon: "JobIconMercenary" #
supervisors: job-supervisors-hire
setPreference: true
access:
- Maintenance
- External
- Mercenary

- type: startingGear
id: MercenaryGear
equipment:
jumpsuit: ClothingUniformJumpsuitMercenary
back: ClothingBackpackMercFilled
shoes: ClothingShoesBootsMercFilled
# shoes: ClothingShoesBootsMagMercenaryFilled # Give this only to new spawns
mask: ClothingMaskGasMerc
eyes: ClothingEyesGlassesMercenary
gloves: ClothingHandsMercGlovesCombat
# head: ClothingHeadHatBeretMercenary
head: ClothingHeadHelmetMerc
outerClothing: ClothingOuterVestWebMerc
id: MercenaryPDA
ears: ClothingHeadsetGrey
belt: ClothingBeltMercWebbing
pocket1: WeaponPistolPollock
innerClothingSkirt: ClothingUniformJumpskirtMercenary
satchel: ClothingBackpackSatchelMercFilled
duffelbag: ClothingBackpackDuffelMercFilled
1 change: 1 addition & 0 deletions Resources/Prototypes/Roles/Jobs/departments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,5 @@
- Gladiator # Nyanotrasen - Gladiator, see Resources/Prototypes/Nyanotrasen/Roles/Jobs/Wildcards/gladiator.yml
- Prisoner # Nyanotrasen - Prisoner, see Resrouces/Prototypes/Nyanotrasen/Roles/Jobs/Wildcards/prisoner.yml
- Brigmedic # DeltaV - Corpsman, see Resources/Prototypes/DeltaV/Roles/Jobs/Security/brigmedic.yml
- Mercenary
primary: false
7 changes: 7 additions & 0 deletions Resources/Prototypes/StatusEffects/job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -382,3 +382,10 @@
icon:
sprite: /Textures/Interface/Misc/job_icons.rsi
state: Visitor

- type: statusIcon
parent: JobIcon
id: JobIconMercenary
icon:
sprite: /Textures/Interface/Misc/job_icons.rsi
state: Mercenary
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- type: entity
parent: BaseItem
id: MercPackageBase
name: Mercenary base package
description: A small package with base equipment
components:
- type: Item
size: Normal
- type: Sprite
sprite: Objects/Storage/boxes.rsi
state: boxwide
- type: SpawnItemsOnUse
items:
- id: CaptainIDCard #test
sound:
path: /Audio/Effects/unwrap.ogg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions Resources/Textures/Clothing/Back/Duffels/mercenary.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/547852588166c8e091b441e4e67169e156bb09c1 | Resprited for mercenary by erhardsteinhauer (discord)",
"license": "CC-BY-SA-3.0",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
],
"version": 1
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions Resources/Textures/Clothing/Back/Satchels/mercenary.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/547852588166c8e091b441e4e67169e156bb09c1 | Resprited for mercenary by erhardsteinhauer (discord)",
"license": "CC-BY-SA-3.0",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
],
"version": 1
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Resources/Textures/Interface/Misc/job_icons.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@
},
{
"name": "InitialInfected"
},
{
"name": "Mercenary"
}
]
}
3 changes: 3 additions & 0 deletions Resources/Textures/Objects/Devices/pda.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@
{
"name": "pda-blueshield"
},
{
"name": "pda-mercenary"
},
{
"name": "equipped-IDCARD",
"directions": 4
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading