Lurker cape (#1455)

* lurker cape

* UseDelay

* del useDelay

* onUse

* fix
This commit is contained in:
Nim
2025-08-08 00:12:36 +03:00
committed by GitHub
parent 616de88ff8
commit ec7c84cc90
7 changed files with 78 additions and 12 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -54,6 +54,12 @@
entity: CP14LockpickSkeletonArtifact
tags:
- CP14UniqueSpawnDemiplanetLoot
- type: uniqueSpawn
id: CP14ClothingCloakLurkerCape
entity: CP14ClothingCloakLurkerCape
tags:
- CP14UniqueSpawnDemiplanetLoot
- type: uniqueSpawn
id: CP14SteelGobletBottomless

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 B

View File

@@ -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
}
]
}