* Initial

* Mmm

* Adds them to map

* Makes mice grindable

* meta.json looking nice

* Mice go squeak

* Ye

* E

* Review

* Update Content.Server/GameObjects/Components/Mobs/Speech/MouseAccentComponent.cs

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
Swept
2021-03-11 00:06:57 +00:00
committed by GitHub
parent 1384debaef
commit 87aced8392
22 changed files with 222 additions and 170 deletions

View File

@@ -52,36 +52,3 @@
sprite: Clothing/Head/Animals/monkey.rsi
- type: Clothing
sprite: Clothing/Head/Animals/monkey.rsi
- type: entity
parent: ClothingHeadBase
id: ClothingHeadHatAnimalMouseBrown
name: mouse brown
description: This is a head of a brown mouse. Squeak!
components:
- type: Sprite
sprite: Clothing/Head/Animals/mouse_brown.rsi
- type: Clothing
sprite: Clothing/Head/Animals/mouse_brown.rsi
- type: entity
parent: ClothingHeadBase
id: ClothingHeadHatAnimalMouseGray
name: mouse gray
description: This is a head of a grey mouse. Squeak!
components:
- type: Sprite
sprite: Clothing/Head/Animals/mouse_gray.rsi
- type: Clothing
sprite: Clothing/Head/Animals/mouse_gray.rsi
- type: entity
parent: ClothingHeadBase
id: ClothingHeadHatAnimalMouseWhite
name: mouse white
description: This is a head of a white mouse. Squeak!
components:
- type: Sprite
sprite: Clothing/Head/Animals/mouse_white.rsi
- type: Clothing
sprite: Clothing/Head/Animals/mouse_white.rsi

View File

@@ -8,7 +8,6 @@
visible: false
sprite: Interface/Misc/markers.rsi
state: cross_blue
- type: Marker
- type: Clickable
- type: InteractionOutline
@@ -27,7 +26,6 @@
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_ai
- type: TimedSpawner
prototypes:
- HumanMob_Spirate
@@ -47,7 +45,6 @@
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_xenoai
- type: TimedSpawner
prototypes:
- XenoMob_Content
@@ -55,3 +52,23 @@
intervalSeconds: 30
minimumEntitiesSpawned: 2
maximumEntitiesSpawned: 4
- type: entity
name: Mouse AI Timed Spawner
id: MouseAITimedSpawner
parent: BaseTimedSpawner
components:
- type: Sprite
netsync: false
visible: false
sprite: Mobs/Animals/mouse.rsi
state: icon-2
- type: TimedSpawner
prototypes:
- MouseMob_Content
- MouseMob1_Content
- MouseMob2_Content
chance: 0.75
intervalSeconds: 100
minimumEntitiesSpawned: 1
maximumEntitiesSpawned: 1

View File

@@ -434,3 +434,102 @@
- type: DamageStateVisualizer
normal: penguin
dead: penguin_dead
- type: entity
name: mouse
parent: SimpleMobBase
id: MouseMob_Content
description: Squeak!
components:
- type: Tag
tags:
- Grindable
- type: GhostTakeoverAvailable
makeSentient: true
name: mouse
description: A mouse in maint.
- type: Sprite
drawdepth: Mobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: mouse-0
sprite: Mobs/Animals/mouse.rsi
- type: Clothing
QuickEquip: false
sprite: Mobs/Animals/mouse.rsi
HeldPrefix: 0
ClothingPrefix: 0
Slots:
- Helmet
- type: Physics
bodyType: Dynamic
mass: 10
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.50,-0.30,0.35,0.30"
mask:
- Impassable
- VaultImpassable
- SmallImpassable
layer:
- Opaque
- type: MovementSpeedModifier
baseWalkSpeed : 5
baseSprintSpeed : 5
- type: Appearance
visuals:
- type: DamageStateVisualizer
normal: mouse-0
crit: dead-0
dead: splat-0
# Eek! You can eat them alive for now until someone makes something that detects when
# a mob is dead or something idk
- type: Food
- type: LoopingSound
- type: SolutionContainer
contents:
reagents:
- ReagentId: chem.Nutriment
Quantity: 5
- type: MouseAccent
- type: entity
parent: MouseMob_Content
id: MouseMob1_Content
components:
- type: Sprite
drawdepth: Mobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: mouse-1
sprite: Mobs/Animals/mouse.rsi
- type: Clothing
HeldPrefix: 1
ClothingPrefix: 1
- type: Appearance
visuals:
- type: DamageStateVisualizer
normal: mouse-1
crit: dead-1
dead: splat-1
- type: entity
parent: MouseMob_Content
id: MouseMob2_Content
components:
- type: Sprite
drawdepth: Mobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: mouse-2
sprite: Mobs/Animals/mouse.rsi
- type: Clothing
HeldPrefix: 1
ClothingPrefix: 2
- type: Appearance
visuals:
- type: DamageStateVisualizer
normal: mouse-2
crit: dead-2
dead: splat-2