Table of Contents

Class EatableHandler

Namespace
Nautilus.Handlers
Assembly
Nautilus.dll
A handler class for modyfing the data of edible objects (objects with the Eatable component).
public static class EatableHandler
Inheritance
EatableHandler
Inherited Members

Methods

ModifyEatable(TechType, float, float, bool)

Use this to change the values of a specific TechType.
public static void ModifyEatable(TechType item, float food, float water, bool decomposes)

Parameters

item TechType
The TechType of the item you want to change.
food float
The food value you want to change it to.
water float
The water value you want to change it to.
decomposes bool
Whether or not the item decomposes over time