Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Обновление ПНТ #232

Merged
merged 8 commits into from
Jul 24, 2024
Merged
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
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
id-card-access-level-blueshield = Синий Щит
id-card-access-level-ntrep = Представитель NT
id-card-access-level-magistrat = Магистрат
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ ent-AirlockBlueShieldGlassLocked = { ent-AirlockCommandGlass }
ent-AirlockMaintBlueShieldLocked = { ent-AirlockMaintCommandLocked }
.suffix = Синий Щит, Закрыт
.desc = { ent-AirlockMaintCommandLocked.desc }

ent-AirlockNtrepLocked = { ent-AirlockCommand }
.suffix = Представитель NT, Закрыт
.desc = { ent-AirlockCommand.desc }
ent-AirlockNtrepGlassLocked = { ent-AirlockCommandGlass }
.suffix = Представитель NT, Закрыт
.desc = { ent-AirlockCommandGlass.desc }
ent-AirlockMaintNtrepLocked = { ent-AirlockMaintCommandLocked }
.suffix = Представитель NT, Закрыт
.desc = { ent-AirlockMaintCommandLocked.desc }
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ent-ClothingHeadHatCapNtrep = фуражка представителя nt
ent-ClothingHeadHatCapNtrep = фуражка представителя NT
.desc = Фуражка справедливости над командованием!
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ent-ClothingOuterCoatNtrep = пиджак представителя nt
ent-ClothingOuterCoatNtrep = пиджак представителя NT
.desc = Элегантная черная куртка, стандартный атрибут представителей Nanotrasen.
ent-ClothingOuterCoatNtrepOpen = растёгнутый пиджак представителя nt
ent-ClothingOuterCoatNtrepOpen = растёгнутый пиджак представителя NT
.desc = Элегантная черная куртка, стандартный атрибут представителей Nanotrasen.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ent-ClothingUniformJumpskirtNtrep = юбка-костюм представителя nt
ent-ClothingUniformJumpskirtNtrep = юбка-костюм представителя NT
.desc = Эту юбку-костюм лучше не видеть.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ent-ClothingUniformJumpsuitNtrep = костюм представителя nt
ent-ClothingUniformJumpsuitNtrep = костюм представителя NT
.desc = Этот костюм лучше не видеть.
ent-ClothingUniformJumpsuitNtrepFormal = праздничный костюм представителя nt
ent-ClothingUniformJumpsuitNtrepFormal = праздничный костюм представителя NT
.desc = Этот костюм лучше не видеть.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ent-RubberStampNtrep = печать представителя NT
.suffix = НЕ МАППИТЬ
.desc = { ent-RubberStampBase.desc }
stamp-component-stamped-name-ntrep = Представитель NT
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ent-CaneNT = изысканная трость
.suffix = НЕ МАППИТЬ
.desc = Трость с особой гравировкой. Кажется, она хорошо подходит для отражения нападений...
2 changes: 2 additions & 0 deletions Resources/Prototypes/Access/command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
- HeadOfPersonnel
- Cryogenics
- BlueShield
- Magistrat
- Ntrep

- type: accessLevel
id: EmergencyShuttleRepealAll
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Access/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@
- Chapel
- Hydroponics
- Atmospherics
- Magistrat
- BlueShield
- Ntrep
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@
- CentralCommand
- NuclearOperative
- SyndicateAgent
- BlueShield
- Ntrep
- Magistrat
privilegedIdSlot:
name: id-card-console-privileged-id
ejectSound: /Audio/Machines/id_swipe.ogg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
components:
- type: Appearance
- type: AccessReader
access: [["Command"]]
access: [["Ntrep"]]
- type: EntityStorageVisuals
stateBaseClosed: hop
stateDoorOpen: hop_open
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/_Sunrise/Access/command.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- type: accessLevel
id: Ntrep
name: id-card-access-level-ntrep
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@
- type: entity
parent: ClothingHeadBase
id: ClothingHeadHatCapNtrep
noSpawn: true
name: nt representive cap
description: The cap of justice over command!
components:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
sprite: _Sunrise/Clothing/OuterClothing/Coats/ntrep.rsi
- type: Clothing
sprite: _Sunrise/Clothing/OuterClothing/Coats/ntrep.rsi
- type: Armor
modifiers:
coefficients:
Blunt: 0.9
Slash: 0.9
Piercing: 0.8

- type: entity
parent: ClothingOuterBase
Expand All @@ -30,6 +36,12 @@
sprite: _Sunrise/Clothing/OuterClothing/Coats/ntrep_open.rsi
- type: Clothing
sprite: _Sunrise/Clothing/OuterClothing/Coats/ntrep_open.rsi
- type: Armor
modifiers:
coefficients:
Blunt: 0.9
Slash: 0.9
Piercing: 0.8

