Tomato killers don't kill the server anymore. (#28173)

* tomato killer auto death

* fix

* Update miscellaneous.yml
This commit is contained in:
Ed
2024-05-25 23:18:40 +03:00
committed by GitHub
parent 90d3699c1d
commit 7c9e5a0779
2 changed files with 27 additions and 4 deletions

View File

@@ -114,13 +114,22 @@
- trigger:
!type:DamageTypeTrigger
damageType: Blunt
damage: 100
damage: 40
behaviors:
- !type:GibBehavior { }
- !type:SpawnEntitiesBehavior
spawn:
FoodMeatTomato:
min: 1
max: 2
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
collection: gib
- type: MobThresholds
thresholds:
0: Alive
24: Dead
35: Dead
- type: Fixtures
fixtures:
fix1:
@@ -136,7 +145,7 @@
hidden: true
damage:
groups:
Brute: 4
Brute: 9
animation: WeaponArcBite
- type: Climbing
- type: NameIdentifier
@@ -156,3 +165,13 @@
- type: Appearance
- type: Produce
seedId: killerTomato
- type: PassiveDamage # Slight passive damage. 35 hp \ 5 min \ 60 sec = 0.08
allowedStates:
- Alive
- Dead
damageCap: 50
damage:
types:
Blunt: 0.11
- type: StaticPrice
price: 400

View File

@@ -599,6 +599,8 @@
- type: SliceableFood
count: 3
slice: FoodMeatTomatoCutlet
- type: StaticPrice
price: 100
- type: entity
name: salami
@@ -1270,6 +1272,8 @@
- type: Sprite
state: salami-slice
color: red
- type: StaticPrice
price: 30
- type: entity
name: salami slice