Commit Graph

649 Commits (910a46b16d870a3c7183df436b4384dd9b3ed575)

Author SHA1 Message Date
mckaygerhard 910a46b16d fix missing end on the backguar compatibility
* related to the commit c41176b807
  backguard compat 0.4, intlib only for older of tweak for mineclone
  and 5.x, backguard compat 0.4, intlib only for older
2024-03-30 22:00:04 -04:00
general e4623dec52 update information readme 2024-03-30 04:39:17 -04:00
general d76d2d307a harden spawn log message, better fix for nil checks
* reported, closes https://codeberg.org/tenplus1/mobs_redo/issues/1
  referece at https://github.com/Archtec-io/bugtracker/issues/130
  this are not so good so implement in better way.
* related to commit bf79985730cee684a1e11e4b4df0ac140d7e8980
  and commit a62bfe3828bf2d6889a71ab7d906c31641593663
  at bf79985730
  and a62bfe3828
2024-03-30 04:06:07 -04:00
general 4bf2555144 small fix sync with lost commit, cos upstream never document
* backported from "use api functions for riding mob"
  commit 768ef84bd88736d965c659b8b33620e4f90e350e
  as 768ef84bd8
2024-03-30 03:57:49 -04:00
general c876bb63c7 add taming countdown infotext
* do not need to fix knockback cos i do not change
  things constantly, code was already working
2024-03-30 03:53:40 -04:00
general 0a86398377 only show breed infotext if mob can breed
* backported commit e8adf9b244770854f06efc3182f4b804d14d3947
  from e8adf9b244
2024-03-30 03:37:53 -04:00
general 320ca97164 fix nil var stepheight
* backported commit 7f1ad098704f757d873a01568267c94f587cd814
  from 7f1ad09870
2024-03-30 03:34:51 -04:00
general cbfe800342 use self.backup_properties instead of self.initial_properties
* fix math.floor non local use with floor local function
2024-03-30 03:24:56 -04:00
general f0fe65ec50 backport initial properties future use 2024-03-30 03:21:07 -04:00
general c02fdfe5f0 backport the tidy breed function, but dont change working code
* ca2758622c
2024-03-30 02:53:31 -04:00
general 2e691b95dd non-passive mobs fight back when attacked (thx fluxionary)
* backported from commit c48821df0310cfe6459dac50f0f71c68da89ecd4
  at c48821df03
* already include commit 7044e203820b44af90d2ca9bf9c5e1cde4f2df8a
  from 7044e20382
2024-03-30 02:45:00 -04:00
tenplus1 a58be58676 update translation (thanks Niklp)
* backported from notabug but the real PR was deleted
  cos tenplus1 need to be narcissist, petty
  backported commit 3ca3d656cb94836973814fc1ba49ab435319fcea
  from 3ca3d656cb
* backported the fix missing FS
  commit 33c78e87d0f73a32777bc855ff7db59f3c0989bf
  from 33c78e87d0
2024-03-30 02:36:06 -04:00
general 05352a6c25 remove optional depends dye and farming only for 5.x
* cos you know it, tenplus1 like being so narcissist, petty
  only him can figure it on a commit!
  backported 32231d5043
2024-03-30 01:45:33 -04:00
general c41176b807 tweak for mineclone and 5.x, backguard compat 0.4, intlib only for older
* backported commit 131c932aa6
  that will tweak detection of player api for mt5, mineclone2 and mt 0.4
* backported adapted 5e96602085
2024-03-30 01:41:54 -04:00
mckaygerhard a4cf246fce autodetect ":" to beginning of entity registration and auto added if not present
* improves the commit commit b1ad4451a7 that really helps
  to registered external mobs but this could break others
  already implemented.. i mean.. what happened if someone
  already add the ":" prefix? This commit addressed that!
* this close https://notabug.org/TenPlus1/mobs_redo/issues/154
  fixed in good way
2023-08-08 08:31:52 -04:00
mckaygerhard a89c912829 add ":" to beginning of entity registration, but will possible break compatibility
* this its explained at https://notabug.org/TenPlus1/mobs_redo/issues/154
  so next commit will add a workaround that manages both cases
* Merge branch 'master' of https://notabug.org/TenPlus1/mobs_redo into main
2023-08-08 08:21:10 -04:00
tenplus1 b1ad4451a7 add ":" to beginning of entity registration 2023-08-07 08:09:08 +01:00
mckaygerhard a8f447a346 err its better the xclusive player check, minetest api is shit 2023-08-05 22:50:30 -04:00
mckaygerhard 49a5d903d4 tweak velocity changes, merge from upstream
* Merge branch 'master' of https://notabug.org/TenPlus1/mobs_redo into main
2023-08-05 22:47:20 -04:00
mckaygerhard 93e4bc2268 fix nil node definition in minenux version 2023-08-05 22:47:15 -04:00
tenplus1 af7eafc22c tweak velocity changes 2023-08-05 18:10:06 +01:00
mckaygerhard 950115d69e Merge upstream sync: proper checks of player and mob_log_spawn feature log
* Merge upstream 'master' of https://notabug.org/TenPlus1/mobs_redo into main
* proper checks on mount logic
* seems minimized nodes at do_states, add older ones
* 042130baca added 'mob_log_spawn' setting to log mob spawning position
* 747af786a8 player nil check for mob attach	3 days ago
* 8201c165e7 can now ride mobs redo mobs in mineclone2
2023-08-01 10:56:14 -04:00
tenplus1 042130baca added 'mob_log_spawn' setting to log mob spawning position. 2023-07-30 11:56:08 +01:00
tenplus1 747af786a8 player nil check for mob attach 2023-07-29 08:34:09 +01:00
mckaygerhard 48230662af fix bad insert extra argument, inherit from older code 2023-07-28 23:25:19 -04:00
mckaygerhard 9ff2e25761 fix missing coma at api.lua table definition 2023-07-28 23:11:18 -04:00
mckaygerhard f12519cd5f dont force mc2 or faroming, proper checks of player on mount logic
* proper checks on mount logic
* do not force mc2 or farming on local items
  for craft recipes to work
