Add laser raptors (#18660)
This commit is contained in:
60
Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml
Normal file
60
Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml
Normal file
@@ -0,0 +1,60 @@
|
||||
- type: entity
|
||||
name: laser raptor
|
||||
id: MobLaserRaptor
|
||||
parent: SimpleMobBase
|
||||
description: From the Viking age.
|
||||
components:
|
||||
- type: NpcFactionMember
|
||||
factions:
|
||||
- SimpleHostile
|
||||
- type: HTN
|
||||
rootTask:
|
||||
task: SimpleRangedHostileCompound
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: Mobs/Aliens/laser_raptor.rsi
|
||||
layers:
|
||||
- map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
state: laser_raptor
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.30
|
||||
density: 80
|
||||
mask:
|
||||
- MobMask
|
||||
layer:
|
||||
- MobLayer
|
||||
- type: MobThresholds
|
||||
thresholds:
|
||||
0: Alive
|
||||
100: Dead
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed: 2
|
||||
baseSprintSpeed: 5
|
||||
- type: Tag
|
||||
tags:
|
||||
- FootstepSound
|
||||
- type: HitscanBatteryAmmoProvider
|
||||
proto: RedMediumLaser
|
||||
fireCost: 50
|
||||
- type: BatterySelfRecharger
|
||||
autoRecharge: true
|
||||
autoRechargeRate: 50
|
||||
- type: Battery
|
||||
maxCharge: 1000
|
||||
startingCharge: 1000
|
||||
- type: Gun
|
||||
fireRate: 1
|
||||
useKey: false
|
||||
selectedMode: SemiAuto
|
||||
availableModes:
|
||||
- SemiAuto
|
||||
soundGunshot: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg
|
||||
- type: CombatMode
|
||||
- type: InteractionPopup
|
||||
successChance: 0.5
|
||||
interactSuccessString: petting-success-slimes
|
||||
interactFailureString: petting-failure-generic
|
||||
BIN
Resources/Textures/Mobs/Aliens/laser_raptor.rsi/laser_raptor.png
Normal file
BIN
Resources/Textures/Mobs/Aliens/laser_raptor.rsi/laser_raptor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 802 B |
18
Resources/Textures/Mobs/Aliens/laser_raptor.rsi/meta.json
Normal file
18
Resources/Textures/Mobs/Aliens/laser_raptor.rsi/meta.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Sprited by aleksh (discord)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "laser_raptor",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "laser_raptor_dead"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user