2024.07.II
Change Log:
-
Balance: Food:
- change all points for all food;
- add satiety for egg;
- remove satiety from salt-block. Closes #1571. Closes #1576. #1581.
- reduce spawn of riding animals (except warg). Closes #1574
- decrease yavannamire yield; increase satiety of fruit. Closes #1575
- bread from dough recipe. Closes #1577
- add
bucket:bucket_salt
and recipes. Relates to #1573 - change satiety for salted food. Closes #1573
- add
Baked corn
-
Tooltips: descriptions:
-
Balance:
- melee weapon:
- range weapon:
- arrows,
- bolts,
- throwing axes. Closes #1600
- armor:
-
Balance: reduce dwarf ring uses. Closes #1603
-
Icons:
-
Add
international
cloak (+ some refactoringclans_clothes
). Closes #1378 -
Technical:
- Add
controls
mod as submodule. Relates to #1550 - IDE Helper: reformat
ItemDefinition
, addSimpleSoundSpec
. - Refactoring: add
minetest.foreach_player_every(sec, callback)
. Closes #1553 - Refactoring: extract
controls
mod fromlordlib
. Closes #1550. - Replace
string.gsub()
tostring.replace()
where appropriate. Closes #932 - Add params description for
/clans.show
command. Fixes #1554 - Refacroring replace to
string:starts_with()
if possible. Closes #1247 - Replace
io.<...>
file operations withio.read_from_file()
andio.write_to_file()
. Closes #925 - Add
minetest.mod()
helper. Relates to #913 - Add unified
require()
; addminetest.get_mod_require()
; nowminetest.mod()
automatically exchaengerequire()
for mod. Relates to #913 - Use new unified
require()
viaminetest.mod()
in all mods. Closes #913. - Util:
./lord mod
cli-cmd: Changeinit.lua
generation for use newminetest.mod()
. Relates to #913 - Refactoring:
controls
: renamelord
->controls
; isolate internal funcs|vars. Realates #1557 - Refactoring:
controls
: extractEvent
class. Realates to #1557 - Refactoring:
controls
: improve readability. Closes #1557 - Refactoring: extract
wield_item
api mod. Closes #1552 - Refactoring:
lordlib
: movegive_or_drop()
->builtin
;each_value_equals()
->helpers
. Closes #1559. - Refactoring: move
equipment
intoCore
. Cloaes #1560. Relates to #967 - Refactoring: add unified
debug
mode. Closes #1561 - IDE-helper: extract
utilities.lua
- Refactoring: add
helpers.Logger
class. Relates to #1556 - Refactoring: add lazy loading field
logger
intominetest.Mod
. Realates to #1556 - Fix impossibility of obtaining http API. Broken while #913
- Refactoring: use
helpers.Logger
inweb_integration
. Closes №1556 - Remove forgotten unused code; rename param. Relates #1556
- Improve
./lord mod <name>
: use templates, add globsl api var init. - Refactoring: add
base_classes.Event
class. Relates to #1558 - Refactoring: use base
Event
incontrols
mod. Relates to #1558 - Refactoring: use base
Event
inwield_item
&clans
. Closes #1558 helpers
: adddebug.get_function_code()
base_classes
: improveEvent
: ability to link generated by:on()
to another object. Needs for #1565- Refactoring:
base_classes
: addBaseForm
first version (no mixins). Relates to #1565 helpers
: add_G.errorf
&_G.errorlf
functions withstring.format()
applyinghelpers
: Fix_G.errorlf()
set level == 2 for_G.errorf()
. No luackeck & MT warnings.base_classes
: add mixin system for Form. Relates to #1565base_classes
: addForNode
&WithTabs
minxins forForm
s. Relates to #1565base_classes
: addPersonal
form mixin (extract fromForm.Base
. Relates to #1565base_classes
: clean doc-blocks for forms classes; move fogottenon_close
to `Personal. Relates to #1565- Refactoring:
base_classes
:Form
: use new forms forquest_node:reward_chest
. Relates to #1565 - Refactoring:
base_classes
:Form
: use new forms forclan_node:chest
. Relates to #1565 base_classes
:Event
: improve:extended()
, clean doc-blocks. Relates to #1558, #1565base_classes
:Form
: improveForm.Event:extended()
; fix form events subscriptions. Relates to #1565- Refactoring:
base_classes
:Form
: use new forms forlord_traders
. Relates to #1565 - Translations: move
hud_modpack
. Closes #1529 - Refactoring:
lottarmor
: separate wear handling. Relates to #339, #1012. Closes #977 - Refactoring:
lottarmor
: move armor wear intoequipment_armor
. Relates to #339, #1012 - Refactoring: combine
equipment_armor
andequipment_clothing
into singlelord_equipment
mod. - Refactoring:
lottarmor
: remove unused. Relates to #339, #1012. - Refactoring:
lottarmor
: extractget_armor_healing_chance()
function. Relates to #339, #1012 - Refactoring:
lottarmor
: no globalstep, useregister_on_punchplayer()
for check healing on hit. Relates to #339, #1012. - Refactoring:
lottarmor
: extract healing into separate file. Relates to #339, #1012. - Refactoring:
lottarmor
: mini restruct function. Relates to #339, #1012. - Refactoring:
lottarmor
: fix healing (damage avoid). Relates to #339, #1012. - Refactoring:
lottarmor
: rename "armor-heal" to "armor-damage-avoid". Now it works! Relates to #339, #1012. - Refactoring:
lottarmor
: remove now unusedarmor.player_hp
. Relates to #339, #1012. - Refactoring:
lottarmor
: no negative damage. Now player not pulls by hit. Relates to #339, #1012. Fixes #1289. - Balance: Food: remove overwrites and multiplier from
hbhunger
. Closes #1569, closes #1579. - Remove strange pearl block craft.
Core
:helpers
: fixtable.contains
as of luanti-org/luanti#14906Core
:builtin
extension: addminetest.get_all_craft_recipes_from(ingredient)
helper. Relates to #1501, #1573- IDE-helper: add
RecipeEntryTable
class &minetest.get_all_craft_recipes()
descriptions. - IDE-helper: full docs for
ItemStack
- Refactoring: just restruct
debugtools
debugtools
: add/crafting_from
command. Relates to #1501, #1573, #1469- Return valid value from require(module) for
web_api/config.lua
. Closes #1585 - Rename alias for
lottmapgen:mordor_sand
(fogotten fordefaults:
). Closes #1563 - Add declaration of global
lord_wooden_stuff
. Fixes #1541 - Fix hardcoded
ingredient
in/crafting_from
command. - Fix textures for clans cloaks. Fixes #1598
- Tooltips: add lord-like damage desc. Closes #1584. Relates to #1587
- Tooltips: restructure code. Relates to #1587
- Tooltips: remove unused var. Relates to #1587
- Tooltips: decrease cyclomatic complexity for
snippet.digging
. Relates to #1587 - Tooltips: copy remaining snippet
node_info
ad is. Relates to #1587 - Tooltips: remove
tt_base
mod. Closes #1587 - Tooltips: collect all Properties together.
- Balance: melee weapon: mini-refactoring. Closes #1597
- Add