* - tweak: Tweak chaplain weapons damage.

* - tweak: Stunprod stamina damage tweak.

* - tweak: Tweak web vest.

* - tweak: WarOps gaming.

* - tweak: Less random damage on heavy attack.

* - tweak: Less jammer cost.

* - tweak: Rigged gloves tweak.

* - tweak: Stunprod craft tweaks.

* - tweak: More stuff in vendomat.
This commit is contained in:
Aviu00
2024-03-04 16:02:16 +09:00
committed by GitHub
parent 4b7d12051c
commit 1ffb5181be
14 changed files with 85 additions and 48 deletions

View File

@@ -90,7 +90,7 @@ public sealed partial class NukeopsRuleComponent : Component
/// This amount of TC will be given to each nukie /// This amount of TC will be given to each nukie
/// </summary> /// </summary>
[DataField] [DataField]
public int WarTCAmountPerNukie = 20; public int WarTCAmountPerNukie = 30;
/// <summary> /// <summary>
/// Time allowed for declaration of war /// Time allowed for declaration of war

View File

@@ -21,6 +21,8 @@ public sealed class RandomDamageSystem : EntitySystem
private void HandleHit(Entity<RandomDamageComponent> ent, ref MeleeHitEvent args) private void HandleHit(Entity<RandomDamageComponent> ent, ref MeleeHitEvent args)
{ {
var damage = _random.NextFloat() * ent.Comp.Max; var damage = _random.NextFloat() * ent.Comp.Max;
if (args.Direction != null) // Heavy attack
damage *= 0.7f;
args.BonusDamage = new DamageSpecifier(_prototypeManager.Index<DamageTypePrototype>("Slash"), damage); args.BonusDamage = new DamageSpecifier(_prototypeManager.Index<DamageTypePrototype>("Slash"), damage);
} }
} }

View File

@@ -1,8 +1,8 @@
- type: vendingMachineInventory - type: vendingMachineInventory
id: VendomatInventory id: VendomatInventory
startingInventory: startingInventory:
RemoteSignaller: 1 RemoteSignaller: 4
Igniter: 2 Igniter: 5
Wirecutter: 1 Wirecutter: 1
CableApcStack: 2 CableApcStack: 2
FlashlightLantern: 2 FlashlightLantern: 2

View File

@@ -578,7 +578,7 @@
description: uplink-radio-jammer-desc description: uplink-radio-jammer-desc
productEntity: RadioJammer productEntity: RadioJammer
cost: cost:
Telecrystal: 4 Telecrystal: 2
categories: categories:
- UplinkUtility - UplinkUtility

View File

@@ -83,12 +83,12 @@
suffix: Rigged suffix: Rigged
components: components:
- type: StaminaDamageOnHit - type: StaminaDamageOnHit
damage: 25 damage: 30
- type: MeleeWeapon - type: MeleeWeapon
attackRate: 1.4 attackRate: 1.5
damage: damage:
types: types:
Blunt: 8 Blunt: 10
bluntStaminaDamageFactor: 0.0 # so blunt doesn't deal stamina damage at all bluntStaminaDamageFactor: 0.0 # so blunt doesn't deal stamina damage at all
- type: entity - type: entity

View File

@@ -14,8 +14,8 @@
coefficients: coefficients:
Blunt: 0.6 #ballistic plates = better protection Blunt: 0.6 #ballistic plates = better protection
Slash: 0.6 Slash: 0.6
Piercing: 0.3 Piercing: 0.4
Heat: 0.9 Heat: 0.8
- type: ExplosionResistance - type: ExplosionResistance
damageCoefficient: 0.9 damageCoefficient: 0.9

View File

@@ -127,10 +127,6 @@
- ItemMask - ItemMask
restitution: 0.3 restitution: 0.3
friction: 0.2 friction: 0.2
- type: Construction
deconstructionTarget: null
graph: StunprodGraph
node: rod
- type: entity - type: entity
parent: PartRodMetal parent: PartRodMetal

View File

@@ -50,8 +50,9 @@
startBreakoutSound: startBreakoutSound:
path: /Audio/Items/Handcuffs/rope_takeoff.ogg path: /Audio/Items/Handcuffs/rope_takeoff.ogg
- type: Construction - type: Construction
graph: makeshifthandcuffs deconstructionTarget: cuffs
node: cuffscable graph: StunprodGraph
node: cuffs
- type: Item - type: Item
inhandVisuals: inhandVisuals:
left: left:

