Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	Resources/Changelog/ChangelogSunrise.yml
  • Loading branch information
VigersRay committed Aug 30, 2024
2 parents 1f5e680 + 8f6708b commit 5e06b0d
Show file tree
Hide file tree
Showing 12 changed files with 223 additions and 1 deletion.
37 changes: 36 additions & 1 deletion Resources/Changelog/ChangelogSunrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3067,12 +3067,47 @@
type: Fix
id: 230
time: '2024-08-30T17:44:43.717281+00:00'
- author: pacable
changes:
- message: "\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D \u043F\u0435\u0440\u0446\
\u043E\u0432\u044B\u0439 \u0431\u0430\u043B\u043B\u043E\u043D\u0447\u0438\u043A\
."
type: Add
- message: "\u041F\u0435\u0440\u0446\u043E\u0432\u044B\u0439 \u0431\u0430\u043B\u043B\
\u043E\u043D\u0447\u0438\u043A \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\
\ \u0432 \u041E\u0445\u0440\u0430\u043D\u0428\u043A\u0430\u0444."
type: Add
- message: "\u0421\u043B\u0435\u0437\u043E\u0442\u043E\u0447\u0438\u0432\u044B\u0439\
\ \u0433\u0430\u0437 \u0442\u0435\u043F\u0435\u0440\u044C \u043F\u0440\u0438\
\ \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0435 \u0441 \u043A\u043E\u0436\
\u0435\u0439 \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u0442\u043E\u0442\
\ \u0436\u0435 \u044D\u0444\u0444\u0435\u043A\u0442, \u0447\u0442\u043E \u0438\
\ \u043F\u0440\u0438 \u0432\u0434\u044B\u0445\u0430\u043D\u0438\u0438."
type: Tweak
id: 231
time: '2024-08-30T18:26:01.0000000+00:00'
url: https://github.com/space-sunrise/space-station-14/pull/319
- author: Rinary
changes:
- message: "\u0418\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u044B \u0431\u0430\
\u0433\u0438 \u0432 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0435 \u0437\u0430\
\ 28.08."
type: Fix
- message: "\u0410\u043F\u0441\u0442\u0440\u0438\u043C \u043F\u0435\u0440\u0435\u0432\
\u043E\u0434\u0430(30.08)"
type: Tweak
- message: "\u0418\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0430 \u043A\u043D\
\u043E\u043F\u043A\u0430 \u0441\u043D\u0430"
type: Fix
id: 232
time: '2024-08-30T17:11:33.0000000+00:00'
url: https://github.com/space-sunrise/space-station-14/pull/339
- author: VigersRay
changes:
- message: "\u0418\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u044B \u043F\u0440\
\u043E\u0431\u043B\u0435\u043C\u044B \u0441 \u043E\u043A\u043D\u0430\u043C\u0438\
\ \u043B\u043E\u0431\u0431\u0438 \u043D\u0430 \u0431\u043E\u043B\u044C\u0448\
\u043E\u043C \u043C\u0430\u0448\u0442\u0430\u0431\u0435."
type: Fix
id: 231
id: 233
time: '2024-08-30T22:52:33.858673+00:00'
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ loadout-group-prison-guard-head = Охранник, головной убор
loadout-group-prisoner-jumpsuit = Заключенный, комбинезон
loadout-group-nanotrasenrepresentative-outerclothing = Представитель NT, верхняя одежда
loadout-group-nanotrasenrepresentative-jumpsuit = Представитель NT, комбинезон
loadout-group-pepper-spray = Перцовый баллончик
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
ClothingHeadHatSecsoft: 3
ClothingHeadBandRed: 3
HandheldCamera: 3 # Sunrise-Edit
PepperSprayBottleBlue: 2 # Sunrise-Edit
ClothingHandsGlovesColorBlack: 3
ClothingHandsGlovesFingerless: 3
ClothingUniformJumpskirtSec: 3
Expand Down
28 changes: 28 additions & 0 deletions Resources/Prototypes/Reagents/narcotics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,34 @@
color: "#96a8b5"
boilingPoint: 255.0
meltingPoint: 36.0
# Sunrise-start
reactiveEffects:
Acidic:
methods: [ Touch ]
effects:
- !type:GenericStatusEffect
key: TemporaryBlindness
component: TemporaryBlindness
time: 5.0
- !type:PopupMessage
type: Local
visualType: MediumCaution
probability: 0.03
messages:
- norepinephricacid-effect-eye-disconnect
- norepinephricacid-effect-eye-pain
- norepinephricacid-effect-darkness
- norepinephricacid-effect-blindness
- !type:HealthChange
scaleByQuantity: false
ignoreResistances: false
damage:
types:
Heat: 1
- !type:Emote
emote: Scream
probability: 0.2
# Sunrise-end
metabolisms:
Narcotic:
effects:
Expand Down
107 changes: 107 additions & 0 deletions Resources/Prototypes/_Sunrise/Entities/Objects/Misc/pepper_spray.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
- type: entity
parent: BaseItem
id: BasePepperSpray
name: перцовый баллончик
description: Баллончик с очень едкой жижей внутри.
abstract: true
components:
- type: Sprite
sprite: _Sunrise/Objects/Misc/pepperspray.rsi
- type: SolutionContainerManager
solutions:
spray:
maxVol: 40
reagents:
- ReagentId: TearGas
Quantity: 40
- type: DrainableSolution
solution: spray
- type: UseDelay
- type: Spray
transferAmount: 5
pushbackAmount: 30
spraySound:
path: /Audio/Effects/spray.ogg
sprayedPrototype: PepperSpray
vaporAmount: 3
vaporSpread: 90
sprayVelocity: 2.0
- type: MeleeWeapon
wideAnimationRotation: -135
attackRate: 2
damage:
types:
Blunt: 4
soundHit:
path: /Audio/Weapons/smash.ogg
- type: Tool
qualities:
- Rolling
speedModifier: 0.7
- type: ItemToggle
soundActivate:
path: /Audio/Machines/button.ogg
params:
variation: 0.125
volume: -4
soundDeactivate:
path: /Audio/Machines/button.ogg
params:
variation: 0.125
volume: -4
- type: ToggleVerb
text: fire-extinguisher-component-verb-text
- type: SpraySafety
- type: Appearance
- type: PhysicalComposition
materialComposition:
Steel: 20
Plastic: 20

- type: entity
parent: BasePepperSpray
id: PepperSprayBottleRed
components:
- type: Sprite
layers:
- state: item
- state: overlay
color: "#FF0000"

- type: entity
parent: BasePepperSpray
id: PepperSprayBottleGreen
components:
- type: Sprite
layers:
- state: item
- state: overlay
color: "#00FF00"

- type: entity
parent: BasePepperSpray
id: PepperSprayBottleBlue
components:
- type: Sprite
layers:
- state: item
- state: overlay
color: "#0000FF"

- type: entity
name: pepper spray
id: PepperSpray
parent: Vapor
categories: [ HideSpawnMenu ]
components:
- type: Sprite
sprite: _Sunrise/Effects/pepperSpray.rsi
layers:
- state: spray
map: [ "enum.VaporVisualLayers.Base" ]
- type: Physics
bodyType: Dynamic
- type: Appearance
- type: VaporVisuals
animationTime: 0.4
animationState: spray
10 changes: 10 additions & 0 deletions Resources/Prototypes/_Sunrise/Loadouts/Jobs/Security/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
back:
- HandheldCamera

- type: loadout
id: SecurityPepperspray
startingGear: PeppersprayBlue

- type: startingGear
id: PeppersprayBlue
storage:
back:
- PepperSprayBottleBlue

- type: loadout
id: SecurityWhistle
startingGear: SecurityWhistle
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/_Sunrise/Loadouts/loadout_groups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
maxLimit: 3
loadouts:
- SecurityBodycam
- SecurityPepperspray
- SecurityWhistle
- SecurityRadioHandheld
- SecurityTourniquet
Expand Down
22 changes: 22 additions & 0 deletions Resources/Textures/_Sunrise/Effects/pepperSpray.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "made by github: @pxc1984 discord: @pacable",
"states": [
{
"name": "spray",
"delays": [
[
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.
17 changes: 17 additions & 0 deletions Resources/Textures/_Sunrise/Objects/Misc/pepperspray.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "made by discrod: @sat_domasaki",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "item"
},
{
"name": "overlay"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5e06b0d

Please sign in to comment.