diff --git a/Resources/Prototypes/_WH40K/Entities/Objects/Devices/spore_bomb.yml b/Resources/Prototypes/_WH40K/Entities/Objects/Devices/spore_bomb.yml new file mode 100644 index 00000000000..81532a53e91 --- /dev/null +++ b/Resources/Prototypes/_WH40K/Entities/Objects/Devices/spore_bomb.yml @@ -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 diff --git a/Resources/Prototypes/_WH40K/explosion.yml b/Resources/Prototypes/_WH40K/explosion.yml index 3c2d74f4d81..008905e5428 100644 --- a/Resources/Prototypes/_WH40K/explosion.yml +++ b/Resources/Prototypes/_WH40K/explosion.yml @@ -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 diff --git a/Resources/Textures/_WH40K/Mobs/spore_mine.rsi/base.png b/Resources/Textures/_WH40K/Mobs/spore_mine.rsi/base.png new file mode 100644 index 00000000000..07edcbd8c55 Binary files /dev/null and b/Resources/Textures/_WH40K/Mobs/spore_mine.rsi/base.png differ diff --git a/Resources/Textures/_WH40K/Mobs/spore_mine.rsi/dead.png b/Resources/Textures/_WH40K/Mobs/spore_mine.rsi/dead.png new file mode 100644 index 00000000000..5a1a2723f67 Binary files /dev/null and b/Resources/Textures/_WH40K/Mobs/spore_mine.rsi/dead.png differ diff --git a/Resources/Textures/_WH40K/Mobs/spore_mine.rsi/meta.json b/Resources/Textures/_WH40K/Mobs/spore_mine.rsi/meta.json new file mode 100644 index 00000000000..b1c6000672e --- /dev/null +++ b/Resources/Textures/_WH40K/Mobs/spore_mine.rsi/meta.json @@ -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" + } + ] +}