Fix registering item names
parent
381ea42c69
commit
e521288ef4
|
@ -6,7 +6,7 @@ local S = core.get_translator("shark")
|
|||
|
||||
local mobs = core.global_exists("mobs")
|
||||
|
||||
core.register_craftitem("shark:meat_raw", {
|
||||
core.register_craftitem(":shark:meat_raw", {
|
||||
description = S("Raw Shark Meat"),
|
||||
inventory_image = "shark_meat_raw.png",
|
||||
on_use = core.item_eat(4),
|
||||
|
@ -16,7 +16,7 @@ if not mobs then
|
|||
core.register_alias("mobs:shark_meat", "shark:meat_raw")
|
||||
end
|
||||
|
||||
core.register_craftitem("shark:meat_cooked", {
|
||||
core.register_craftitem(":shark:meat_cooked", {
|
||||
description = S("Cooked Shark Meat"),
|
||||
inventory_image = "shark_meat_cooked.png",
|
||||
on_use = core.item_eat(9),
|
||||
|
@ -25,7 +25,7 @@ if not mobs then
|
|||
core.register_alias("mobs:shark_meat_cooked", "shark:meat_cooked")
|
||||
end
|
||||
|
||||
core.register_craftitem("shark:tooth", {
|
||||
core.register_craftitem(":shark:tooth", {
|
||||
description = S("Shark Tooth"),
|
||||
inventory_image = "shark_tooth.png",
|
||||
})
|
||||
|
@ -33,7 +33,7 @@ if not mobs then
|
|||
core.register_alias("mobs:shark_tooth", "shark:tooth")
|
||||
end
|
||||
|
||||
core.register_craftitem("shark:skin", {
|
||||
core.register_craftitem(":shark:skin", {
|
||||
description = S("Shark Skin"),
|
||||
inventory_image = "shark_skin.png",
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue