3 Commits

Author SHA1 Message Date
e19cb34416 mod - mobs_redo - update 20231111 minetest.org best compatible, works with multicraft
* make api compatible with minetesty 0.4 and 5.0 and also multicraft 2.0.3
  fix offset vector and upgrade api issue
* stupid tenplus1 does not care others only him. so i sustitute
  the crap of modernish using equivalent to vector.offset that is just
  movement to the collisionbox offset
* closes minenux/minetest-mod-mobs_redo#108
* Updated api txt documentation
* Added entity:is_inside(itemtable) function (thx cora)
  and also check for fire/lava in mob collisionbox area
* Added self.attack_patience value so mobs stop attacking unseen players
* Tidied breeding function
* Better MineClone2 / MineClonia support added
* Tweaked and tidied code in places
* Added self.node_damage flag which is true by default to enable damage_per_second node damage
* mobs:add_mob() can now set mob texture
* do not regiter mobs if there is not a mob
* property check player object as must be cos engine returns false positives
2024-04-09 22:25:03 -04:00
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
796bba5386 add missing mobs framework mod for mobs 2023-08-06 22:16:40 -04:00