Skip to content

Commit

Permalink
Security Sprite Overhaul (#287)
Browse files Browse the repository at this point in the history
* merc

* add

* hardsuit

* fix

* fix2
  • Loading branch information
Hyenh authored Apr 13, 2024
1 parent 9fa6ad4 commit efa6001
Show file tree
Hide file tree
Showing 36 changed files with 112 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
contents:
- id: BoxSurvivalSecurity
- id: Flash
- id: MagazinePistol

- type: entity
noSpawn: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
contents:
- id: BoxSurvivalSecurity
- id: Flash
- id: MagazinePistol

- type: entity
noSpawn: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
contents:
- id: BoxSurvivalSecurity
- id: Flash
- id: MagazinePistol

- type: entity
noSpawn: true
Expand Down
10 changes: 2 additions & 8 deletions Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,16 @@
contents:
- id: FlashlightSeclite
prob: 0.8
- id: ClothingUniformJumpsuitSecGrey
prob: 0.3
- id: ClothingHeadHelmetBasic
- id: ClothingOuterArmorBasic
- id: ClothingBeltSecurityFilled
- id: ClothingBeltMercWebbingFilled
- id: Flash
prob: 0.5
- id: ClothingEyesGlassesSunglasses
- id: ClothingHeadsetSecurity
- id: ClothingMaskMercNeckGaiter
- id: ClothingHandsGlovesColorBlack
- id: ClothingShoesBootsJack
- id: WeaponMeleeNeedle
prob: 0.1
- id: ClothingEyesHudSecurity
- id: HoloprojectorSecurity
prob: 0.6

- type: entity
id: LockerBrigmedicFilled
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Clothing/Belt/belts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@
- type: entity
parent: ClothingBeltStorageBase
id: ClothingBeltMercWebbing
name: mercenarie webbing
name: mercenary webbing
description: Ideal for storing everything from ammo to weapons and combat essentials.
components:
- type: Sprite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
- type: entity
parent: IDCardStandard
id: SecurityIDCard
name: security ID card
name: mercenary ID card
components:
- type: Sprite
layers:
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Entities/Objects/Tools/flashlights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
- Belt

- type: entity
name: seclite
name: taclite
parent: FlashlightLantern
id: FlashlightSeclite
description: A robust flashlight used by security.
description: A robust tactical flashlight.
components:
- type: Tag
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,13 +327,13 @@
- type: entity
id: LockerSecurity
parent: LockerBaseSecure
name: security officer's locker
name: mercenary's locker
components:
- type: Appearance
- type: EntityStorageVisuals
stateBaseClosed: sec
stateDoorOpen: sec_open
stateDoorClosed: sec_door
stateBaseClosed: merc
stateDoorOpen: merc_open
stateDoorClosed: merc_door
- type: AccessReader
access: [["Security"]]

Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Roles/Jobs/Security/security_officer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
mask: ClothingMaskBandMerc
gloves: ClothingHandsMercGlovesCombat
outerClothing: ClothingOuterArmorBasic
id: SecurityPDA
id: MercenaryPDA
ears: ClothingHeadsetSecurity
belt: ClothingBeltMercWebbing
belt: ClothingBeltMercWebbingFilled
pocket1: RadioHandheldIntercomSecurity
pocket2: BasicPager
suitstorage: WeaponShotgunDoubleBarreled
Expand Down
12 changes: 12 additions & 0 deletions Resources/Prototypes/_FTL/Catalog/Fills/Items/belt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- type: entity
id: ClothingBeltMercWebbingFilled
parent: ClothingBeltMercWebbing
suffix: Filled
components:
- type: StorageFill
contents:
- id: GrenadeFlashBang
- id: TearGasGrenade
- id: Stunbaton
- id: Handcuffs
- id: Handcuffs
12 changes: 12 additions & 0 deletions Resources/Prototypes/_FTL/Entities/Clothing/Masks/masks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- type: entity
parent: ClothingMaskBase
id: ClothingMaskMercNeckGaiter
name: mercenary neck gaiter
description: An olive green neck gaiter.
components:
- type: Sprite
sprite: _FTL/Clothing/Mask/mercneckgaiter.rsi
- type: Clothing
sprite: _FTL/Clothing/Mask/mercneckgaiter.rsi
- type: IdentityBlocker
coverage: MOUTH
14 changes: 14 additions & 0 deletions Resources/Prototypes/_FTL/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,17 @@
state: pda
- type: PdaBorderColor
borderColor: "#717059"

- type: entity
parent: BasePDA
id: MercenaryPDA
name: mercenary PDA
description: Rugged and robust.
components:
- type: Pda
id: SecurityIDCard
state: pda-bartender
- type: PdaBorderColor
borderColor: "#141111"
- type: Icon
state: pda-bartender
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

- type: entity
parent: BaseSignDirectional
id: SignDirectionalGunner
name: gunner sign
description: A direction sign, pointing out which way the gunner room is.
components:
- type: Sprite
sprite: _FTL/Structures/Wallmounts/signs.rsi
state: direction_gun
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Resources/Textures/Clothing/Head/Hardsuits/security.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprite made by Gtheglorious based on the sprite taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e,",
"copyright": "Hyenh#6078(313846233099927552)",
"size": {
"x": 32,
"y": 32
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
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.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprite made by Gtheglorious based on the sprite taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e",
"copyright": "Hyenh#6078(313846233099927552)",
"size": {
"x": 32,
"y": 32
Expand Down
Binary file modified Resources/Textures/Objects/Misc/id_cards.rsi/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Resources/Textures/Objects/Misc/id_cards.rsi/idsecurityofficer.png
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.
9 changes: 9 additions & 0 deletions Resources/Textures/Structures/Storage/closet.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,15 @@
},
{
"name": "clown_open"
},
{
"name": "merc"
},
{
"name": "merc_door"
},
{
"name": "merc_open"
},
{
"name": "mime"
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
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/_FTL/Clothing/Mask/mercneckgaiter.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprited by belay5 (Discord), modified by Hyenh",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-MASK",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions Resources/Textures/_FTL/Structures/Wallmounts/signs.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Hyenh#6078(313846233099927552)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "direction_gun",
"directions": 4
}
]
}

0 comments on commit efa6001

Please sign in to comment.