Commit Graph

98 Commits (master)

Author SHA1 Message Date
general 7e2beca1bd update 3d_armor with last fixed backported
* update from https://codeberg.org/minenux/minetest-mod-3d_armor
* Fix armor radiation values were not not summed up
* Closes https://github.com/minetest-mods/3d_armor/issues/136
  radiation does not work when using technic armor
* resolve player object in async function again (different globalstep)
   due the core.after we need to recall player name
  closes https://github.com/minetest-mods/3d_armor/issues/132
* Make all admin armor to protect from drowning
  group of water is the same as if you get asfixiate,
  admin armor must be protected, this was missing cos the
  chessplate already has the armor_water=1 set..
  closes https://github.com/minetest-mods/3d_armor/issues/130
* Call custom on_punched functions w/ hitter = nil too
  this allows to propagates the nil on custom mods
  related to https://github.com/minetest-mods/3d_armor/pull/138#discussion_r1529014373
  backported https://github.com/minetest-mods/3d_armor/pull/141
* Don't assume hitter ~= nil in on_punchplayer callback
  closes https://github.com/minetest-mods/3d_armor/issues/137
  related to https://github.com/minetest/minetest/pull/14319#issuecomment-1989555604
2024-03-29 17:47:29 -04:00
mckaygerhard 0445c9f90d default/player_api/3darmor/skinsdb - dinamically set the model player on client conection
* improves previous commit 3b5cbef652
  and previous 3d_armor commit d7ae85b7f6 ,
  the problem is that both server and client must be equal protocol, so
  this ugly hack check if this was loaded into FinalMinetest or Multicraft
  to dinamically check client nature and re-registering the model when
  server and client do not have same player models due the colisionbox check
* NOTE: the check already need to check if the engine is old and the server not,
  so the conditional just try to do exact check agains TRUE boolean.
* Closed https://codeberg.org/minenux/minetest-game-minetest/issues/12
  fixed the problem of collisionbox for the lufix player in ugly way but
  much more effectivelly due can be mixed in FinalMinetest and Multicraft
* fix model preview based on client view, not on server engine version
  for the skindb mod
2023-08-13 20:12:04 -04:00
mckaygerhard d47102d5bf default/player_api set hp mx to 40 event 20 2023-08-13 14:16:34 -04:00
mckaygerhard 8be7726147 vessels - xdecor - integrates vessels into xdecor to minimize it 2023-08-07 12:19:27 -04:00
mckaygerhard 35829d7ca6 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:09:56 -04:00
mckaygerhard 5b37aa6387 3d_armor - add nil check in armor.damage, partially fixes a bug
* add some check and backguard compatibility with older engines
  on each minetest loading time waith to 0.1
* backported "add nil check in `armor.damage`" from upstream
  https://github.com/minetest-mods/3d_armor/pull/109/files
* by example shields already set the valid part to wear in
  6eb492b09c/shields/init.lua (L24)
  with `armor.elements` but in 3darmor/init.lua there's no usage
  of the `armor.elements` table, just seems its taken from string
  configuration and convertered to table in line
  6eb492b09c/3d_armor/init.lua (L68)
  using `armor.config.set_elements` event the `armor.elements` variable,
  its a miracle that the mod still works as spected! puff
2023-08-06 01:34:25 -04:00
mckaygerhard 6327ac1eb0 hudbars+hbhunger+hbarmor - fix armor bar set to 0% due old loading engines
* for minetest 0.4.16 and 0.4.17 loading of mods is a pain, the
  `on_mods_loaded` still do not exits and only using dependency
  we can get sure a mod its present.
  hudbars need armors parts be present and 100% lodaed to property
  check the armor.def so made optional dependencies only in depends.txt
  cos mod.conf is for newer engines and those works perfectly.
  This only happened at player join or initialization, due
  several errors in the already buggy 3d_armor mod, check:
  https://github.com/minetest-mods/3d_armor/issues/49
2023-08-06 01:00:47 -04:00
mckaygerhard 02120d280e hudbars+hbhunger+hbarmor - permit to gain life if are in good shape 2023-08-06 00:51:13 -04:00
mckaygerhard e6822f1f49 default - texture redo due upstream origin are optimized better 2023-08-05 23:18:34 -04:00
mckaygerhard 057f2ff590 3darmor/marinara : use our creative redo mod, event api engine 2023-08-05 23:14:54 -04:00
mckaygerhard d7ae85b7f6 upgrade 3d_armor modpack and 3d_armor respect new player model 1 vertical node
* release 0.4.16 and integrated up to date mod with all engine compatibility
* Offset models for minetest 5.0.0 - player_api compatibility
* also set model for minetest 0.4.X - default.player compatibility
* fix break gravity for space when change armor
* update gold armor to block radiation
* upgrate to 0.4.16: sync with upstream
* call "set_player_armor" on respawn so
* use player_api to register player model, but autodetec older engine, so
  but checkout player_api existence, added features backguard compatibility
* add fire protection to nether armor, so
* added nether armor and nether shield and also
* Add Support for Generating HTML Documentation with LDoc, so
* Backported the armor fields, armor equip and unequip and armors parts
* adapt the Move armor.get_translator to API comit so
* Add missing fuel recipes for wood and cactus armor so
* added missing moreores to optional depends so
* update translations of ex and fr, add screenshot and modpack for newer engines
* update READMEs on each mod
2023-07-31 01:53:44 -04:00
mckaygerhard 3b5cbef652 update player model remove vertial 1 node offset on newer engines only
* Player model: Remove vertical 1 node offset for new engines, but
  Required due to the settable player collision box engine feature
  change for MT/MTG v0.5.0 that breaks compatibility with old client
  so due that this commit will added backguard compatibility
* Autodetec minetest versoin engine and provide right model
  character, update player code to provide compatibility with player_api
2023-07-31 01:46:57 -04:00
mckaygerhard c3edca70aa mod - hudbars+hbarmor+hbhunger - make check for max_hp witout segfault old engines
* upstream minenux upgrade updated, do not segfault on old engines
* use right supported check for version string
* do not make redundant checks and set of hp_max
* property set log warning notification when parts of mod are not used
* autodetect armor mod and able to work without it
2023-07-26 01:08:57 -04:00
mckaygerhard 93f17cd1f6 mods - 3darmor - upgraded, feature Added, nil checks, vulnerability checks
* Added the possibility to wear the armor on rightclick backported
  from https://github.com/minetest-mods/3d_armor/pull/16
* fix not being able to place armor on anvil due new right click
* fix armor equip/unequip initial implmentation
  that backports https://github.com/minetest-mods/3d_armor/pull/17
  solving a number of problems with the new right-click armor equipping
* fix callbacks not being called by armor.equip() and `armor.unequip()`
* fix player physics player_physics_locked attribute
* add feather falling
* prevents a crash when a pipeworks deployer tries to equip armor
* Fix typo in wieldview caused by skindb crash when player joins
* update and added nether lava and lava crust to fire protection list.
* fix bug Armor still damageable in (pvp) protected area
* Fix detached inventory vulnerability complete checks
* Fix count when armor is destroyed, option to prevent physics override
* update version to 0.4.15 that works with 0.4.X and 5.X engines
2023-07-24 14:36:56 -04:00
mckaygerhard 5812e5473c mods - hudbars+hbarmor+hunger - detection of original mods
* detection of original mods and bypass build-in own features
* optimize loading of hubar for armor, bad initialization
* real check player becouse of wrong implementation at engine
2023-07-24 14:27:52 -04:00
mckaygerhard 5e27b5b423 mods - hudbars+hbarmor+hunger - fusion into a simgle loading mod
* fix workaroun about ssettings not configurable
* do not hardcoded hp_max from other mods, unless configured here
* provide settings for hbhunger steps
* provide settings for auto hide or not hbarmor
* document those missing features
* mark mod with version 2.3.5.0 and using redo flag
2023-07-24 13:01:42 -04:00
mckaygerhard 7d9314ca68 mod - hudbars and hbhunger - settings and format number
* provide settings to customized from menu ui or using set command
2023-07-24 00:31:42 -04:00
mckaygerhard 9bfa018ea1 Merge branch 'master' of https://codeberg.org/minenux/minetest-game-nssg 2023-07-24 00:07:55 -04:00
mckaygerhard 1ac019d9a1 mods - hbhunger - donot hardcoded max hp value when eating and healting
* Related to https://codeberg.org/Wuzzy/minetest_hbhunger/issues/1
* the code has a hardcoded hp > 20 then hp = 20 at hunger.lua line 39
  that do not respect the hp_max real value
* also do not give inmediate life, eating something gives you healt-satiation
  so then your character wil have enought conditions to recovery healt
