Difference between revisions of "ConsumeType"
Jump to navigation
Jump to search
(Created page with "{{code}} '''ConsumeType''' is a material flag that determines which monsters and NPCs can eat the material.<br> Do note that even though the flag all...") |
(No difference)
|
Latest revision as of 08:42, 23 March 2016
Coding: This article contains code which is for experienced users only, and may reveal game secrets
ConsumeType is a material flag that determines which monsters and NPCs can eat the material.
Do note that even though the flag allows the material to be eaten, this does not mean that the material is nutritious. It simply allows for it to be consumed, so that other flags such as AffectInside and NutritionValue can be used to cause certain things to occur when a character eats an item made of the material.
The player can eat (or drink) any material that falls under CT_FRUIT, CT_LIQUID, CT_MEAT and CT_PROCESSED.
There are currently 9 different consume types:
- CT_BONE
- Can be eaten only by canines such as puppies, blink dogs, jackals and wolves.
- CT_FRUIT
- CT_GAS
- CT_LIQUID
- CT_MEAT
- CT_METAL
- CT_MINERAL - rocks, stones
- CT_MISC_ORGANIC - organic things that aren't meat, such as hair, horns and leaves
- CT_PLASTIC - currently only kevlar
- CT_PROCESSED - processed food such as loaves of bread