mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 12:54:51 +00:00
20 lines
554 B
C#
20 lines
554 B
C#
|
using QSB.Player;
|
|||
|
using System.Linq;
|
|||
|
|
|||
|
namespace QSB.QuantumSync.WorldObjects
|
|||
|
{
|
|||
|
internal class QSBQuantumSkeletonTower : QSBQuantumObject<QuantumSkeletonTower>
|
|||
|
{
|
|||
|
public override void Init()
|
|||
|
{
|
|||
|
// smallest player id is the host
|
|||
|
ControllingPlayer = QSBPlayerManager.PlayerList.Min(x => x.PlayerId);
|
|||
|
base.Init();
|
|||
|
}
|
|||
|
|
|||
|
public override string ReturnLabel() => $"{base.ReturnLabel()}\n"
|
|||
|
+ $"{AttachedObject._index} {AttachedObject._waitForPlayerToLookAtTower}\n"
|
|||
|
+ $"{AttachedObject._waitForFlicker} {AttachedObject._flickering}";
|
|||
|
}
|
|||
|
}
|