compatibility.lua 368 B

123456789101112
  1. --= Overrides (add food_* group to apple and brown mushroom)
  2. minetest.override_item("default:apple", {
  3. groups = {food_apple = 1, fleshy = 3, dig_immediate = 3, flammable = 2, leafdecay = 3, leafdecay_drop = 1},
  4. })
  5. minetest.override_item("flowers:mushroom_brown", {
  6. light_source = 1,
  7. groups = {food_mushroom = 1, snappy = 3, attached_node = 1, flammable = 2},
  8. })