2023-07-24 00:06:59 -04:00
mckaygerhard 41f73142c9 mods - hudbars and hbarmor and hbhunger - player checks and texture minimize
* provide player checks for registering callbacks
* provide spanish translations and backguar compat for older engine
  the translation fallback was provide with upload of mod
* provide depends txt file for older engines
* optimize textures and remove icos as same in hbarmor and hudbars
* not set and icon for bar progress and remove background texture
* provide more simplistic hudbar of hbhunger
2023-07-23 22:32:46 -04:00
mckaygerhard 947d4f098d mods - hudbars and hbarmor and hbhunger - added hudbars hunger
* provide satiation, hunger, stamina and other statuses to player
  using wuzzy's hunger mod event the tenplus1's stamina mod
2023-07-23 21:57:58 -04:00
mckaygerhard 728228fb5a mods hudbars & hbarmor - do not hide any bar and up the health to 40
* the nssg its very hard so 20 health its not enought to survive
* do not hide hudbars, to optimize rendering
* update ticks to give a bit of performance, now set to 0.3
* older engines will defaults health to 20 due missing feature (check hudbar bugs)
2023-07-19 22:27:43 -04:00
mckaygerhard 5c3a05046d mods hudbars & hbarmor - do not hide any bar and up the health to 40
* the nssg its very hard so 20 health its not enought to survive
* do not hide hudbars, to optimize rendering
* update ticks to give a bit of performance
* older engines will defaults health to 20 due missing feature (check hudbar bugs)
2023-07-19 22:16:25 -04:00
mckaygerhard 2397fb5148 mods - hudbars and hbarmor - minimize textures and simplified
* remove icon on progress bar, use simple bar simplistic
* optimize size of the textures
* remove unnecesary textures, dont use backgrounds, simplistic
2023-07-19 22:03:09 -04:00
mckaygerhard c7a3235c42 mods - hudbars + hbarmor - improbe the healt, breath and armor huds
* display a bar event ugly icons for the values of life,breath and armor
  using the famous hudbars mod and also add the hbarmor mod
2023-07-19 21:00:53 -04:00
mckaygerhard 4a69fcc78c mods-creative - fix undeclared non used var translation 2023-07-15 03:08:23 -04:00
mckaygerhard 05eda0260f Merge sync 'master' due recent changes over creative and new marinara mod 2023-07-15 02:04:43 -04:00
mckayshirou 4d394d8a5f fix creative mode mod backguard compatibility for all engines
* dont follow the creative upstream mod,
  its just wrapper around get_bool(creative) setting, so create a check privilegie
  function and provide backguard compatibility checks
* backported fix from c770d5cb43
  same backported from c770d5cb43
2023-07-13 23:51:34 -04:00
mckayshirou a3a7b39333 fix screenshot reference, add missing screenshot file 2023-07-13 23:43:20 -04:00
mckayshirou d84825acd0 mods - marinara - incorporate marinara mod for living great biomes under water
* using forked version due backguard compatibility
  with minimal hacks from subnasa mckaygerhad changes
* older clients and low end devices/mobile crash or get hot on too
  much downloaded files.. so reduce size to get a better performace
  so crush png files for reduce size of media downloading
2023-07-13 23:37:25 -04:00
mckaygerhard 911e8328b7 fireflies - fix has feature call to api 2023-06-20 10:44:34 -04:00
mckaygerhard 71bc2a3945 fireflies - backport Use add_wear_by_uses to fix incorrect uses counts
* backporting d7dd15782c
  to fix https://github.com/minetest/minetest_game/pull/2959
  but will only work for recent engines.. 0.4.16/5.2.X will still
  suffers from such problem
2023-06-20 01:26:01 -04:00
mckaygerhard 1bad13334f nssf+nsspf - mod add to provide good fungies and fruits biomes 2023-06-18 12:21:55 -04:00
mckaygerhard 4d4cdfe05d sfinv - sfinv_home set better text for home button 2023-06-18 04:55:37 -04:00
mckaygerhard 9ac8666ea8 fireflies - fix wrong conditional 2023-06-18 04:19:50 -04:00
mckaygerhard e0e3d6daaf sfinv - minor details, depends, sync upstream 2023-06-18 03:29:24 -04:00
mckaygerhard 9e5b80293e fireflies - featured ethereal support and optimized textures
* sync with fireflies of upstream original mod and from minenux
* Add vessels group to firefly vessel
* Detect creative mode and creative privilegies, using creative mod
* Detect ethereal mod and provide more biomes of place
* backported fc4ab2538d
* adapt sync ee13c9f46a
2023-06-18 03:20:04 -04:00
mckaygerhard 723874e20c fireflies - allow to spawn/put the net fireflies on more biomes if ethereal
* if the etherealmod is detected allow to spawn/put the net/fireflies
  in more biomes