View File

@@ -36,10 +36,10 @@
angle: 0 angle: 0
animation: WeaponArcThrust animation: WeaponArcThrust
- type: StaminaDamageOnHit - type: StaminaDamageOnHit
damage: 30 damage: 40
sound: /Audio/Weapons/egloves.ogg sound: /Audio/Weapons/egloves.ogg
- type: StaminaDamageOnCollide - type: StaminaDamageOnCollide
damage: 30 damage: 40
sound: /Audio/Weapons/egloves.ogg sound: /Audio/Weapons/egloves.ogg
- type: UseDelay - type: UseDelay
- type: Item - type: Item
@@ -72,6 +72,6 @@
containers: containers:
cell_slot: !type:ContainerSlot {} cell_slot: !type:ContainerSlot {}
- type: Construction - type: Construction
deconstructionTarget: rod deconstructionTarget: cuffs
graph: StunprodGraph graph: StunprodGraph
node: stunprod node: stunprod

View File

@@ -28,4 +28,29 @@
# doAfter: 20 # doAfter: 20
# - node: msstunprod # - node: msstunprod
# entity: Stunprod # entity: Stunprod
#
- type: constructionGraph
id: makeshiftstunprod
start: start
graph:
- node: start
edges:
- to: msstunprod
steps:
- material: MetalRod
amount: 1
- material: Cable
amount: 15
- tag: Igniter
name: Igniter
icon:
sprite: Objects/Devices/igniter.rsi
state: icon
- tag: CapacitorStockPart
name: Capacitor Stock Part
icon:
sprite: Objects/Misc/stock_parts.rsi
state: capacitor
doAfter: 20
- node: msstunprod
entity: Stunprod

View File

@@ -35,16 +35,16 @@
icon: { sprite: Objects/Misc/cablecuffs.rsi, state: cuff } icon: { sprite: Objects/Misc/cablecuffs.rsi, state: cuff }
objectType: Item objectType: Item
#- type: construction - type: construction
# name: makeshift stunprod name: makeshift stunprod
# id: makeshiftstunprod id: makeshiftstunprod
# graph: makeshiftstunprod graph: makeshiftstunprod
# startNode: start startNode: start
# targetNode: msstunprod targetNode: msstunprod
# category: construction-category-weapons category: construction-category-weapons
# description: "Homemade stunprod." description: "Homemade stunprod."
# icon: { sprite: Objects/Weapons/Melee/stunprod.rsi, state: stunprod_off } icon: { sprite: Objects/Weapons/Melee/stunprod.rsi, state: stunprod_off }
# objectType: Item objectType: Item
- type: construction - type: construction
name: muzzle name: muzzle

View File

@@ -177,7 +177,7 @@
ignoreResistances: true ignoreResistances: true
damage: damage:
types: types:
Slash: 27 Slash: 24
- type: Clothing - type: Clothing
sprite: White/Objects/Weapons/Chaplain/scythe.rsi sprite: White/Objects/Weapons/Chaplain/scythe.rsi
slots: slots:
@@ -335,7 +335,7 @@
- type: IncreaseDamageOnWield - type: IncreaseDamageOnWield
damage: damage:
types: types:
Blunt: 10 Blunt: 8
- type: UseDelay - type: UseDelay
- type: DisarmMalus - type: DisarmMalus
- type: MeleeBlock - type: MeleeBlock
@@ -393,7 +393,7 @@
- type: IncreaseDamageOnWield - type: IncreaseDamageOnWield
damage: damage:
types: types:
Piercing: 10 Piercing: 9
- type: UseDelay - type: UseDelay
- type: DisarmMalus - type: DisarmMalus
@@ -433,13 +433,12 @@
state: icon state: icon
- type: MeleeWeapon - type: MeleeWeapon
wideAnimationRotation: -135 wideAnimationRotation: -135
attackRate: 0.75
canHeavyAttack: false canHeavyAttack: false
damage: damage:
types: types:
Blunt: 0 Blunt: 0
- type: StaminaDamageOnHit - type: StaminaDamageOnHit
damage: 60 damage: 40
- type: Item - type: Item
size: Normal size: Normal
sprite: White/Objects/Weapons/Chaplain/hypertool.rsi sprite: White/Objects/Weapons/Chaplain/hypertool.rsi

