diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/regalrat.yml b/Resources/Prototypes/Entities/Mobs/NPCs/regalrat.yml index 143c47d731..3f9eaeb25c 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/regalrat.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/regalrat.yml @@ -114,6 +114,35 @@ - type: MobPrice price: 2500 # rat wealth +- type: entity + id: MobRatKingBuff + parent: MobRatKing + suffix: Buff + components: + - type: Sprite + drawdepth: Mobs + sprite: Mobs/Animals/buffrat.rsi + scale: 1.2, 1.2 + layers: + - map: ["enum.DamageStateVisualLayers.Base"] + state: regalrat + - type: MobState + thresholds: + 0: Alive + 300: Critical + 350: Dead + - type: MeleeWeapon + range: 1.5 + arcwidth: 0 + arc: fist + damage: + types: + Blunt: 50 #oof ouch owie my bones + - type: SlowOnDamage + speedModifierThresholds: + 200: 0.7 + 250: 0.5 + - type: entity name: Rat Servant id: MobRatServant diff --git a/Resources/Textures/Mobs/Animals/buffrat.rsi/dead.png b/Resources/Textures/Mobs/Animals/buffrat.rsi/dead.png new file mode 100644 index 0000000000..1bbbc26524 Binary files /dev/null and b/Resources/Textures/Mobs/Animals/buffrat.rsi/dead.png differ diff --git a/Resources/Textures/Mobs/Animals/buffrat.rsi/icon.png b/Resources/Textures/Mobs/Animals/buffrat.rsi/icon.png new file mode 100644 index 0000000000..6914d1deed Binary files /dev/null and b/Resources/Textures/Mobs/Animals/buffrat.rsi/icon.png differ diff --git a/Resources/Textures/Mobs/Animals/buffrat.rsi/meta.json b/Resources/Textures/Mobs/Animals/buffrat.rsi/meta.json new file mode 100644 index 0000000000..41c6250280 --- /dev/null +++ b/Resources/Textures/Mobs/Animals/buffrat.rsi/meta.json @@ -0,0 +1,21 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-NC-SA-4.0", + "copyright": "Created by RamZ", + "states": [ + { + "name": "dead" + }, + { + "name": "icon" + }, + { + "name": "regalrat", + "directions": 4 + } + ] +} diff --git a/Resources/Textures/Mobs/Animals/buffrat.rsi/regalrat.png b/Resources/Textures/Mobs/Animals/buffrat.rsi/regalrat.png new file mode 100644 index 0000000000..7ae28d182c Binary files /dev/null and b/Resources/Textures/Mobs/Animals/buffrat.rsi/regalrat.png differ