Skip to content

Commit

Permalink
ability to pilot, animal stomach, ai faction
Browse files Browse the repository at this point in the history
  • Loading branch information
ErhardSteinhauer committed Jan 19, 2024
1 parent 5729946 commit d0af6b4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Resources/Prototypes/_NF/Body/Organs/goblin_organs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
removeEmpty: true
solutionOnBody: false
solution: "Lung"
metabolizerTypes: [ Human ]
metabolizerTypes: [ Animal ]
groups:
- id: Gas
rateModifier: 100.0
Expand Down Expand Up @@ -112,7 +112,7 @@
state: heart-on

- type: entity
parent: OrganHumanStomach
parent: OrganAnimalStomach
id: OrganGoblinStomach
name: stomach
suffix: Goblin
Expand All @@ -133,7 +133,7 @@
- type: Stomach
- type: Metabolizer
maxReagents: 3
metabolizerTypes: [Human]
metabolizerTypes: [ Animal ]
groups:
- id: Food
- id: Drink
Expand All @@ -149,7 +149,7 @@
state: liver
- type: Metabolizer # The liver metabolizes certain chemicals only, like alcohol.
maxReagents: 1
metabolizerTypes: [Human]
metabolizerTypes: [ Animal ]
groups:
- id: Alcohol
rateModifier: 0.1 # removes alcohol very slowly along with the stomach removing it as a drink
Expand All @@ -168,5 +168,5 @@
# The kidneys just remove anything that doesn't currently have any metabolisms, as a stopgap.
- type: Metabolizer
maxReagents: 5
metabolizerTypes: [Human]
metabolizerTypes: [ Animal ]
removeEmpty: true
9 changes: 6 additions & 3 deletions Resources/Prototypes/_NF/Entities/Mobs/Species/goblin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- type: entity
save: false
parent: BaseMobSpeciesOrganic
name: Urist McGoblin
id: MobGoblinBase
Expand Down Expand Up @@ -47,15 +48,16 @@
- MobLayer
- type: Body
prototype: Goblin
requiredLegs: 2
- type: Damageable
damageModifierSet: Goblin
- type: MeleeWeapon
soundHit:
collection: Punch
animation: WeaponArcFist
animation: WeaponArcClaw
damage:
types:
Blunt: 5
Slash: 4
- type: Thieving
stealthy: true
stripTimeReduction: 1
Expand All @@ -81,9 +83,10 @@
- type: NpcFactionMember
factions:
- NanoTrasen
# - Goblin
- Goblin
- type: Tag
tags:
- CanPilot
- GoblinMobTag
- DoorBumpOpener

Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/_NF/ai_factions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- Chicken
- Monkey
- Mailman
- Goblin

- type: npcFaction
id: Dwarf
Expand All @@ -29,3 +30,6 @@

- type: npcFaction
id: Monkey

- type: npcFaction
id: Goblin

0 comments on commit d0af6b4

Please sign in to comment.