Files
LuaCsForBarotraumaEP/Barotrauma/BarotraumaShared/Source/Items/Components/ItemLabel.cs
T
2019-03-18 20:39:27 +02:00

15 lines
471 B
C#

namespace Barotrauma.Items.Components
{
partial class ItemLabel : ItemComponent, IDrawableComponent
{
public override void ReceiveSignal(int stepsTaken, string signal, Connection connection, Item source, Character sender, float power = 0, float signalStrength = 1)
{
switch (connection.Name)
{
case "set_text":
Text = signal;
break;
}
}
}
}