Hello
When I use great spirit potion on floor and i click the pool to view it i get this message You see a pool of beer. I'm sure that it's not the message that i should get.
the same occurs with monsters, but not with health potions, it's strange. How to fix this?
This is my items.xml
}
This c++ at const.h
This does not happens with mana or health potions, but i noticed that corpses that drop blood display this
thanks
When I use great spirit potion on floor and i click the pool to view it i get this message You see a pool of beer. I'm sure that it's not the message that i should get.
the same occurs with monsters, but not with health potions, it's strange. How to fix this?
This is my items.xml
Lua:
<?xml version="1.0" encoding="iso-8859-1"?>
<items>
<item id="1" name="water" />
<item id="2" name="lifefluid" />
<item id="3" name="beer" />
<item id="4" name="slime" />
<item id="5" name="lemonade" />
<item id="6" name="milk" />
<item id="7" name="manafluid" />
<item id="10" name="blood" />
<item id="11" name="oil" />
<item id="13" name="urine" />
<item id="14" name="coconut milk" />
<item id="15" name="wine" />
<item id="19" name="mud" />
<item id="21" name="fruit juice" />
<item id="26" name="lava" />
<item id="27" name="rum" />
<item id="28" name="swamp" />
<item id="35" name="tea" />
<item id="43" name="mead" />
Code:
<item id="8472" article="a" name="great spirit potion">
<attribute key="weight" value="310" />
<attribute key="description" value="This potion can only be consumed by paladins of level 80 or higher." />
</item>
This c++ at const.h
Code:
enum FluidColors_t : uint8_t {
FLUID_EMPTY,
FLUID_BLUE,
FLUID_RED,
FLUID_BROWN,
FLUID_GREEN,
FLUID_YELLOW,
FLUID_WHITE,
FLUID_PURPLE,
};
enum FluidTypes_t : uint8_t {
FLUID_NONE = FLUID_EMPTY,
FLUID_WATER = FLUID_BLUE,
FLUID_BLOOD = FLUID_RED,
FLUID_BEER = FLUID_BROWN,
FLUID_SLIME = FLUID_GREEN,
FLUID_LEMONADE = FLUID_YELLOW,
FLUID_MILK = FLUID_WHITE,
FLUID_MANA = FLUID_PURPLE,
FLUID_LIFE = FLUID_RED + 8,
FLUID_OIL = FLUID_BROWN + 8,
FLUID_URINE = FLUID_YELLOW + 8,
FLUID_COCONUTMILK = FLUID_WHITE + 8,
FLUID_WINE = FLUID_PURPLE + 8,
FLUID_MUD = FLUID_BROWN + 16,
FLUID_FRUITJUICE = FLUID_YELLOW + 16,
FLUID_LAVA = FLUID_RED + 24,
FLUID_RUM = FLUID_BROWN + 24,
FLUID_SWAMP = FLUID_GREEN + 24,
FLUID_TEA = FLUID_BROWN + 32,
FLUID_MEAD = FLUID_BROWN + 40,
};
const uint8_t reverseFluidMap[] = {
FLUID_EMPTY,
FLUID_WATER,
FLUID_MANA,
FLUID_BEER,
FLUID_EMPTY,
FLUID_BLOOD,
FLUID_SLIME,
FLUID_EMPTY,
FLUID_LEMONADE,
FLUID_MILK,
};
const uint8_t clientToServerFluidMap[] = {
FLUID_EMPTY,
FLUID_WATER,
FLUID_MANA,
FLUID_BEER,
FLUID_MUD,
FLUID_BLOOD,
FLUID_SLIME,
FLUID_RUM,
FLUID_LEMONADE,
FLUID_MILK,
FLUID_WINE,
FLUID_LIFE,
FLUID_URINE,
FLUID_OIL,
FLUID_FRUITJUICE,
FLUID_COCONUTMILK,
FLUID_TEA,
FLUID_MEAD,
};
enum ClientFluidTypes_t : uint8_t {
CLIENTFLUID_EMPTY = 0,
CLIENTFLUID_BLUE = 1,
CLIENTFLUID_PURPLE = 2,
CLIENTFLUID_BROWN_1 = 3,
CLIENTFLUID_BROWN_2 = 4,
CLIENTFLUID_RED = 5,
CLIENTFLUID_GREEN = 6,
CLIENTFLUID_BROWN = 7,
CLIENTFLUID_YELLOW = 8,
CLIENTFLUID_WHITE = 9,
};
const uint8_t fluidMap[] = {
CLIENTFLUID_EMPTY,
CLIENTFLUID_BLUE,
CLIENTFLUID_RED,
CLIENTFLUID_BROWN_1,
CLIENTFLUID_GREEN,
CLIENTFLUID_YELLOW,
CLIENTFLUID_WHITE,
CLIENTFLUID_PURPLE,
};
This does not happens with mana or health potions, but i noticed that corpses that drop blood display this
Lua:
21:34 You see a pool of lifefluid.
Last edited: