From ebaa57133f482bc9e7125b785f17f32910b66837 Mon Sep 17 00:00:00 2001 From: paige404 <59348003+paige404@users.noreply.github.com> Date: Sat, 10 May 2025 07:11:09 -0400 Subject: [PATCH] Slime Crown (#1257) * Add slime crown, an admin-spawn artifact hat that makes all slimes friendly with the wearer. * Add slime crown sprites --- .../_CP14/Entities/Clothing/Head/head.yml | 31 ++++++++++++ .../_CP14/Entities/Mobs/NPC/Slimes/base.yml | 2 +- Resources/Prototypes/_CP14/ai_factions.yml | 12 +++++ .../Head/slime_crown.rsi/equipped-HELMET.png | Bin 0 -> 2490 bytes .../Clothing/Head/slime_crown.rsi/icon.png | Bin 0 -> 392 bytes .../Clothing/Head/slime_crown.rsi/meta.json | 44 ++++++++++++++++++ 6 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/_CP14/Entities/Clothing/Head/head.yml create mode 100644 Resources/Textures/_CP14/Clothing/Head/slime_crown.rsi/equipped-HELMET.png create mode 100644 Resources/Textures/_CP14/Clothing/Head/slime_crown.rsi/icon.png create mode 100644 Resources/Textures/_CP14/Clothing/Head/slime_crown.rsi/meta.json diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Head/head.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Head/head.yml new file mode 100644 index 0000000000..da6ea73ab5 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Head/head.yml @@ -0,0 +1,31 @@ +# Admeme spawn only for now +- type: entity + parent: CP14ClothingHeadBase + id: CP14ClothingHeadSlimeCrown + name: slime crown + description: Earl of Ooze. Grand Duke of Goo. Lord of the Slimes. + components: + - type: Sprite + sprite: _CP14/Clothing/Head/slime_crown.rsi + - type: Clothing + sprite: _CP14/Clothing/Head/slime_crown.rsi + - type: Armor + modifiers: + coefficients: + Blunt: 0.95 + Heat: 0.9 + Cold: 0.9 + Shock: 0.9 + Caustic: 0.9 + - type: FactionClothing + faction: CP14Slimes + - type: Storage + grid: + - 0,0,0,0 + - type: UserInterface + interfaces: + enum.StorageUiKey.Key: + type: StorageBoundUserInterface + - type: ContainerContainer + containers: + storagebase: !type:Container diff --git a/Resources/Prototypes/_CP14/Entities/Mobs/NPC/Slimes/base.yml b/Resources/Prototypes/_CP14/Entities/Mobs/NPC/Slimes/base.yml index c908b6fb6e..d0dc59409b 100644 --- a/Resources/Prototypes/_CP14/Entities/Mobs/NPC/Slimes/base.yml +++ b/Resources/Prototypes/_CP14/Entities/Mobs/NPC/Slimes/base.yml @@ -42,7 +42,7 @@ - MobLayer - type: NpcFactionMember factions: - - CP14Monster + - CP14Slimes - type: MovementSpeedModifier baseWalkSpeed: 1 baseSprintSpeed: 2 diff --git a/Resources/Prototypes/_CP14/ai_factions.yml b/Resources/Prototypes/_CP14/ai_factions.yml index 29bbcf894d..f8375b7f1d 100644 --- a/Resources/Prototypes/_CP14/ai_factions.yml +++ b/Resources/Prototypes/_CP14/ai_factions.yml @@ -6,6 +6,7 @@ - CP14HostileEveryone - CP14Monster - CP14Insects + - CP14Slimes - type: npcFaction id: CP14HostileEveryone @@ -15,6 +16,7 @@ - CP14PeacefulAnimals - CP14AggressiveAnimals - CP14Monster + - CP14Slimes - type: npcFaction id: CP14Undead @@ -37,6 +39,8 @@ - CP14Undead - CP14PeacefulAnimals - CP14Monster + - CP14Slimes + - CP14HostileEveryone - type: npcFaction id: CP14Monster @@ -52,3 +56,11 @@ - CP14Adventurers - CP14AggressiveAnimals - CP14PeacefulAnimals + +- type: npcFaction + id: CP14Slimes + hostile: + - CP14Adventurers + - CP14HostileEveryone + - CP14PeacefulAnimals + - CP14AggressiveAnimals diff --git a/Resources/Textures/_CP14/Clothing/Head/slime_crown.rsi/equipped-HELMET.png b/Resources/Textures/_CP14/Clothing/Head/slime_crown.rsi/equipped-HELMET.png new file mode 100644 index 0000000000000000000000000000000000000000..c1e624817cd56178ac1f882d33006e1e8de661e4 GIT binary patch literal 2490 zcmd6pXH*l07RMu7W}S~&h5;0nJO#>-;Q)bRiDgtoX(*#?BC;zGga=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c88QR=nOs98!lksA#Rx3 z@kD6pi$0rX<^WFwlkZ;aAd#bQ^%*9LU3aEKIdir4N1>g@$b|CIeG+bxQ?Kd}^67sg zvxqFGY4`;N-!g!2%%FesxK()|);gPMEj#Y+88a2GvW(NRH zyi23&mmz0pA3rE){gF?2s`>JdVK6J$Z>FJvz%Kk$4t#7627iMoE>R5zhC~c+h@%xN zjgk9!VpLc}m&2_S1qi;f225JGEX?Etgxy=y{%36X{=2av73GGQO`kYKTN-8$1v?Fxj z-oQ6{2%Er|KyFSjOq4CZ)RD{&nOcyr8;)wmzCR77xZ>>k{mxc#dG}7dY%CkzsJXK_ zOV^~h#^^O-mLa&OpHOOB*Md)Of6Km>!z?r9-FMu9;{~1U)NDSsoyGONvtY1epQsDl zNJ1c`JVTo7SI^HBJ!1ezJ7?R*i{2^!2J8M% A2><{9 literal 0 HcmV?d00001 diff --git a/Resources/Textures/_CP14/Clothing/Head/slime_crown.rsi/icon.png b/Resources/Textures/_CP14/Clothing/Head/slime_crown.rsi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..27a666dd306a935b5ebf4149478a990e113a0eec GIT binary patch literal 392 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA1|-9oezpTC&H|6fVg?3oArNM~bhqvg0|TR# zr;B4qhV$Di`~8?41=v0u4DNTjC?%Z3(Ro$WMQYuqO&gakQjV0CKkUAMK`5@Fjg5o9 zfw$2~$eR12#)LT!`2=lRE)oI_3@i!^j2sROOfcq~ zr4AnMSHtXr@0_izTXE;L#p?j8Dc$<%@^A0nkqHcR7hc5sM?Ah@mTukwzI`F5JEr}Z zIs4MZ7R6HLm_J|F`p!N2y1MGqvS0ht%*D=3vbp_l`KonuU%A@2IX?Q5cco&b=iF)q z(Ib}E-2K5GeCwkkA*MHvkq;ihxtpgbbOIE+1_o=o&&+pi(e<`_X_dlDx z-lK2p^55x?)Y7JXR`%T&HcBp2zO15G_jISp%yTPpW2TkVoVcWMq8ZaK%?IRz&J`DE TPqzO73|a