Cockroach + Glockroach Admeme + Mothroach (#19752)
* cockroach * Update Resources/Textures/Mobs/Animals/cockroach.rsi/meta.json Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com> * parenting fixe * d * rsi fail * mothroach!!!! * cockroach vent event + critters in trashcart * linter * fix * commit --------- Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com>
@@ -88,3 +88,6 @@ accent-words-slimes-2 = Blimpuf?
|
|||||||
accent-words-slimes-3 = Blump!
|
accent-words-slimes-3 = Blump!
|
||||||
accent-words-slimes-4 = Bluuump...
|
accent-words-slimes-4 = Bluuump...
|
||||||
accent-words-slimes-5 = Blabl blump!
|
accent-words-slimes-5 = Blabl blump!
|
||||||
|
|
||||||
|
# Mothroach
|
||||||
|
accent-words-mothroach-1 = Chirp!
|
||||||
|
|||||||
@@ -6,6 +6,9 @@ ghost-role-component-default-rules = You don't remember any of your previous lif
|
|||||||
ghost-role-information-mouse-name = Mouse
|
ghost-role-information-mouse-name = Mouse
|
||||||
ghost-role-information-mouse-description = A hungry and mischievous mouse.
|
ghost-role-information-mouse-description = A hungry and mischievous mouse.
|
||||||
|
|
||||||
|
ghost-role-information-mothroach-name = Mothroach
|
||||||
|
ghost-role-information-mothroach-description = A cute but mischievous mothroach.
|
||||||
|
|
||||||
ghost-role-information-giant-spider-name = Giant spider
|
ghost-role-information-giant-spider-name = Giant spider
|
||||||
ghost-role-information-giant-spider-description = Wreak havoc on the station's inhabitants!
|
ghost-role-information-giant-spider-description = Wreak havoc on the station's inhabitants!
|
||||||
|
|
||||||
|
|||||||
@@ -31,6 +31,15 @@
|
|||||||
- accent-words-mouse-6
|
- accent-words-mouse-6
|
||||||
- accent-words-mouse-7
|
- accent-words-mouse-7
|
||||||
|
|
||||||
|
- type: accent
|
||||||
|
id: mothroach
|
||||||
|
fullReplacements:
|
||||||
|
- accent-words-mothroach-1
|
||||||
|
- accent-words-mouse-1
|
||||||
|
- accent-words-mouse-2
|
||||||
|
- accent-words-mouse-3
|
||||||
|
- accent-words-mouse-4
|
||||||
|
|
||||||
- type: accent
|
- type: accent
|
||||||
id: mumble
|
id: mumble
|
||||||
fullReplacements:
|
fullReplacements:
|
||||||
|
|||||||
@@ -174,6 +174,13 @@
|
|||||||
components:
|
components:
|
||||||
- type: StorageFill
|
- type: StorageFill
|
||||||
contents:
|
contents:
|
||||||
|
# Creatures
|
||||||
|
- id: MobCockroach
|
||||||
|
prob: 0.05
|
||||||
|
- id: MobMothroach
|
||||||
|
prob: 0.03
|
||||||
|
- id: MobMouse
|
||||||
|
prob: 0.05
|
||||||
# Food Packaging
|
# Food Packaging
|
||||||
- id: FoodPacketBoritosTrash
|
- id: FoodPacketBoritosTrash
|
||||||
prob: 0.1
|
prob: 0.1
|
||||||
@@ -228,14 +235,8 @@
|
|||||||
prob: 0.15
|
prob: 0.15
|
||||||
- id: LightBulbBroken
|
- id: LightBulbBroken
|
||||||
prob: 0.15
|
prob: 0.15
|
||||||
- id: CableApcStack10
|
|
||||||
prob: 0.15
|
|
||||||
- id: MobMouseDead
|
- id: MobMouseDead
|
||||||
prob: 0.1
|
prob: 0.1
|
||||||
- id: RagItem
|
|
||||||
prob: 0.1
|
|
||||||
- id: FoodKebabSkewer
|
|
||||||
prob: 0.1
|
|
||||||
- id: Syringe
|
- id: Syringe
|
||||||
prob: 0.1
|
prob: 0.1
|
||||||
- id: ShardGlassPlasma
|
- id: ShardGlassPlasma
|
||||||
|
|||||||
@@ -198,3 +198,15 @@
|
|||||||
Cellular: 0.0
|
Cellular: 0.0
|
||||||
Radiation: 0.2
|
Radiation: 0.2
|
||||||
Caustic: 0.0
|
Caustic: 0.0
|
||||||
|
|
||||||
|
- type: damageModifierSet
|
||||||
|
id: Cockroach
|
||||||
|
coefficients:
|
||||||
|
Blunt: 1.0
|
||||||
|
Slash: 1.0
|
||||||
|
Piercing: 1.0
|
||||||
|
Cold: 1.0
|
||||||
|
Poison: 1.0
|
||||||
|
Cellular: 1.0
|
||||||
|
Radiation: 0.0 # hehe funny cockroach immune to rads
|
||||||
|
Caustic: 1.0
|
||||||
|
|||||||
@@ -65,3 +65,17 @@
|
|||||||
minimumEntitiesSpawned: 1
|
minimumEntitiesSpawned: 1
|
||||||
maximumEntitiesSpawned: 1
|
maximumEntitiesSpawned: 1
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: Cockroach Timed Spawner
|
||||||
|
id: CockroachTimedSpawner
|
||||||
|
parent: MouseTimedSpawner
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: blue
|
||||||
|
- sprite: Mobs/Animals/cockroach.rsi
|
||||||
|
state: cockroach_icon
|
||||||
|
- state: timed
|
||||||
|
- type: TimedSpawner
|
||||||
|
prototypes:
|
||||||
|
- MobCockroach
|
||||||
|
|||||||
@@ -17,6 +17,21 @@
|
|||||||
- MobMouse1
|
- MobMouse1
|
||||||
- MobMouse2
|
- MobMouse2
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: Cockroach Spawner
|
||||||
|
id: SpawnMobCockroach
|
||||||
|
parent: MarkerBase
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: green
|
||||||
|
- sprite: Mobs/Animals/cockroach.rsi
|
||||||
|
state: cockroach_icon
|
||||||
|
- state: ai
|
||||||
|
- type: ConditionalSpawner
|
||||||
|
prototypes:
|
||||||
|
- MobCockroach
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: HoP Corgi Spawner
|
name: HoP Corgi Spawner
|
||||||
id: SpawnMobCorgi
|
id: SpawnMobCorgi
|
||||||
|
|||||||
@@ -236,6 +236,204 @@
|
|||||||
- type: TimedDespawn #delete the egg after the chicken spawns
|
- type: TimedDespawn #delete the egg after the chicken spawns
|
||||||
lifetime: 21
|
lifetime: 21
|
||||||
|
|
||||||
|
- type: entity # TODO: figure out how to make these guys gib when stepped on
|
||||||
|
name: cockroach
|
||||||
|
parent: SimpleMobBase
|
||||||
|
id: MobCockroach
|
||||||
|
description: This station is just crawling with bugs.
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
drawdepth: SmallMobs
|
||||||
|
sprite: Mobs/Animals/cockroach.rsi
|
||||||
|
layers:
|
||||||
|
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||||
|
state: cockroach
|
||||||
|
- type: Item
|
||||||
|
size: 2
|
||||||
|
- type: HTN
|
||||||
|
rootTask:
|
||||||
|
task: MouseCompound
|
||||||
|
- type: Physics
|
||||||
|
- type: Fixtures
|
||||||
|
fixtures:
|
||||||
|
fix1:
|
||||||
|
shape:
|
||||||
|
!type:PhysShapeCircle
|
||||||
|
radius: 0.2
|
||||||
|
density: 100
|
||||||
|
mask:
|
||||||
|
- SmallMobMask
|
||||||
|
layer:
|
||||||
|
- SmallMobLayer
|
||||||
|
- type: MobState
|
||||||
|
- type: MobThresholds
|
||||||
|
thresholds:
|
||||||
|
0: Alive
|
||||||
|
1: Dead
|
||||||
|
- type: MovementSpeedModifier
|
||||||
|
baseWalkSpeed : 5
|
||||||
|
baseSprintSpeed : 5
|
||||||
|
- type: DamageStateVisuals
|
||||||
|
states:
|
||||||
|
Alive:
|
||||||
|
Base: cockroach
|
||||||
|
Dead:
|
||||||
|
Base: cockroach_dead
|
||||||
|
- type: Food
|
||||||
|
- type: Hunger
|
||||||
|
baseDecayRate: 0.25
|
||||||
|
- type: Extractable
|
||||||
|
grindableSolutionName: food
|
||||||
|
- type: SolutionContainerManager
|
||||||
|
solutions:
|
||||||
|
food:
|
||||||
|
reagents:
|
||||||
|
- ReagentId: Slime
|
||||||
|
Quantity: 5
|
||||||
|
- type: Butcherable
|
||||||
|
spawned:
|
||||||
|
- id: FoodMeatSlime
|
||||||
|
- type: Damageable
|
||||||
|
damageContainer: Biological
|
||||||
|
damageModifierSet: Cockroach
|
||||||
|
- type: Bloodstream
|
||||||
|
bloodReagent: Slime
|
||||||
|
bloodMaxVolume: 20
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Trash
|
||||||
|
- VimPilot
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTypeTrigger
|
||||||
|
damageType: Blunt
|
||||||
|
damage: 10
|
||||||
|
behaviors:
|
||||||
|
- !type:GibBehavior { }
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: glockroach
|
||||||
|
parent: MobCockroach
|
||||||
|
suffix: Admeme
|
||||||
|
id: MobGlockroach
|
||||||
|
description: This station is just crawling with bu- OH GOD THAT COCKROACH HAS A GUN!!!
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||||
|
state: glockroach
|
||||||
|
- type: Gun
|
||||||
|
fireRate: 2
|
||||||
|
useKey: false
|
||||||
|
selectedMode: SemiAuto
|
||||||
|
availableModes:
|
||||||
|
- SemiAuto
|
||||||
|
soundGunshot: /Audio/Weapons/Guns/Gunshots/pistol.ogg
|
||||||
|
- type: BallisticAmmoProvider
|
||||||
|
proto: CartridgeCaselessRifle
|
||||||
|
capacity: 500
|
||||||
|
- type: CombatMode
|
||||||
|
- type: HTN
|
||||||
|
rootTask:
|
||||||
|
task: GlockroachCompound
|
||||||
|
- type: NpcFactionMember
|
||||||
|
factions:
|
||||||
|
- SimpleHostile
|
||||||
|
- type: Butcherable
|
||||||
|
spawned:
|
||||||
|
- id: FoodMeatSlime
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: mothroach
|
||||||
|
parent: MobCockroach
|
||||||
|
id: MobMothroach
|
||||||
|
description: This is the adorable by-product of multiple attempts at genetically mixing mothpeople with cockroaches.
|
||||||
|
components:
|
||||||
|
- type: GhostRole
|
||||||
|
makeSentient: true
|
||||||
|
allowSpeech: true
|
||||||
|
allowMovement: true
|
||||||
|
whitelistRequired: false
|
||||||
|
name: ghost-role-information-mothroach-name
|
||||||
|
description: ghost-role-information-mothroach-description
|
||||||
|
- type: GhostTakeoverAvailable
|
||||||
|
- type: Speech
|
||||||
|
speechVerb: Moth
|
||||||
|
speechSounds: Squeak
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Mobs/Animals/mothroach.rsi
|
||||||
|
layers:
|
||||||
|
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||||
|
state: mothroach
|
||||||
|
- type: Item
|
||||||
|
size: 15
|
||||||
|
- type: Clothing
|
||||||
|
quickEquip: false
|
||||||
|
sprite: Mobs/Animals/mothroach.rsi
|
||||||
|
equippedPrefix: 0
|
||||||
|
slots:
|
||||||
|
- HEAD
|
||||||
|
- type: Appearance
|
||||||
|
- type: DamageStateVisuals
|
||||||
|
states:
|
||||||
|
Alive:
|
||||||
|
Base: mothroach
|
||||||
|
Critical:
|
||||||
|
Base: mothroach_dead
|
||||||
|
Dead:
|
||||||
|
Base: mothroach_dead
|
||||||
|
- type: MobThresholds
|
||||||
|
thresholds:
|
||||||
|
0: Alive
|
||||||
|
25: Critical
|
||||||
|
50: Dead
|
||||||
|
- type: MovementSpeedModifier
|
||||||
|
baseWalkSpeed : 2.5
|
||||||
|
baseSprintSpeed : 4.5
|
||||||
|
weightlessAcceleration: 1.5
|
||||||
|
weightlessFriction: 1
|
||||||
|
weightlessModifier: 1
|
||||||
|
- type: Damageable
|
||||||
|
damageContainer: Biological
|
||||||
|
damageModifierSet: Moth
|
||||||
|
- type: Respirator
|
||||||
|
damage:
|
||||||
|
types:
|
||||||
|
Asphyxiation: 0.5
|
||||||
|
damageRecovery:
|
||||||
|
types:
|
||||||
|
Asphyxiation: -0.5
|
||||||
|
- type: CombatMode
|
||||||
|
- type: Butcherable
|
||||||
|
spawned:
|
||||||
|
- id: FoodMeatSlime
|
||||||
|
amount: 2
|
||||||
|
- type: Extractable
|
||||||
|
grindableSolutionName: food
|
||||||
|
- type: ReplacementAccent
|
||||||
|
accent: mothroach
|
||||||
|
- type: Vocal
|
||||||
|
sounds:
|
||||||
|
Male: UnisexMoth
|
||||||
|
Female: UnisexMoth
|
||||||
|
Unsexed: UnisexMoth
|
||||||
|
wilhelmProbability: 0.001
|
||||||
|
- type: MobPrice
|
||||||
|
price: 60
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Trash
|
||||||
|
- CannotSuicide
|
||||||
|
- type: CanEscapeInventory
|
||||||
|
- type: NpcFactionMember
|
||||||
|
factions:
|
||||||
|
- Mouse
|
||||||
|
- type: Body
|
||||||
|
prototype: Moth
|
||||||
|
- type: TypingIndicator
|
||||||
|
proto: moth
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: mallard duck #Quack
|
name: mallard duck #Quack
|
||||||
parent: SimpleMobBase
|
parent: SimpleMobBase
|
||||||
|
|||||||
@@ -186,6 +186,21 @@
|
|||||||
- id: SpawnPointGhostRatKing
|
- id: SpawnPointGhostRatKing
|
||||||
prob: 0.005
|
prob: 0.005
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: CockroachMigration
|
||||||
|
parent: BaseGameRule
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: StationEvent
|
||||||
|
weight: 5
|
||||||
|
duration: 50
|
||||||
|
- type: VentCrittersRule
|
||||||
|
entries:
|
||||||
|
- id: MobCockroach
|
||||||
|
prob: 0.03
|
||||||
|
- id: MobMothroach
|
||||||
|
prob: 0.008
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: PowerGridCheck
|
id: PowerGridCheck
|
||||||
parent: BaseGameRule
|
parent: BaseGameRule
|
||||||
|
|||||||
@@ -29,6 +29,19 @@
|
|||||||
- !type:HTNCompoundTask
|
- !type:HTNCompoundTask
|
||||||
task: IdleCompound
|
task: IdleCompound
|
||||||
|
|
||||||
|
- type: htnCompound
|
||||||
|
id: GlockroachCompound
|
||||||
|
branches:
|
||||||
|
- tasks:
|
||||||
|
- !type:HTNCompoundTask
|
||||||
|
task: InnateRangedCombatCompound
|
||||||
|
- tasks:
|
||||||
|
- !type:HTNCompoundTask
|
||||||
|
task: FoodCompound
|
||||||
|
- tasks:
|
||||||
|
- !type:HTNCompoundTask
|
||||||
|
task: IdleCompound
|
||||||
|
|
||||||
- type: htnCompound
|
- type: htnCompound
|
||||||
id: RuminantCompound
|
id: RuminantCompound
|
||||||
branches:
|
branches:
|
||||||
|
|||||||
BIN
Resources/Textures/Mobs/Animals/cockroach.rsi/cockroach_dead.png
Normal file
|
After Width: | Height: | Size: 342 B |
BIN
Resources/Textures/Mobs/Animals/cockroach.rsi/cockroach_icon.png
Normal file
|
After Width: | Height: | Size: 288 B |
@@ -28,6 +28,12 @@
|
|||||||
0.25
|
0.25
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cockroach_dead"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cockroach_icon"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "glockroach",
|
"name": "glockroach",
|
||||||
|
|||||||
|
After Width: | Height: | Size: 967 B |
BIN
Resources/Textures/Mobs/Animals/mothroach.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 526 B |
BIN
Resources/Textures/Mobs/Animals/mothroach.rsi/inhand-left.png
Normal file
|
After Width: | Height: | Size: 764 B |
BIN
Resources/Textures/Mobs/Animals/mothroach.rsi/inhand-right.png
Normal file
|
After Width: | Height: | Size: 765 B |
42
Resources/Textures/Mobs/Animals/mothroach.rsi/meta.json
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from fulpstation at https://github.com/fulpstation/fulpstation/commit/edb232b692ec9f356ec554ea1971da552b9bc447",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "icon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mothroach",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mothroach_lazy",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mothroach_sleep",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mothroach_dead",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "inhand-left",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "inhand-right",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "0-equipped-HELMET",
|
||||||
|
"directions": 4
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
Resources/Textures/Mobs/Animals/mothroach.rsi/mothroach.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
Resources/Textures/Mobs/Animals/mothroach.rsi/mothroach_dead.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Resources/Textures/Mobs/Animals/mothroach.rsi/mothroach_lazy.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |