21 lines
541 B
C#
21 lines
541 B
C#
using UnityEngine;
|
|
|
|
namespace BlueWater.Tycoons
|
|
{
|
|
public class BeverageMachine : InteractionFurniture
|
|
{
|
|
[SerializeField]
|
|
private string _itemIdx = "40001";
|
|
|
|
public override void Interaction()
|
|
{
|
|
// TODO : 미니게임을 시작하고, 성공 여부에 따라 음식 품질 부여
|
|
CurrentTycoonPlayer.CarryItem(_itemIdx);
|
|
}
|
|
|
|
public override bool CanInteraction()
|
|
{
|
|
return !CurrentTycoonPlayer.IsCarriedItem();
|
|
}
|
|
}
|
|
} |