use proper colors
This commit is contained in:
parent
e11941c107
commit
e2adead700
|
@ -495,7 +495,7 @@ minetest.register_craftitem("mcl_fishing:clownfish_raw", {
|
||||||
|
|
||||||
minetest.register_craftitem("mcl_fishing:pufferfish_raw", {
|
minetest.register_craftitem("mcl_fishing:pufferfish_raw", {
|
||||||
description = S("Pufferfish"),
|
description = S("Pufferfish"),
|
||||||
_tt_help = minetest.colorize("#FFFF00", S("Very poisonous")),
|
_tt_help = minetest.colorize(mcl_colors.YELLOW, S("Very poisonous")),
|
||||||
_doc_items_longdesc = S("Pufferfish are a common species of fish and can be obtained by fishing. They can technically be eaten, but they are very bad for humans. Eating a pufferfish only restores 1 hunger point and will poison you very badly (which drains your health non-fatally) and causes serious food poisoning (which increases your hunger)."),
|
_doc_items_longdesc = S("Pufferfish are a common species of fish and can be obtained by fishing. They can technically be eaten, but they are very bad for humans. Eating a pufferfish only restores 1 hunger point and will poison you very badly (which drains your health non-fatally) and causes serious food poisoning (which increases your hunger)."),
|
||||||
inventory_image = "mcl_fishing_pufferfish_raw.png",
|
inventory_image = "mcl_fishing_pufferfish_raw.png",
|
||||||
on_place = minetest.item_eat(1),
|
on_place = minetest.item_eat(1),
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
name = mcl_fishing
|
name = mcl_fishing
|
||||||
description = Adds fish and fishing poles to go fishing.
|
description = Adds fish and fishing poles to go fishing.
|
||||||
depends = mcl_core, mcl_sounds, mcl_loot, mcl_mobs, mcl_enchanting, mcl_throwing
|
depends = mcl_core, mcl_sounds, mcl_loot, mcl_mobs, mcl_enchanting, mcl_throwing, mcl_colors
|
||||||
|
|
|
@ -320,7 +320,7 @@ minetest.register_craftitem("mcl_throwing:egg", {
|
||||||
-- Ender Pearl
|
-- Ender Pearl
|
||||||
minetest.register_craftitem("mcl_throwing:ender_pearl", {
|
minetest.register_craftitem("mcl_throwing:ender_pearl", {
|
||||||
description = S("Ender Pearl"),
|
description = S("Ender Pearl"),
|
||||||
_tt_help = S("Throwable").."\n"..minetest.colorize("#FFFF00", S("Teleports you on impact for cost of 5 HP")),
|
_tt_help = S("Throwable").."\n"..minetest.colorize(mcl_colors.YELLOW, S("Teleports you on impact for cost of 5 HP")),
|
||||||
_doc_items_longdesc = S("An ender pearl is an item which can be used for teleportation at the cost of health. It can be thrown and teleport the thrower to its impact location when it hits a solid block or a plant. Each teleportation hurts the user by 5 hit points."),
|
_doc_items_longdesc = S("An ender pearl is an item which can be used for teleportation at the cost of health. It can be thrown and teleport the thrower to its impact location when it hits a solid block or a plant. Each teleportation hurts the user by 5 hit points."),
|
||||||
_doc_items_usagehelp = how_to_throw,
|
_doc_items_usagehelp = how_to_throw,
|
||||||
wield_image = "mcl_throwing_ender_pearl.png",
|
wield_image = "mcl_throwing_ender_pearl.png",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user