Skip to content

Commit

Permalink
Merge pull request AdventureTimeSS14#374 from Xelasto/master
Browse files Browse the repository at this point in the history
borgi
  • Loading branch information
Schrodinger71 authored Feb 5, 2024
2 parents a4bff37 + 8deb847 commit 8f00376
Show file tree
Hide file tree
Showing 6 changed files with 177 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Resources/Changelog/ChangelogADT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1118,3 +1118,9 @@ Entries:
- {message: Добавлены наборы для игры в покер в автомате с настольными играми, type: Add}
id: 55671 #костыль отображения в Обновлениях
time: '2024-02-4T08:20:00.0000000+00:00'

- author: Xelasto
changes:
- {message: Добавлен И-н борги, type: Add}
id: 55672 #костыль отображения в Обновлениях
time: '2024-02-5T08:20:00.0000000+00:00'
2 changes: 2 additions & 0 deletions Resources/Locale/ru-RU/ADT/Objects/Mobs/borgi.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-ADTMobBorgi = И-н
.desc = Это борги.
93 changes: 93 additions & 0 deletions Resources/Prototypes/ADT/Entities/Mobs/borgi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
- type: entity
name: I-n
parent:
- MobSiliconBase
- MobCombat
id: ADTMobBorgi
description: It's a borgi.
components:
- type: Sprite
drawdepth: Mobs
sprite: ADT/Mobs/Pets/borgi.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: borgi
- type: DamageStateVisuals
states:
Alive:
Base: borgi
Critical:
Base: borgi_dead
Dead:
Base: borgi_dead
- type: Grammar
attributes:
proper: true
gender: male
- type: ReplacementAccent
accent: dog
- type: InteractionPopup
interactSuccessString: petting-success-dog
interactFailureString: petting-failure-generic
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/small_dog_bark_happy.ogg
- type: MobState
allowedStates:
- Alive
- Critical
- Dead
- type: MobThresholds
thresholds:
0: Alive
100: Critical
140: Dead
stateAlertDict:
Alive: BorgHealth
Critical: BorgCrit
Dead: BorgDead
showOverlays: true
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:TriggerBehavior
- trigger:
!type:DamageTrigger
damage: 140
behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel:
min: 5
max: 5
FoodBurgerRobot:
min: 1
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: NpcFactionMember
factions:
- SimpleNeutral
- type: HTN
rootTask:
task: IdleCompound
- type: MeleeWeapon
soundHit:
path: /Audio/Effects/bite.ogg
angle: 0
animation: WeaponArcBite
damage:
types:
Piercing: 5
Slash: 2.5
- type: StaticPrice
price: 2000
- type: RotationVisuals
- type: Examiner
- type: Alerts
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.
76 changes: 76 additions & 0 deletions Resources/Textures/ADT/Mobs/Pets/borgi.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/ParadiseSS13/Paradise/commit/47086b15008f55ba69da3b107c73b51f87a49655",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "borgi",
"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
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
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": "borgi_dead"
}
]
}

0 comments on commit 8f00376

Please sign in to comment.