2023-06-17 10:26:14 -04:00
mckaygerhard ac2a55b729 fireflies - included the reduced and external mantanied mod for older engines
* the mt5 game already has a improved version of fireflies with timer nodes
  that hide the fireflies at day, but required a more upgraded engine version
2023-06-17 10:05:23 -04:00
mckaygerhard 0abe7a7aa6 NSSS : not so simple server included the NSSF not so simple fruit
* add the very WIP not so simple fruit with minimal wroking improvements
* backported from https://git.minetest.io/minenux/minetest-mod-nssf
* mirror at https://codeberg.org/minenux/minetest-mod-nssf
2023-06-16 23:46:52 -04:00
mckaygerhard e115ba9cf3 creative - upgraded simplified and provide privilegie feature
* register privilegie of creative for older or newer engines
* enhanced the formspec of the creative player to 4 rows
* try to upgrade most close to track upstream original
* return back text button, remove extra media
  check https://notabug.org/TenPlus1/creative/issues/2
* update readme information to diference features
2023-06-16 00:41:01 -04:00
mckaygerhard 52bdddc111 auth_rx - correct handling of permissions when user is global admin
* there are two king of administrators: those that have many
  of the privilegies and the user that are pointed in config file,
  auth_rx never initialized this from zero cos always assumed
  a starting point as migration, so never need or really detect
  who are the admin of the server, cos after migration the admin
  already has previous privilegies from plain db file.
* override all the possible handlers with right detection of the
  admin user from the config file, on admin detected, no matter
  what .. give it all the (on fly) privilegies currently on server
* still a privilegied user at this commit can erase the admin
  or change the password if have also enought privilegies
* WARNING: this commit will depends of the previusly commit
  as of 2aef6adf19 for right
  admin name detection.
* fix engine detection for 5.4 due callbacks handler
* wrongly invoked register_on_authplayer over 5.0+ engines
2023-06-16 00:02:42 -04:00
mckaygerhard a6c1111c51 auth_rx - backported fix get key configuration helper access
* seems something related to syntactic sugar seems
  do not works anymore.. as i asked repect some commits
  at https://notabug.org/TenPlus1/nssm/issues/19
* backported 2aef6adf19
* backported 2aef6adf19
2023-06-15 23:42:34 -04:00
mckaygerhard 861dc596fd sfinv - upgrade sethome and integrated sfinv_home to sfinv 2023-06-12 00:21:19 -04:00
mckaygerhard 3b7bcb357e toolranks - fix mt 5.X depends 2023-06-11 23:22:31 -04:00
mckaygerhard 136222afdc sethome - updated with backport compatibilty 2023-06-11 22:30:47 -04:00
mckaygerhard 13940471fc Fix many workbench and enchanting table bugs from MT-Eurythmia
* fix crash https://github.com/Mynetest/Mynetest-server/issues/105
* detect that hammer is present and detect if that mese list are mese
* backported 59a65c6061
* backported 28a24a805b
2023-06-11 21:47:51 -04:00
mckaygerhard 899de0cb92 creative - reduced code and reduced version, provide support for last creative 2023-06-11 20:27:37 -04:00
mckaygerhard a182b7dd6a mods - toolranks : added reduced version that used sounds from default
* add also support for hoes into farming mod (cos we used older non redo)
* autodetection if extra toolranks mod its already doing that
2023-06-11 20:12:09 -04:00
mckaygerhard 9f62ed07c7 xdecor - crash avoiting: Added further sanity check and update formspecs
* backporting https://notabug.org/minenux/minetest-mod-xdecor/commit/3e0ca1304d454297739d6f8>
* backporting https://github.com/0siribix/xdecor/commit/c7e756afc7d246817209c415c6e9a9dda533>
* backporting https://github.com/0siribix/xdecor/commit/3823fce1e05a9472e7cf798c8346ba95ead1>
2023-06-11 20:09:36 -04:00