29 lines
554 B
C#

using Newtonsoft.Json.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Assets.Scripts
{
public class Book : Item
{
public Book(int luck) : base(luck)
{
itemName = "The kings diary #1";
loadImage();
rarityColor = Color.white;
}
public Book(JToken json) : base(json)
{
}
override
protected void loadImage()
{
image = Resources.Load<Texture>("Items/Inv_Book");
}
}
}