1
0
Fork 0

Added the ominous potion

This commit is contained in:
the-real-herowl 2024-04-17 21:51:12 +02:00
parent 70d8dfe558
commit 8f4d5d2e27
2 changed files with 22 additions and 0 deletions

View File

@ -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",
})

View File

@ -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,
})