Alias tar to building_blocks equivalent by default

This commit is contained in:
GreenXenith 2021-04-11 22:17:46 -07:00
parent 97b282b1da
commit ec59efe4fd
3 changed files with 7 additions and 2 deletions

View File

@ -47,6 +47,7 @@ Other settings:
* Snuff fire bowls on dig
* Enable `greeknodes` aliases
* Alias `greeknodes` marble to polished marble
* Alias `greeknodes` tar to building_blocks equivalents
See [settingtypes.txt](settingtypes.txt) for defaults.

View File

@ -44,5 +44,6 @@ else
end)
end
minetest.register_alias("greeknodes:tar_base", "")
minetest.register_alias("greeknodes:tar", "")
local alias_tar = greek.settings_get("alias_tar")
minetest.register_alias("greeknodes:tar_base", alias_tar and "building_blocks:tar_base" or "")
minetest.register_alias("greeknodes:tar", alias_tar and "building_blocks:Tar" or "")

View File

@ -40,4 +40,7 @@ greek.greeknodes_aliases (Register greeknodes aliases) bool true
# Convert greeknodes:marble to greek:marble_polished instead of marble from another mod.
greek.alias_polished_marble (Alias old marble to polished marble) bool false
# Convert greeknodes:tar_base and greeknode:tar to building_blocks equivalents.
greek.alias_tar (Alias old tar to building_blocks) bool true
# TODO: Configurable sounds