- type: entity
parent: ClothingOuterBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@
components:
- type: AccessReader
access: [["BlueShield"]]

- type: entity
parent: DoorElectronics
id: DoorElectronicsNtrep
suffix: Ntrep, Locked
components:
- type: AccessReader
access: [["Ntrep"]]
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,16 @@
- type: Sprite
sprite: _Sunrise/Objects/Misc/stamps.rsi
state: stamp-magistrat

- type: entity
name: NT representative's rubber stamp
parent: RubberStampBase
id: RubberStampNtrep
components:
- type: Stamp
stampedName: stamp-component-stamped-name-ntrep
stampedColor: "#fcc032"
stampState: "paper_stamp-ntrep"
- type: Sprite
sprite: _Sunrise/Objects/Misc/stamps.rsi
state: stamp-ntrep
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
- type: entity
name: fancy cane
parent: BaseItem
id: CaneNT
description: A cane with special engraving on it. It seems well suited for fending off assailants...
components:
- type: Sprite
sprite: _Sunrise/Objects/Weapons/Melee/cane-nt.rsi
layers:
- state: cane-nt
map: [ "enum.ToggleVisuals.Layer" ]
- type: Stunbaton
energyPerUse: 25
- type: ItemToggle
predictable: false
soundActivate:
collection: sparks
params:
variation: 0.250
soundDeactivate:
collection: sparks
params:
variation: 0.250
soundFailToActivate:
path: /Audio/Machines/button.ogg
params:
variation: 0.250
- type: ItemToggleMeleeWeapon
activatedDamage:
types:
Blunt: 0
- type: MeleeWeapon
wideAnimationRotation: -135
damage:
types:
Blunt: 10
bluntStaminaDamageFactor: 2.0
angle: 60
animation: WeaponArcSlash
- type: StaminaDamageOnHit
damage: 40
sound: /Audio/Weapons/egloves.ogg
- type: StaminaDamageOnCollide
damage: 40
sound: /Audio/Weapons/egloves.ogg
- type: LandAtCursor
- type: Battery
maxCharge: 1000
startingCharge: 1000
- type: UseDelay
- type: Item
heldPrefix: off
size: Normal
- type: DisarmMalus
malus: 0.300
- type: Appearance
- type: GenericVisualizer
visuals:
enum.ToggleVisuals.Toggled:
enum.ToggleVisuals.Layer:
True: {state: cane-nt-active}
False: {state: cane-nt}
- type: Riggable
- type: SolutionContainerManager
solutions:
battery:
maxVol: 5
- type: InjectableSolution
solution: battery
- type: DrawableSolution
solution: battery
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,33 @@
- type: ContainerFill
containers:
board: [ DoorElectronicsBlueShield ]

- type: entity
parent: AirlockCommandGlass
id: AirlockNtrepGlassLocked
suffix: Ntrep, Locked
components:
- type: ContainerFill
containers:
board: [ DoorElectronicsNtrep ]

- type: entity
parent: AirlockMaint
id: AirlockMaintNtrepLocked
suffix: Ntrep, Locked
components:
- type: ContainerFill
containers:
board: [ DoorElectronicsNtrep ]

- type: entity
parent: AirlockCommand
id: AirlockNrepLocked
suffix: Ntrep, Locked
components:
- type: ContainerFill
containers:
board: [ DoorElectronicsNtrep ]

#Hatches
- type: entity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
supervisors: job-supervisors-centcom
canBeAntag: false
access:
- Armory
- Cryogenics
- Lawyer
- Command
- Bar
- Service
Expand All @@ -33,6 +36,7 @@
- Atmospherics
- Cargo
- Medical
- Ntrep
special:
- !type:AddImplantSpecial
implants: [MindShieldImplant]
Expand All @@ -45,3 +49,8 @@
head: ClothingHeadHatCapNtrep
id: NanoTrasenRepresentativePDA
ears: ClothingHeadsetAltCommand
pocket1: FlippoEngravedLighter
storage:
back:
- RubberStampNtrep
- CaneNT
3 changes: 3 additions & 0 deletions Resources/Textures/Objects/Misc/bureaucracy.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@
},
{
"name": "paper_stamp-psychologist"
},
{
"name": "paper_stamp-ntrep"
}
]
}
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
Expand Up @@ -15,6 +15,9 @@
},
{
"name": "stamp-magistrat"
},
{
"name": "stamp-ntrep"
}
]
}
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
@@ -0,0 +1,85 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4397d63a55dac7d0536eb9bcc0a0f68634858c50",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "cane-nt"
},
{
"name": "cane-nt-active",
"delays": [
[
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "off-inhand-left",
"directions": 4
},
{
"name": "off-inhand-right",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1
]
]
},
{
"name": "on-inhand-right",
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.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.
Loading