New animal, Pig (#12725)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user