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:
metalgearsloth
2020-06-18 22:52:44 +10:00
committed by GitHub
parent 9b8cedf6c6
commit 5391d3c72a
211 changed files with 10335 additions and 527 deletions

View 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

View File

@@ -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:

View 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