Blocking and Shields (#8584)

* Blocking

* Fixes Bodytype bug

* Blocking Damage Modifier

* Storing bodytype

* Consolidates Stop Blocking code

* Consolidates more methods

* Some cleanup, hitbox fix

* Shield Textures

* Passive blocking modifier check

* Localization, popups, and more cleanup

* Small cleanup

* Relay event

* Fixes a shutdown bug, adds specific containers and sets

* Popups and sounds

* Fixes typo

* Removes whitespace, adds comment

* Some requested changes

* Remove Shared

* Audio fix

* More changes

* More requested changes

* Properly remove on shutdown

* Adds riot shields to seclathes

* SecTech Riot shield

* Constant variable

* Relay transfer to user blocking system

* More destruction behavior

* Adds a shape field

* Riot shield cleanup

* More requested changes.

* Prevents blocking attempt where a user cannot be anchored

* Listen for anchor change

* Unused using cleanup

* More shields.

* Buckler

* Construction

* Linter fix
This commit is contained in:
keronshb
2022-07-04 02:31:12 -04:00
committed by GitHub
parent 22d228fd11
commit d65601f024
53 changed files with 981 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
- type: constructionGraph
id: MakeshiftShield
start: start
graph:
- node: start
edges:
- to: makeshiftShield
steps:
- material: Cable
amount: 15
doAfter: 2
- material: Steel
amount: 30
doAfter: 2
- node: makeshiftShield
entity: MakeshiftShield

View File

@@ -0,0 +1,24 @@
- type: constructionGraph
id: WoodenBuckler
start: start
graph:
- node: start
edges:
- to: woodenBuckler
steps:
- tag: Handcuffs
icon:
sprite: Objects/Misc/cablecuffs.rsi
state: cuff
color: red
name: cuffs
doAfter: 2
- material: WoodPlank
amount: 20
doAfter: 2
- material: Steel
amount: 10
doAfter: 2
- node: woodenBuckler
entity: WoodenBuckler

View File

@@ -31,3 +31,24 @@
icon: Objects/Weapons/Guns/Battery/makeshift.rsi/icon.png
objectType: Item
- type: construction
name: wooden buckler
id: WoodenBuckler
graph: WoodenBuckler
startNode: start
targetNode: woodenBuckler
category: Weapons
description: A nicely carved wooden shield!
icon: Objects/Weapons/Melee/shields.rsi/buckler-icon.png
objectType: Item
- type: construction
name: makeshift shield
id: MakeshiftShield
graph: MakeshiftShield
startNode: start
targetNode: makeshiftShield
category: Weapons
description: Crude and falling apart. Why would you make this?
icon: Objects/Weapons/Melee/shields.rsi/makeshift-icon.png
objectType: Item

View File

@@ -19,6 +19,17 @@
Steel: 300
Plastic: 300
- type: latheRecipe
id: RiotShield
icon:
sprite: Objects/Weapons/Melee/shields.rsi
state: riot-icon
result: RiotShield
completetime: 4
materials:
Steel: 400
Glass: 400
- type: latheRecipe
id: Flash
icon: