Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@

- type: entity
id: WH40KTyranidSporeMine
parent: [SimpleSpaceMobBase, FlyingMobBase]
suffix: WH40K, Тираниды
name: spore mine
description: A floating biological bomb with animal-level intelligence and numerous sensory tentacles. It is full of toxic and corrosive chemicals, and will explode violently if it gets close to you.
components:
- type: Sprite
drawdepth: Mobs
noRot: false
sprite: _WH40K/Mobs/spore_mine.rsi
state: base
- type: NpcFactionMember
factions:
- Tyranids
- type: HTN
rootTask:
task: SimpleHostileCompound
- type: CombatMode
- type: MeleeWeapon
hidden: true
altDisarm: false
attackRate: 1.7
angle: 0
animation: WeaponArcBite
soundHit:
collection: GenestealerAttack
damage:
types:
Caustic: 1
- type: MobThresholds
thresholds:
0: Alive
25: Dead
- type: DamageOnHit
damage:
types:
Poison: 25
- type: TriggerOnMobstateChange
mobState:
- Dead
- type: ExplodeOnTrigger
- type: GibOnTrigger
- type: Explosive
explosionType: SporeBomb
totalIntensity: 90
intensitySlope: 45
maxIntensity: 10
canCreateVacuum: false
- type: AmbientSound
range: 10
volume: -10
sound:
path: /Audio/Ambience/Objects/portable_scrubber.ogg
16 changes: 16 additions & 0 deletions Resources/Prototypes/_WH40K/explosion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,19 @@
texturePath: /Textures/Effects/fire_greyscale.rsi
fireStates: 3
temperature: 1200

- type: explosion
id: SporeBomb
damagePerIntensity:
types:
Caustic: 10
Toxin: 5
Structural: 20
tileBreakChance: [0]
tileBreakIntensity: [0]
lightColor: Green
fireColor: Green
texturePath: /Textures/Effects/fire_greyscale.rsi
fireStates: 3
throwEntitiesOnExplosion: false
temperature: 300
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.
18 changes: 18 additions & 0 deletions Resources/Textures/_WH40K/Mobs/spore_mine.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made for WH14K project",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base",
"directions": 4
},
{
"name": "dead"
}
]
}
Loading