all repos — RPG @ 5ec8a78dde387284a445b93ea73f4a6a14b5e1e6

Fully functional 3D turn based role playing game coded in C# and base Unity.

Assets/Scripts/Utility/Inventory/Items/BottledMiracle.cs (view raw)

 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5[System.Serializable]
 6public class BottledMiracle : Item
 7{
 8    public BottledMiracle()
 9    {
10        name = "Miracle in a bottle";
11        price = 350;
12        effect = new ReviveFull();
13        consumable = true;
14        description = "Somebody managed to fit a whole miracle inside this bottle.";
15    }
16}