diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/Roles/general.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/Roles/general.yml index a2fdcf5406..797b516336 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/Roles/general.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/Roles/general.yml @@ -174,6 +174,19 @@ - type: Clothing sprite: _CP14/Clothing/Cloak/Roles/General/aristocratic_cloak.rsi +- type: entity + parent: + - CP14ClothingCloakBase + - ClothingSlotBase + id: CP14ClothingCloakMaidArpon + name: maid's apron + description: Cleanliness, orderliness and obedience are the main traits of a good maid. + components: + - type: Sprite + sprite: _CP14/Clothing/Cloak/Roles/General/maid_apron.rsi + - type: Clothing + sprite: _CP14/Clothing/Cloak/Roles/General/maid_apron.rsi + - type: entity parent: CP14ClothingCloakBase id: CP14ClothingCloakHaori @@ -184,3 +197,4 @@ sprite: _CP14/Clothing/Cloak/Roles/General/haori.rsi - type: Clothing sprite: _CP14/Clothing/Cloak/Roles/General/haori.rsi + diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/magic_cloak.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/magic_cloak.yml new file mode 100644 index 0000000000..0a68ef57fe --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/magic_cloak.yml @@ -0,0 +1,40 @@ +- type: entity + parent: CP14ClothingCloakBase + id: CP14ClothingCloakLurkerCape + name: lurker cape + description: A cloak of Lurker leather, made by an unknown craftsman, which equalled the mythical creature's invisibility abilities. + categories: [ DoNotMap ] + suffix: Artifact + components: + - type: Sprite + sprite: _CP14/Clothing/Cloak/lurker_cape.rsi + - type: Clothing + sprite: _CP14/Clothing/Cloak/lurker_cape.rsi + - type: ItemToggle + onActivate: false + onUse: false + - type: ToggleClothing + action: CP14ActionToggleLurkerCape + disableOnUnequip: true + - type: ComponentToggler + parent: true + components: + - type: Stealth + minVisibility: 0.5 + lastVisibility: 0.5 + - type: StealthOnMove + passiveVisibilityRate: -0.5 + movementVisibilityRate: 0.5 + - type: UseDelay + delay: 3 + - type: StaticPrice + price: 400 + +- type: entity + id: CP14ActionToggleLurkerCape + parent: BaseAction + name: Lurker cape + description: Gives the cape wearer the invisibility of the mythical Lurker, but only if standing still. + components: + - type: InstantAction + event: !type:ToggleActionEvent diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/sort_later.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/sort_later.yml deleted file mode 100644 index 5b55f29c60..0000000000 --- a/Resources/Prototypes/_CP14/Entities/Clothing/Cloak/sort_later.yml +++ /dev/null @@ -1,12 +0,0 @@ -- type: entity - parent: - - CP14ClothingCloakBase - - ClothingSlotBase - id: CP14ClothingCloakMaidArpon - name: maid's apron - description: Cleanliness, orderliness and obedience are the main traits of a good maid. - components: - - type: Sprite - sprite: _CP14/Clothing/Cloak/Roles/General/maid_apron.rsi - - type: Clothing - sprite: _CP14/Clothing/Cloak/Roles/General/maid_apron.rsi diff --git a/Resources/Prototypes/_CP14/UniqueLoot/demiplane_loot.yml b/Resources/Prototypes/_CP14/UniqueLoot/demiplane_loot.yml index 6d3edafe51..49f49aa8b2 100644 --- a/Resources/Prototypes/_CP14/UniqueLoot/demiplane_loot.yml +++ b/Resources/Prototypes/_CP14/UniqueLoot/demiplane_loot.yml @@ -54,6 +54,12 @@ entity: CP14LockpickSkeletonArtifact tags: - CP14UniqueSpawnDemiplanetLoot + +- type: uniqueSpawn + id: CP14ClothingCloakLurkerCape + entity: CP14ClothingCloakLurkerCape + tags: + - CP14UniqueSpawnDemiplanetLoot - type: uniqueSpawn id: CP14SteelGobletBottomless diff --git a/Resources/Textures/_CP14/Clothing/Cloak/lurker_cape.rsi/equipped-CLOAK.png b/Resources/Textures/_CP14/Clothing/Cloak/lurker_cape.rsi/equipped-CLOAK.png new file mode 100644 index 0000000000..0571b5d904 Binary files /dev/null and b/Resources/Textures/_CP14/Clothing/Cloak/lurker_cape.rsi/equipped-CLOAK.png differ diff --git a/Resources/Textures/_CP14/Clothing/Cloak/lurker_cape.rsi/icon.png b/Resources/Textures/_CP14/Clothing/Cloak/lurker_cape.rsi/icon.png new file mode 100644 index 0000000000..0fe8218490 Binary files /dev/null and b/Resources/Textures/_CP14/Clothing/Cloak/lurker_cape.rsi/icon.png differ diff --git a/Resources/Textures/_CP14/Clothing/Cloak/lurker_cape.rsi/meta.json b/Resources/Textures/_CP14/Clothing/Cloak/lurker_cape.rsi/meta.json new file mode 100644 index 0000000000..bac73872e4 --- /dev/null +++ b/Resources/Textures/_CP14/Clothing/Cloak/lurker_cape.rsi/meta.json @@ -0,0 +1,18 @@ +{ + "version": 1, + "license": "All right reserved", + "copyright": "Created by creamy", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "equipped-CLOAK", + "directions": 4 + } + ] +}