Guest User


a guest
Jun 17th, 2018
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. minetest.register_abm({
  2.                 nodenames = { options.grow_plant },
  3.                 interval = options.interval,
  4.                 chance = options.grow_chance,
  5.                 catch_up = false,
  6.                 action = function(pos, node, active_object_count, active_object_count_wider)
  7.                         local p_top = {x=pos.x, y=pos.y+1, z=pos.z}
  8.                         local p_bot = {x=pos.x, y=pos.y-1, z=pos.z}
  9.                         local n_top = minetest.get_node(p_top)
  10.                         local n_bot = minetest.get_node(p_bot)
  12.                         if nbot and string.find(,"flower_pot") then
  13.                         minetest.log("action","moretrees: "..dump(options.grow_plant).." cannot grow because it's placed on a flower pot!")
  14.                         return
  15.                         end
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.