Guardians (Holoparasites) (#5140)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -239,3 +239,25 @@
|
||||
sprite: Clothing/Head/Soft/yellowsoft_flipped.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Soft/yellowsoft_flipped.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBase
|
||||
id: ClothingHeadHatBizarreSoft
|
||||
name: troublemaker's soft
|
||||
description: A truly.. bizarre accessory.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Soft/bizarresoft.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Soft/bizarresoft.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBase
|
||||
id: ClothingHeadHatBizarreSoftFlipped
|
||||
name: troublemaker's soft flipped
|
||||
description: A truly.. bizarre accessory, flipped.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Soft/bizarresoft_flipped.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Soft/bizarresoft_flipped.rsi
|
||||
|
||||
73
Resources/Prototypes/Entities/Mobs/Player/guardian.yml
Normal file
73
Resources/Prototypes/Entities/Mobs/Player/guardian.yml
Normal file
@@ -0,0 +1,73 @@
|
||||
# Does not inherit from simplemob
|
||||
- type: entity
|
||||
name: Holoparasite
|
||||
id: MobHoloparasite
|
||||
description: A mesmerising whirl of hard-light patterns weaves a marvelous, yet oddly familiar visage. It stands proud, tuning into its owner's life to sustain itself.
|
||||
components:
|
||||
- type: GhostTakeoverAvailable
|
||||
makeSentient: true
|
||||
name: Holoparasite
|
||||
description: Listen to your owner. Don't tank damage. Punch people hard.
|
||||
- type: Input
|
||||
context: "human"
|
||||
- type: PlayerMobMover
|
||||
- type: PlayerInputMover
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed : 7
|
||||
baseSprintSpeed : 7
|
||||
- type: DamageOnHighSpeedImpact
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
soundHit:
|
||||
path: /Audio/Effects/hit_kick.ogg
|
||||
# TODO: Randomise sprites and randomise the layer color
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: Mobs/Aliens/Guardians/guardians.rsi
|
||||
layers:
|
||||
- state: tech_base
|
||||
- state: tech_flare
|
||||
color: "#40a7d7"
|
||||
shader: unshaded
|
||||
noRot: true
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: KinematicController
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.35
|
||||
mass: 10
|
||||
mask:
|
||||
- Impassable
|
||||
- SmallImpassable
|
||||
- MobImpassable
|
||||
layer:
|
||||
- Opaque
|
||||
- type: Damageable
|
||||
damageContainer: Biological
|
||||
- type: MobState
|
||||
thresholds:
|
||||
0: !type:NormalMobState {}
|
||||
- type: HeatResistance
|
||||
- type: CombatMode
|
||||
- type: Internals
|
||||
- type: Examiner
|
||||
- type: Speech
|
||||
- type: Pullable
|
||||
- type: UnarmedCombat
|
||||
range: 2
|
||||
arcwidth: 30
|
||||
arc: fist
|
||||
cooldownTime: 0.7
|
||||
arcCooldownTime: 0.7
|
||||
damage:
|
||||
types:
|
||||
Blunt: 40
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- CombatMode
|
||||
- type: Guardian
|
||||
@@ -0,0 +1,26 @@
|
||||
- type: entity
|
||||
name: holoparasite injector
|
||||
id: HoloparasiteInjector
|
||||
parent: BaseItem
|
||||
description: A complex artwork of handheld machinery allowing the user to host a holoparasite guardian.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Specific/Medical/hypospray.rsi
|
||||
state: combat_hypo
|
||||
netsync: false
|
||||
- type: GuardianCreator
|
||||
guardianProto: MobHoloparasite
|
||||
|
||||
- type: entity
|
||||
name: holoparasite box
|
||||
parent: BoxBase
|
||||
id: BoxHoloparasite
|
||||
description: A box containing a holoparasite injector
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: HoloparasiteInjector
|
||||
- id: HoloparasiteInfo
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: box
|
||||
Reference in New Issue
Block a user