Rename Minetest to Luanti

This commit is contained in:
Wuzzy 2024-10-29 13:43:09 +01:00
parent 692b54ee7f
commit 8513774412
15 changed files with 31 additions and 31 deletions

View File

@ -1,14 +1,14 @@
# Hades Revisited # Hades Revisited
Version 0.15.5 Version 0.15.5
A game for Minetest, focused on terraforming and landscaping. A game for Luanti, focused on terraforming and landscaping.
Based on *Minetest Hades* by Glünngi. Based on *Minetest Hades* by Glünngi.
THIS IS A PREVIEW VERSION OF THE GAME. This game is playable, THIS IS A PREVIEW VERSION OF THE GAME. This game is playable,
but incomplete. And future versions might change a lot but incomplete. And future versions might change a lot
and will often be incompatible and break your old worlds. and will often be incompatible and break your old worlds.
Requires Minetest 5.6.0 or later. Requires Minetest (aka Luanti) version 5.6.0 or later.
## Introduction ## Introduction
Due to a gross miscalculation of the gravitational pull of the volcanic Due to a gross miscalculation of the gravitational pull of the volcanic
@ -31,8 +31,8 @@ who knows what dangers might hide in the deep underground?
### Automatic installation with ContentDB ### Automatic installation with ContentDB
This is the easiest method. This is the easiest method.
This game is available in Minetest's official ContentDB! If you have an This game is available in Luanti's official ContentDB! If you have an
internet connection, just go into Minetest and browse the Content internet connection, just go into Luantiand browse the Content
section to install the latest and greatest version of the game. section to install the latest and greatest version of the game.
### Manual installation ### Manual installation
@ -41,11 +41,11 @@ the Hades Revisited directory into
/games/hades_revisited /games/hades_revisited
in the Minetest data folder. in the Luanti data folder.
## Important notices and short game guide ## Important notices and short game guide
* Be sure the `minetest.conf` file in the main Minetest directory doesn't have any parameters who are in conflict with the `minetest.conf` file from the `hades_revisited` directory. Especially mapgen parameters or stuff like `give_initial_stuff = false` * Be sure the `minetest.conf` file in the main Luanti directory doesn't have any parameters who are in conflict with the `minetest.conf` file from the `hades_revisited` directory. Especially mapgen parameters or stuff like `give_initial_stuff = false`
* There only 1 biome, with the focus on terraforming and landscaping * There only 1 biome, with the focus on terraforming and landscaping
* Not everyone will like this game. But maybe there are some freaks out there ;-) * Not everyone will like this game. But maybe there are some freaks out there ;-)

View File

@ -1,5 +1,5 @@
Minetest mod: "hades_beds" (Beds for respawning) Mod: "hades_beds" (Beds for respawning)
=================== =======================================
Forked from the beds mod by BlockMen (c) 2014-2015. Forked from the beds mod by BlockMen (c) 2014-2015.
About About

View File

@ -5,8 +5,8 @@
ORIGINAL README FOLLOWS: ORIGINAL README FOLLOWS:
Minetest 0.4 mod: farming Minetest Game mod: farming
========================= ==========================
License of source code: License of source code:
----------------------- -----------------------

View File

@ -2,7 +2,7 @@ local S = minetest.get_translator("hades_glowcrystals")
--[[ --[[
Glowcrystals Glowcrystals
A Minetest mod by SegFault22 A mod by SegFault22
Details: Adds several items for lighting, made out of glowing crystals - a better alternative to those ugly infini-torches. Details: Adds several items for lighting, made out of glowing crystals - a better alternative to those ugly infini-torches.
--]] --]]

View File

@ -44,7 +44,7 @@ which is capable of displaying the time and press the left mouse button.
## Configuration ## Configuration
### Recommendations ### Recommendations
Note that in Minetest, it is also possible to access the coordinates, angles, Note that in Luanti, it is also possible to access the coordinates, angles,
etc. through the debug menu, but this would be generally considered cheating as etc. through the debug menu, but this would be generally considered cheating as
this defeats the purpose of this mod. Try to resist this urge. this defeats the purpose of this mod. Try to resist this urge.
@ -54,7 +54,7 @@ following line into your `minetest.conf`:
keymap_toggle_debug = keymap_toggle_debug =
### HUD text position ### HUD text position
The text position can be configured by using Minetest's settings system. See The text position can be configured by using Luanti's settings system. See
the advanced settings menu for more information. the advanced settings menu for more information.
## Crafting recipes ## Crafting recipes

View File

@ -1,6 +1,6 @@
local S = minetest.get_translator("hades_refruit") local S = minetest.get_translator("hades_refruit")
-- hades_refruit for Minetest. -- hades_refruit
-- Makes fruit regrow on the trees. -- Makes fruit regrow on the trees.
hades_refruit = {} hades_refruit = {}

View File

