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

* init

* some fixes, translating

* access

* add some access

* translate Ntrep Airlocks

* access fixes

* locker ntrep access

* fix
This commit is contained in:
Rinary 2024-07-24 20:26:28 +03:00 committed by GitHub
parent ab1ee557f4
commit 38da52effa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 267 additions and 8 deletions

View file

@ -1 +1,3 @@
id-card-access-level-blueshield = Синий Щит
id-card-access-level-ntrep = Представитель NT
id-card-access-level-magistrat = Магистрат

View file

@ -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 }

View file

@ -1,2 +1,2 @@
ent-ClothingHeadHatCapNtrep = фуражка представителя nt
ent-ClothingHeadHatCapNtrep = фуражка представителя NT
.desc = Фуражка справедливости над командованием!

View file

@ -1,4 +1,4 @@
ent-ClothingOuterCoatNtrep = пиджак представителя nt
ent-ClothingOuterCoatNtrep = пиджак представителя NT
.desc = Элегантная черная куртка, стандартный атрибут представителей Nanotrasen.
ent-ClothingOuterCoatNtrepOpen = растёгнутый пиджак представителя nt
ent-ClothingOuterCoatNtrepOpen = растёгнутый пиджак представителя NT
.desc = Элегантная черная куртка, стандартный атрибут представителей Nanotrasen.

View file

@ -1,2 +1,2 @@
ent-ClothingUniformJumpskirtNtrep = юбка-костюм представителя nt
ent-ClothingUniformJumpskirtNtrep = юбка-костюм представителя NT
.desc = Эту юбку-костюм лучше не видеть.

View file

@ -1,4 +1,4 @@
ent-ClothingUniformJumpsuitNtrep = костюм представителя nt
ent-ClothingUniformJumpsuitNtrep = костюм представителя NT
.desc = Этот костюм лучше не видеть.
ent-ClothingUniformJumpsuitNtrepFormal = праздничный костюм представителя nt
ent-ClothingUniformJumpsuitNtrepFormal = праздничный костюм представителя NT
.desc = Этот костюм лучше не видеть.

View file

@ -0,0 +1,4 @@
ent-RubberStampNtrep = печать представителя NT
.suffix = НЕ МАППИТЬ
.desc = { ent-RubberStampBase.desc }
stamp-component-stamped-name-ntrep = Представитель NT

View file

@ -0,0 +1,3 @@
ent-CaneNT = изысканная трость
.suffix = НЕ МАППИТЬ
.desc = Трость с особой гравировкой. Кажется, она хорошо подходит для отражения нападений...

View file

@ -22,6 +22,8 @@
- HeadOfPersonnel
- Cryogenics
- BlueShield
- Magistrat
- Ntrep
- type: accessLevel
id: EmergencyShuttleRepealAll

View file

@ -32,4 +32,6 @@
- Chapel
- Hydroponics
- Atmospherics
- Magistrat
- BlueShield
- Ntrep

View file

@ -119,6 +119,9 @@
- CentralCommand
- NuclearOperative
- SyndicateAgent
- BlueShield
- Ntrep
- Magistrat
privilegedIdSlot:
name: id-card-console-privileged-id
ejectSound: /Audio/Machines/id_swipe.ogg

View file

@ -456,7 +456,7 @@
components:
- type: Appearance
- type: AccessReader
access: [["Command"]]
access: [["Ntrep"]]
- type: EntityStorageVisuals
stateBaseClosed: hop
stateDoorOpen: hop_open

View file

@ -0,0 +1,3 @@
- type: accessLevel
id: Ntrep
name: id-card-access-level-ntrep

View file

@ -248,7 +248,6 @@
- type: entity
parent: ClothingHeadBase
id: ClothingHeadHatCapNtrep
noSpawn: true
name: nt representive cap
description: The cap of justice over command!
components:

View file

@ -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
@ -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

View file

@ -5,3 +5,11 @@
components:
- type: AccessReader
access: [["BlueShield"]]
- type: entity
parent: DoorElectronics
id: DoorElectronicsNtrep
suffix: Ntrep, Locked
components:
- type: AccessReader
access: [["Ntrep"]]

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -12,6 +12,9 @@
supervisors: job-supervisors-centcom
canBeAntag: false
access:
- Armory
- Cryogenics
- Lawyer
- Command
- Bar
- Service
@ -33,6 +36,7 @@
- Atmospherics
- Cargo
- Medical
- Ntrep
special:
- !type:AddImplantSpecial
implants: [MindShieldImplant]
@ -45,3 +49,8 @@
head: ClothingHeadHatCapNtrep
id: NanoTrasenRepresentativePDA
ears: ClothingHeadsetAltCommand
pocket1: FlippoEngravedLighter
storage:
back:
- RubberStampNtrep
- CaneNT

View file

@ -230,6 +230,9 @@
},
{
"name": "paper_stamp-psychologist"
},
{
"name": "paper_stamp-ntrep"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

View file

@ -15,6 +15,9 @@
},
{
"name": "stamp-magistrat"
},
{
"name": "stamp-ntrep"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

View file

@ -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
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B