New belt controls (#1298)
* Work for a madman * God, that's a lot of hardcoding * Fixed belt2 smartequip and cleaned up * Continued clean up * No scope creep! * Replaced belt1 for upstream default belt * Moved CP14OpenSkillMenu to CP14ContentContexts * Changed naming of belt1 textures to just belt * Updated new belt1 refrences * I forgot to edit the RSI meta * fix all BELT1 Texture instance --------- Co-authored-by: Red <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
16
Content.Client/_CP14/Input/CP14ContentContexts.cs
Normal file
16
Content.Client/_CP14/Input/CP14ContentContexts.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Content.Shared._CP14.Input;
|
||||
using Robust.Shared.Input;
|
||||
|
||||
namespace Content.Client._CP14.Input
|
||||
{
|
||||
public static class CP14ContentContexts
|
||||
{
|
||||
public static void SetupContexts(IInputContextContainer contexts)
|
||||
{
|
||||
var human = contexts.GetContext("human");
|
||||
human.AddFunction(CP14ContentKeyFunctions.OpenBelt2);
|
||||
human.AddFunction(CP14ContentKeyFunctions.SmartEquipBelt2);
|
||||
human.AddFunction(CP14ContentKeyFunctions.CP14OpenSkillMenu);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user