2024-07-02 18:27:56 +00:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace BlueWater.Tycoons
|
|
|
|
{
|
|
|
|
public class BeverageMachine : InteractionFurniture
|
|
|
|
{
|
|
|
|
[SerializeField]
|
2024-08-22 10:39:15 +00:00
|
|
|
private string _itemIdx = "40001";
|
2024-07-02 18:27:56 +00:00
|
|
|
|
|
|
|
public override void Interaction()
|
|
|
|
{
|
2024-07-06 12:13:58 +00:00
|
|
|
// TODO : 미니게임을 시작하고, 성공 여부에 따라 음식 품질 부여
|
2024-07-20 11:32:54 +00:00
|
|
|
CurrentTycoonPlayer.CarryItem(_itemIdx);
|
2024-07-08 20:06:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public override bool CanInteraction()
|
|
|
|
{
|
|
|
|
return !CurrentTycoonPlayer.IsCarriedItem();
|
2024-07-02 18:27:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|