3 Commits

Author SHA1 Message Date
5c5e8058d5 default - is_area_protected was renamed from intersects_protection
* backported for working able, renaming compatible function,
  https://github.com/minetest/minetest/pull/7073/files#diff-910f021741edbae068c5577bfc681853791aa6dce900b35305972bf5e24941e5R178
  for engines that already has it enabled, if not just use
  old way function, this backported and enabled
  66372e75d9
  from default game and also from newer engines build-in lua files
* provide both cases based on engine version, newer just call
  the is_area_protected and older just have the code improved,
  with aliasing to the improved code.
2023-08-06 10:10:14 -04:00
6972d6ebda mods - default - foward compatibilty for default mod on modern engines
* try to adapt due commit 66372e75d9
  so provide alternate usage when up to date engines are detected
  give then `is_area_protected` if any modern engine is availabe,
  otherwise use `intersects_protection` if availabe.. or default one
* more info https://codeberg.org/minenux/minetest-engine-minetest/issues/32
2023-07-13 18:03:25 -05:00
97a963aa93 loading mods base - 0.4 based 2021-12-12 20:01:37 -06:00