* seems minimized nodes at do_states, add older ones
2023-07-28 23:05:30 -04:00
mckaygerhard 90292f9af2 Merge master of upstream https://notabug.org/TenPlus1/mobs_redo into main
* can now ride mobs redo mobs in mineclone2 (must be fine tuned)
  better MineClone2 compatibility for api, items and crafts
* harder player checks (must be in better way)
  add check to see what hit mob, player or entity for immune_to
* monsters will always attack creatura mobs,
  anything else will defend it's owner if attacked
* change mobs_swing.ogg to mono
* can now add nodes to 'runaway_from' table
* add damage_per_second nil check
* on_breed spawns child a little higher
*  remove htimer, tweak update_tag()
* add mtobjid mod to optional dependencies, stop mob count going
* added check to be sure creatura mod enabled
* if max_light_damage is 16 then use natural light
  value to damage mob
* min/max light set to 15, only kill mob with natural light
* better way to reset pause_timer with "stand" order
* pause timer reset, mobs ordered to "stand", fix knockback
* fix group attack anim reset, tidy code
* simplify yaw clamping
2023-07-28 22:13:44 -04:00
tenplus1 8201c165e7 can now ride mobs redo mobs in mineclone2 2023-07-27 12:54:46 +01:00
tenplus1 07dce8208b harden is_player checks 2023-07-26 17:43:40 +01:00
tenplus1 e2ee5c62c7 tidy compat 2023-07-26 14:15:03 +01:00
tenplus1 f31cf75b24 better MineClone2 compatibility for api, items and crafts 2023-07-26 13:43:06 +01:00
tenplus1 3106c4c859 change mobs_swing.ogg to mono 2023-07-20 12:25:27 +01:00
tenplus1 dcc702848f can now add nodes to 'runaway_from' table 2023-07-15 08:58:18 +01:00
tenplus1 cc0798b617 add check to see what hit mob, player or entity for immune_to 2023-07-02 17:17:14 +01:00
mckaygerhard 810b8531f2 remove htimer reference 2023-06-13 14:06:15 -04:00
mckaygerhard d3066e2c4b Update sync upstream 'master' of https://notabug.org/TenPlus1/mobs_redo into main
* Fix error api: https://notabug.org/TenPlus1/nssm/issues/18
2023-06-13 13:43:41 -04:00
tenplus1 e32d87c70d add damage_per_second nil check 2023-06-13 07:58:17 +01:00
tenplus1 cf18cd43de on_breed spawns child a little higher 2023-06-09 08:32:59 +01:00
mckaygerhard a51b1471a6 update api respect upstream remove htimer and tweak update_tag() 2023-06-07 09:37:08 -04:00
tenplus1 70b562c371 remove htimer, tweak update_tag() 2023-06-07 08:21:34 +01:00
mckaygerhard 8b074b0602 sync upstream master of https://notabug.org/TenPlus1/mobs_redo into main
* add mtobjid mod to optional dependencies, stop mob count going below 0
2023-06-06 09:16:40 -04:00
tenplus1 5f80d7a031 add mtobjid mod to optional dependencies, stop mob count going below 0 2023-06-06 08:49:45 +01:00
mckaygerhard 846275bd52 add nil checks and backguard compatiblity
* real fix for https://notabug.org/TenPlus1/mobs_redo/issues/112
  use right variable in mount.lua and detect player api
* adapt patch from https://notabug.org/TenPlus1/mobs_redo/issues/114
  about the rare rare crash of srt.find never got cause
* check right player privilegies only if player its valid for
  when player its really peaceful_player and not only mod flag
* check right player nature when check if mobs can follow
* active mobs its zero event negative amount
  fix for https://notabug.org/TenPlus1/mobs_redo/issues/144
2023-06-05 23:25:33 -04:00
mckaygerhard 0d96b633bf Merge sync upstream 'master' of https://notabug.org/TenPlus1/mobs_redo into main
* pending changes made by mckaygerhard:
* https://notabug.org/TenPlus1/mobs_redo/issues/144 (seems need more)
* https://notabug.org/TenPlus1/mobs_redo/issues/114
* https://notabug.org/TenPlus1/mobs_redo/issues/112
2023-06-05 16:34:21 -04:00
tenplus1 cc71ea4e95 tweak child textures when growing 2023-05-27 19:29:01 +01:00
tenplus1 b42f7c63c8 added check to be sure creatura mod enabled 2023-05-26 16:27:01 +01:00
tenplus1 05f0550876 monsters will always attack creatura mobs, anything else will defend it's owner if attacked. 2023-05-26 16:17:58 +01:00
tenplus1 194c9f7847 added 'mobs_attack_creatura' setting for monsters to attack Creatura mob mobs 2023-05-26 14:04:50 +01:00
tenplus1 267ee57837 fix jumping when on need to 2023-05-24 07:22:36 +01:00