[ModAPI] Survival Kit has no exposed MyTerminalInterface to allow control modding

Merii shared this bug 21 hours ago
Submitted

This is not about an existing mod, this about the modapi itself.

Typically, a block has the following attribute on it to allow controls and actions to be attached to it:

[MyTerminalInterface(new Type[]
{
typeof(Sandbox.ModAPI.IMyAssembler),
typeof(Sandbox.ModAPI.Ingame.IMyAssembler)
})]
This allows modders to attach a new action or control with something like:

MyAPIGateway.TerminalControls.AddAction<IMyAssembler>(action);
The survival kit is missing this attribute. As such, there is no way to attach new controls or actions to the survival kit, which means the UI or actions of the survival kit cannot be modded.

Leave a Comment
 
Attach a file