20 lines
449 B
C#
20 lines
449 B
C#
using UnityEngine;
|
|
|
|
namespace BlueWater.Tycoons
|
|
{
|
|
public class FireWood : InteractionFurniture
|
|
{
|
|
[SerializeField]
|
|
private string _itemIdx = "70001";
|
|
|
|
public override void Interaction()
|
|
{
|
|
CurrentTycoonPlayer.CarryItem(_itemIdx);
|
|
}
|
|
|
|
public override bool CanInteraction()
|
|
{
|
|
return IsOpened && !CurrentTycoonPlayer.IsCarriedItem();
|
|
}
|
|
}
|
|
} |