This commit is contained in:
Hamlet 2018-09-22 21:57:58 +02:00
parent 986bff88f0
commit 713b0dee2c
233 changed files with 14110 additions and 1641 deletions

View File

@ -3,6 +3,14 @@
Hamlet's Quest - Changelog
==========================
v. 2.4.0 (2018-09-22)
- Added "Castle Doors", "Cottage Doors" and "Door Wood" by Don.
- Reverted mobs' difficulty to 1 (was 2)
introduced in v. 1.1.2-dev (2017-09-18)
- Mobs' difficulty now can be changed using the advanced settings menu.
- Deactivated frames' registration for inexistent items (e.g. tnt)
- All the modules have been updated to their latest versions.
v. 2.3.0 (2018-06-03)

View File

@ -9,8 +9,8 @@ INDEX (row's number - topic)
119 - Flora and fauna
173 - Character
217 - Tools and alike
285 - Buildings and similar
375 - Engine related
286 - Buildings and similar
381 - Engine related
Based on
@ -249,7 +249,8 @@ https://forum.minetest.net/memberlist.php?mode=viewprofile&u=5293
- Mountain Climbing [handholds] -
https://forum.minetest.net/viewtopic.php?f=11&t=17069
By Shara https://forum.minetest.net/memberlist.php?mode=viewprofile&u=19807
By Shara
https://forum.minetest.net/memberlist.php?mode=viewprofile&u=19807
- Path marker signs [breadcrumbs] -
https://forum.minetest.net/viewtopic.php?t=16511
@ -295,6 +296,11 @@ https://forum.minetest.net/viewtopic.php?f=11&t=2875
By Jordach
https://forum.minetest.net/memberlist.php?mode=viewprofile&u=332
- Castle Doors, Cottage Doors, Door Wood -
https://forum.minetest.net/viewtopic.php?f=11&t=10626
By Don
https://forum.minetest.net/memberlist.php?mode=viewprofile&u=10447
- Castle Gates -
https://github.com/minetest-mods/castle_gates
By philipbenr and Dan DunCombe

View File

@ -1 +1 @@
name = Hamlet's Quest v.2.3.0
name = Hamlet's Quest v.2.4.0

View File

@ -5,6 +5,7 @@ armor_heal_multiplier = 0
armor_water_protect = false
breadcrumbs_glow_in_the_dark = false
breadcrumbs_particles = true
debug_log_level = error
dfcaverns_flooded_biomes = false
enable_bed_night_skip = true
enable_bed_respawn = true
@ -12,7 +13,7 @@ hardtorch_torch_nights = 1
hardtorch_torch_lighter = true
hbarmor_autohide = false
hudbars_sorting = health=0, satiation=1, armor=2, thirst=3, breath=4, stamina=5
mob_difficulty = 2
mob_difficulty = 1
mob_show_health = false
mob_horse:horse_chance 75000
mobs_balrog_max_height = -2700

View File

@ -69,27 +69,14 @@ minetest.register_node("castle_tapestries:tapestry", {
paramtype = "light",
paramtype2 = "colorwallmounted",
palette = "unifieddyes_palette_colorwallmounted.png",
walkable = false,
selection_box = {
type = "wallmounted",
wall_side = {-0.5,-0.5,0.4375,0.5,1.5,0.5},
},
after_place_node = function(pos, placer, itemstack, pointed_thing)
unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
unifieddyes.recolor_on_place(pos, placer, itemstack, pointed_thing)
end,
after_dig_node = unifieddyes.after_dig_node,
after_place_node = unifieddyes.fix_rotation_nsew,
on_rotate = unifieddyes.fix_after_screwdriver_nsew
})
-- Crafting from wool and a stick
minetest.register_craft({
type = "shapeless",
output = 'castle_tapestries:tapestry',
recipe = {'wool:white', 'default:stick'},
})
-- Long tapestry
minetest.register_node("castle_tapestries:tapestry_long", {
@ -103,27 +90,14 @@ minetest.register_node("castle_tapestries:tapestry_long", {
paramtype = "light",
paramtype2 = "colorwallmounted",
palette = "unifieddyes_palette_colorwallmounted.png",
walkable = false,
selection_box = {
type = "wallmounted",
wall_side = {-0.5,-0.5,0.4375,0.5,2.5,0.5},
},
after_place_node = function(pos, placer, itemstack, pointed_thing)
unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
unifieddyes.recolor_on_place(pos, placer, itemstack, pointed_thing)
end,
after_dig_node = unifieddyes.after_dig_node,
after_place_node = unifieddyes.fix_rotation_nsew,
on_rotate = unifieddyes.fix_after_screwdriver_nsew
})
-- Crafting from normal tapestry and wool
minetest.register_craft({
type = "shapeless",
output = 'castle_tapestries:tapestry_long',
recipe = {'wool:white', 'castle_tapestries:tapestry'},
})
-- Very long tapestry
minetest.register_node("castle_tapestries:tapestry_very_long", {
@ -137,20 +111,39 @@ minetest.register_node("castle_tapestries:tapestry_very_long", {
paramtype = "light",
paramtype2 = "colorwallmounted",
palette = "unifieddyes_palette_colorwallmounted.png",
walkable = false,
selection_box = {
type = "wallmounted",
wall_side = {-0.5,-0.5,0.4375,0.5,3.5,0.5},
},
after_place_node = function(pos, placer, itemstack, pointed_thing)
unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
unifieddyes.recolor_on_place(pos, placer, itemstack, pointed_thing)
end,
after_dig_node = unifieddyes.after_dig_node,
after_place_node = unifieddyes.fix_rotation_nsew,
on_rotate = unifieddyes.fix_after_screwdriver_nsew
})
-- Crafting from long tapestry and wool
-- Crafting
minetest.register_craft({
type = "shapeless",
output = 'castle_tapestries:tapestry',
recipe = {'wool:white', 'default:stick'},
})
minetest.register_craft({
type = "shapeless",
output = 'castle_tapestries:tapestry',
recipe = {'cottages:wool', 'default:stick'},
})
minetest.register_craft({
type = "shapeless",
output = 'castle_tapestries:tapestry_long',
recipe = {'wool:white', 'castle_tapestries:tapestry'},
})
minetest.register_craft({
type = "shapeless",
output = 'castle_tapestries:tapestry_long',
recipe = {'cottages:wool', 'castle_tapestries:tapestry'},
})
minetest.register_craft({
type = "shapeless",
@ -158,6 +151,46 @@ minetest.register_craft({
recipe = {'wool:white', 'castle_tapestries:tapestry_long'},
})
minetest.register_craft({
type = "shapeless",
output = 'castle_tapestries:tapestry_very_long',
recipe = {'cottages:wool', 'castle_tapestries:tapestry_long'},
})
unifieddyes.register_color_craft({
output = "castle_tapestries:tapestry",
palette = "wallmounted",
type = "shapeless",
neutral_node = "castle_tapestries:tapestry",
recipe = {
"NEUTRAL_NODE",
"MAIN_DYE",
}
})
unifieddyes.register_color_craft({
output = "castle_tapestries:tapestry_long",
palette = "wallmounted",
type = "shapeless",
neutral_node = "castle_tapestries:tapestry_long",
recipe = {
"NEUTRAL_NODE",
"MAIN_DYE",
}
})
unifieddyes.register_color_craft({
output = "castle_tapestries:tapestry_very_long",
palette = "wallmounted",
type = "shapeless",
neutral_node = "castle_tapestries:tapestry_very_long",
recipe = {
"NEUTRAL_NODE",
"MAIN_DYE",
}
})
-- Convert static tapestries to param2 color
local old_static_tapestries = {}

View File

@ -96,3 +96,6 @@ minetest.register_alias("stairs:slab_gneiss_cobble", "stairs:slab_gneiss_brick")
minetest.register_alias("stairs:stair_gneiss_cobble", "stairs:stair_gneiss_brick")
register_moreblocks_alias("darkage:gneis_cobble", "darkage:gneiss_brick")
minetest.register_alias("darkage:gneiss_cobble_wall", "darkage:gneiss_rubble_wall")
-- Straw
register_moreblocks_alias("darkage:straw", "moreblocks:straw")

View File

@ -213,12 +213,12 @@ for _, node in pairs({
"boats:boat",
"boats:boat",
"bucket:bucket_empty",
"bucket:bucket_lava",
--"bucket:bucket_lava",
"bucket:bucket_river_water",
"bucket:bucket_water",
"carts:brakerail",
"carts:cart",
"carts:powerrail",
--"carts:powerrail",
"carts:rail",
"default:acacia_bush_leaves",
"default:acacia_bush_sapling",
@ -237,7 +237,7 @@ for _, node in pairs({
"default:axe_mese",
"default:axe_steel",
"default:axe_stone",
"default:axe_wood",
--"default:axe_wood",
"default:book",
"default:bookshelf",
"default:book_written",
@ -323,7 +323,7 @@ for _, node in pairs({
"default:pick_mese",
"default:pick_steel",
"default:pick_stone",
"default:pick_wood",
--"default:pick_wood",
"default:pine_needles",
"default:pine_sapling",
"default:pine_tree",
@ -424,7 +424,7 @@ for _, node in pairs({
"fire:basic_flame",
"fire:flint_and_steel",
"fire:permanent_flame",
"flowerpot:empty",
--"flowerpot:empty",
"flowers:dandelion_white",
"flowers:dandelion_yellow",
"flowers:geranium",
@ -434,11 +434,11 @@ for _, node in pairs({
"flowers:tulip",
"flowers:viola",
"flowers:waterlily",
"nyancat:nyancat",
"nyancat:nyancat_rainbow",
--"nyancat:nyancat",
--"nyancat:nyancat_rainbow",
"screwdriver:screwdriver",
"tnt:gunpowder",
"tnt:tnt",
--"tnt:gunpowder",
--"tnt:tnt",
"vessels:drinking_glass",
"vessels:glass_bottle",
"vessels:glass_fragments",

View File

@ -0,0 +1,27 @@
### HIDDEN DOORS
![Hidden Doors' screenshot](screenshot.png)
**_Adds various wood, stone, etc. doors._**
Allows to use painted doors Settings/Advanced Settings/Mods/hidden_doors
Allows self-removal via Advanced Settings
**Version:** 1.11
**Source code's license:** GPL v3.0
**Media (Textures, Sounds) license:** CC BY-SA 4.0 International
**Dependencies:** default, doors, stairs, vessels (found in Minetest Game)
**Supported:** Darkage (Addi's fork), Moreblocks
### Installation
Unzip the archive, rename the folder to hidden_doors and place it in
../minetest/mods/
If you only want this to be used in a single world, place it in
../minetest/worlds/WORLD_NAME/worldmods/
GNU+Linux - If you use a system-wide installation place it in
~/.minetest/mods/
For further information or help see:
https://wiki.minetest.net/Help:Installing_Mods

View File

@ -0,0 +1,175 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/).
## [Unreleased]
No further features planned.
## [1.11] - 2018-09-12
### Added
Painted doors, thanks to Treer
## [1.10.2] - 2018-07-12
### Added
screenshot.png
### Changed
Default options' values are no longer written on minetest.conf.
Minor code changes.
changelog.txt -> changelog.md
README.txt -> README.md
## [1.10.1]
### Changed
Code fix due to changed or removed Moreblocks nodes.
## [1.10.0]
### Added
Added self removing option.
Settings/Advanced Settings/Mods/hidden_doors
## [1.9.0]
### Added
Added sand, silver sand and desert sand doors.
## [1.8.0]
### Added
Added support for the Moreblocks module.
Added bookshelf door from Minetest Game (vessels dependency).
### Changed
Moved the doors registrations into subfiles named after their
respective modules (e.g. darkage.lua); for an easier maintenance.
## [1.7.2]
### Changed
Removed goto statement, changed the code to accomplish the same
task without it.
## [1.7.1]
### Changed
Disabled textures' scaling for Darkage: when using texture packs
having a resolution higher than 16px, Darkage's textures will be
kept at their native resolution.
## [1.7.0]
### Added
Added support for the Darkage module (Addi's fork).
## [1.6.0]
### Added
Texture resolution configurable via GUI under Advanced Settings.
Stone doors' sound volume as above.
Hardcoded check for invalid resolutions.
Hidden doors made of ice.
Locale template updated.
Italian locale updated.
## [1.5.2]
### Changed
Minor fix - Stone doors' sound increased.
## [1.5.1]
### Changed
Bugfix - Textures applied correctly to doors, inventory images are generated
as they should. Napiophelios
## [1.5.0]
### Added
New hidden doors: dirt, brick, metals, gems.
## [1.4.0]
### Changed
Texture combiner's code changed to be more easier to understand and mantain.
Optional support for resolutions higher than 16px using
hidden_doors_res = <number> into minetest.conf; defaults to 16.
Supported resolutions: 16, 32, 64, 128, 256, 512
## [1.3.0]
### Added
Added the opening and closing sounds for the stone doors.
### Changed
Changed the module's description.
Code re-formatted to fit into 80 columns.
Recipes changed to prevent any conflict.
## [1.2.0]
### Added
Added localization support: intllib by Diego Martínez (kaeza)
Added the Italian locale file.
### Changed
Updated the function to handle sound's specification to allow different
sounds for different materials doors.
## [1.1.0]
### Added
Napiophelios added texture handling and the function to dynamically
register the doors.
Hamlet added the new doors.
## [1.0.0]
### Added
Initial stable release.
Cobble, stone and stone brick's doors available.

View File

@ -1,8 +1,8 @@
--[[
Hidden Doors darkage.lua
Hidden Doors - Adds various wood, stone, etc. doors.
Copyright 2017 Hamlet <h4mlet@riseup.net>
Copyright (C) 2017-2018 Hamlet
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@ -1,8 +1,8 @@
--[[
Hidden Doors init.lua
Hidden Doors - Adds various wood, stone, etc. doors.
Copyright 2017 Hamlet <h4mlet@riseup.net>, Napiophelios
Copyright (C) 2017-2018 Hamlet
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -22,9 +22,13 @@
]]--
-- Load support for intllib.
local MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
--
-- General variables
--
local minetest_log_level = minetest.settings:get("debug_log_level")
local mod_load_message = "[Mod] Hidden Doors [v1.10.2] loaded."
local mod_path = minetest.get_modpath("hidden_doors")
-- Hidden Doors' operation mode
@ -32,18 +36,23 @@ local hidden_doors_remover = minetest.settings:get_bool("hidden_doors_remover")
if not hidden_doors_remover then
hidden_doors_remover = false
minetest.settings:set_bool("hidden_doors_remover", hidden_doors_remover)
end
if (hidden_doors_remover == false) then
dofile(minetest.get_modpath("hidden_doors") .. "/main.lua")
dofile(mod_path .. "/main.lua")
end
if (hidden_doors_remover == true) then
dofile(minetest.get_modpath("hidden_doors") .. "/remover.lua")
dofile(mod_path .. "/remover.lua")
end
if minetest.settings:get("log_mods") then
minetest.log("action", S("[Mod] Hidden Doors loaded"))
--
-- Minetest engine debug logging
--
if (minetest_log_level == nil) or (minetest_log_level == "action") or
(minetest_log_level == "info") or (minetest_log_level == "verbose") then
minetest.log("action", mod_load_message)
end

View File

@ -7,9 +7,9 @@ msgid ""
msgstr ""
"Project-Id-Version: Hidden Doors module's Italian locale\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-31 23:55+0200\n"
"PO-Revision-Date: 2017-08-31 23:57+0100\n"
"Last-Translator: H4mlet <h4mlet@riseup.net>\n"
"POT-Creation-Date: 2018-09-12 14:18+0200\n"
"PO-Revision-Date: 2018-09-12 14:20+0100\n"
"Last-Translator: Hamlet\n"
"Language-Team: \n"
"Language: it\n"
"MIME-Version: 1.0\n"
@ -18,17 +18,17 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.6.10\n"
#: init.lua
#: main.lua
msgid "Concealed "
msgstr "Porta camuffata di "
msgstr "porta camuffata di "
#: init.lua
#: main.lua
msgid " Door"
msgstr " "
#: init.lua
msgid "[Mod] Hidden Doors loaded"
msgstr "[Mod] Hidden Doors caricato"
#: main.lua
msgid "Painted "
msgstr "porta dipinta di "
#: minetest_game.lua
msgid "Stone"
@ -210,126 +210,6 @@ msgstr "sabbia argentea"
msgid "Desert Sand"
msgstr "sabbia del deserto"
#: darkage.lua
msgid "Adobe"
msgstr "adobo"
#: darkage.lua
msgid "Basalt"
msgstr "basalto"
#: darkage.lua
msgid "Basalt Rubble"
msgstr "detriti di basalto"
#: darkage.lua
msgid "Basalt Brick"
msgstr "mattoni di basalto"
#: darkage.lua
msgid "Basalt Block"
msgstr "blocchi di basalto"
#: darkage.lua
msgid "Gneiss"
msgstr "gneis"
#: darkage.lua
msgid "Gneiss Rubble"
msgstr "detriti di gneis"
#: darkage.lua
msgid "Gneiss Brick"
msgstr "mattoni di gneis"
#: darkage.lua
msgid "Gneiss Block"
msgstr "blocchi di gneis"
#: darkage.lua
msgid "Marble"
msgstr "marmo"
#: darkage.lua
msgid "Marble Tile"
msgstr "mattonelle di marmo"
#: darkage.lua
msgid "Old Red Sandstone"
msgstr "arenaria rosso antico"
#: darkage.lua
msgid "Old Red Sandstone Rubble"
msgstr "detriti di arenaria rosso antico"
#: darkage.lua
msgid "Old Red Sandstone Brick"
msgstr "mattoni di arenaria rosso antico"
#: darkage.lua
msgid "Old Red Sandstone Block"
msgstr "blocchi di arenaria rosso antico"
#: darkage.lua
msgid "Serpentine"
msgstr "serpentina"
#: darkage.lua
msgid "Shale"
msgstr "argillite"
#: darkage.lua
msgid "Schist"
msgstr "scisto"
#: darkage.lua
msgid "Slate"
msgstr "lavagna"
#: darkage.lua
msgid "Slate Rubble"
msgstr "detriti di lavagna"
#: darkage.lua
msgid "Slate Tile"
msgstr "mattonelle di lavagna"
#: darkage.lua
msgid "Slate Block"
msgstr "blocchi di lavagna"
#: darkage.lua
msgid "Slate Brick"
msgstr "mattoni di lavagna"
#: darkage.lua
msgid "Tuff"
msgstr "tufo vulcanico"
#: darkage.lua
msgid "Tuff Bricks"
msgstr "mattoni di tufo vulcanico"
#: darkage.lua
msgid "Tuff Rubble"
msgstr "detriti di tufo vulcanico"
#: darkage.lua
msgid "Rhyolitic Tuff"
msgstr "tufo di riolite"
#: darkage.lua
msgid "Rhyolitic Tuff Bricks"
msgstr "mattoni di tufo di riolite"
#: darkage.lua
msgid "Old Tuff Bricks"
msgstr "mattoni di tufo vulcanico vecchio"
#: darkage.lua
msgid "Rhyolitic Tuff Rubble"
msgstr "detriti di tufo di riolite"
#: moreblocks.lua
msgid "All-faces Jungle Tree"
msgstr "cuore di albero della giungla"
@ -359,7 +239,7 @@ msgid "Copper Patina"
msgstr "patina di rame"
#: moreblocks.lua
msgid "Empty Bookshelf"
msgid "Empty Shelf"
msgstr "scaffale vuoto"
#: moreblocks.lua
@ -382,10 +262,6 @@ msgstr "pietra e assi"
msgid "Split Stone Tile"
msgstr "mattonelle di pietra divisa"
#: moreblocks.lua
msgid "Checkered Stone Tile"
msgstr "mattonelle di pietra a scacchi"
#: moreblocks.lua
msgid "Stone Tile"
msgstr "mattonelle di pietra"
@ -394,10 +270,105 @@ msgstr "mattonelle di pietra"
msgid "Tar"
msgstr "catrame"
#: moreblocks.lua
msgid "Trap Stone"
msgstr "pietra trappola"
#: moreblocks.lua
msgid "Full Wooden Tile"
msgstr "mattonelle di legno pieno"
#~ msgid "[Mod] Hidden Doors loaded"
#~ msgstr "[Mod] Hidden Doors caricato"
#~ msgid "Adobe"
#~ msgstr "adobo"
#~ msgid "Basalt"
#~ msgstr "basalto"
#~ msgid "Basalt Rubble"
#~ msgstr "detriti di basalto"
#~ msgid "Basalt Brick"
#~ msgstr "mattoni di basalto"
#~ msgid "Basalt Block"
#~ msgstr "blocchi di basalto"
#~ msgid "Gneiss"
#~ msgstr "gneis"
#~ msgid "Gneiss Rubble"
#~ msgstr "detriti di gneis"
#~ msgid "Gneiss Brick"
#~ msgstr "mattoni di gneis"
#~ msgid "Gneiss Block"
#~ msgstr "blocchi di gneis"
#~ msgid "Marble"
#~ msgstr "marmo"
#~ msgid "Marble Tile"
#~ msgstr "mattonelle di marmo"
#~ msgid "Old Red Sandstone"
#~ msgstr "arenaria rosso antico"
#~ msgid "Old Red Sandstone Rubble"
#~ msgstr "detriti di arenaria rosso antico"
#~ msgid "Old Red Sandstone Brick"
#~ msgstr "mattoni di arenaria rosso antico"
#~ msgid "Old Red Sandstone Block"
#~ msgstr "blocchi di arenaria rosso antico"
#~ msgid "Serpentine"
#~ msgstr "serpentina"
#~ msgid "Shale"
#~ msgstr "argillite"
#~ msgid "Schist"
#~ msgstr "scisto"
#~ msgid "Slate"
#~ msgstr "lavagna"
#~ msgid "Slate Rubble"
#~ msgstr "detriti di lavagna"
#~ msgid "Slate Tile"
#~ msgstr "mattonelle di lavagna"
#~ msgid "Slate Block"
#~ msgstr "blocchi di lavagna"
#~ msgid "Slate Brick"
#~ msgstr "mattoni di lavagna"
#~ msgid "Tuff"
#~ msgstr "tufo vulcanico"
#~ msgid "Tuff Bricks"
#~ msgstr "mattoni di tufo vulcanico"
#~ msgid "Tuff Rubble"
#~ msgstr "detriti di tufo vulcanico"
#~ msgid "Rhyolitic Tuff"
#~ msgstr "tufo di riolite"
#~ msgid "Rhyolitic Tuff Bricks"
#~ msgstr "mattoni di tufo di riolite"
#~ msgid "Old Tuff Bricks"
#~ msgstr "mattoni di tufo vulcanico vecchio"
#~ msgid "Rhyolitic Tuff Rubble"
#~ msgstr "detriti di tufo di riolite"
#~ msgid "Checkered Stone Tile"
#~ msgstr "mattonelle di pietra a scacchi"
#~ msgid "Trap Stone"
#~ msgstr "pietra trappola"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-31 23:55+0200\n"
"POT-Creation-Date: 2018-09-12 14:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,16 +17,16 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: init.lua
#: main.lua
msgid "Concealed "
msgstr ""
#: init.lua
#: main.lua
msgid " Door"
msgstr ""
#: init.lua
msgid "[Mod] Hidden Doors loaded"
#: main.lua
msgid "Painted "
msgstr ""
#: minetest_game.lua
@ -209,126 +209,6 @@ msgstr ""
msgid "Desert Sand"
msgstr ""
#: darkage.lua
msgid "Adobe"
msgstr ""
#: darkage.lua
msgid "Basalt"
msgstr ""
#: darkage.lua
msgid "Basalt Rubble"
msgstr ""
#: darkage.lua
msgid "Basalt Brick"
msgstr ""
#: darkage.lua
msgid "Basalt Block"
msgstr ""
#: darkage.lua
msgid "Gneiss"
msgstr ""
#: darkage.lua
msgid "Gneiss Rubble"
msgstr ""
#: darkage.lua
msgid "Gneiss Brick"
msgstr ""
#: darkage.lua
msgid "Gneiss Block"
msgstr ""
#: darkage.lua
msgid "Marble"
msgstr ""
#: darkage.lua
msgid "Marble Tile"
msgstr ""
#: darkage.lua
msgid "Old Red Sandstone"
msgstr ""
#: darkage.lua
msgid "Old Red Sandstone Rubble"
msgstr ""
#: darkage.lua
msgid "Old Red Sandstone Brick"
msgstr ""
#: darkage.lua
msgid "Old Red Sandstone Block"
msgstr ""
#: darkage.lua
msgid "Serpentine"
msgstr ""
#: darkage.lua
msgid "Shale"
msgstr ""
#: darkage.lua
msgid "Schist"
msgstr ""
#: darkage.lua
msgid "Slate"
msgstr ""
#: darkage.lua
msgid "Slate Rubble"
msgstr ""
#: darkage.lua
msgid "Slate Tile"
msgstr ""
#: darkage.lua
msgid "Slate Block"
msgstr ""
#: darkage.lua
msgid "Slate Brick"
msgstr ""
#: darkage.lua
msgid "Tuff"
msgstr ""
#: darkage.lua
msgid "Tuff Bricks"
msgstr ""
#: darkage.lua
msgid "Tuff Rubble"
msgstr ""
#: darkage.lua
msgid "Rhyolitic Tuff"
msgstr ""
#: darkage.lua
msgid "Rhyolitic Tuff Bricks"
msgstr ""
#: darkage.lua
msgid "Old Tuff Bricks"
msgstr ""
#: darkage.lua
msgid "Rhyolitic Tuff Rubble"
msgstr ""
#: moreblocks.lua
msgid "All-faces Jungle Tree"
msgstr ""
@ -358,7 +238,7 @@ msgid "Copper Patina"
msgstr ""
#: moreblocks.lua
msgid "Empty Bookshelf"
msgid "Empty Shelf"
msgstr ""
#: moreblocks.lua
@ -381,10 +261,6 @@ msgstr ""
msgid "Split Stone Tile"
msgstr ""
#: moreblocks.lua
msgid "Checkered Stone Tile"
msgstr ""
#: moreblocks.lua
msgid "Stone Tile"
msgstr ""
@ -393,10 +269,6 @@ msgstr ""
msgid "Tar"
msgstr ""
#: moreblocks.lua
msgid "Trap Stone"
msgstr ""
#: moreblocks.lua
msgid "Full Wooden Tile"
msgstr ""

View File

@ -1,8 +1,8 @@
--[[
Hidden Doors main.lua
Hidden Doors - Adds various wood, stone, etc. doors.
Copyright 2017 Hamlet <h4mlet@riseup.net>, Napiophelios
Copyright (C) 2017-2018 Hamlet, Napiophelios, Treer
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -31,12 +31,18 @@ hidden_doors = {}
local description_1 = S("Concealed ")
local description_2 = S(" Door")
-- 'painted' doors are not fully concealed, they are wooden doors painted to blend in
local doors_are_painted = minetest.settings:get_bool("hidden_doors_painted", false)
if doors_are_painted then
description_1 = S("Painted ")
end
-- Hidden Doors' sounds
local hidden_doors_vol = tonumber(minetest.settings:get("hidden_doors_vol"))
if not hidden_doors_vol then
hidden_doors_vol = 5.0
minetest.settings:set("hidden_doors_vol", hidden_doors_vol)
end
stone_default = default.node_sound_stone_defaults()
@ -70,12 +76,8 @@ local Y4 = 0 local X4 = 0
local hidden_doors_res = tonumber(minetest.settings:get("hidden_doors_res"))
if not hidden_doors_res then
hidden_doors_res = pixels
minetest.settings:set("hidden_doors_res", hidden_doors_res)
end
@ -171,6 +173,37 @@ else
end
function hidden_doors.get_painted_texture_suffix(use_default_16px_res)
local texture_suffix = ""
local texture_suffix_inv = ""
if doors_are_painted then
local paint_opacity = 35
local paint_opacity_inv = paint_opacity + 15
if use_default_16px_res then
texture_suffix =
"^((hidden_doors_painted_overlay.png^[opacity:" .. paint_opacity ..
"^hidden_doors_hinges_overlay.png)^[resize:38x32)"
texture_suffix_inv =
":8,0=hidden_doors_painted_overlay.png\\^[opacity\\:" ..
paint_opacity_inv .. "\\^[resize\\:38x32"
else
texture_suffix =
"^((hidden_doors_painted_overlay.png^[opacity:" .. paint_opacity ..
"^hidden_doors_hinges_overlay.png)^[resize:" .. image_size .. ")"
texture_suffix_inv =
": " .. X1 .. ",0=hidden_doors_painted_overlay.png\\^[opacity\\:" ..
paint_opacity_inv .. "\\^[resize\\:" .. image_size
end
end
return texture_suffix, texture_suffix_inv
end
function hidden_doors.register_hidden_doors(modname, subname, recipeItem1,
recipeItem2, recipeItem3, desc, sounds, sound_open, sound_close)
@ -188,18 +221,22 @@ function hidden_doors.register_hidden_doors(modname, subname, recipeItem1,
"0=" .. texture_name .. ":" .. X4 .. "," ..
Y3 .. "=" .. texture_name
local painted_texture_suffix, painted_texture_suffix_inv =
hidden_doors.get_painted_texture_suffix(false)
doors.register("hidden_door_" .. subname, {
description = description_1 .. desc .. description_2,
tiles = {{ name = "(" .. new_texture ..
"^[transformFX)^[combine:" .. image_size.. ":" ..X3.. "," ..
"^[transformFX)^([combine:" .. image_size.. ":" ..X3.. "," ..
"0=" .. texture_name .. ":" .. X3 .. "," ..
Y3 .. "=" .. texture_name , backface_culling = true }},
Y3 .. "=" .. texture_name .. ")" .. painted_texture_suffix,
backface_culling = true }},
inventory_image = "[combine:" .. inv_size .. ":" .. X1 .. "," ..
"0=" .. texture_name .. ":" .. X1 .. "," ..
Y1 .. "=" ..texture_name,
Y1 .. "=" ..texture_name .. painted_texture_suffix_inv,
groups = {cracky = 1, level = 2},
sounds = sounds,
@ -219,18 +256,22 @@ function hidden_doors.register_hidden_doors(modname, subname, recipeItem1,
"0=" .. texture_name .. ": 22," ..
"16=" .. texture_name
local painted_texture_suffix, painted_texture_suffix_inv =
hidden_doors.get_painted_texture_suffix(true)
doors.register("hidden_door_" .. subname, {
description = description_1 .. desc .. description_2,
tiles = {{ name = "(" .. new_texture ..
"^[transformFX)^[combine:" .. "38x32" .. ": 16," ..
"^[transformFX)^([combine:" .. "38x32" .. ": 16," ..
"0=" .. texture_name .. ": 16," ..
"16=" .. texture_name , backface_culling = true }},
"16=" .. texture_name .. ")" .. painted_texture_suffix,
backface_culling = true }},
inventory_image = "[combine:" .. "32x32" .. ": 8," ..
"0=" .. texture_name .. ": 8," ..
"16=" .. texture_name,
"16=" .. texture_name .. painted_texture_suffix_inv,
groups = {cracky = 1, level = 2},
sounds = sounds,
@ -256,18 +297,9 @@ dofile(MP .. "/minetest_game.lua")
--
if minetest.get_modpath("darkage") then
dofile(MP .. "/darkage.lua")
end
if minetest.get_modpath("moreblocks") then
dofile(MP .. "/moreblocks.lua")
end
if minetest.settings:get("log_mods") then
minetest.log("action", S("[Mod] Hidden Doors loaded"))
end

View File

@ -1,8 +1,8 @@
--[[
Hidden Doors minetest_game.lua
Hidden Doors - Adds various wood, stone, etc. doors.
Copyright 2017 Hamlet <h4mlet@riseup.net>, Napiophelios
Copyright (C) 2017-2018 Hamlet, Napiophelios
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@ -1 +1,7 @@
name = hidden_doors
title = Hidden Doors
author = Hamlet, Napiophelios, Treer
description = Adds various wood, stone, etc. doors.
license = GPLv3 - CC BY-SA
forum = https://forum.minetest.net/viewtopic.php?f=11&t=18294
version = 1.11

View File

@ -1,8 +1,8 @@
--[[
Hidden Doors moreblocks.lua
Hidden Doors - Adds various wood, stone, etc. doors.
Copyright 2017 Hamlet <h4mlet@riseup.net>
Copyright (C) 2017-2018 Hamlet
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@ -1,8 +1,8 @@
--[[
Hidden Doors remover.lua
Hidden Doors - Adds various wood, stone, etc. doors.
Copyright 2017 Hamlet <h4mlet@riseup.net>
Copyright (C) 2017-2018 Hamlet
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View File

@ -7,6 +7,12 @@ hidden_doors_res (Resolution in pixels for the textures) int 16
# doors' opening and closing sounds, the default value is 5.0
hidden_doors_vol (Opening and closing sounds' volume in float) float 5.0
# You can choose to have concealed doors remain slightly visible - wooden
# doors which have been painted to match their surroundings.
# This allows players that pay attention to find concealed doors, as well
# as providing decor-matched doors for interior decoration.
hidden_doors_painted (Painted doors - visible but camouflaged) bool false
# Disable the module's nodes and activate the
# L.B.M. based module's nodes remover.
hidden_doors_remover (Disable and remove this mod's nodes) bool false

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

View File

@ -0,0 +1,3 @@
default
my_door_wood
doors

View File

@ -0,0 +1 @@
Castle style doors.

View File

@ -0,0 +1,2 @@
dofile(minetest.get_modpath("my_castle_doors").."/locked.lua")
dofile(minetest.get_modpath("my_castle_doors").."/unlocked.lua")

View File

@ -0,0 +1,141 @@
local cdoor_list = { --Number , Description , Inven Image , Image
{"Castle Door 1" , "door1"},
{"Castle Door 2" , "door2"},
-- {"Castle Door 3" , "door3"},
-- {"Castle Door 4" , "door4"},
-- {"Castle Door 5" , "door5"},
{"Castle Door 6" , "door6"},
{"Castle Door 7" , "door7"},
{"Castle Door 8" , "door8"},
-- {"Castle Door 9" , "door9"},
-- {"Castle Door 10" , "door10"},
-- {"Castle Door 11" , "door11"},
-- {"Castle Door 12" , "door12"},
-- {"Castle Door 13" , "door13"},
}
for i in ipairs(cdoor_list) do
local desc = cdoor_list[i][1]
local img = cdoor_list[i][2]
doors.register("my_castle_doors:"..img.."_locked", {
description = desc.." Locked",
inventory_image = "mydoors_"..img.."_inv.png",
groups = {choppy=2,cracky=2,door=1},
tiles = {{ name = "mydoors_"..img..".png", backface_culling = true }},
protected = true,
})
end
---[[ Crafts
minetest.register_craft({
output = "my_castle_doors:door1_locked 1",
recipe = {
{"default:steel_ingot", "default:glass", ""},
{"my_door_wood:wood_dark_grey", "my_door_wood:wood_dark_grey", "default:steel_ingot"},
{"my_door_wood:wood_dark_grey", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door2_locked 1",
recipe = {
{"default:steel_ingot", "default:glass", ""},
{"my_door_wood:wood_red", "my_door_wood:wood_red", "default:steel_ingot"},
{"my_door_wood:wood_red", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door3_locked 1",
recipe = {
{"my_door_wood:wood_yellow", "default:steel_ingot", ""},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door4_locked 1",
recipe = {
{"my_door_wood:wood_brown", "default:steel_ingot", ""},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door5_locked 1",
recipe = {
{"my_door_wood:wood_yellow", "default:steel_ingot", ""},
{"my_door_wood:wood_white", "my_door_wood:wood_yellow", "default:steel_ingot"},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door6_locked 1",
recipe = {
{"my_door_wood:wood_grey", "my_door_wood:wood_grey", ""},
{"my_door_wood:wood_grey", "default:steel_ingot", "default:steel_ingot"},
{"my_door_wood:wood_grey", "my_door_wood:wood_grey", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door7_locked 1",
recipe = {
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
{"my_door_wood:wood_red", "default:steel_ingot", "default:steel_ingot"},
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door8_locked 1",
recipe = {
{"default:steel_ingot", "default:steel_ingot", ""},
{"my_door_wood:wood_dark_grey", "my_door_wood:wood_dark_grey", "default:steel_ingot"},
{"default:steel_ingot", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door9_locked 1",
recipe = {
{"default:steel_ingot", "my_door_wood:wood_yellow", ""},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door10_locked 1",
recipe = {
{"my_door_wood:wood_red", "default:steel_ingot", ""},
{"my_door_wood:wood_red", "my_door_wood:wood_red", "default:steel_ingot"},
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door11_locked 1",
recipe = {
{"my_door_wood:wood_brown", "default:steel_ingot", ""},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door12_locked 1",
recipe = {
{"my_door_wood:wood_brown", "default:steel_ingot", ""},
{"my_door_wood:wood_grey", "my_door_wood:wood_brown", "default:steel_ingot"},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door13_locked 1",
recipe = {
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"}
}
})
--]]

View File

@ -0,0 +1 @@
name = my_castle_doors

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 998 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,138 @@
local cdoor_list = { --Number , Description , Inven Image , Image
-- {"Castle Door 1" , "door1"},
-- {"Castle Door 2" , "door2"},
{"Castle Door 3" , "door3"},
{"Castle Door 4" , "door4"},
{"Castle Door 5" , "door5"},
-- {"Castle Door 6" , "door6"},
-- {"Castle Door 7" , "door7"},
-- {"Castle Door 8" , "door8"},
{"Castle Door 9" , "door9"},
{"Castle Door 10" , "door10"},
{"Castle Door 11" , "door11"},
{"Castle Door 12" , "door12"},
{"Castle Door 13" , "door13"},
}
for i in ipairs(cdoor_list) do
local desc = cdoor_list[i][1]
local img = cdoor_list[i][2]
doors.register_door("my_castle_doors:"..img, {
description = desc,
inventory_image = "mydoors_"..img.."_inv.png",
groups = {choppy=2,cracky=2,door=1},
tiles = {{name="mydoors_"..img..".png", backface_culling = true}},
protected = false,
})
end
-- Crafts
minetest.register_craft({
output = "my_castle_doors:door1 1",
recipe = {
{"default:steel_ingot", "default:glass", ""},
{"my_door_wood:wood_dark_grey", "my_door_wood:wood_dark_grey", ""},
{"my_door_wood:wood_dark_grey", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door2 1",
recipe = {
{"default:steel_ingot", "default:glass", ""},
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
{"my_door_wood:wood_red", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door3 1",
recipe = {
{"my_door_wood:wood_yellow", "default:steel_ingot", ""},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door4 1",
recipe = {
{"my_door_wood:wood_brown", "default:steel_ingot", ""},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door5 1",
recipe = {
{"my_door_wood:wood_yellow", "default:steel_ingot", ""},
{"my_door_wood:wood_white", "my_door_wood:wood_yellow", ""},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door6 1",
recipe = {
{"my_door_wood:wood_grey", "my_door_wood:wood_grey", ""},
{"my_door_wood:wood_grey", "default:steel_ingot", ""},
{"my_door_wood:wood_grey", "my_door_wood:wood_grey", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door7 1",
recipe = {
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
{"my_door_wood:wood_red", "default:steel_ingot", ""},
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door8 1",
recipe = {
{"default:steel_ingot", "default:steel_ingot", ""},
{"my_door_wood:wood_dark_grey", "my_door_wood:wood_dark_grey", ""},
{"default:steel_ingot", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door9 1",
recipe = {
{"default:steel_ingot", "my_door_wood:wood_yellow", ""},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door10 1",
recipe = {
{"my_door_wood:wood_red", "default:steel_ingot", ""},
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door11 1",
recipe = {
{"my_door_wood:wood_brown", "default:steel_ingot", ""},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door12 1",
recipe = {
{"my_door_wood:wood_brown", "default:steel_ingot", ""},
{"my_door_wood:wood_grey", "my_door_wood:wood_brown", ""},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door13 1",
recipe = {
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""},
{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"}
}
})

View File

@ -0,0 +1,3 @@
default
doors
my_door_wood

View File

@ -0,0 +1 @@
Cottage style doors.

View File

@ -0,0 +1,2 @@
dofile(minetest.get_modpath("my_cottage_doors").."/locked.lua")
dofile(minetest.get_modpath("my_cottage_doors").."/unlocked.lua")

View File

@ -0,0 +1,39 @@
local cdoor_list = { --Number , Description , Inven Image , Image
{"Cottage Door 1" , "door1"},
-- {"Cottage Door 2" , "door2"},
}
for i in ipairs(cdoor_list) do
local desc = cdoor_list[i][1]
local img = cdoor_list[i][2]
doors.register_door("my_cottage_doors:"..img.."_locked", {
description = desc.." Locked",
inventory_image = "mycdoors_"..img.."_inv.png",
groups = {choppy=2,cracky=2,door=1},
tiles = {{name="mycdoors_"..img..".png", backface_culling = true}},
protected = true,
})
end
-- Crafts
minetest.register_craft({
output = "my_cottage_doors:door1_locked 1",
recipe = {
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"}
}
})
minetest.register_craft({
output = "my_cottage_doors:door2_locked 1",
recipe = {
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
{"my_door_wood:wood_red", "my_door_wood:wood_red", "default:steel_ingot"},
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
}
})

View File

@ -0,0 +1 @@
name = my_cottage_doors

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,39 @@
local cdoor_list = { --Number , Description , Inven Image , Image
-- {"Cottage Door 1" , "door1"},
{"Cottage Door 2" , "door2"},
}
for i in ipairs(cdoor_list) do
local desc = cdoor_list[i][1]
local img = cdoor_list[i][2]
doors.register_door("my_cottage_doors:"..img, {
description = desc,
inventory_image = "mycdoors_"..img.."_inv.png",
groups = {choppy=2,cracky=2,door=1},
tiles = {{name="mycdoors_"..img..".png", backface_culling = true}},
protected = false,
})
end
-- Crafts
minetest.register_craft({
output = "my_cottage_doors:door1 1",
recipe = {
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""},
{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"}
}
})
minetest.register_craft({
output = "my_cottage_doors:door2 1",
recipe = {
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
}
})

View File

@ -0,0 +1,3 @@
default
stairs?
moreblocks?

View File

@ -0,0 +1 @@
Wood that is used to make doors.

View File

@ -0,0 +1,62 @@
local door_wood = { -- color, desc, image
{"red", "Red Stained", "red"},
{"grey", "Grey Stained", "grey"},
{"dark_grey", "Dark Grey Stained", "dark_grey"},
{"brown", "Brown Stained", "brown"},
{"white", "White Stained", "white"},
{"yellow", "Clear Stained", "yellow"},
{"black", "Black", "black"},
}
local function my_door_wood_block_stairs(nodename, def)
local mod = string.match (nodename,"(.+):")
local name = string.match (nodename,":(.+)")
minetest.register_node(nodename,def)
if minetest.get_modpath("moreblocks") then
stairsplus:register_all(
mod,
name,
nodename,
{
description = def.description,
tiles = def.tiles,
groups = def.groups,
sounds = def.sounds,
}
)
elseif minetest.get_modpath("stairs") then
stairs.register_stair_and_slab(name,nodename,
def.groups,
def.tiles,
("%s Stair"):format(def.description),
("%s Slab"):format(def.description),
def.sounds
)
end
end
for i in ipairs(door_wood) do
local color = door_wood[i][1]
local desc = door_wood[i][2]
local img = door_wood[i][3]
my_door_wood_block_stairs("my_door_wood:wood_"..color, {
description = desc.." Wood",
drawtype = "normal",
paramtype = "light",
tiles = {"mydoors_"..img.."_wood.png"},
paramtype = "light",
groups = {cracky = 2, choppy = 2},
sounds = default.node_sound_wood_defaults(),
})
-- Crafts
minetest.register_craft({
output = "my_door_wood:wood_"..color,
recipe = {
{"default:wood", "", ""},
{"dye:"..color, "", ""},
{"", "", ""}
}
})
end

View File

@ -0,0 +1 @@
name = my_door_wood

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

0
mods/buildings_etc/ts_furniture/LICENSE Normal file → Executable file
View File

0
mods/buildings_etc/ts_furniture/README.txt Normal file → Executable file
View File

0
mods/buildings_etc/ts_furniture/depends.txt Normal file → Executable file
View File

0
mods/buildings_etc/ts_furniture/description.txt Normal file → Executable file
View File

15
mods/buildings_etc/ts_furniture/init.lua Normal file → Executable file
View File

@ -3,6 +3,18 @@ ts_furniture = {}
-- If true, you can sit on chairs and benches, when right-click them.
ts_furniture.enable_sitting = true
local valid_player_model_versions = {
default_character_v1 = true, -- ignored
default_character_v2 = true,
default_character_v3 = true,
}
local player_model_version = "default_character_v2"
if minetest.get_modpath("player_api") ~= nil then
player_model_version = "default_character_v3"
end
-- The following code is from "Get Comfortable [cozy]" (by everamzah; published under WTFPL).
-- Thomas S. modified it, so that it can be used in this mod
@ -32,6 +44,9 @@ ts_furniture.sit = function(name, pos)
default.player_attached[name] = false
default.player_set_animation(player, "stand", 30)
else
if player_model_version == "default_character_v3" then
pos.y = pos.y - 0.6
end
player:moveto(pos)
player:set_eye_offset({ x = 0, y = -7, z = 2 }, { x = 0, y = 0, z = 0 })
player:set_physics_override(0, 0, 0)

0
mods/buildings_etc/ts_furniture/mod.conf Normal file → Executable file
View File

0
mods/buildings_etc/ts_furniture/screenshot.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 652 KiB

After

Width:  |  Height:  |  Size: 652 KiB

View File

@ -74,7 +74,7 @@ armor = {
on_destroy = {},
},
migrate_old_inventory = true,
version = "0.4.11",
version = "0.4.12",
}
armor.config = {

View File

@ -1,13 +1,3 @@
-- support for i18n
armor_i18n = { }
local MP = minetest.get_modpath(minetest.get_current_modname())
armor_i18n.gettext, armor_i18n.ngettext = dofile(MP.."/intllib.lua")
-- escaping formspec
armor_i18n.fgettext = function(...) return minetest.formspec_escape(armor_i18n.gettext(...)) end
-- local functions
local S = armor_i18n.gettext
local F = armor_i18n.fgettext
local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname)
local worldpath = minetest.get_worldpath()
@ -15,6 +5,14 @@ local last_punch_time = {}
local pending_players = {}
local timer = 0
-- support for i18n
armor_i18n = { }
armor_i18n.gettext, armor_i18n.ngettext = dofile(modpath.."/intllib.lua")
-- local functions
local S = armor_i18n.gettext
local F = minetest.formspec_escape
dofile(modpath.."/api.lua")
-- Legacy Config Support
@ -68,7 +66,7 @@ end
if minetest.get_modpath("technic") then
armor.formspec = armor.formspec..
"label[5,2.5;"..F("Radiation")..": armor_group_radiation]"
"label[5,2.5;"..F(S("Radiation"))..": armor_group_radiation]"
armor:register_armor_group("radiation")
end
local skin_mods = {"skins", "u_skins", "simple_skins", "wardrobe"}
@ -96,10 +94,10 @@ dofile(modpath.."/armor.lua")
-- Armor Initialization
armor.formspec = armor.formspec..
"label[5,1;"..F("Level")..": armor_level]"..
"label[5,1.5;"..F("Heal")..": armor_attr_heal]"
"label[5,1;"..F(S("Level"))..": armor_level]"..
"label[5,1.5;"..F(S("Heal"))..": armor_attr_heal]"
if armor.config.fire_protect then
armor.formspec = armor.formspec.."label[5,2;"..F("Fire")..": armor_fire]"
armor.formspec = armor.formspec.."label[5,2;"..F(S("Fire"))..": armor_attr_fire]"
end
armor:register_on_destroy(function(player, index, stack)
local name = player:get_player_name()

View File

@ -1,14 +1,14 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# French translation for 3D ARMOR MOD
# Copyright (C) 2018 by Stuart Jones
# This file is distributed under the same license as the 3D ARMOR MOD package.
# fat115 <fat115@framasoft.org>, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-06 18:20+0200\n"
"PO-Revision-Date: 2017-08-06 18:20+0200\n"
"POT-Creation-Date: 2018-07-23 21:24+0200\n"
"PO-Revision-Date: 2018-07-23 21:30+0200\n"
"Last-Translator: fat115 <fat115@framasoft.org>\n"
"Language-Team: \n"
"Language: fr\n"
@ -18,22 +18,18 @@ msgstr ""
"X-Generator: Poedit 1.8.12\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: ../3d_armor/api.lua
msgid "3d_armor: Player reference is nil @1"
msgstr "3d_armor : Référence au joueur non trouvée @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Player name is nil @1"
msgstr "3d_armor : Nom du joueur non trouvé @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Player inventory is nil @1"
msgstr "3d_armor : Inventaire du joueur non trouvé @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Detached armor inventory is nil @1"
msgstr "3d_armor : Inventaire détaché pour l'armure non trouvé @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Player reference is nil @1"
msgstr "3d_armor : Référence au joueur non trouvée @1"
#: ../3d_armor/armor.lua
msgid "Admin Helmet"
msgstr "Casque d'admin"
@ -254,34 +250,6 @@ msgstr "Armure 3d"
msgid "Armor not initialized!"
msgstr "Armure non initialisée !"
#: ../hazmat_suit/init.lua
msgid "hazmat_suit: Mod loaded but unused."
msgstr "hazmat_suit : Mod chargé mais non utilisé."
#: ../hazmat_suit/init.lua
msgid "Hazmat Helmet"
msgstr "Casque 'Hazmat'"
#: ../hazmat_suit/init.lua
msgid "Hazmat Chestplate"
msgstr "Cuirasse 'Hazmat'"
#: ../hazmat_suit/init.lua
msgid "Hazmat Sleeve"
msgstr "Manches 'Hazmat'"
#: ../hazmat_suit/init.lua
msgid "Hazmat Leggins"
msgstr "Jambières 'Hazmat'"
#: ../hazmat_suit/init.lua
msgid "Hazmat Boots"
msgstr "Bottes 'Hazmat'"
#: ../hazmat_suit/init.lua
msgid "Hazmat Suit"
msgstr "Combinaison 'Hazmat'"
#: ../shields/init.lua
msgid "Admin Shield"
msgstr "Bouclier d'admin"
@ -325,60 +293,3 @@ msgstr "Bouclier en mithril"
#: ../shields/init.lua
msgid "Crystal Shield"
msgstr "Bouclier en cristal"
#: ../technic_armor/init.lua
msgid "technic_armor: Mod loaded but unused."
msgstr "technic_armor : Mod chargé mais non utilisé."
#: ../technic_armor/init.lua
msgid "Lead"
msgstr "plomb"
#: ../technic_armor/init.lua
msgid "Brass"
msgstr "laiton"
#: ../technic_armor/init.lua
msgid "Cast Iron"
msgstr "fonte"
#: ../technic_armor/init.lua
msgid "Carbon Steel"
msgstr "acier au carbone"
#: ../technic_armor/init.lua
msgid "Stainless Steel"
msgstr "acier inoxydable"
#: ../technic_armor/init.lua
msgid "Tin"
msgstr "étain"
#: ../technic_armor/init.lua
msgid "Silver"
msgstr "argent"
#: ../technic_armor/init.lua
msgid "Helmet"
msgstr "Casque"
#: ../technic_armor/init.lua
msgid "Chestplate"
msgstr "Cuirasse"
#: ../technic_armor/init.lua
msgid "Leggings"
msgstr "Jambières"
#: ../technic_armor/init.lua
msgid "Boots"
msgstr "Bottes"
#: ../technic_armor/init.lua
msgid "Shield"
msgstr "Bouclier"
#. Translators: @1 stands for material and @2 for part of the armor, so that you could use a conjunction if in your language part name comes first then material (e.g. in french 'Silver Boots' is translated in 'Bottes en argent' by using '@2 en @1' as translated string)
#: ../technic_armor/init.lua
msgid "@1 @2"
msgstr "@2 en @1"

View File

@ -1,14 +1,14 @@
# ITALIAN LOCALE FILE FOR THE 3D ARMOR MODULE
# Copyright (C) 2012-2017 Stuart Jones
# This file is distributed under the same license as the 3D ARMOR package.
# Italian translation for 3D ARMOR MOD
# Copyright (C) 2018 by Stuart Jones
# This file is distributed under the same license as the 3D ARMOR MOD package.
# Hamlet <h4mlet@riseup.net>, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: Italian localization file for the 3D Armor module\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-06 18:20+0200\n"
"PO-Revision-Date: 2017-08-18 00:36+0100\n"
"POT-Creation-Date: 2018-07-23 21:24+0200\n"
"PO-Revision-Date: 2018-07-23 21:30+0200\n"
"Last-Translator: H4mlet <h4mlet@riseup.net>\n"
"Language-Team: ITALIANO\n"
"Language: it\n"
@ -18,22 +18,18 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.6.10\n"
#: ../3d_armor/api.lua
msgid "3d_armor: Player reference is nil @1"
msgstr "3d_armor: Il riferimento alla/al giocatrice/tore è nullo @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Player name is nil @1"
msgstr "3d_armor: Il nome della/del gicatrice/tore è nullo @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Player inventory is nil @1"
msgstr "3d_armor: L'inventario della/del giocatrice/tore è nullo @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Detached armor inventory is nil @1"
msgstr "3d_armor: L'inventario staccato dell'armatura è nullo @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Player reference is nil @1"
msgstr "3d_armor: Il riferimento alla/al giocatrice/tore è nullo @1"
#: ../3d_armor/armor.lua
msgid "Admin Helmet"
msgstr "Elmo dell'amministratrice/tore"
@ -254,34 +250,6 @@ msgstr "Armatura 3D"
msgid "Armor not initialized!"
msgstr "Armatura non inizializzata!"
#: ../hazmat_suit/init.lua
msgid "hazmat_suit: Mod loaded but unused."
msgstr "hazmat_suit: Mod caricato ma inutilizzato."
#: ../hazmat_suit/init.lua
msgid "Hazmat Helmet"
msgstr "Elmo hazmat"
#: ../hazmat_suit/init.lua
msgid "Hazmat Chestplate"
msgstr "Corazza hazmat"
#: ../hazmat_suit/init.lua
msgid "Hazmat Sleeve"
msgstr "Manica hazmat"
#: ../hazmat_suit/init.lua
msgid "Hazmat Leggins"
msgstr "Gambali hazmat"
#: ../hazmat_suit/init.lua
msgid "Hazmat Boots"
msgstr "Stivali hazmat"
#: ../hazmat_suit/init.lua
msgid "Hazmat Suit"
msgstr "Completo hazmat"
#: ../shields/init.lua
msgid "Admin Shield"
msgstr "Scudo dell'amministratrice/tore"
@ -325,60 +293,3 @@ msgstr "Scudo di mithril"
#: ../shields/init.lua
msgid "Crystal Shield"
msgstr "Scudo di cristallo"
#: ../technic_armor/init.lua
msgid "technic_armor: Mod loaded but unused."
msgstr "technic_armor: Mod caricato ma inutilizzato."
#: ../technic_armor/init.lua
msgid "Lead"
msgstr "Piombo"
#: ../technic_armor/init.lua
msgid "Brass"
msgstr "Ottone"
#: ../technic_armor/init.lua
msgid "Cast Iron"
msgstr "Ghisa"
#: ../technic_armor/init.lua
msgid "Carbon Steel"
msgstr "Acciaio al carbonio"
#: ../technic_armor/init.lua
msgid "Stainless Steel"
msgstr "Acciaio inossidabile"
#: ../technic_armor/init.lua
msgid "Tin"
msgstr "Stagno"
#: ../technic_armor/init.lua
msgid "Silver"
msgstr "Argento"
#: ../technic_armor/init.lua
msgid "Helmet"
msgstr "Elmo"
#: ../technic_armor/init.lua
msgid "Chestplate"
msgstr "Corazza"
#: ../technic_armor/init.lua
msgid "Leggings"
msgstr "Gambali"
#: ../technic_armor/init.lua
msgid "Boots"
msgstr "Stivali"
#: ../technic_armor/init.lua
msgid "Shield"
msgstr "Scudo"
#. Translators: @1 stands for material and @2 for part of the armor, so that you could use a conjunction if in your language part name comes first then material (e.g. in french 'Silver Boots' is translated in 'Bottes en argent' by using '@2 en @1' as translated string)
#: ../technic_armor/init.lua
msgid "@1 @2"
msgstr "@2 di @1"

View File

@ -1,39 +1,35 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Malay translation for 3D ARMOR MOD
# Copyright (C) 2018 by Stuart Jones
# This file is distributed under the same license as the 3D ARMOR MOD package.
# MuhdNurHidayat (MNH48) <mnh48mail@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-06 18:20+0200\n"
"PO-Revision-Date: 2018-02-07 13:25+0800\n"
"POT-Creation-Date: 2018-07-23 21:21+0200\n"
"PO-Revision-Date: 2018-07-23 21:30+0200\n"
"Last-Translator: MuhdNurHidayat (MNH48) <mnh48mail@gmail.com>\n"
"Language-Team: \n"
"Language: ms\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.6\n"
"Last-Translator: MuhdNurHidayat (MNH48) <mnh48mail@gmail.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Language: ms\n"
#: ../3d_armor/api.lua
msgid "3d_armor: Player reference is nil @1"
msgstr "3d_armor: Rujukan pemain tiada nilai @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Player name is nil @1"
msgstr "3d_armor: Nama pemain tiada nilai @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Player inventory is nil @1"
msgstr "3d_armor: Inventori pemain tiada nilai @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Detached armor inventory is nil @1"
msgstr "3d_armor: Inventori perisai terpisah tiada nilai @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Player reference is nil @1"
msgstr "3d_armor: Rujukan pemain tiada nilai @1"
#: ../3d_armor/armor.lua
msgid "Admin Helmet"
msgstr "Helmet Pentadbir"
@ -255,34 +251,6 @@ msgstr "Perisai 3d"
msgid "Armor not initialized!"
msgstr "Perisai tidak diasalkan!"
#: ../hazmat_suit/init.lua
msgid "hazmat_suit: Mod loaded but unused."
msgstr "hazmat_suit: Mods dimuatkan tetapi tidak digunakan."
#: ../hazmat_suit/init.lua
msgid "Hazmat Helmet"
msgstr "Helmet Keselamatan"
#: ../hazmat_suit/init.lua
msgid "Hazmat Chestplate"
msgstr "Perisai Dada Keselamatan"
#: ../hazmat_suit/init.lua
msgid "Hazmat Sleeve"
msgstr "Perisai Tangan Keselamatan"
#: ../hazmat_suit/init.lua
msgid "Hazmat Leggins"
msgstr "Perisai Kaki Keselamatan"
#: ../hazmat_suit/init.lua
msgid "Hazmat Boots"
msgstr "But Keselamatan"
#: ../hazmat_suit/init.lua
msgid "Hazmat Suit"
msgstr "Pakaian Keselamatan"
#: ../shields/init.lua
msgid "Admin Shield"
msgstr "Perisai Pegang Pentadbir"
@ -326,61 +294,3 @@ msgstr "Perisai Pegang Mithril"
#: ../shields/init.lua
msgid "Crystal Shield"
msgstr "Perisai Pegang Kristal"
#: ../technic_armor/init.lua
msgid "technic_armor: Mod loaded but unused."
msgstr "technic_armor: Mods dimuatkan tetapi tidak digunakan."
# 'Lead' here is the chemical compound so the translation is 'plumbum', not 'pimpin' (act of leading).
#: ../technic_armor/init.lua
msgid "Lead"
msgstr "Plumbum"
#: ../technic_armor/init.lua
msgid "Brass"
msgstr "Loyang"
#: ../technic_armor/init.lua
msgid "Cast Iron"
msgstr "Besi Tuang"
#: ../technic_armor/init.lua
msgid "Carbon Steel"
msgstr "Keluli Karbon"
#: ../technic_armor/init.lua
msgid "Stainless Steel"
msgstr "Keluli Tahan Karat"
#: ../technic_armor/init.lua
msgid "Tin"
msgstr "Timah"
#: ../technic_armor/init.lua
msgid "Silver"
msgstr "Perak"
#: ../technic_armor/init.lua
msgid "Helmet"
msgstr "Helmet"
#: ../technic_armor/init.lua
msgid "Chestplate"
msgstr "Perisai Dada"
#: ../technic_armor/init.lua
msgid "Leggings"
msgstr "Perisai Kaki"
#: ../technic_armor/init.lua
msgid "Boots"
msgstr "But"
#: ../technic_armor/init.lua
msgid "Shield"
msgstr "Perisai Pegang"
#. Translators: @1 stands for material and @2 for part of the armor, so that you could use a conjunction if in your language part name comes first then material (e.g. in french 'Silver Boots' is translated in 'Bottes en argent' by using '@2 en @1' as translated string)
#: ../technic_armor/init.lua
msgid "@1 @2"
msgstr "@2 @1"

View File

@ -0,0 +1,294 @@
# Russian translation for 3D ARMOR MOD
# Copyright (C) 2018 by Stuart Jones
# This file is distributed under the same license as the 3D ARMOR MOD package.
# CodeXP <codexp@gmx.net>, 2018.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 3d_armor\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-07-23 21:21+0200\n"
"PO-Revision-Date: 2018-07-23 21:30+0200\n"
"Last-Translator: CodeXP <codexp@gmx.net>\n"
"Language-Team: \n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../3d_armor/api.lua
msgid "3d_armor: Player reference is nil @1"
msgstr "3d_armor: Ссылка игрока является nil @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Player name is nil @1"
msgstr "3d_armor: Имя игрока является nil @1"
#: ../3d_armor/api.lua
msgid "3d_armor: Detached armor inventory is nil @1"
msgstr "3d_armor: Отдельный инвентарь брони является nil @1"
#: ../3d_armor/armor.lua
msgid "Admin Helmet"
msgstr "шлем админа"
#: ../3d_armor/armor.lua
msgid "Admin Chestplate"
msgstr "бронежилет админа"
#: ../3d_armor/armor.lua
msgid "Admin Leggings"
msgstr "гамаши админа"
#: ../3d_armor/armor.lua
msgid "Admin Boots"
msgstr "ботинки админа"
#: ../3d_armor/armor.lua
msgid "Wood Helmet"
msgstr "деревянный шлем"
#: ../3d_armor/armor.lua
msgid "Wood Chestplate"
msgstr "деревянный бронежилет"
#: ../3d_armor/armor.lua
msgid "Wood Leggings"
msgstr "деревянные гамаши"
#: ../3d_armor/armor.lua
msgid "Wood Boots"
msgstr "деревянные ботинки"
#: ../3d_armor/armor.lua
msgid "Cactus Helmet"
msgstr "кактусовый шлем"
#: ../3d_armor/armor.lua
msgid "Cactus Chestplate"
msgstr "кактусовый бронежилет"
#: ../3d_armor/armor.lua
msgid "Cactus Leggings"
msgstr "кактусовые гамаши"
#: ../3d_armor/armor.lua
msgid "Cactus Boots"
msgstr "кактусовые ботинки"
#: ../3d_armor/armor.lua
msgid "Steel Helmet"
msgstr "стальной шлем"
#: ../3d_armor/armor.lua
msgid "Steel Chestplate"
msgstr "стальной бронежилет"
#: ../3d_armor/armor.lua
msgid "Steel Leggings"
msgstr "стальные гамаши"
#: ../3d_armor/armor.lua
msgid "Steel Boots"
msgstr "стальные ботинки"
#: ../3d_armor/armor.lua
msgid "Bronze Helmet"
msgstr "бронзовый шлем"
#: ../3d_armor/armor.lua
msgid "Bronze Chestplate"
msgstr "бронзовый бронежилет"
#: ../3d_armor/armor.lua
msgid "Bronze Leggings"
msgstr "бронзовые гамаши"
#: ../3d_armor/armor.lua
msgid "Bronze Boots"
msgstr "бронзовые ботинки"
#: ../3d_armor/armor.lua
msgid "Diamond Helmet"
msgstr "алмазный шлем"
#: ../3d_armor/armor.lua
msgid "Diamond Chestplate"
msgstr "алмазный бронежилет"
#: ../3d_armor/armor.lua
msgid "Diamond Leggings"
msgstr "алмазные гамаши"
#: ../3d_armor/armor.lua
msgid "Diamond Boots"
msgstr "алмазные ботинки"
#: ../3d_armor/armor.lua
msgid "Gold Helmet"
msgstr "золотой шлем"
#: ../3d_armor/armor.lua
msgid "Gold Chestplate"
msgstr "золотой бронежилет"
#: ../3d_armor/armor.lua
msgid "Gold Leggings"
msgstr "золотые гамаши"
#: ../3d_armor/armor.lua
msgid "Gold Boots"
msgstr "золотые ботинки"
#: ../3d_armor/armor.lua
msgid "Mithril Helmet"
msgstr "мифриловый шлем"
#: ../3d_armor/armor.lua
msgid "Mithril Chestplate"
msgstr "мифриловый бронежилет"
#: ../3d_armor/armor.lua
msgid "Mithril Leggings"
msgstr "мифриловые гамаши"
#: ../3d_armor/armor.lua
msgid "Mithril Boots"
msgstr "мифриловые ботинки"
#: ../3d_armor/armor.lua
msgid "Crystal Helmet"
msgstr "кристалловый шлем"
#: ../3d_armor/armor.lua
msgid "Crystal Chestplate"
msgstr "кристалловый бронежилет"
#: ../3d_armor/armor.lua
msgid "Crystal Leggings"
msgstr "кристалловые гамаши"
#: ../3d_armor/armor.lua
msgid "Crystal Boots"
msgstr "кристалловые ботинки"
#: ../3d_armor/init.lua ../3d_armor_ui/init.lua
msgid "Radiation"
msgstr "излучение"
#: ../3d_armor/init.lua ../3d_armor_ui/init.lua
msgid "Level"
msgstr "уровень"
#: ../3d_armor/init.lua ../3d_armor_ui/init.lua
msgid "Heal"
msgstr "исцеление"
#: ../3d_armor/init.lua ../3d_armor_ui/init.lua
msgid "Fire"
msgstr "огонь"
#: ../3d_armor/init.lua
msgid "Your @1 got destroyed!"
msgstr "твой(и) @1 был(и) разрушен(ы)!"
#: ../3d_armor/init.lua
msgid "3d_armor: Failed to initialize player"
msgstr "3d_armor: не смог подготовить игрока"
#: ../3d_armor/init.lua
msgid "[3d_armor] Fire Nodes disabled"
msgstr "[3d_armor] блоки огня отключены"
#: ../3d_armor_ip/init.lua
msgid "3d_armor_ip: Mod loaded but unused."
msgstr "3d_armor_ip: мод загружен но не используется."
#: ../3d_armor_ip/init.lua
msgid "Back"
msgstr "назад"
#: ../3d_armor_ip/init.lua ../3d_armor_sfinv/init.lua ../3d_armor_ui/init.lua
msgid "Armor"
msgstr "бронь"
#: ../3d_armor_sfinv/init.lua
msgid "3d_armor_sfinv: Mod loaded but unused."
msgstr "3d_armor_sfinv: мод загружен но не используется."
#: ../3d_armor_stand/init.lua
msgid "Armor stand top"
msgstr "стойка для брони (верх)"
#: ../3d_armor_stand/init.lua
msgid "Armor stand"
msgstr "стойка для брони"
#: ../3d_armor_stand/init.lua
msgid "Armor Stand"
msgstr "стойка для брони"
#: ../3d_armor_stand/init.lua
msgid "Locked Armor stand"
msgstr "защищенная стойка для брони"
#: ../3d_armor_stand/init.lua
msgid "Armor Stand (owned by @1)"
msgstr "стойка для брони (принадлежит @1)"
#: ../3d_armor_ui/init.lua
msgid "3d_armor_ui: Mod loaded but unused."
msgstr "3d_armor_ui: мод загружен но не используется."
#: ../3d_armor_ui/init.lua
msgid "3d Armor"
msgstr "3D бронь"
#: ../3d_armor_ui/init.lua
msgid "Armor not initialized!"
msgstr "бронь не подготовлена!"
#: ../shields/init.lua
msgid "Admin Shield"
msgstr "щит админа"
#: ../shields/init.lua
msgid "Wooden Shield"
msgstr "деревянный щит"
#: ../shields/init.lua
msgid "Enhanced Wood Shield"
msgstr "улучшенный деревянный щит"
#: ../shields/init.lua
msgid "Cactus Shield"
msgstr "кактусный щит"
#: ../shields/init.lua
msgid "Enhanced Cactus Shield"
msgstr "улучшенный кактусный щит"
#: ../shields/init.lua
msgid "Steel Shield"
msgstr "стальной щит"
#: ../shields/init.lua
msgid "Bronze Shield"
msgstr "бронзовый щит"
#: ../shields/init.lua
msgid "Diamond Shield"
msgstr "алмазный щит"
#: ../shields/init.lua
msgid "Gold Shield"
msgstr "золотой щит"
#: ../shields/init.lua
msgid "Mithril Shield"
msgstr "мифриловый щит"
#: ../shields/init.lua
msgid "Crystal Shield"
msgstr "кристалловый щит"

View File

@ -1,6 +1,6 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# LANGUAGE translation for 3D ARMOR MOD
# Copyright (C) 2018 by Stuart Jones
# This file is distributed under the same license as the 3D ARMOR MOD package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-06 18:20+0200\n"
"POT-Creation-Date: 2018-07-23 21:24+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,22 +17,18 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../3d_armor/api.lua
msgid "3d_armor: Player reference is nil @1"
msgstr ""
#: ../3d_armor/api.lua
msgid "3d_armor: Player name is nil @1"
msgstr ""
#: ../3d_armor/api.lua
msgid "3d_armor: Player inventory is nil @1"
msgstr ""
#: ../3d_armor/api.lua
msgid "3d_armor: Detached armor inventory is nil @1"
msgstr ""
#: ../3d_armor/api.lua
msgid "3d_armor: Player reference is nil @1"
msgstr ""
#: ../3d_armor/armor.lua
msgid "Admin Helmet"
msgstr ""
@ -253,34 +249,6 @@ msgstr ""
msgid "Armor not initialized!"
msgstr ""
#: ../hazmat_suit/init.lua
msgid "hazmat_suit: Mod loaded but unused."
msgstr ""
#: ../hazmat_suit/init.lua
msgid "Hazmat Helmet"
msgstr ""
#: ../hazmat_suit/init.lua
msgid "Hazmat Chestplate"
msgstr ""
#: ../hazmat_suit/init.lua
msgid "Hazmat Sleeve"
msgstr ""
#: ../hazmat_suit/init.lua
msgid "Hazmat Leggins"
msgstr ""
#: ../hazmat_suit/init.lua
msgid "Hazmat Boots"
msgstr ""
#: ../hazmat_suit/init.lua
msgid "Hazmat Suit"
msgstr ""
#: ../shields/init.lua
msgid "Admin Shield"
msgstr ""
@ -324,60 +292,3 @@ msgstr ""
#: ../shields/init.lua
msgid "Crystal Shield"
msgstr ""
#: ../technic_armor/init.lua
msgid "technic_armor: Mod loaded but unused."
msgstr ""
#: ../technic_armor/init.lua
msgid "Lead"
msgstr ""
#: ../technic_armor/init.lua
msgid "Brass"
msgstr ""
#: ../technic_armor/init.lua
msgid "Cast Iron"
msgstr ""
#: ../technic_armor/init.lua
msgid "Carbon Steel"
msgstr ""
#: ../technic_armor/init.lua
msgid "Stainless Steel"
msgstr ""
#: ../technic_armor/init.lua
msgid "Tin"
msgstr ""
#: ../technic_armor/init.lua
msgid "Silver"
msgstr ""
#: ../technic_armor/init.lua
msgid "Helmet"
msgstr ""
#: ../technic_armor/init.lua
msgid "Chestplate"
msgstr ""
#: ../technic_armor/init.lua
msgid "Leggings"
msgstr ""
#: ../technic_armor/init.lua
msgid "Boots"
msgstr ""
#: ../technic_armor/init.lua
msgid "Shield"
msgstr ""
#. Translators: @1 stands for material and @2 for part of the armor, so that you could use a conjunction if in your language part name comes first then material (e.g. in french 'Silver Boots' is translated in 'Bottes en argent' by using '@2 en @1' as translated string)
#: ../technic_armor/init.lua
msgid "@1 @2"
msgstr ""

View File

@ -0,0 +1,7 @@
# Intllib tool
please consider using the intllib tool to update locale files:
```../../intllib/tools/xgettext.sh ../**/*.lua```
make sure you are in `3d_armor` derectory before running this command

1
mods/character/3d_armor/3d_armor/tools/updatepo.sh Normal file → Executable file
View File

@ -12,7 +12,6 @@ xgettext --from-code=UTF-8 \
--keyword=S \
--keyword=NS:1,2 \
--keyword=N_ \
--keyword=F \
--add-comments='Translators:' \
--add-location=file \
-o locale/template.pot \

View File

@ -1,4 +1,4 @@
Modpack - 3d Armor [0.4.11]
Modpack - 3d Armor [0.4.12]
===========================
### Table of Contents
@ -17,7 +17,7 @@ Modpack - 3d Armor [0.4.11]
[mod] Visible Player Armor [3d_armor]
-------------------------------------
Minetest Version: 0.4.16
Minetest Version: 0.4.16 - 0.4.17.1
Game: minetest_game and many derivatives

0
mods/character/3d_armor/preview_gen.py Normal file → Executable file
View File

View File

@ -1,15 +0,0 @@
unused_args = false
allow_defined_top = true
read_globals = {
"DIR_DELIM",
"minetest", "core",
"dump",
"vector", "nodeupdate",
"VoxelManip", "VoxelArea",
"PseudoRandom", "ItemStack",
"intllib",
"default",
table = { fields = { "copy", "getn" } }
}

View File

@ -41,7 +41,7 @@ mobs:register_mob("mob_horse:horse", {
water_damage = 1,
makes_footstep_sound = true,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 2, max = 3}
{name = "mobs:leather", chance = 1, min = 0, max = 2}
},
do_custom = function(self, dtime)

View File

@ -0,0 +1,18 @@
# MOB Horse
### Spawning
There are three different horse textures (white, brown, black) which will spawn on green grassy areas and dry dirt areas in Ethereal mapgen.
---
### Taming
Horses can be tamed with 10x wheat or apples which then allows the player to pick up the horse using a lasso and ride by right-clicking with a saddle.
---
### Horseshoes
Horseshoes can be crafted using steel, bronze, mese and diamond (4x ingots - 2 down either side with 1x block top middle) and placed on a horse by punching with the item. These can make horses run faster or jump higher depending on tier.
---
### Dead Horse
When riding a horse monsters will generally attack the horse first to get to player riding it, when horse dies the player is dismounted and it will drop any shoes or saddles in use as well as some horse meat.
#### Lucky Blocks: 4

Some files were not shown because too many files have changed in this diff Show More