Added the ominous potion
parent
bbcf0f71fa
commit
33bd9c34c6
|
@ -713,6 +713,9 @@ mcl_potions.register_effect({
|
|||
mcl_potions.register_effect({
|
||||
name = "bad_omen",
|
||||
description = S("Bad Omen"),
|
||||
get_tt = function(factor)
|
||||
return S("danger is imminent")
|
||||
end,
|
||||
particle_color = "#472331",
|
||||
})
|
||||
|
||||
|
|
|
@ -806,3 +806,22 @@ mcl_potions.register_potion({
|
|||
has_arrow = true,
|
||||
})
|
||||
|
||||
mcl_potions.register_potion({
|
||||
name = "ominous",
|
||||
desc_prefix = S("Ominous"),
|
||||
_tt = nil,
|
||||
_longdesc = S("Attracts danger."),
|
||||
image = table.concat({
|
||||
"(mcl_potions_potion_overlay.png^[colorize:red:100)",
|
||||
"^mcl_potions_splash_overlay.png^[colorize:black:100",
|
||||
"^mcl_potions_potion_bottle.png",
|
||||
}),
|
||||
_effect_list = {
|
||||
bad_omen = {
|
||||
dur = 6000,
|
||||
},
|
||||
},
|
||||
has_splash = false,
|
||||
has_lingering = false,
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue