Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ 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-moproach-name = Moproach
ghost-role-information-moproach-description = A cute mothroach with more cute moplike shoes on its feet.

ghost-role-information-snail-name = Snail
ghost-role-information-snail-description = A little snail who doesn't mind a bit of space. Just stay on grid!

Expand Down
15 changes: 15 additions & 0 deletions Resources/Prototypes/Entities/Markers/Spawners/mobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,21 @@
prototypes:
- MobCockroach

- type: entity
parent: MarkerBase
id: SpawnMobMoproach
name: Moproach Spawner
components:
- type: Sprite
layers:
- state: green
- sprite: Mobs/Animals/mothroach/moproach.rsi
state: icon
- state: ai
- type: ConditionalSpawner
prototypes:
- MobMoproach

- type: entity
name: HoP Corgi Spawner
id: SpawnMobCorgi
Expand Down
202 changes: 202 additions & 0 deletions Resources/Prototypes/Entities/Mobs/NPCs/moproach.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
- type: entity
name: moproach
parent: MobMothroach
id: MobMoproach
description: This little mothroach has mopshoes on its feet! How adorable!
components:
- type: GhostRole
makeSentient: true
allowSpeech: true
allowMovement: true
name: ghost-role-information-moproach-name
description: ghost-role-information-moproach-description
rules: ghost-role-information-freeagent-rules
mindRoles:
- MindRoleGhostRoleFreeAgentHarmless
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.2
density: 120
mask:
- SmallMobMask
layer:
- SmallMobLayer
- type: GhostTakeoverAvailable
- type: Speech
speechVerb: Moth
speechSounds: Squeak
allowedEmotes: ['Chitter', 'Squeak']
- type: FaxableObject
insertingState: inserting_mothroach
- type: MothAccent
- type: Sprite
sprite: Mobs/Animals/mothroach/moproach.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base", "movement"]
state: mothroach
- type: SpriteMovement
movementLayers:
movement:
state: mothroach-moving
noMovementLayers:
movement:
state: mothroach
- type: Item
size: Normal
- type: Clothing
quickEquip: false
sprite: Mobs/Animals/mothroach/moproach.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
45: Critical
65: Dead
- type: MovementSpeedModifier
baseWalkSpeed : 3
baseSprintSpeed : 5 # extra speed for that moppin'!
weightlessAcceleration: 1.5
weightlessFriction: 1
baseWeightlessModifier: 1
- type: HTN
rootTask:
task: MoproachCompound
- type: Absorbent
pickupAmount: 7.5 # small feet
- type: UseDelay
delay: 0.5 # quick feet
- type: SolutionRegeneration
solution: absorbed
generated:
reagents:
- ReagentId: Water
Quantity: 5
- type: SolutionPurge
solution: absorbed
preserve:
- Water
quantity: 10
- type: SolutionContainerManager
solutions:
absorbed:
maxVol: 100
- type: Damageable
damageContainer: Biological
damageModifierSet: Moth
- type: Bloodstream
bloodReagent: InsectBlood
- type: Respirator
damage:
types:
Asphyxiation: 0.5
damageRecovery:
types:
Asphyxiation: -0.5
- type: CombatMode
- type: Butcherable
spawned:
- id: FoodMeatSlime
amount: 2
- id: HideMothroach # Frontier
amount: 1 # Frontier
prob: 0.3 # Frontier
- type: Extractable
grindableSolutionName: food
- type: LanguageKnowledge # Einstein Engines - Language
speaks:
- Moffic
understands:
- Moffic
- type: ZombieAccentOverride
accent: zombieMoth
- type: Vocal
sounds:
Male: UnisexMoth
Female: UnisexMoth
Unsexed: UnisexMoth
wilhelmProbability: 0.001
- type: MobPrice
price: 150
- type: Temperature
heatDamageThreshold: 423
coldDamageThreshold: 0
- type: Tag
tags:
- Trash
- CannotSuicide
- VimPilot
- type: MovementAlwaysTouching
- type: PressureImmunity
- type: ProtectedFromStepTriggers
- type: Insulated
- type: CanEscapeInventory
- type: NpcFactionMember
factions:
- Mouse
- type: Body
prototype: Mothroach
- type: SurgeryTarget # Shitmed
- type: TypingIndicator
proto: moth
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Blunt
damage: 60
behaviors:
- !type:GibBehavior { }
- type: FireVisuals
sprite: Mobs/Effects/onfire.rsi
normalState: Mouse_burning
- type: Strippable
- type: UserInterface
interfaces:
enum.StrippingUiKey.Key:
type: StrippableBoundUserInterface
enum.SurgeryUIKey.Key: # Shitmed
type: SurgeryBui
- type: InventorySlots
- type: Inventory
speciesId: hamster
templateId: hamster
displacements:
head:
sizeMaps:
32:
sprite: Mobs/Animals/mothroach/displacement.rsi
state: head
mask:
sizeMaps:
32:
sprite: Mobs/Animals/mothroach/displacement.rsi
state: mask
suitstorage:
sizeMaps:
32:
sprite: Mobs/Animals/mothroach/displacement.rsi
state: suitstorage
eyes:
sizeMaps:
32:
sprite: Mobs/Animals/mothroach/displacement.rsi
state: eyes
neck:
sizeMaps:
32:
sprite: Mobs/Animals/mothroach/displacement.rsi
state: neck
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
SpacemenFigureSpawner: 28
SpawnMobCockroach: 5
MaintenanceToolSpawner: 5
SpawnMobMoproach: 2

- type: entity
parent: [BaseItem, RecyclableItemClothSmall] # Frontier: added RecyclableItemClothSmall
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
- MobMothroach # Frontier
- MobMothroach # Frontier
- MobRosyMothroach # Frontier

- MobMoproach # wizden
- type: entity
parent: MonkeyCube
id: MouseCube
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/GameRules/pests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@
prob: 0.005 # Mono
- id: MobRosyMothroach # Frontier
prob: 0.005 # Mono
- id: MobMoproach
prob: 0.001
specialEntries: # Mono
- id: MobCorticalBorer # Mono
prob: 0.001 # Mono
Expand Down
13 changes: 13 additions & 0 deletions Resources/Prototypes/NPCs/mob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@
- !type:HTNCompoundTask
task: IdleCompound

- type: htnCompound
id: MoproachCompound
branches:
- tasks:
- !type:HTNCompoundTask
task: FoodCompound
- tasks:
- !type:HTNCompoundTask
task: BufferNearbyPuddlesCompound
- tasks:
- !type:HTNCompoundTask
task: IdleCompound

- type: htnCompound
id: GlockroachCompound
branches:
Expand Down

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty sure the Minor_Factions.xml got stuck in after syncing with one of the monolith updates. iv been working for a complete mothroach overhaul including moproach. will be aiming to PR that today and close this one down

Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<Document>
# Minor Factions

Minor factions are motivated groups who, over time, have earned a distinct reputation in the sector. While often acting as armed groups and dangerous in their own right, they often lack the strength or motivation to find themselves involved in direct conflict with either the [color=cyan]TSFMC[/color] or [color=gold]PDV[/color].
While the sector is filled with "Factions" there are some considered less prominent or influential on a large scale than others. These are aptly generalized as "Minor Factions." They consist of smaller groups or communities that have come to Colossus in search of their own respective reasons be it religion, money, or happenstance.

> The [color=yellow]USSP Remnants[/color] are a defeated but determined force, eroded to the point that the powers vying to control the sector no longer consider them a major threat.

> The [color=red]Viper Group[/color] are a band of professional operatives resembling the Gorlex Marauders of the corporate era, selling their services to whoever can meet their price.

These groups do not engage either the [color=cyan]TSFMC[/color] or [color=gold]PDV[/color] on sight, and find themselves acting on the same level as the many [color=green]Mercs[/color] of the sector.
</Document>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions Resources/Textures/Mobs/Animals/mothroach/moproach.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from fulpstation at https://github.com/fulpstation/fulpstation/commit/edb232b692ec9f356ec554ea1971da552b9bc447. 'mothroach-moving' by MilenVolf, all edited by lzk228",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "mothroach",
"directions": 4
},
{
"name": "mothroach-moving",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
]
]
},
{
"name": "mothroach_dead",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "0-equipped-HELMET",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading