Add Different Styles for Instruments (#9250)
This commit is contained in:
@@ -18,6 +18,12 @@ public abstract class SharedInstrumentSystem : EntitySystem
|
||||
public virtual void EndRenderer(EntityUid uid, bool fromStateChange, SharedInstrumentComponent? instrument = null)
|
||||
{ }
|
||||
|
||||
public void SetInstrumentProgram(SharedInstrumentComponent component, byte program, byte bank)
|
||||
{
|
||||
component.InstrumentProgram = program;
|
||||
component.InstrumentBank = bank;
|
||||
}
|
||||
|
||||
private void OnGetState(EntityUid uid, SharedInstrumentComponent instrument, ref ComponentGetState args)
|
||||
{
|
||||
args.State =
|
||||
|
||||
Reference in New Issue
Block a user