Content PR for YAML hot reloading (#3319)

* Content PR for YAML hot reloading

* Add CanAdminReloadPrototypes (host permission)

* IndexedPrototype fixes
This commit is contained in:
DrSmugleaf
2021-02-20 00:05:24 +01:00
committed by GitHub
parent 0ae4a6792f
commit 3e702723fd
42 changed files with 95 additions and 54 deletions

View File

@@ -12,10 +12,12 @@ namespace Content.Tests.Shared.Alert
{
const string PROTOTYPES = @"
- type: alert
name: AlertLowPressure
alertType: LowPressure
icon: /Textures/Interface/Alerts/Pressure/lowpressure.png
- type: alert
name: AlertHighPressure
alertType: HighPressure
icon: /Textures/Interface/Alerts/Pressure/highpressure.png
";

View File

@@ -23,39 +23,49 @@ namespace Content.Tests.Shared.Alert
- category: Temperature
- type: alert
name: AlertLowPressure
category: Pressure
alertType: LowPressure
- type: alert
name: AlertOverfed
category: Hunger
alertType: Overfed
- type: alert
name: AlertHighPressure
category: Pressure
alertType: HighPressure
- type: alert
name: AlertPeckish
category: Hunger
alertType: Peckish
- type: alert
name: AlertStun
alertType: Stun
- type: alert
name: AlertHandcuffed
alertType: Handcuffed
- type: alert
name: AlertHot
category: Temperature
alertType: Hot
- type: alert
name: AlertCold
category: Temperature
alertType: Cold
- type: alert
name: AlertWeightless
alertType: Weightless
- type: alert
name: AlertPilotingShuttle
alertType: PilotingShuttle
";