From c9368c36af7ae726c3c8c5f2fecc2b8ad53c50c6 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 5 Aug 2023 04:38:11 +1000 Subject: [PATCH] Add laser raptors (#18660) --- .../Entities/Mobs/NPCs/miscellaneous.yml | 60 ++++++++++++++++++ .../Aliens/laser_raptor.rsi/laser_raptor.png | Bin 0 -> 2821 bytes .../laser_raptor.rsi/laser_raptor_dead.png | Bin 0 -> 802 bytes .../Mobs/Aliens/laser_raptor.rsi/meta.json | 18 ++++++ 4 files changed, 78 insertions(+) create mode 100644 Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml create mode 100644 Resources/Textures/Mobs/Aliens/laser_raptor.rsi/laser_raptor.png create mode 100644 Resources/Textures/Mobs/Aliens/laser_raptor.rsi/laser_raptor_dead.png create mode 100644 Resources/Textures/Mobs/Aliens/laser_raptor.rsi/meta.json diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml b/Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml new file mode 100644 index 0000000000..d19429f7a0 --- /dev/null +++ b/Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml @@ -0,0 +1,60 @@ +- type: entity + name: laser raptor + id: MobLaserRaptor + parent: SimpleMobBase + description: From the Viking age. + components: + - type: NpcFactionMember + factions: + - SimpleHostile + - type: HTN + rootTask: + task: SimpleRangedHostileCompound + - type: Sprite + drawdepth: Mobs + sprite: Mobs/Aliens/laser_raptor.rsi + layers: + - map: [ "enum.DamageStateVisualLayers.Base" ] + state: laser_raptor + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeCircle + radius: 0.30 + density: 80 + mask: + - MobMask + layer: + - MobLayer + - type: MobThresholds + thresholds: + 0: Alive + 100: Dead + - type: MovementSpeedModifier + baseWalkSpeed: 2 + baseSprintSpeed: 5 + - type: Tag + tags: + - FootstepSound + - type: HitscanBatteryAmmoProvider + proto: RedMediumLaser + fireCost: 50 + - type: BatterySelfRecharger + autoRecharge: true + autoRechargeRate: 50 + - type: Battery + maxCharge: 1000 + startingCharge: 1000 + - type: Gun + fireRate: 1 + useKey: false + selectedMode: SemiAuto + availableModes: + - SemiAuto + soundGunshot: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg + - type: CombatMode + - type: InteractionPopup + successChance: 0.5 + interactSuccessString: petting-success-slimes + interactFailureString: petting-failure-generic diff --git a/Resources/Textures/Mobs/Aliens/laser_raptor.rsi/laser_raptor.png b/Resources/Textures/Mobs/Aliens/laser_raptor.rsi/laser_raptor.png new file mode 100644 index 0000000000000000000000000000000000000000..de23f2d5363d9a40f767bf3e859b1fddb011722f GIT binary patch literal 2821 zcmV+g3;OhlP){0XQ1VD_IS5>>SQ^aUbQM`s;HhFR?0DoQm`SnDC$i8&jQBL=m9W!B7Ce zduv(7MChKK^F+K9MKRb*$Bzfz7}m#^J5>_}q+$6S;L)VHp&DYy>^cTSvi zPflHo4a~8-fRsP<`Wc&e`}Xbb@khUAabVfnX4n60k6mwnpv#>*I%GgR_Qdzyu3fwA zdS72(QGh^scth|f$VCxeu0wFa3b#-;_%CR3~ z8m+tlL5$H$8TfRrB{9W})uMfnx=wf6he*qN+difdX19WxhV zy&x8VFRfhUemJ?vb#`{TeShk9ocx~dIbZ-p5db{YwZTq?n?ADD_4fA88w3D=Kgw%6 z+qU&VS6Q{xO;4RSG4y?R_cQjJ`xu7^??n>$Hwf8g5nUr zbqFdL03z*I+nOx^vdsYiO5p`>-coA{Po10FhpU!V%mMPonK|oU9h+twigcyWMQytR zpki5tS(s0h6&SL*lxG^2zz>cLMaKj*cw792oP4SzsIbPsr|O%FE)qhwGy_^upRT?)fMGkUs!CED#R=x!18Hlz-~8ZghXIW3Aoy$j7pl z08DVfhK-$W<~P4g+oSQgBv!Of#Q^BT;et*=Ip!6zw$kI_D5g0 zpu%nd2oOvNPy|hl(a9_yMRSdn42u3Ji<^ts>U^ao6Q4lkwf-e2{E0mPAewDz2)^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