Skip to content

Commit

Permalink
[Заказ] Плачущий ангел (#878)
Browse files Browse the repository at this point in the history
## Описание PR
Добавлен Эвентовый ангел по заказу в качестве моба и статуи
https://discord.com/channels/901772674865455115/1310658680668295239
  • Loading branch information
Filokini authored Dec 17, 2024
1 parent 344f655 commit d0e6335
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
ent-ADTMobCreature = существо
.desc = Когда-то оно было человеком...
ent-ADTMobAngelCrying = плачущий ангел
.desc = Не моргай.
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ ent-ADTStatueBeerMessiahLeft = статуя пивного мессии
ent-ADTStatueBeerMessiahRight = статуя пивного мессии
.desc = Древняя гранитная статуя высшего существа, дарующего первым людям ПИВО
.suffix = Октоберфест, Правая
ent-ADTStatueCryingAngel = { ent-ADTMobAngelCrying }
.desc = { ent-ADTMobAngelCrying.desc }
.suffix = { "Статуя" }
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,61 @@
- GalacticCommon
understands:
- GalacticCommon

- type: entity
parent: [BaseMob, MobCombat]
id: ADTMobAngelCrying
name: crying angel
description: crying angel
components:
- type: TimeDespawnDamage
- type: NoSlip
- type: MeleeWeapon
hidden: true
soundHit:
collection: MetalThud
damage:
types:
Blunt: 30
- type: Sprite
sprite: ADT/Mobs/Demons/angel_crying.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: angel
- map: ["enum.HumanoidVisualLayers.LHand"]
- map: ["enum.HumanoidVisualLayers.RHand"]
- type: Body
prototype: Human
- type: Hands
- type: MindContainer
- type: NpcFactionMember
factions:
- SimpleNeutral
- type: MobThresholds
thresholds:
0: Alive
100: Dead
- type: Clickable
- type: MobState
allowedStates:
- Alive
- Dead
- type: LanguageSpeaker
speaks:
- GalacticCommon
understands:
- GalacticCommon
- type: ComplexInteraction
- type: Strippable
- type: UserInterface
interfaces:
enum.StrippingUiKey.Key:
type: StrippableBoundUserInterface
- type: Prying
pryPowered: true
force: true
speedModifier: 1.5
useSound:
path: /Audio/Machines/airlock_creaking.ogg
- type: MovementAlwaysTouching
- type: LagCompensation
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,41 @@
state: beer_messiah_right
drawdepth: Mobs
offset: "0.0,0.5"

- type: entity
id: ADTStatueCryingAngel
parent: BaseStructureDynamic
name: crying angel
description: crying angel
suffix: Statue
components:
- type: Sprite
noRot: true
sprite: ADT/Mobs/Demons/angel_crying.rsi
state: angel
drawdepth: Mobs
- type: InteractionOutline
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.3,-0.4,0.3,0.4"
density: 500
mask:
- MachineMask
layer:
- MidImpassable
- LowImpassable
- type: Rotatable
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: Metallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions Resources/Textures/ADT/Mobs/Demons/angel_crying.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Sprite by discord:anvel",
"states":
[
{
"name": "angel",
"directions": 4
}
]
}

0 comments on commit d0e6335

Please sign in to comment.