Skip to content

Commit

Permalink
Merge pull request #99 from Lemirda/task-hawk
Browse files Browse the repository at this point in the history
РАБОТА ДЛЯ РАЗРАБОТЧИКОВ
  • Loading branch information
13lackHawk authored Apr 7, 2024
2 parents df60ee6 + a53490e commit 6155ea0
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Content.Server/Administration/Systems/AdminNotifySystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
using Robust.Shared.Audio.Systems;
using Content.Server.Administration;
using Content.Server.Administration.Managers;
using Content.Server.Guardian; //A-13 Fix AdminNotifySystem
using Content.Server.GameTicking.Rules.Components; //A-13 Fix AdminNotifySystem
using System.Linq; //A-13 Fix AdminNotifySystem

namespace Content.Server.Administration.Systems;

Expand All @@ -30,6 +33,14 @@ private void OnMobStateChanged(MobStateChangedEvent ev)
if (!TryComp(ev.Target, out ActorComponent? actorComponent))
return;

//A-13 Fix AdminNotifySystem start
if (!HasComp<CanHostGuardianComponent>(ev.Target))
return;

if (EntityQuery<NukeopsRuleComponent>().Any())
return;
//A-13 Fix AdminNotifySystem end

if (actorComponent.PlayerSession.AttachedEntity == null || ev.NewMobState == MobState.Alive)
return;

Expand Down
91 changes: 91 additions & 0 deletions Resources/Prototypes/Andromeda/Lemird Prototype's/wedding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
- type: entity
parent: ClothingHeadBase
id: ClothingHeadHatWeddingVeill
name: cвадебный венок
description: Красивый венок, созданный для роскошных свадеб.
components:
- type: Sprite
sprite: Andromeda/Clothing/Head/weddingveil.rsi
- type: Clothing
sprite: Andromeda/Clothing/Head/weddingveil.rsi


- type: entity
parent: ClothingUniformSkirtBase
id: ClothingUniformJumpskirtWeddingDress
name: платье невесты
description: Роскошное платье невесты, она всегда должна выглядеть прекрасно.
components:
- type: Sprite
sprite: Andromeda/Clothing/Uniforms/weddingdress.rsi
- type: Clothing
sprite: Andromeda/Clothing/Uniforms/weddingdress.rsi


- type: entity
parent: ClothingShoesBaseButcherable
id: ClothingShoesWeddingShoes
name: свадебные туфельки
description: Прекрасная обувь, что прекрасно подчёркивает походку невесты.
components:
- type: Sprite
sprite: Andromeda/Clothing/Shoes/weddingshoes.rsi
- type: Clothing
sprite: Andromeda/Clothing/Shoes/weddingshoes.rsi


- type: entity
parent: ClothingUniformBase
id: ClothingUniformWeddingtuxedo
name: свадебный смокинг
description: Не верится, что нужно надеть именно вам, верно?
components:
- type: Sprite
sprite: Andromeda/Clothing/Uniforms/weddingtuxedo.rsi
- type: Clothing
sprite: Andromeda/Clothing/Uniforms/weddingtuxedo.rsi


- type: entity
parent: ClothingShoesBaseButcherable
id: ClothingShoesWeddingGlaceups
name: свадебные туфли
description: На самом деле универсальны, но с костюмом смотрятся лучше.
components:
- type: Sprite
sprite: Andromeda/Clothing/Shoes/weddinglaceups.rsi
- type: Clothing
sprite: Andromeda/Clothing/Shoes/weddinglaceups.rsi


- type: entity
parent: ClothingHandsBase
id: ClothingHandsWeddingRing
name: обручальное кольцо
description: Главное не уронить в важный момент, или потерять палец.
components:
- type: Sprite
sprite: Andromeda/Clothing/Hands/weddingring.rsi
- type: Clothing
sprite: Andromeda/Clothing/Hands/weddingring.rsi
- type: FingerprintMask


- type: entity
parent: BaseItem
id: Bouquet
name: букет
description: Стоит дарить это даме чаще.
components:
- type: Sharp
- type: Sprite
sprite: Andromeda/Objects/Weapons/bouquet.rsi
state: icon
- type: MeleeWeapon
damage:
types:
Slash: 1
- type: Item
size: Small
sprite: Objects/Weapons/Melee/bouquet.rsi
- type: DisarmMalus
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
ClothingMaskPlague: 1
ClothingHeadsetService: 2
ClothingHandsWeddingRing: 2 # A-13
bouquet: 1 # A-13
ClothingHeadHatWeddingVeill: 2 # A-13
ClothingUniformJumpskirtWeddingDress: 2 # A-13
ClothingShoesWeddingShoes: 2 # A-13
ClothingUniformWeddingtuxedo: 2 # A-13
ClothingShoesWeddingGlaceups: 2 # A-13
Bouquet: 1 # A-13
BoxCandle: 2
BoxCandleSmall: 2
Urn: 5
Expand Down

0 comments on commit 6155ea0

Please sign in to comment.