Example #1
0
        void Start()
        {
            base.OnStart();

                item         = DObjectList.getInstance().getItem("RawBread");

                cookTemplate = new ObjectCooked(this, item.resource.sounds["cook"], 7);
                zones        = new List<CookingZone>();
        }
Example #2
0
        void Start()
        {
            base.OnStart();

                item         = DObjectList.getInstance().getItem("AppleGreen");

                cookTemplate = new ObjectCooked(this, item.resource.sounds["cook"], 5);
                zones        = new List<CookingZone>();

             states.health = 1.0f;
        }