public override void OnTile(Unit unit) { if (obtainable != null && unit.Alliance == UnitAlliance.Party) { Confirm.Enable("Buy?", BuyFunction, CancelFunction); } }