replace meatblock textures with own, add raw meatblock
29
crafts.lua
@ -358,7 +358,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
end)
|
||||
|
||||
|
||||
-- Meat Block (thanks to painterlypack.net for allowing me to use these textures)
|
||||
-- Meat Block
|
||||
minetest.register_node("mobs:meatblock", {
|
||||
description = S("Meat Block"),
|
||||
tiles = {"mobs_meat_top.png", "mobs_meat_bottom.png", "mobs_meat_side.png"},
|
||||
@ -377,3 +377,30 @@ minetest.register_craft({
|
||||
{"group:food_meat", "group:food_meat", "group:food_meat"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Meat Block (raw)
|
||||
minetest.register_node("mobs:meatblock_raw", {
|
||||
description = S("Raw Meat Block"),
|
||||
tiles = {"mobs_meat_raw_top.png", "mobs_meat_raw_bottom.png", "mobs_meat_raw_side.png"},
|
||||
paramtype2 = "facedir",
|
||||
groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
sounds = mod_def and default.node_sound_leaves_defaults(),
|
||||
on_place = minetest.rotate_node,
|
||||
on_use = minetest.item_eat(20)
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mobs:meatblock_raw",
|
||||
recipe = {
|
||||
{"group:food_meat_raw", "group:food_meat_raw", "group:food_meat_raw"},
|
||||
{"group:food_meat_raw", "group:food_meat_raw", "group:food_meat_raw"},
|
||||
{"group:food_meat_raw", "group:food_meat_raw", "group:food_meat_raw"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mobs:meatblock",
|
||||
recipe = "mobs:meatblock_raw",
|
||||
cooktime = 30
|
||||
})
|
||||
|
@ -19,3 +19,6 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
|
||||
Textures under CC0 license by TenPlus1
|
||||
|
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 734 B |
BIN
textures/mobs_meat_raw_bottom.png
Normal file
After Width: | Height: | Size: 796 B |
BIN
textures/mobs_meat_raw_side.png
Normal file
After Width: | Height: | Size: 722 B |
BIN
textures/mobs_meat_raw_top.png
Normal file
After Width: | Height: | Size: 800 B |
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 693 B |
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 748 B |