Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Resources/Prototypes/_Omu/NTR/Catalog/ntr_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,18 @@
resetRestockOnPurchase: true
restockAfterPurchase: 300 #5 minutes so NTR can't spam them (Please dont make me add a stock limit, that would just be boring)

- type: listing
id: NTRCane
name: Nanotrasen Energy cane
description: A cane which acts as similiar to a stunbaton when powered.
productEntity: SpawnPodNTRCane
icon:
sprite: _Starlight/Objects/Weapons/Melee/cane_nt.rsi
state: icon
cost:
NTLoyaltyPoint: 10
categories:
- NTRpersonal
restockTime: 0
resetRestockOnPurchase: true
restockAfterPurchase: 1200 # 20min
8 changes: 8 additions & 0 deletions Resources/Prototypes/_Omu/NTR/Catalog/pods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- type: entity
id: SpawnPodNTRCane
categories: [ HideSpawnMenu ]
name: SpawnEnergyCane
parent: SpawnSupplyEmpty
components:
- type: SpawnOnDespawn
prototype: CaneNT
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
- type: entity
name: fancy cane
parent: [ BaseItem, BaseCentcommContraband ] # Omu, replace command with Centcomm contra
id: CaneNT
description: A cane with special engraving on it. It seems well suited for fending off assailants...
components:
- type: Sprite
sprite: _Starlight/Objects/Weapons/Melee/cane_nt.rsi
layers:
- state: cane-nt
map: [ "enum.ToggleableVisuals.Layer" ]
- type: Stunbaton
energyPerUse: 25
- type: ItemToggle
predictable: false
soundActivate:
collection: sparks
params:
variation: 0.250
soundDeactivate:
collection: sparks
params:
variation: 0.250
soundFailToActivate:
path: /Audio/Machines/button.ogg
params:
variation: 0.250
- type: ItemToggleMeleeWeapon
activatedDamage:
types:
Blunt: 0
- type: MeleeWeapon
wideAnimationRotation: -135
damage:
types:
Blunt: 10
bluntStaminaDamageFactor: 2.0
angle: 60
animation: WeaponArcSlash
- type: StaminaDamageOnHit
damage: 40
sound: /Audio/Weapons/egloves.ogg
- type: StaminaDamageOnCollide
damage: 40
sound: /Audio/Weapons/egloves.ogg
- type: LandAtCursor
- type: Battery
maxCharge: 1000
startingCharge: 1000
- type: UseDelay
- type: Item
heldPrefix: off
size: Normal
- type: DisarmMalus
malus: 0.300
- type: Appearance
- type: GenericVisualizer
visuals:
enum.ToggleableVisuals.Enabled:
enum.ToggleableVisuals.Layer:
True: {state: cane-nt-active}
False: {state: cane-nt}
- type: Riggable
- type: SolutionContainerManager
solutions:
battery:
maxVol: 5
- type: InjectableSolution
solution: battery
- type: DrawableSolution
solution: battery
# - type: MobilityAid
- type: Prying
speedModifier: 0.25
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4397d63a55dac7d0536eb9bcc0a0f68634858c50",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "cane-nt"
},
{
"name": "cane-nt-active",
"delays": [
[
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "off-inhand-left",
"directions": 4
},
{
"name": "off-inhand-right",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1
]
]
},
{
"name": "on-inhand-right",
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1
]
]
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading