Canes + Cane Blade for Syndicate Librarians (#25873)

* Cane + Cane Blade

* Add - type: ContainerContainer

* Add another - type: ContainerContainer

* Fix and add proper ContainerContainer component

* Add UserInterface component

* Remove Space

* Stat Changes

* review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 77d7c77f595bf7957da7b6c70ecb3dc6c74d4074)
This commit is contained in:
Ps3Moira 2024-04-27 03:22:10 -07:00 committed by null
parent 06b4ba7d20
commit e3721da175
No known key found for this signature in database
GPG Key ID: 212F05528FD678BE
19 changed files with 187 additions and 0 deletions

View File

@ -127,3 +127,10 @@
license: "CC0-1.0"
copyright: "Original sound by stomachache on freesound.org, processed by vanilla"
source: "https://freesound.org/s/262213/"
- files:
- "sheath.ogg"
- "unsheath.ogg"
license: "CC-BY-SA-3.0"
copyright: "Taken from tgstation."
source: "https://github.com/tgstation/tgstation/blob/a7f525bce9a359ab5282fc754078cd4b5678a006/sound/items"

Binary file not shown.

Binary file not shown.

View File

@ -287,6 +287,9 @@ uplink-disposable-turret-desc = Looks and functions like a normal electrical too
uplink-cluster-banana-peel-name = Cluster Banana
uplink-cluster-banana-peel-desc = Splits into 6 explosive banana peels after being thrown, the peels detonate automatically after 20 seconds if nobody slips on them.
uplink-cane-blade-name = Cane Blade
uplink-cane-blade-desc = A cane that has a hidden blade that can be unsheathed.
# Armor
uplink-chameleon-name = Chameleon Kit
uplink-chameleon-desc = A backpack full of items that contain chameleon technology allowing you to disguise as pretty much anything on the station, and more!

View File

@ -4,6 +4,7 @@
BooksBag: 2
BriefcaseBrown: 2
HandLabeler: 2
Cane: 3
ClothingEyesGlasses: 2
ClothingEyesGlassesJamjar: 2
ClothingNeckScarfStripedGreen: 2

View File

@ -1687,3 +1687,22 @@
- SeniorResearcher
- ResearchDirector
- Chef
- type: listing
id: UplinkCaneBlade
name: uplink-cane-blade-name
description: uplink-cane-blade-desc
icon: { sprite: Objects/Weapons/Melee/cane.rsi, state: cane}
productEntity: CaneSheathFilled
cost:
Telecrystal: 5
categories:
- UplinkJob
conditions:
- !type:BuyerJobCondition
whitelist:
- Librarian
- !type:BuyerWhitelistCondition
blacklist:
components:
- SurplusBundle

View File

@ -0,0 +1,97 @@
- type: entity
parent: BaseItem
id: Cane
name: cane
description: A wooden cane.
components:
- type: Sprite
sprite: Objects/Weapons/Melee/cane.rsi
state: cane
- type: Item
size: Normal
sprite: Objects/Weapons/Melee/cane.rsi
- type: Appearance
- type: MeleeWeapon
wideAnimationRotation: 45
damage:
types:
Blunt: 5
- type: StaminaDamageOnHit
damage: 5
- type: Wieldable
- type: IncreaseDamageOnWield
damage:
types:
Blunt: 3
- type: UseDelay
delay: 1
- type: entity
name: cane blade
parent: BaseItem
id: CaneBlade
description: A sharp blade with a cane shaped hilt.
components:
- type: Sharp
- type: Sprite
sprite: Objects/Weapons/Melee/cane_blade.rsi
state: icon
- type: MeleeWeapon
wideAnimationRotation: 65
attackRate: 1.5
damage:
types:
Slash: 14
soundHit:
path: /Audio/Weapons/bladeslice.ogg
- type: Item
size: Normal
sprite: Objects/Weapons/Melee/cane_blade.rsi
- type: Tag
tags:
- CaneBlade
- type: DisarmMalus
- type: entity
parent: Cane
id: CaneSheath
suffix: Empty
components:
- type: Sprite
sprite: Objects/Weapons/Melee/cane.rsi
state: cane-empty
- type: ContainerContainer
containers:
storagebase: !type:Container
ents: []
- type: UserInterface
interfaces:
- key: enum.StorageUiKey.Key
type: StorageBoundUserInterface
- type: ItemSlots
slots:
item:
name: CaneBlade
insertVerbText: sheath-insert-verb
ejectVerbText: sheath-eject-verb
whitelist:
tags:
- CaneBlade
insertSound: /Audio/Items/sheath.ogg
ejectSound: /Audio/Items/unsheath.ogg
- type: ItemMapper
mapLayers:
cane:
whitelist:
tags:
- CaneBlade
- type: entity
id: CaneSheathFilled
parent: CaneSheath
suffix: Filled
components:
- type: ContainerFill
containers:
item:
- CaneBlade

View File

@ -258,6 +258,9 @@
- type: Tag
id: CableCoil
- type: Tag
id: CaneBlade
- type: Tag
id: CannonBall
@ -1318,3 +1321,5 @@
- type: Tag
id: WriteIgnoreStamps
# ALPHABETICAL

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

View File

@ -0,0 +1,33 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprited by ps3moira#9488 on discord",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "cane-empty"
},
{
"name": "cane"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "wielded-inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "wielded-inhand-right",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 633 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

View File

@ -0,0 +1,22 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprited by ps3moira#9488 on discord",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "icon"
}
]
}