stun prod (#17467)
* stunprod * update alphabetical correct, the battery charge is less, stamina damage is less (5 hits now), graph id fixed * update crafting has become more difficult * update makeshiftstunprod * remove netsync * Update meta.json * fix * remove bluntStaminaDamageFactor
@@ -30,6 +30,9 @@
|
||||
- type: SolutionContainerVisuals
|
||||
maxFillLevels: 6
|
||||
fillBaseName: fill
|
||||
- type: Tag
|
||||
tags:
|
||||
- DrinkSpaceGlue
|
||||
|
||||
- type: entity
|
||||
parent: DrinkBase
|
||||
@@ -62,4 +65,4 @@
|
||||
- type: SolutionContainerVisuals
|
||||
maxFillLevels: 6
|
||||
fillBaseName: fill
|
||||
- type: Lube
|
||||
- type: Lube
|
||||
@@ -27,6 +27,9 @@
|
||||
- type: MachinePart
|
||||
part: Capacitor
|
||||
rating: 1
|
||||
- type: Tag
|
||||
tags:
|
||||
- CapacitorStockPart
|
||||
|
||||
- type: entity
|
||||
id: MicroManipulatorStockPart
|
||||
|
||||
@@ -62,6 +62,9 @@
|
||||
- type: Battery
|
||||
maxCharge: 360
|
||||
startingCharge: 360
|
||||
- type: Tag
|
||||
tags:
|
||||
- PowerCellSmall
|
||||
|
||||
- type: entity
|
||||
id: PowerCellSmallPrinted
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
- type: entity
|
||||
name: stun prod
|
||||
parent: BaseItem
|
||||
id: Stunprod
|
||||
description: A stun prod for illegal incapacitation.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Weapons/Melee/stunprod.rsi
|
||||
layers:
|
||||
- state: stunprod_off
|
||||
map: [ "enum.ToggleVisuals.Layer" ]
|
||||
- type: Stunbaton
|
||||
energyPerUse: 70
|
||||
- type: MeleeWeapon
|
||||
damage:
|
||||
types:
|
||||
Blunt: 9
|
||||
angle: 60
|
||||
animation: WeaponArcThrust
|
||||
- type: StaminaDamageOnHit
|
||||
damage: 20
|
||||
- type: Battery
|
||||
maxCharge: 360
|
||||
startingCharge: 360
|
||||
- type: ItemCooldown
|
||||
- type: Item
|
||||
heldPrefix: off
|
||||
size: 100
|
||||
- type: Clothing
|
||||
sprite: Objects/Weapons/Melee/stunprod.rsi
|
||||
quickEquip: false
|
||||
slots:
|
||||
- back
|
||||
- type: DisarmMalus
|
||||
malus: 0.225
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.ToggleVisuals.Toggled:
|
||||
enum.ToggleVisuals.Layer:
|
||||
True: {state: stunprod_on}
|
||||
False: {state: stunprod_off}
|
||||
- type: StaticPrice
|
||||
price: 100
|
||||
- type: Construction
|
||||
graph: makeshiftstunprod
|
||||
node: msstunprod
|
||||
@@ -0,0 +1,31 @@
|
||||
- type: constructionGraph
|
||||
id: makeshiftstunprod
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: msstunprod
|
||||
steps:
|
||||
- material: MetalRod
|
||||
amount: 1
|
||||
- material: Cable
|
||||
amount: 15
|
||||
- tag: DrinkSpaceGlue
|
||||
name: Drink Space Glue
|
||||
icon:
|
||||
sprite: Objects/Consumable/Drinks/glue-tube.rsi
|
||||
state: icon
|
||||
- tag: PowerCellSmall
|
||||
name: Power Cell Small
|
||||
icon:
|
||||
sprite: Objects/Power/power_cells.rsi
|
||||
state: small
|
||||
- tag: CapacitorStockPart
|
||||
name: Capacitor Stock Part
|
||||
icon:
|
||||
sprite: Objects/Misc/stock_parts.rsi
|
||||
state: capacitor
|
||||
doAfter: 20
|
||||
- node: msstunprod
|
||||
entity: Stunprod
|
||||
|
||||
@@ -35,6 +35,17 @@
|
||||
icon: { sprite: Objects/Misc/cablecuffs.rsi, state: cuff }
|
||||
objectType: Item
|
||||
|
||||
- type: construction
|
||||
name: makeshift stunprod
|
||||
id: makeshiftstunprod
|
||||
graph: makeshiftstunprod
|
||||
startNode: start
|
||||
targetNode: msstunprod
|
||||
category: construction-category-weapons
|
||||
description: "Homemade stunprod."
|
||||
icon: { sprite: Objects/Weapons/Melee/stunprod.rsi, state: stunprod_off }
|
||||
objectType: Item
|
||||
|
||||
- type: construction
|
||||
name: muzzle
|
||||
id: muzzle
|
||||
|
||||
@@ -97,6 +97,9 @@
|
||||
- type: Tag
|
||||
id: CableCoil
|
||||
|
||||
- type: Tag
|
||||
id: CapacitorStockPart
|
||||
|
||||
- type: Tag
|
||||
id: Carrot
|
||||
|
||||
@@ -275,6 +278,9 @@
|
||||
- type: Tag
|
||||
id: Donut
|
||||
|
||||
- type: Tag
|
||||
id: DrinkSpaceGlue
|
||||
|
||||
- type: Tag
|
||||
id: DroneUsable
|
||||
|
||||
@@ -663,6 +669,9 @@
|
||||
id: PlushieGhost
|
||||
|
||||
|
||||
- type: Tag
|
||||
id: PowerCellSmall
|
||||
|
||||
- type: Tag
|
||||
id: Powerdrill
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 356 B |
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Sprite by https://github.com/noudoit",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "stunprod_off"
|
||||
},
|
||||
{
|
||||
"name": "stunprod_nocell"
|
||||
},
|
||||
{
|
||||
"name": "stunprod_on",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "equipped-BACKPACK",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"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
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "on-inhand-right",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 476 B |
|
After Width: | Height: | Size: 477 B |
|
After Width: | Height: | Size: 631 B |
|
After Width: | Height: | Size: 640 B |
|
After Width: | Height: | Size: 191 B |
|
After Width: | Height: | Size: 227 B |
|
After Width: | Height: | Size: 292 B |