Fix registering item names

master
Jordan Irwin 2021-05-05 15:54:30 -07:00
parent 381ea42c69
commit e521288ef4
1 changed files with 4 additions and 4 deletions

View File

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