1
0
Fork 0

Added the ominous potion

potions_api_redo
the-real-herowl 2024-04-17 21:51:12 +02:00 committed by the-real-herowl
parent bbcf0f71fa
commit 33bd9c34c6
2 changed files with 22 additions and 0 deletions

View File

@ -713,6 +713,9 @@ mcl_potions.register_effect({
mcl_potions.register_effect({ mcl_potions.register_effect({
name = "bad_omen", name = "bad_omen",
description = S("Bad Omen"), description = S("Bad Omen"),
get_tt = function(factor)
return S("danger is imminent")
end,
particle_color = "#472331", particle_color = "#472331",
}) })

View File

@ -806,3 +806,22 @@ mcl_potions.register_potion({
has_arrow = true, 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,
})