Add utility AI (#806)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com> Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com> Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
10
Resources/Prototypes/Entities/Mobs/dummy_npcs.yml
Normal file
10
Resources/Prototypes/Entities/Mobs/dummy_npcs.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- type: entity
|
||||
save: false
|
||||
name: Pathfinding Dummy
|
||||
parent: BaseHumanMob_Content
|
||||
id: HumanMob_PathDummy
|
||||
description: A miserable pile of secrets
|
||||
drawdepth: Mobs
|
||||
components:
|
||||
- type: AiController
|
||||
logic: PathingDummy
|
||||
@@ -1,12 +1,13 @@
|
||||
# Both humans and NPCs inherit from this.
|
||||
# Anything human specific (e.g. UI, input) goes under HumanMob_Content
|
||||
- type: entity
|
||||
save: false
|
||||
name: Urist McHands
|
||||
id: HumanMob_Content
|
||||
id: BaseHumanMob_Content
|
||||
description: A miserable pile of secrets
|
||||
drawdepth: Mobs
|
||||
abstract: true
|
||||
components:
|
||||
- type: Mind
|
||||
show_examine_info: true
|
||||
- type: Hands
|
||||
hands:
|
||||
- left
|
||||
@@ -110,39 +111,50 @@
|
||||
layer:
|
||||
- Opaque
|
||||
- MobImpassable
|
||||
- type: Input
|
||||
context: "human"
|
||||
- type: Species
|
||||
Template: Human
|
||||
HeatResistance: 323
|
||||
- type: BodyManager
|
||||
BaseTemplate: bodyTemplate.Humanoid
|
||||
BasePreset: bodyPreset.BasicHuman
|
||||
|
||||
- type: StatusEffectsUI
|
||||
- type: OverlayEffectsUI
|
||||
- type: HeatResistance
|
||||
- type: Damageable
|
||||
- type: Eye
|
||||
zoom: 0.5, 0.5
|
||||
- type: CameraRecoil
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: SpeciesVisualizer2D
|
||||
- type: CombatMode
|
||||
- type: Teleportable
|
||||
- type: Examiner
|
||||
- type: CharacterInfo
|
||||
- type: FootstepSound
|
||||
- type: HumanoidAppearance
|
||||
- type: HumanInventoryController
|
||||
- type: Stunnable
|
||||
- type: AnimationPlayer
|
||||
|
||||
- type: entity
|
||||
save: false
|
||||
name: Urist McHands
|
||||
parent: BaseHumanMob_Content
|
||||
abstract: true
|
||||
id: HumanMob_Content
|
||||
description: A miserable pile of secrets
|
||||
drawdepth: Mobs
|
||||
components:
|
||||
- type: Mind
|
||||
show_examine_info: true
|
||||
- type: Constructor
|
||||
- type: Input
|
||||
context: "human"
|
||||
- type: StatusEffectsUI
|
||||
- type: OverlayEffectsUI
|
||||
- type: Eye
|
||||
zoom: 0.5, 0.5
|
||||
- type: CameraRecoil
|
||||
- type: Examiner
|
||||
- type: HumanInventoryController
|
||||
|
||||
- type: entity
|
||||
save: false
|
||||
name: Urist McHands
|
||||
id: HumanMob_Dummy
|
||||
description: A dummy human meant to be used in character setup
|
||||
components:
|
||||
|
||||
20
Resources/Prototypes/Entities/Mobs/npcs.yml
Normal file
20
Resources/Prototypes/Entities/Mobs/npcs.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
- type: entity
|
||||
save: false
|
||||
name: Civilian
|
||||
parent: BaseHumanMob_Content
|
||||
id: HumanMob_Civilian
|
||||
description: A miserable pile of secrets
|
||||
drawdepth: Mobs
|
||||
components:
|
||||
- type: AiController
|
||||
logic: Civilian
|
||||
|
||||
- type: entity
|
||||
save: false
|
||||
name: Spirate
|
||||
parent: BaseHumanMob_Content
|
||||
id: HumanMob_Spirate
|
||||
description: Yarr
|
||||
components:
|
||||
- type: AiController
|
||||
logic: Spirate
|
||||
Reference in New Issue
Block a user