New animal, Pig (#12725)

This commit is contained in:
lapatison
2022-12-21 17:48:35 +03:00
committed by GitHub
parent c40f1f8cac
commit c31fd730de
34 changed files with 202 additions and 12 deletions

View File

@@ -138,6 +138,16 @@
category: Livestock
group: market
- type: cargoProduct
id: LivestockPig
icon:
sprite: Mobs/Animals/pig.rsi
state: pig
product: CrateNPCPig
cost: 1000
category: Livestock
group: market
- type: cargoProduct
id: LivestockSnake
icon:

View File

@@ -7,7 +7,6 @@
- id: MobBee
amount: 8
- type: entity
id: CrateNPCButterflies
parent: CrateLivestock
@@ -17,7 +16,6 @@
- id: MobButterfly
amount: 5
- type: entity
id: CrateNPCCat
parent: CrateLivestock
@@ -27,7 +25,6 @@
- id: MobCat
amount: 1
- type: entity
id: CrateNPCChicken
parent: CrateLivestock
@@ -37,7 +34,6 @@
- id: MobChicken
amount: 4
- type: entity
id: CrateNPCDuck
parent: CrateLivestock
@@ -51,7 +47,6 @@
- id: MobDuckBrown
amount: 2
- type: entity
id: CrateNPCCorgi
parent: CrateLivestock
@@ -70,7 +65,6 @@
- id: MobCow
amount: 1
- type: entity
id: CrateNPCGoat
parent: CrateLivestock
@@ -80,7 +74,6 @@
- id: MobGoat
amount: 1
- type: entity
id: CrateNPCGoose
parent: CrateLivestock
@@ -90,7 +83,6 @@
- id: MobGoose
amount: 2
- type: entity
id: CrateNPCGorilla
parent: CrateLivestock
@@ -100,7 +92,6 @@
- id: MobGorilla
amount: 1
- type: entity
id: CrateNPCMonkeyCube
parent: CrateGenericSteel
@@ -128,7 +119,6 @@
- id: MobParrot
amount: 3
- type: entity
id: CrateNPCPenguin
parent: CrateLivestock
@@ -138,6 +128,14 @@
- id: MobPenguin
amount: 2
- type: entity
id: CrateNPCPig
parent: CrateLivestock
components:
- type: StorageFill
contents:
- id: MobPig
amount: 1
- type: entity
id: CrateNPCSnake

View File

@@ -232,3 +232,16 @@
- type: ConditionalSpawner
prototypes:
- CrateNPCHamlet
- type: entity
name: Alexander Spawner
id: SpawnMobAlexander
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: ai
- type: ConditionalSpawner
prototypes:
- MobAlexander

View File

@@ -2005,3 +2005,60 @@
- type: CanEscapeInventory
- type: MobPrice
price: 60
- type: entity
name: pig
parent: SimpleMobBase
id: MobPig
description: Oink.
components:
- type: Sprite
drawdepth: Mobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: pig
sprite: Mobs/Animals/pig.rsi
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeCircle
radius: 0.35
density: 250
mask:
- MobMask
layer:
- MobLayer
- type: Appearance
- type: Inventory
speciesId: pig
templateId: pet
- type: Strippable
- type: UserInterface
interfaces:
- key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface
- type: DamageStateVisuals
states:
Alive:
Base: pig
Critical:
Base: dead
Dead:
Base: dead
- type: Butcherable
spawned:
- id: FoodMeat
amount: 6
- type: Grammar
attributes:
gender: epicene
- type: InteractionPopup
successChance: 0.7
interactSuccessString: petting-success-pig
interactFailureString: petting-failure-generic
interactSuccessSound:
path: /Audio/Animals/pig_oink.ogg
- type: ReplacementAccent
accent: pig
- type: SentienceTarget
flavorKind: station-event-random-sentience-flavor-organic

View File

@@ -361,6 +361,16 @@
proper: true
gender: female
- type: entity
name: Alexander
parent: MobPig
id: MobAlexander
description: Chef's finest colleague.
components:
- type: Grammar
attributes:
gender: male
- type: entity
name: Renault
parent: MobFox

View File

@@ -81,3 +81,11 @@
- accent-words-chicken-2
- accent-words-chicken-3
- accent-words-chicken-4
- type: accent
id: pig
words:
- accent-words-pig-1
- accent-words-pig-2
- accent-words-pig-3
- accent-words-pig-4