BUFF ITEMS

Integer.UsableItems = {
    ["repellent"] = {
        type = "repellent",
        duration = 20,
        prop = "bzzz_prop_tablets_magnesium",
        anim = {dict = 'mp_player_intdrink', name = 'loop_bottle'}
    },
    ["antigas"] = {
        type = "antigas",
        duration = 20,
        prop = "bzzz_prop_tablets_magnesium",
        anim = {dict = 'mp_player_intdrink', name = 'loop_bottle'}
    },
    ["antistress_food"] = {
        type = "stressf",
        duration = 20,
        prop = "bzzz_prop_tablets_magnesium",
        anim = {dict = 'mp_player_intdrink', name = 'loop_bottle'}
    },
    ["antistress_drink"] = {
        type = "stressd",
        duration = 20,
        prop = "bzzz_prop_tablets_magnesium",
        anim = {dict = 'mp_player_intdrink', name = 'loop_bottle'}
    },
    ["tisane"] = {
        type = "temperature",
        duration = 20,
        prop = "bzzz_prop_tablets_magnesium",
        anim = {dict = 'mp_player_intdrink', name = 'loop_bottle'}
    },
    ["shield"] = {
        type = "armor",
        duration = 20,
        prop = "bzzz_prop_tablets_magnesium",
        anim = {dict = 'mp_player_intdrink', name = 'loop_bottle'}
    },
    ["stamina"] = {
        type = "stamina",
        duration = 20,
        prop = "bzzz_prop_tablets_magnesium",
        anim = {dict = 'mp_player_intdrink', name = 'loop_bottle'}
    },

}

This is a list of "usable" items. Using these items will activate the buffs configured in "type." For each item, you can decide the duration (in seconds), the prop to use for the animation, and the animation variables. For now, the usable effects are:

  • Stress for food and drinks

  • Temperature increase

  • Shield increase

  • Stamina increase

  • Repellent (ONLY FOR HRS_ZOMBIES)

  • Antigas (ONLY FOR HRS_ZOMBIES)

If you use hrs_zombies, you can also configure items that manage repellent and gas mask effects.

Last updated