Skip to content

Commit

Permalink
фиксы линтера
Browse files Browse the repository at this point in the history
  • Loading branch information
VigersRay committed Feb 9, 2025
1 parent 8ae6639 commit dfe8d5f
Show file tree
Hide file tree
Showing 21 changed files with 85 additions and 101 deletions.
7 changes: 1 addition & 6 deletions Resources/Prototypes/Entities/Clothing/Hands/gloves.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,7 @@
whitelist:
components:
- Stamina
stunCharge: 120 #sunrise-start
- type: StunProvider
noPowerPopup: ninja-no-power
whitelist:
components:
- Stamina #sunrise-end
stunCharge: 120 #Sunrise-edit
- type: EmagProvider
whitelist:
components:
Expand Down
49 changes: 0 additions & 49 deletions Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,52 +299,3 @@
# steps: 6
# zeroVisible: true
# - type: Appearance

- type: entity
name: ent-UplinkSubMachineGunUzi-name
parent: [BaseWeaponSubMachineGun, BaseRestrictedContraband]
id: UplinkSubMachineGunUzi
description: ent-UplinkSubMachineGunUzi-name
components:
- type: Sprite
sprite: Objects/Weapons/Guns/SMGs/uzi.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-0
map: ["enum.GunVisualLayers.Mag"]
- type: Gun
minAngle: 15
maxAngle: 16
fireRate: 9
soundGunshot:
collection: famas # Sunrise-Edit
params:
volume: 10
availableModes:
- FullAuto
- SemiAuto
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazinePistolSubMachineGun
insertSound: /Audio/Weapons/Guns/MagIn/smg_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/smg_magout.ogg
priority: 2
whitelist:
tags:
- MagazinePistolSubMachineGun
whitelistFailPopup: gun-magazine-whitelist-fail
gun_chamber:
name: Chamber
startingItem: CartridgePistol
priority: 1
whitelist:
tags:
- CartridgePistol
- type: MagazineVisuals
magState: mag
steps: 1
zeroVisible: true
- type: Appearance
8 changes: 7 additions & 1 deletion Resources/Prototypes/Reagents/Consumable/Drink/alcohol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@
damage:
groups:
Brute: -1
# Sunrise-Start
- !type:HealthChange
damage:
types:
Radiation: -0.5
# Sunrise-End
- !type:ChemVomit
probability: 0.04
conditions:
Expand Down Expand Up @@ -1984,4 +1990,4 @@
factor: 1
- !type:AdjustReagent
reagent: Ethanol
amount: 0.25
amount: 0.25
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@
sprite: _Sunrise/Clothing/Uniforms/Costume/bunny.rsi
- type: Clothing
sprite: _Sunrise/Clothing/Uniforms/Costume/bunny.rsi
# TODO: Remove the line below when the sprite accounts for FemaleMask.
femaleMask: NoMask

- type: entity
parent: ClothingUniformSkirtBase
Expand Down Expand Up @@ -98,8 +96,6 @@
sprite: _Sunrise/Clothing/Uniforms/Costume/rat.rsi
- type: Clothing
sprite: _Sunrise/Clothing/Uniforms/Costume/rat.rsi
# TODO: Remove the line below when the sprite accounts for FemaleMask.
femaleMask: NoMask

- type: entity
parent: ClothingUniformBase
Expand All @@ -111,7 +107,6 @@
sprite: _Sunrise/Clothing/Uniforms/Costume/red_dress.rsi
- type: Clothing
sprite: _Sunrise/Clothing/Uniforms/Costume/red_dress.rsi
femaleMask: NoMask

## old schoolgirl uniforms

Expand Down Expand Up @@ -318,4 +313,3 @@
sprite: _Sunrise/Clothing/Uniforms/Costume/gakuran.rsi
- type: Clothing
sprite: _Sunrise/Clothing/Uniforms/Costume/gakuran.rsi
femaleMask: NoMask
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,17 @@
- type: Clothing
sprite: _Sunrise/Clothing/Uniforms/Jumpsuit/adidas-white.rsi

- type: entity
parent: ClothingUniformBase
id: ClothingUniformJumpskirtChristmas
name: christmas female jumpsuit
description: Pretty old stuff for these times, bringing back old memories.....
components:
- type: Sprite
sprite: _Sunrise/Clothing/Uniforms/Jumpsuit/christmas_jumpsuit.rsi
- type: Clothing
sprite: _Sunrise/Clothing/Uniforms/Jumpsuit/christmas_jumpsuit.rsi

- type: entity
parent: ClothingUniformBase
id: ClothingUniformJumpsuitBlackturtleneck
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -622,3 +622,52 @@
steps: 1
zeroVisible: true
- type: Appearance

- type: entity
name: Uzi
parent: [BaseWeaponSubMachineGun, BaseRestrictedContraband]
id: UplinkSubMachineGunUzi
description: A compact and reliable submachine gun.
components:
- type: Sprite
sprite: Objects/Weapons/Guns/SMGs/uzi.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-0
map: ["enum.GunVisualLayers.Mag"]
- type: Gun
minAngle: 15
maxAngle: 16
fireRate: 9
soundGunshot:
collection: famas # Sunrise-Edit
params:
volume: 10
availableModes:
- FullAuto
- SemiAuto
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazinePistolSubMachineGun
insertSound: /Audio/Weapons/Guns/MagIn/smg_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/smg_magout.ogg
priority: 2
whitelist:
tags:
- MagazinePistolSubMachineGun
whitelistFailPopup: gun-magazine-whitelist-fail
gun_chamber:
name: Chamber
startingItem: CartridgePistol
priority: 1
whitelist:
tags:
- CartridgePistol
- type: MagazineVisuals
magState: mag
steps: 1
zeroVisible: true
- type: Appearance

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
color: "#3db83b"
- type: LitOnPowered
- type: Sprite
sprite: _Sunrise/Structures/Machines/banks_machine.rsi
sprite: _Sunrise/Structures/Machines/atm.rsi
layers:
- map: ["computerLayerBody"]
state: fpi_atm
state: base
- map: ["computerLayerScreen"]
state: screen_fpi
state: screen
- map: ["enum.WiresVisualLayers.MaintenancePanel"]
state: panel
visible: false
- type: Icon
sprite: Structures/Machines/arcade.rsi
state: fpi_atm
sprite: _Sunrise/Structures/Machines/atm.rsi
state: icon
- type: WiresPanel
- type: Wires
layoutId: Jukebox #Power and AIinteract
Expand Down Expand Up @@ -81,12 +81,12 @@
parent: ATMBase
components:
- type: Sprite
sprite: _Sunrise/Structures/Machines/banks_machine.rsi
sprite: _Sunrise/Structures/Machines/atm.rsi
layers:
- map: ["computerLayerBody"]
state: fpi_atm
state: base
- map: ["computerLayerScreen"]
state: screen_fpi
state: screen
- map: ["enum.WiresVisualLayers.MaintenancePanel"]
state: panel
visible: false
Expand All @@ -109,7 +109,7 @@
description: An compact Wallmount FPI ATM without self-extermination button.
components:
- type: Sprite
sprite: _Sunrise/Structures/Machines/banks_atm.rsi
sprite: _Sunrise/Structures/Machines/wall_atm.rsi
layers:
- map: ["computerLayerBody"]
state: base
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@
description: Здесь можно отправить запрошеные товары
components:
- type: CargoPalletConsole
withdrawCash: false
cargoSource: Bounty
tag: #Предназначается только для отправки заказов
bounty: true
#withdrawCash: false
#cargoSource: Bounty
#tag: Предназначается только для отправки заказов
#bounty: true
- type: Computer
board: ComputerBountySaleConsoleCircuitboard

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,19 @@
"name": "icon"
},
{
"name": "fpi_atm",
"name": "base",
"directions": 4
},
{
"name": "atm_broken",
"name": "broken",
"directions": 4
},
{
"name": "screen_fpi",
"name": "screen",
"directions": 4
},
{
"name": "panel",
"directions": 4
"name": "panel"
}
]
}

0 comments on commit dfe8d5f

Please sign in to comment.