home » builders » builder's lessons » sample objects - drinks and food

Sample objects - drinks and food

Drinks

The skin below can hold up to 5 servings of liquid. It currently has 4 servings. It holds water that is not affected by a herb/component (NOT_POISONED) and after it is empty it will not junk. If you want the container to junk after drinking then set value4 to 0. When working out what material to make a drink, make it the material of the container rather than the liquid within.

#8033
travellers water skin waterskin~
{30}a travellers water skin~
{30}A travellers water skin leaks water onto the ground here. ~
~
ITEM_TYPE_DRINK_CON
0
CAN_WEAR_TAKE|CAN_WEAR_HOLD|CAN_WEAR_BELT
QUALITY_AVERAGE MATERIAL_LEATHER COND_PERFECT SIZE_MEDIUM
5 4 LIQ_WATER NOT_POISONED 1 0
E
travellers water skin~
Made of animal skin, it holds a good supply of water for
the hardy traveller.
~

The drink below is affected by a herb.

#11022
vial xorn saliva~
{30}a vial of xorn saliva~
{30}A vial of xorn saliva has been left here.~
~
ITEM_TYPE_DRINK_CON
0
CAN_WEAR_TAKE|CAN_WEAR_HOLD
QUALITY_AVERAGE MATERIAL_GLASS COND_PERFECT SIZE_MEDIUM
1 1 LIQ_WATER HERB_MONKSHOOD 0 0

Food

Value0 on food determines how many hours the food will fill the stomach for. When trying to work out this value, think about how long that food would last you if you were to eat it in real life before you got hungry again. For instance small items like an apple should only have a value0 of 1, and large hearty stews might be good for 4 hours. Anything higher than 4 hours should be rare or magical.

Value1 on food is a timer for how long the food lasts after it is bought. This value would be higher for preserved foods, and much lower for fresh foods. Once the timer is reached the food decays. Fresh food can last up to 6 hours without the aid of magic.

Value2 on food is used to set if the food is raw or cooked. If it is raw, then the PC can cook it. The default value of 0 is raw. Many foods in the game will show up as raw until all areas are revised with this new code.

Value3 on food sets the herb/component that the food might be affected by. A value of 0 or NOT_POISONED means the food is not affected by any herbs.

#8032
travellers rations~
{30}travellers rations~
{30}A packet of travellers rations is moulding on the ground here. ~
~
ITEM_TYPE_FOOD
0
CAN_WEAR_TAKE|CAN_WEAR_HOLD
QUALITY_AVERAGE MATERIAL_PLANT COND_PERFECT SIZE_MEDIUM
5 100 FOOD_COOKED NOT_POISONED 0 0
E
travellers rations packet~
Tightly bound in a waterproof hide, are some dried rations suitable
for the intrepid traveller.
~

The food below offers no nourishment at all, but it will affect the eater with a herbal affect.

#8594
powder caffe~
{80}some caffe powder~
{80}Some caffe powder lies here.~
~
ITEM_TYPE_FOOD
0
CAN_WEAR_TAKE|CAN_WEAR_HOLD
QUALITY_AVERAGE MATERIAL_PLANT COND_PERFECT SIZE_TINY
0 0 0 HERB_HENBANE 0 0