Browse Source

Use the codermobs texture naming, not the animal_materials_ prefix nor the _meat substring (related to issue #537).

master
poikilos 3 years ago
parent
commit
730a1b075b
  1. 2
      Bucket_Game-branches/distinguish_meats-vs-211114a/mods/codermobs/codermobs/animal_materials.lua
  2. 3
      Bucket_Game-branches/distinguish_meats-vs-211114a/mods/codermobs/codermobs/ostrich.lua

2
Bucket_Game-branches/distinguish_meats-vs-211114a/mods/codermobs/codermobs/animal_materials.lua

@ -184,7 +184,7 @@ minetest.register_craftitem(":animal_materials:meat_toxic", {
minetest.register_craftitem(":animal_materials:meat_ostrich", { minetest.register_craftitem(":animal_materials:meat_ostrich", {
description = S("Raw Ostrich"), description = S("Raw Ostrich"),
image = "animal_materials_ostrich_meat_raw.png", image = "codermobs_ostrich_raw.png",
on_use = minetest.item_eat(3), on_use = minetest.item_eat(3),
groups = { food_meat_raw = 1, meat=1, eatable=1 }, groups = { food_meat_raw = 1, meat=1, eatable=1 },
stack_max=5 stack_max=5

3
Bucket_Game-branches/distinguish_meats-vs-211114a/mods/codermobs/codermobs/ostrich.lua

@ -63,8 +63,7 @@ local msname_raw = mcname .. "_raw"
local msname_img = mcname .. ".png" local msname_img = mcname .. ".png"
local msname_cooked_img = msname_cooked .. ".png" local msname_cooked_img = msname_cooked .. ".png"
-- local msname_raw_img = msname_raw .. ".png" local msname_raw_img = msname_raw .. ".png"
local msname_raw_img = "animal_materials_ostrich_meat_raw.png"
local msname_egg = mcname .. "_egg" local msname_egg = mcname .. "_egg"
local msname_egg_fried = msname_egg .. "_fried" local msname_egg_fried = msname_egg .. "_fried"

Loading…
Cancel
Save