mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-29 04:37:31 +01:00
Added the ominous potion
This commit is contained in:
parent
70d8dfe558
commit
8f4d5d2e27
@ -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
Block a user