minetest-game-subnasa/mods/mobs/lucky_block.lua
mckaygerhard 2f7b36ea57 update mobs api to 20231105 version date, sync upstream
* Fixed mob damage when riding mobs
  err its better the xclusive player check, minetest api is shit
* Added self.attack_patience value so mobs stop attacking unseen players
* Added self.node_damage flag which is true by default to enable damage_per_second node damage
* Spawn eggs check if mob is available when creating
* fix autodetect ":" to beginning of entity registration for alias_mob
  commit a4cf246fce
  has an error, alias must be registered with `:MODNAME:obejectname`
  so if you dont add the prefix of `:` the default is the mod class parent, so
  swaping here the sustitution detection, for now..
  this addressed older https://notabug.org/TenPlus1/mobs_redo/issues/154
  fixed in good way, also commit b1ad4451a7
* harden spawn log message, better fix for nil checks
  reported, closes https://codeberg.org/tenplus1/mobs_redo#1
  referece at https://github.com/Archtec-io/bugtracker/issues/130
  this are not so good so implement in better way.
2024-03-31 17:03:54 -04:00

16 lines
381 B
Lua

lucky_block:add_blocks({
{"dro", {"mobs:meat_raw"}, 5},
{"dro", {"mobs:meat"}, 5},
{"dro", {"mobs:nametag"}, 1},
{"dro", {"mobs:leather"}, 5},
{"dro", {"default:stick"}, 10},
{"dro", {"mobs:net"}, 1},
{"dro", {"mobs:lasso"}, 1},
{"dro", {"mobs:shears"}, 1},
{"dro", {"mobs:protector"}, 1},
{"dro", {"mobs:fence_wood"}, 10},
{"dro", {"mobs:fence_top"}, 12},
{"lig"}
})