Grenade Penguin (#7283)

This commit is contained in:
EmoGarbage404
2022-03-28 00:03:08 -04:00
committed by GitHub
parent 80699543d9
commit 50ea06ba72
6 changed files with 91 additions and 0 deletions

View File

@@ -75,6 +75,12 @@
itemId: SyndieMiniBomb
price: 6
- type: uplinkListing
id: UplinkGrenadePenguin
category: Explosives
itemId: MobGrenadePenguin
price: 6
#- type: uplinkListing
# id: UplinkExplosiveC4
# category: Weapons

View File

@@ -910,6 +910,70 @@
interactSuccessString: petting-success-bird
interactFailureString: petting-failure-generic
- type: entity
name: grenade penguin
parent: SimpleMobBase
id: MobGrenadePenguin
description: A small penguin with a grenade strapped around its neck. Harvested by the Syndicate from icy shit-hole planets.
components:
- type: MovementSpeedModifier
baseWalkSpeed : 7
baseSprintSpeed : 7
- type: UtilityAI
behaviorSets:
- UnarmedAttackHostiles
- type: AiFactionTag
factions:
- SimpleHostile
- type: Sprite
drawdepth: Mobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: penguin
sprite: Mobs/Animals/grenadepenguin.rsi
- type: Physics
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeCircle
radius: 0.25
mass: 10
mask:
- Impassable
- MobImpassable #Bullets?!
- SmallImpassable
layer:
- Opaque
- type: Appearance
visuals:
- type: DamageStateVisualizer
normal: penguin
crit: dead
dead: dead
- type: Butcherable
spawned: FoodMeatPenguin
pieces: 3
- type: UnarmedCombat
range: 0.5
arcwidth: 0
arc: bite
damage:
groups:
Brute: 5
- type: Item
size: 80
- type: OnUseTimerTrigger
delay: 10
beepSound:
path: /Audio/Weapons/Guns/MagOut/pistol_magout.ogg #funny sfx use
beepInterval: 1
- type: Explosive
devastationRange: 1
heavyImpactRange: 2
lightImpactRange: 3
flashRange: 6
- type: ExplodeOnTrigger
- type: entity
name: snake
parent: SimpleMobBase