@ -51,7 +51,7 @@ and unhidden on a per-player basis.
Note this does not yet display the HUD bar. Note this does not yet display the HUD bar.
The HUD bars will be displayed in a “first come, first serve” order. This API does not allow fow a custom order or a way to set it The HUD bars will be displayed in a “first come, first serve” order. This API does not allow fow a custom order or a way to set it
manually in a reliable way. However, you can use the setting `hudbars_sorting` for this. See the advanced setting menu in Minetest manually in a reliable way. However, you can use the setting `hudbars_sorting` for this. See the advanced setting menu in Luanti
for more information. for more information.
@ -130,7 +130,7 @@ for players.
`nil`; if one of them is `nil`, that means the value is unchanged. If all those values are `nil`, this `nil`; if one of them is `nil`, that means the value is unchanged. If all those values are `nil`, this
function is a no-op. function is a no-op.
This function tries to minimize the amount of calls to `hud_change` of the Minetest Lua API This function tries to minimize the amount of calls to `hud_change` of the Luanti Lua API
(and thus, network traffic), when you only change the value and/or maximum value. In this case, (and thus, network traffic), when you only change the value and/or maximum value. In this case,
`hud_change` is only called if it is actually needed, e.g. when the actual length of the bar `hud_change` is only called if it is actually needed, e.g. when the actual length of the bar
or the displayed string changed, so you do not have to worry about it. There is, however, no or the displayed string changed, so you do not have to worry about it. There is, however, no

View File

