Shielding

Shield behavior now provides protection from damage at the expense of heat and energy usage
Weapon scripts check for the presence of a shield when detecting collisions (TODO: TEST ALL WEAPON TYPES)
Shields can be toggled on/off (G key)
Database cache now included in repo (saves some confusion)
This commit is contained in:
Reinier Vens 2021-03-06 01:04:26 +00:00
commit 8920b48977
19 changed files with 377 additions and 95 deletions

View file

@ -164,6 +164,14 @@
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "Toggle Shield",
"type": "Button",
"id": "5566504f-ee89-4eb9-9bbb-03f4b22dfe7d",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
}
],
"bindings": [
@ -573,6 +581,17 @@
"action": "EnterWormhole",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "d59fb542-6ac5-466d-a668-67fd8c890232",
"path": "<Keyboard>/#(G)",
"interactions": "",
"processors": "",
"groups": "",
"action": "Toggle Shield",
"isComposite": false,
"isPartOfComposite": false
}
]
},