base.sh_base_food

Food Base Item.

The food base is an item which a bunch of helpers for handling edible items.

Functions

Food(hunger)

View source »

Mark this item as a food item, restoring a given amount of hunger.

Parameters

  • hunger

GetHungerRestoration()

View source »

Gets the amount of hunger this food restores.

SetHungerRestoration()

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

Sets the amount of hunger this food restores.

See Also

Tables

base_food

View source »
Incomplete

Documentation for this section is incomplete and needs expanding.

Fields

  • self fun(self:

    ): GetHungerRestoration integer Gets if this item can be picked up again.

  • self fun(self:

    ): GetHungerRestoration integer Gets if this item can be picked up again.

  • private restoreHunger

    integer