@ -1,7 +1,7 @@
# HUD bars # HUD bars
## Description ## Description
This mod changes the HUD of Minetest. It replaces the default health and breath This mod changes the HUD of Luanti. It replaces the default health and breath
symbols by horizontal colored bars with text showing the number. symbols by horizontal colored bars with text showing the number.
Furthermore, it enables other mods to add their own custom bars to the HUD, Furthermore, it enables other mods to add their own custom bars to the HUD,
@ -12,14 +12,14 @@ position should be displayed correctly on every screen size.
## Current version ## Current version
The current version is 2.3.1. The current version is 2.3.1.
It works for Minetest 5.3.0. It works for Luanti 5.3.0.
This software uses [semantic versioning](http://semver.org), as defined by version 2.0.0 of the SemVer This software uses [semantic versioning](http://semver.org), as defined by version 2.0.0 of the SemVer
standard. standard.
## Settings ## Settings
This mod can be configured quite a bit. You can change HUD bar appearance, offsets, ordering, and more. This mod can be configured quite a bit. You can change HUD bar appearance, offsets, ordering, and more.
Use the advanced settings menu in Minetest for detailed configuration. Use the advanced settings menu in Luanti for detailed configuration.
## API ## API
The API is used to add your own custom HUD bars. The API is used to add your own custom HUD bars.

View File

@ -1,12 +1,12 @@
[Appearance] [Appearance]
# Specifies how the value indicators (i.e. health, breah, etc.) look. There are 3 styles # Specifies how the value indicators (i.e. health, breah, etc.) look. There are 3 styles
# available. You can choose between the default progress-bar-like bars and the good # available. You can choose between the default progress-bar-like bars and the good
# old statbars like you know from vanilla Minetest. # old statbars like you know from vanilla Luanti.
# These values are possible: # These values are possible:
# - progress_bar: A horizontal progress-bar-like bar with a label, showing numerical value # - progress_bar: A horizontal progress-bar-like bar with a label, showing numerical value
# (current, maximum), and an icon. These bars usually convey the most # (current, maximum), and an icon. These bars usually convey the most
# information. This is the default and recommended value. # information. This is the default and recommended value.
# - statbar_classic: Classic statbar, like in vanilla Minetest. Made out of up to 20 # - statbar_classic: Classic statbar, like in vanilla Luanti. Made out of up to 20
# half-symbols. Those bars represent the vague ratio between # half-symbols. Those bars represent the vague ratio between
# the current value and the maximum value. 1 half-symbol stands for # the current value and the maximum value. 1 half-symbol stands for
# approximately 5% of the maximum value. # approximately 5% of the maximum value.

View File

@ -1,5 +1,5 @@
MOBS REDO for MINETEST MOBS REDO
Built from PilzAdam's original Simple Mobs with additional mobs by KrupnoPavel, Zeg9, ExeterDad and AspireMint. Built from PilzAdam's original Simple Mobs with additional mobs by KrupnoPavel, Zeg9, ExeterDad and AspireMint.

View File

@ -6,7 +6,7 @@ This mod makes it possible for multiple mods to modify player physics (speed, ju
## Introduction ## Introduction
### For players ### For players
Mods and games in Minetest can set physical attributes of players, such as speed and jump strength. For example, player speed could be set to 200%. But the way this works makes it difficult for multiple mods to *modify* physical attributes without leading to conflicts, problems and hilarious bugs, like speed that changes often to nonsense values. Mods and games in Luanti can set physical attributes of players, such as speed and jump strength. For example, player speed could be set to 200%. But the way this works makes it difficult for multiple mods to *modify* physical attributes without leading to conflicts, problems and hilarious bugs, like speed that changes often to nonsense values.
The Player Physics API aims to resolve this conflict by providing a “common ground” for mods to work together in this regard. The Player Physics API aims to resolve this conflict by providing a “common ground” for mods to work together in this regard.
@ -19,7 +19,7 @@ Of course, not all mods need the Player Physics API. Mods that don't touch playe
The rest of this document is directed at developers. The rest of this document is directed at developers.
### For developers ### For developers
The function `set_physics_override` from the Minetest Lua API allows mod authors to override physical attributes of players, such as speed or jump strength. The function `set_physics_override` from the Luanti Lua API allows mod authors to override physical attributes of players, such as speed or jump strength.
This function works fine as long there is only one mod that sets a particular physical attribute at a time. However, as soon as at least two different mods (that do not know each other) try to change the same player physics attribute using only this function, there will be conflicts as each mod will undo the change of the other mod, as the function sets a raw value. A classic race condition occurs. This is the case because the mods fail to communicate with each other. This function works fine as long there is only one mod that sets a particular physical attribute at a time. However, as soon as at least two different mods (that do not know each other) try to change the same player physics attribute using only this function, there will be conflicts as each mod will undo the change of the other mod, as the function sets a raw value. A classic race condition occurs. This is the case because the mods fail to communicate with each other.

View File

@ -5,7 +5,7 @@ See license.txt for license information.
License of source code License of source code
---------------------- ----------------------
Originally by RealBadAngel, Maciej Kasatkin (LGPLv2.1+) Originally by RealBadAngel, Maciej Kasatkin (LGPLv2.1+)
Various Minetest developers and contributors (LGPLv2.1+) Various Luanti developers and contributors (LGPLv2.1+)
License of media (textures) License of media (textures)
--------------------------- ---------------------------

View File

@ -3,7 +3,7 @@ License of source code
GNU Lesser General Public License, version 2.1 GNU Lesser General Public License, version 2.1
Copyright (C) 2013-2016 RealBadAngel, Maciej Kasatkin Copyright (C) 2013-2016 RealBadAngel, Maciej Kasatkin
Copyright (C) 2013-2016 Various Minetest developers and contributors Copyright (C) 2013-2016 Various Luanti developers and contributors
This program is free software; you can redistribute it and/or modify it under the terms This program is free software; you can redistribute it and/or modify it under the terms
of the GNU Lesser General Public License as published by the Free Software Foundation; of the GNU Lesser General Public License as published by the Free Software Foundation;

View File

@ -3,7 +3,7 @@ sfinv
See license.txt for license information. See license.txt for license information.
Simple Fast Inventory. Simple Fast Inventory.
A cleaner, simpler, solution to having an advanced inventory in Minetest. A cleaner, simpler, solution to having an advanced inventory in Luanti.
See game_api.txt for this mod's API. See game_api.txt for this mod's API.
Available for use outside of MTG here: Available for use outside of MTG here:
https://forum.minetest.net/viewtopic.php?t=19765 https://forum.minetest.net/viewtopic.php?t=19765

View File

@ -12,10 +12,10 @@ local unified_inventory_mod = minetest.get_modpath("unified_inventory")
-- Legacy support: Name of the HUD type field for 'hud_add'. -- Legacy support: Name of the HUD type field for 'hud_add'.
local hud_type_field_name local hud_type_field_name
if minetest.features.hud_def_type_field then if minetest.features.hud_def_type_field then
-- Minetest 5.9.0 and later -- Engine version 5.9.0 and later
hud_type_field_name = "type" hud_type_field_name = "type"
else else
-- All Minetest versions before 5.9.0 -- All engine versions before 5.9.0
hud_type_field_name = "hud_elem_type" hud_type_field_name = "hud_elem_type"
end end
@ -46,7 +46,7 @@ local function set_hud(player)
off.y = -76 - vmargin*rows off.y = -76 - vmargin*rows
end end
-- Dirty trick to avoid collision with Minetest's status text (e.g. “Volume changed to 0%”) -- Dirty trick to avoid collision with Luanti's status text (e.g. “Volume changed to 0%”)
if off.y >= -167 and off.y <= -156 then if off.y >= -167 and off.y <= -156 then
off.y = -181 off.y = -181
end end
@ -108,7 +108,7 @@ minetest.register_globalstep(function(dtime)
if huds[player_name] then if huds[player_name] then
-- Get description (various fallback checks for old Minetest versions) -- Get description (various fallback checks for old Luanti versions)
local def = minetest.registered_items[wname] local def = minetest.registered_items[wname]
local desc local desc
if wstack.get_short_description then if wstack.get_short_description then