View File

@@ -35,10 +35,10 @@
angle: 0 angle: 0
animation: WeaponArcThrust animation: WeaponArcThrust
- type: StaminaDamageOnHit - type: StaminaDamageOnHit
damage: 30 damage: 40
sound: /Audio/Weapons/egloves.ogg sound: /Audio/Weapons/egloves.ogg
- type: StaminaDamageOnCollide - type: StaminaDamageOnCollide
damage: 30 damage: 40
sound: /Audio/Weapons/egloves.ogg sound: /Audio/Weapons/egloves.ogg
- type: UseDelay - type: UseDelay
- type: Item - type: Item
@@ -72,7 +72,7 @@
- type: Stunprod - type: Stunprod
hasHeldPrefix: false hasHeldPrefix: false
- type: Construction - type: Construction
deconstructionTarget: rod deconstructionTarget: cuffs
graph: StunprodGraph graph: StunprodGraph
node: snatcherprod node: snatcherprod
@@ -88,6 +88,6 @@
- type: Item - type: Item
size: Normal size: Normal
- type: Construction - type: Construction
deconstructionTarget: rod deconstructionTarget: cuffs
graph: StunprodGraph graph: StunprodGraph
node: unfinished node: unfinished

View File

@@ -68,15 +68,14 @@
- type: constructionGraph - type: constructionGraph
id: StunprodGraph id: StunprodGraph
start: rod start: cuffs
graph: graph:
- node: rod - node: cuffs
entity: PartRodMetal1
edges: edges:
- to: unfinished - to: unfinished
steps: steps:
- material: Cable - material: MetalRod
amount: 15 amount: 1
doAfter: 1 doAfter: 1
- node: unfinished - node: unfinished
entity: ProdUnfinished entity: ProdUnfinished
@@ -84,10 +83,14 @@
- to: Igniter - to: Igniter
steps: steps:
- tag: Igniter - tag: Igniter
- to: rod - to: cuffs
steps: steps:
- tool: Cutting - tool: Cutting
doAfter: 5 doAfter: 5
completed:
- !type:SpawnPrototype
prototype: PartRodMetal1
- !type:DeleteEntity
- node: Igniter - node: Igniter
edges: edges:
- to: snatcherprod - to: snatcherprod
@@ -95,38 +98,49 @@
- material: Telecrystal - material: Telecrystal
- to: stunprod - to: stunprod
steps: steps:
- tag: PowerCell - tag: CapacitorStockPart
- to: rod - to: cuffs
steps: steps:
- tool: Cutting - tool: Cutting
doAfter: 5 doAfter: 5
completed: completed:
- !type:SpawnPrototype
prototype: PartRodMetal1
- !type:SpawnPrototype - !type:SpawnPrototype
prototype: Igniter prototype: Igniter
- !type:DeleteEntity
- node: snatcherprod - node: snatcherprod
entity: Snatcherprod entity: Snatcherprod
edges: edges:
- to: rod - to: cuffs
steps: steps:
- tool: Cutting - tool: Cutting
doAfter: 5 doAfter: 5
completed: completed:
- !type:SpawnPrototype - !type:SpawnPrototype
prototype: Telecrystal1 prototype: Telecrystal1
- !type:SpawnPrototype
prototype: PartRodMetal1
- !type:SpawnPrototype - !type:SpawnPrototype
prototype: Igniter prototype: Igniter
- !type:EmptyAllContainers - !type:EmptyAllContainers
- !type:DeleteEntity
- node: stunprod - node: stunprod
entity: Stunprod entity: Stunprod
edges: edges:
- to: rod - to: cuffs
steps: steps:
- tool: Cutting - tool: Cutting
doAfter: 5 doAfter: 5
completed: completed:
- !type:SpawnPrototype
prototype: CapacitorStockPart
- !type:SpawnPrototype
prototype: PartRodMetal1
- !type:SpawnPrototype - !type:SpawnPrototype
prototype: Igniter prototype: Igniter
- !type:EmptyAllContainers - !type:EmptyAllContainers
- !type:DeleteEntity
- type: constructionGraph - type: constructionGraph
id: ChainsawGraph id: ChainsawGraph