ITEM DRINKCON

From AddictHelp
Jump to navigation Jump to search
v0 = Max drink units it can hold
v1 = actual drink units it contains
v2 = Liquid Type
v3 = Poisoned (1 for TRUE, 0 for FALSE)

Liquid types are as follows:

              Type           nr.    Effect
                                    Drunkness   Fullness   Thirst
              LIQ_WATER      0       0          1           10
              LIQ_BEER       1       3          2            5
              LIQ_WINE       2       5          2            5
              LIQ_ALE        3       2          2            5
              LIQ_DARKALE    4       1          2            5
              LIQ_WHISKY     5       6          1            4
              LIQ_LEMONADE   6       0          1            8
              LIQ_FIREBRT    7      10          0            0
              LIQ_LOCALSPC   8       3          3            3
              LIQ_SLIME      9       0          4           -8
              LIQ_MILK       10      0          3            6
              LIQ_TEA        11      0          1            6
              LIQ_COFFE      12      0          1            6
              LIQ_BLOOD      13      0          2           -1
              LIQ_SALTWATER  14      0          1           -2
              LIQ_CLEARWATER 15      0          1            5

LIQ_DR_PEPPER 16 0 0 8 LIQ_SLURPEE 17 0 4 10 LIQ_SHAKE 18 0 4 10 LIQ_KLAVA 19 0 1 6

              LIQ_JUMP_JUICE 20     12          2            5
          The above values for drunkness/fullness/thirst are used per
          four "units" drunk. The values are expressed in HOURS!
          Example:
            Dragon empties a bottle (say 7 units) of saltwater.
            His Drunkness is not changed ((7/4)*0)
            His Fullness increases by ((7/4)*1) hours
            His Thirst increases by ((7/4)*-2) hours, thus making
               him More thirsty.
         The hours above are numbers between 0 and 24. 24 hours is
         maximum for drunkness/fullness/thirst. When hours are zero
         for any drunkness/fullness/thirst the person will be
         sober, hungry, or thirsty respectively.

See also: OEDIT, OSET, ITEM_TYPES