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

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 844 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

View File

@@ -0,0 +1,195 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/Citadel-Station-13/Citadel-Station-13/commit/84223c65f5caf667a84f3c0f49bc2a41cdc6c4e3",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "riot-icon"
},
{
"name": "riot-inhand-right",
"directions": 4
},
{
"name": "riot-inhand-left",
"directions": 4
},
{
"name": "riot_laser-icon"
},
{
"name": "riot_laser-inhand-right",
"directions": 4
},
{
"name": "riot_laser-inhand-left",
"directions": 4
},
{
"name": "riot_bullet-icon"
},
{
"name": "riot_bullet-inhand-right",
"directions": 4
},
{
"name": "riot_bullet-inhand-left",
"directions": 4
},
{
"name": "ratvarian-icon"
},
{
"name": "ratvarian-inhand-right",
"directions": 4
},
{
"name": "ratvarian-inhand-left",
"directions": 4
},
{
"name": "mirror-icon",
"delays": [
[
0.5,
0.05,
0.1,
0.1
]
]
},
{
"name": "mirror-inhand-right",
"directions": 4,
"delays": [
[
0.5,
0.05,
0.1,
0.1
],
[
0.5,
0.05,
0.1,
0.1
],
[
0.5,
0.05,
0.1,
0.1
],
[
0.5,
0.05,
0.1,
0.1
]
]
},
{
"name": "mirror-inhand-left",
"directions": 4,
"delays": [
[
0.5,
0.05,
0.1,
0.1
],
[
0.5,
0.05,
0.1,
0.1
],
[
0.5,
0.05,
0.1,
0.1
],
[
0.5,
0.05,
0.1,
0.1
]
]
},
{
"name": "buckler-icon"
},
{
"name": "buckler-inhand-right",
"directions": 4
},
{
"name": "buckler-inhand-left",
"directions": 4
},
{
"name": "metal-icon"
},
{
"name": "metal-inhand-right",
"directions": 4
},
{
"name": "metal-inhand-left",
"directions": 4
},
{
"name": "makeshift-icon"
},
{
"name": "teleriot-icon"
},
{
"name": "teleriot-inhand-right",
"directions": 4
},
{
"name": "teleriot-inhand-left",
"directions": 4
},
{
"name": "teleriot-on"
},
{
"name": "teleriot-inhand-right-on",
"directions": 4
},
{
"name": "teleriot-inhand-left-on",
"directions": 4
},
{
"name": "eshield-icon"
},
{
"name": "eshield-inhand-right",
"directions": 4
},
{
"name": "eshield-inhand-left",
"directions": 4
},
{
"name": "eshield-on"
},
{
"name": "eshield-inhand-right-on",
"directions": 4
},
{
"name": "eshield1-inhand-left-on",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B