Hamlet 6 months ago
parent
commit
713b0dee2c
100 changed files with 1318 additions and 783 deletions
  1. 8
    0
      doc/changelog.txt
  2. 9
    3
      doc/credits.txt
  3. 1
    1
      game.conf
  4. 2
    1
      minetest.conf
  5. 68
    32
      mods/buildings_etc/castle_tapestries/init.lua
  6. 3
    0
      mods/buildings_etc/darkage/aliases.lua
  7. 9
    9
      mods/buildings_etc/frame/init.lua
  8. 27
    0
      mods/buildings_etc/hidden_doors/README.md
  9. 175
    0
      mods/buildings_etc/hidden_doors/changelog.md
  10. 2
    2
      mods/buildings_etc/hidden_doors/darkage.lua
  11. 19
    9
      mods/buildings_etc/hidden_doors/init.lua
  12. 109
    138
      mods/buildings_etc/hidden_doors/locale/it.po
  13. 6
    134
      mods/buildings_etc/hidden_doors/locale/template.pot
  14. 54
    22
      mods/buildings_etc/hidden_doors/main.lua
  15. 2
    2
      mods/buildings_etc/hidden_doors/minetest_game.lua
  16. 7
    1
      mods/buildings_etc/hidden_doors/mod.conf
  17. 2
    2
      mods/buildings_etc/hidden_doors/moreblocks.lua
  18. 2
    2
      mods/buildings_etc/hidden_doors/remover.lua
  19. BIN
      mods/buildings_etc/hidden_doors/screenshot.png
  20. 6
    0
      mods/buildings_etc/hidden_doors/settingtypes.txt
  21. BIN
      mods/buildings_etc/hidden_doors/textures/hidden_doors_hinges_overlay.png
  22. BIN
      mods/buildings_etc/hidden_doors/textures/hidden_doors_painted_overlay.png
  23. 3
    0
      mods/buildings_etc/my_castle_doors/depends.txt
  24. 1
    0
      mods/buildings_etc/my_castle_doors/description.txt
  25. 2
    0
      mods/buildings_etc/my_castle_doors/init.lua
  26. 141
    0
      mods/buildings_etc/my_castle_doors/locked.lua
  27. 1
    0
      mods/buildings_etc/my_castle_doors/mod.conf
  28. BIN
      mods/buildings_etc/my_castle_doors/screenshot.png
  29. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door1.png
  30. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door10.png
  31. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door10_inv.png
  32. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door11.png
  33. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door11_inv.png
  34. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door12.png
  35. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door12_inv.png
  36. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door13.png
  37. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door13_inv.png
  38. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door1_inv.png
  39. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door2.png
  40. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door2_inv.png
  41. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door3.png
  42. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door3_inv.png
  43. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door4.png
  44. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door4_inv.png
  45. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door5.png
  46. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door5_inv.png
  47. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door6.png
  48. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door6_inv.png
  49. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door7.png
  50. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door7_inv.png
  51. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door8.png
  52. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door8_inv.png
  53. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door9.png
  54. BIN
      mods/buildings_etc/my_castle_doors/textures/mydoors_door9_inv.png
  55. 138
    0
      mods/buildings_etc/my_castle_doors/unlocked.lua
  56. 3
    0
      mods/buildings_etc/my_cottage_doors/depends.txt
  57. 1
    0
      mods/buildings_etc/my_cottage_doors/description.txt
  58. 2
    0
      mods/buildings_etc/my_cottage_doors/init.lua
  59. 39
    0
      mods/buildings_etc/my_cottage_doors/locked.lua
  60. 1
    0
      mods/buildings_etc/my_cottage_doors/mod.conf
  61. BIN
      mods/buildings_etc/my_cottage_doors/screenshot.png
  62. BIN
      mods/buildings_etc/my_cottage_doors/textures/mycdoors_door1.png
  63. BIN
      mods/buildings_etc/my_cottage_doors/textures/mycdoors_door1_inv.png
  64. BIN
      mods/buildings_etc/my_cottage_doors/textures/mycdoors_door2.png
  65. BIN
      mods/buildings_etc/my_cottage_doors/textures/mycdoors_door2_inv.png
  66. 39
    0
      mods/buildings_etc/my_cottage_doors/unlocked.lua
  67. 3
    0
      mods/buildings_etc/my_door_wood/depends.txt
  68. 1
    0
      mods/buildings_etc/my_door_wood/description.txt
  69. 62
    0
      mods/buildings_etc/my_door_wood/init.lua
  70. 1
    0
      mods/buildings_etc/my_door_wood/mod.conf
  71. BIN
      mods/buildings_etc/my_door_wood/screenshot.png
  72. BIN
      mods/buildings_etc/my_door_wood/textures/mydoors_black_wood.png
  73. BIN
      mods/buildings_etc/my_door_wood/textures/mydoors_brown_wood.png
  74. BIN
      mods/buildings_etc/my_door_wood/textures/mydoors_dark_grey_wood.png
  75. BIN
      mods/buildings_etc/my_door_wood/textures/mydoors_grey_wood.png
  76. BIN
      mods/buildings_etc/my_door_wood/textures/mydoors_red_wood.png
  77. BIN
      mods/buildings_etc/my_door_wood/textures/mydoors_swood.png
  78. BIN
      mods/buildings_etc/my_door_wood/textures/mydoors_white_wood.png
  79. BIN
      mods/buildings_etc/my_door_wood/textures/mydoors_yellow_wood.png
  80. 0
    0
      mods/buildings_etc/ts_furniture/LICENSE
  81. 0
    0
      mods/buildings_etc/ts_furniture/README.txt
  82. 0
    0
      mods/buildings_etc/ts_furniture/depends.txt
  83. 0
    0
      mods/buildings_etc/ts_furniture/description.txt
  84. 15
    0
      mods/buildings_etc/ts_furniture/init.lua
  85. 0
    0
      mods/buildings_etc/ts_furniture/mod.conf
  86. 0
    0
      mods/buildings_etc/ts_furniture/screenshot.png
  87. 1
    1
      mods/character/3d_armor/3d_armor/api.lua
  88. 12
    11
      mods/character/3d_armor/3d_armor/init.lua
  89. 10
    99
      mods/character/3d_armor/3d_armor/locale/fr.po
  90. 9
    98
      mods/character/3d_armor/3d_armor/locale/it.po
  91. 12
    102
      mods/character/3d_armor/3d_armor/locale/ms.po
  92. 294
    0
      mods/character/3d_armor/3d_armor/locale/ru.po
  93. 6
    95
      mods/character/3d_armor/3d_armor/locale/template.pot
  94. 7
    0
      mods/character/3d_armor/3d_armor/tools/README.md
  95. 0
    1
      mods/character/3d_armor/3d_armor/tools/updatepo.sh
  96. 2
    2
      mods/character/3d_armor/README.md
  97. 0
    0
      mods/character/3d_armor/preview_gen.py
  98. 0
    15
      mods/flora_fauna/crops/.luacheckrc
  99. 1
    1
      mods/flora_fauna/mob_horse/init.lua
  100. 0
    0
      mods/flora_fauna/mob_horse/readme.md

+ 8
- 0
doc/changelog.txt View File

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

+ 9
- 3
doc/credits.txt View File

@@ -9,8 +9,8 @@ INDEX (row's number - topic)
9 9
 119 - Flora and fauna
10 10
 173 - Character
11 11
 217 - Tools and alike
12
-285 - Buildings and similar
13
-375 - Engine related
12
+286 - Buildings and similar
13
+381 - Engine related
14 14
 
15 15
 
16 16
 Based on
@@ -249,7 +249,8 @@ https://forum.minetest.net/memberlist.php?mode=viewprofile&u=5293
249 249
 
250 250
 - Mountain Climbing [handholds] -
251 251
 https://forum.minetest.net/viewtopic.php?f=11&t=17069
252
-By Shara https://forum.minetest.net/memberlist.php?mode=viewprofile&u=19807
252
+By Shara
253
+https://forum.minetest.net/memberlist.php?mode=viewprofile&u=19807
253 254
 
254 255
 - Path marker signs [breadcrumbs] -
255 256
 https://forum.minetest.net/viewtopic.php?t=16511
@@ -295,6 +296,11 @@ https://forum.minetest.net/viewtopic.php?f=11&t=2875
295 296
 By Jordach
296 297
 https://forum.minetest.net/memberlist.php?mode=viewprofile&u=332
297 298
 
299
+- Castle Doors, Cottage Doors, Door Wood -
300
+https://forum.minetest.net/viewtopic.php?f=11&t=10626
301
+By Don
302
+https://forum.minetest.net/memberlist.php?mode=viewprofile&u=10447
303
+
298 304
 - Castle Gates -
299 305
 https://github.com/minetest-mods/castle_gates
300 306
 By philipbenr and Dan DunCombe

+ 1
- 1
game.conf View File

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

+ 2
- 1
minetest.conf View File

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

+ 68
- 32
mods/buildings_etc/castle_tapestries/init.lua View File

@@ -69,27 +69,14 @@ minetest.register_node("castle_tapestries:tapestry", {
69 69
 	paramtype = "light",
70 70
 	paramtype2 = "colorwallmounted",
71 71
 	palette = "unifieddyes_palette_colorwallmounted.png",
72
-	walkable = false,
73 72
 	selection_box = {
74 73
 		type = "wallmounted",
75 74
 		wall_side = {-0.5,-0.5,0.4375,0.5,1.5,0.5},
76 75
 	},
77
-	after_place_node = function(pos, placer, itemstack, pointed_thing)
78
-		unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
79
-		unifieddyes.recolor_on_place(pos, placer, itemstack, pointed_thing)
80
-	end,
81
-	after_dig_node = unifieddyes.after_dig_node,
76
+	after_place_node = unifieddyes.fix_rotation_nsew,
82 77
 	on_rotate = unifieddyes.fix_after_screwdriver_nsew
83 78
 })
84 79
 
85
-
86
-minetest.register_craft({
87
-	type = "shapeless",
88
-	output = 'castle_tapestries:tapestry',
89
-	recipe = {'wool:white', 'default:stick'},
90
-})
91
-
92 80
 -- Long tapestry
93 81
 
94 82
 minetest.register_node("castle_tapestries:tapestry_long", {
@@ -103,27 +90,14 @@ minetest.register_node("castle_tapestries:tapestry_long", {
103 90
 	paramtype = "light",
104 91
 	paramtype2 = "colorwallmounted",
105 92
 	palette = "unifieddyes_palette_colorwallmounted.png",
106
-	walkable = false,
107 93
 	selection_box = {
108 94
 		type = "wallmounted",
109 95
 		wall_side = {-0.5,-0.5,0.4375,0.5,2.5,0.5},
110 96
 	},
111
-	after_place_node = function(pos, placer, itemstack, pointed_thing)
112
-		unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
113
-		unifieddyes.recolor_on_place(pos, placer, itemstack, pointed_thing)
114
-	end,
115
-	after_dig_node = unifieddyes.after_dig_node,
97
+	after_place_node = unifieddyes.fix_rotation_nsew,
116 98
 	on_rotate = unifieddyes.fix_after_screwdriver_nsew
117 99
 })
118 100
 
119
-
120
-minetest.register_craft({
121
-	type = "shapeless",
122
-	output = 'castle_tapestries:tapestry_long',
123
-	recipe = {'wool:white', 'castle_tapestries:tapestry'},
124
-})
125
-
126 101
 -- Very long tapestry
127 102
 
128 103
 minetest.register_node("castle_tapestries:tapestry_very_long", {
@@ -137,20 +111,39 @@ minetest.register_node("castle_tapestries:tapestry_very_long", {
137 111
 	paramtype = "light",
138 112
 	paramtype2 = "colorwallmounted",
139 113
 	palette = "unifieddyes_palette_colorwallmounted.png",
140
-	walkable = false,
141 114
 	selection_box = {
142 115
 		type = "wallmounted",
143 116
 		wall_side = {-0.5,-0.5,0.4375,0.5,3.5,0.5},
144 117
 	},
145
-	after_place_node = function(pos, placer, itemstack, pointed_thing)
146
-		unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
147
-		unifieddyes.recolor_on_place(pos, placer, itemstack, pointed_thing)
148
-	end,
149
-	after_dig_node = unifieddyes.after_dig_node,
118
+	after_place_node = unifieddyes.fix_rotation_nsew,
150 119
 	on_rotate = unifieddyes.fix_after_screwdriver_nsew
151 120
 })
152 121
 
122
+-- Crafting
123
+
124
+minetest.register_craft({
125
+	type = "shapeless",
126
+	output = 'castle_tapestries:tapestry',
127
+	recipe = {'wool:white', 'default:stick'},
128
+})
129
+
130
+minetest.register_craft({
131
+	type = "shapeless",
132
+	output = 'castle_tapestries:tapestry',
133
+	recipe = {'cottages:wool', 'default:stick'},
134
+})
135
+
136
+minetest.register_craft({
137
+	type = "shapeless",
138
+	output = 'castle_tapestries:tapestry_long',
139
+	recipe = {'wool:white', 'castle_tapestries:tapestry'},
140
+})
141
+
142
+minetest.register_craft({
143
+	type = "shapeless",
144
+	output = 'castle_tapestries:tapestry_long',
145
+	recipe = {'cottages:wool', 'castle_tapestries:tapestry'},
146
+})
153 147
 
154 148
 minetest.register_craft({
155 149
 	type = "shapeless",
@@ -158,6 +151,46 @@ minetest.register_craft({
158 151
 	recipe = {'wool:white', 'castle_tapestries:tapestry_long'},
159 152
 })
160 153
 
154
+minetest.register_craft({
155
+	type = "shapeless",
156
+	output = 'castle_tapestries:tapestry_very_long',
157
+	recipe = {'cottages:wool', 'castle_tapestries:tapestry_long'},
158
+})
159
+
160
+
161
+unifieddyes.register_color_craft({
162
+	output = "castle_tapestries:tapestry",
163
+	palette = "wallmounted",
164
+	type = "shapeless",
165
+	neutral_node = "castle_tapestries:tapestry",
166
+	recipe = {
167
+		"NEUTRAL_NODE",
168
+		"MAIN_DYE",
169
+	}
170
+})
171
+
172
+unifieddyes.register_color_craft({
173
+	output = "castle_tapestries:tapestry_long",
174
+	palette = "wallmounted",
175
+	type = "shapeless",
176
+	neutral_node = "castle_tapestries:tapestry_long",
177
+	recipe = {
178
+		"NEUTRAL_NODE",
179
+		"MAIN_DYE",
180
+	}
181
+})
182
+
183
+unifieddyes.register_color_craft({
184
+	output = "castle_tapestries:tapestry_very_long",
185
+	palette = "wallmounted",
186
+	type = "shapeless",
187
+	neutral_node = "castle_tapestries:tapestry_very_long",
188
+	recipe = {
189
+		"NEUTRAL_NODE",
190
+		"MAIN_DYE",
191
+	}
192
+})
193
+
161 194
 -- Convert static tapestries to param2 color
162 195
 
163 196
 local old_static_tapestries = {}

+ 3
- 0
mods/buildings_etc/darkage/aliases.lua View File

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

+ 9
- 9
mods/buildings_etc/frame/init.lua View File

@@ -213,12 +213,12 @@ for _, node in pairs({
213 213
 	"boats:boat",
214 214
 	"boats:boat",
215 215
 	"bucket:bucket_empty",
216
-	"bucket:bucket_lava",
216
+	--"bucket:bucket_lava",
217 217
 	"bucket:bucket_river_water",
218 218
 	"bucket:bucket_water",
219 219
 	"carts:brakerail",
220 220
 	"carts:cart",
221
-	"carts:powerrail",
221
+	--"carts:powerrail",
222 222
 	"carts:rail",
223 223
 	"default:acacia_bush_leaves",
224 224
 	"default:acacia_bush_sapling",
@@ -237,7 +237,7 @@ for _, node in pairs({
237 237
 	"default:axe_mese",
238 238
 	"default:axe_steel",
239 239
 	"default:axe_stone",
240
-	"default:axe_wood",
240
+	--"default:axe_wood",
241 241
 	"default:book",
242 242
 	"default:bookshelf",
243 243
 	"default:book_written",
@@ -323,7 +323,7 @@ for _, node in pairs({
323 323
 	"default:pick_mese",
324 324
 	"default:pick_steel",
325 325
 	"default:pick_stone",
326
-	"default:pick_wood",
326
+	--"default:pick_wood",
327 327
 	"default:pine_needles",
328 328
 	"default:pine_sapling",
329 329
 	"default:pine_tree",
@@ -424,7 +424,7 @@ for _, node in pairs({
424 424
 	"fire:basic_flame",
425 425
 	"fire:flint_and_steel",
426 426
 	"fire:permanent_flame",
427
-	"flowerpot:empty",
427
+	--"flowerpot:empty",
428 428
 	"flowers:dandelion_white",
429 429
 	"flowers:dandelion_yellow",
430 430
 	"flowers:geranium",
@@ -434,11 +434,11 @@ for _, node in pairs({
434 434
 	"flowers:tulip",
435 435
 	"flowers:viola",
436 436
 	"flowers:waterlily",
437
-	"nyancat:nyancat",
438
-	"nyancat:nyancat_rainbow",
437
+	--"nyancat:nyancat",
438
+	--"nyancat:nyancat_rainbow",
439 439
 	"screwdriver:screwdriver",
440
-	"tnt:gunpowder",
441
-	"tnt:tnt",
440
+	--"tnt:gunpowder",
441
+	--"tnt:tnt",
442 442
 	"vessels:drinking_glass",
443 443
 	"vessels:glass_bottle",
444 444
 	"vessels:glass_fragments",

+ 27
- 0
mods/buildings_etc/hidden_doors/README.md View File

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

+ 175
- 0
mods/buildings_etc/hidden_doors/changelog.md View File

@@ -0,0 +1,175 @@
1
+# Changelog
2
+All notable changes to this project will be documented in this file.
3
+
4
+The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
+and this project adheres to [Semantic Versioning](https://semver.org/).
6
+
7
+
8
+## [Unreleased]
9
+
10
+	No further features planned.
11
+
12
+
13
+## [1.11] - 2018-09-12
14
+### Added
15
+
16
+	Painted doors, thanks to Treer
17
+
18
+
19
+
20
+## [1.10.2] - 2018-07-12
21
+### Added
22
+
23
+	screenshot.png
24
+
25
+### Changed
26
+
27
+	Default options' values are no longer written on minetest.conf.
28
+	Minor code changes.
29
+	changelog.txt -> changelog.md
30
+	README.txt -> README.md
31
+
32
+
33
+
34
+## [1.10.1]
35
+### Changed
36
+	Code fix due to changed or removed Moreblocks nodes.
37
+
38
+
39
+
40
+## [1.10.0]
41
+### Added
42
+
43
+	Added self removing option.
44
+	Settings/Advanced Settings/Mods/hidden_doors
45
+
46
+
47
+
48
+## [1.9.0]
49
+### Added
50
+
51
+	Added sand, silver sand and desert sand doors.
52
+
53
+
54
+
55
+## [1.8.0]
56
+### Added
57
+
58
+	Added support for the Moreblocks module.
59
+	Added bookshelf door from Minetest Game (vessels dependency).
60
+
61
+### Changed
62
+
63
+	Moved the doors registrations into subfiles named after their
64
+	respective modules (e.g. darkage.lua); for an easier maintenance.
65
+
66
+
67
+
68
+## [1.7.2]
69
+### Changed
70
+
71
+	Removed goto statement, changed the code to accomplish the same
72
+	task without it.
73
+
74
+
75
+
76
+## [1.7.1]
77
+### Changed
78
+
79
+	Disabled textures' scaling for Darkage: when using texture packs
80
+	having a resolution higher than 16px, Darkage's textures will be
81
+	kept at their native resolution.
82
+
83
+
84
+
85
+## [1.7.0]
86
+### Added
87
+
88
+	Added support for the Darkage module (Addi's fork).
89
+
90
+
91
+
92
+## [1.6.0]
93
+### Added
94
+
95
+	Texture resolution configurable via GUI under Advanced Settings.
96
+	Stone doors' sound volume as above.
97
+	Hardcoded check for invalid resolutions.
98
+	Hidden doors made of ice.
99
+	Locale template updated.
100
+	Italian locale updated.
101
+
102
+
103
+
104
+## [1.5.2]
105
+### Changed
106
+
107
+	Minor fix - Stone doors' sound increased.
108
+
109
+
110
+
111
+## [1.5.1]
112
+### Changed
113
+
114
+	Bugfix - Textures applied correctly to doors, inventory images are generated
115
+	as they should. Napiophelios
116
+
117
+
118
+
119
+## [1.5.0]
120
+### Added
121
+
122
+	New hidden doors: dirt, brick, metals, gems.
123
+
124
+
125
+
126
+## [1.4.0]
127
+### Changed
128
+
129
+	Texture combiner's code changed to be more easier to understand and mantain.
130
+	Optional support for resolutions higher than 16px using
131
+	hidden_doors_res = <number> into minetest.conf; defaults to 16.
132
+	Supported resolutions: 16, 32, 64, 128, 256, 512
133
+
134
+
135
+
136
+## [1.3.0]
137
+### Added
138
+
139
+	Added the opening and closing sounds for the stone doors.
140
+
141
+### Changed
142
+
143
+	Changed the module's description.
144
+	Code re-formatted to fit into 80 columns.
145
+	Recipes changed to prevent any conflict.
146
+
147
+
148
+
149
+## [1.2.0]
150
+### Added
151
+
152
+	Added localization support: intllib by Diego Martínez (kaeza)
153
+	Added the Italian locale file.
154
+
155
+### Changed
156
+
157
+	Updated the function to handle sound's specification to allow different
158
+	sounds for different materials doors.
159
+
160
+
161
+
162
+## [1.1.0]
163
+### Added
164
+
165
+	Napiophelios added texture handling and the function to dynamically
166
+	register the doors.
167
+	Hamlet added the new doors.
168
+
169
+
170
+
171
+## [1.0.0]
172
+### Added
173
+
174
+	Initial stable release.
175
+	Cobble, stone and stone brick's doors available.

+ 2
- 2
mods/buildings_etc/hidden_doors/darkage.lua View File

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

+ 19
- 9
mods/buildings_etc/hidden_doors/init.lua View File

@@ -1,8 +1,8 @@
1 1
 --[[
2 2
 
3
-   Hidden Doors init.lua
3
+   Hidden Doors - Adds various wood, stone, etc. doors.
4 4
 
5
-   Copyright 2017 Hamlet <h4mlet@riseup.net>, Napiophelios
5
+   Copyright (C) 2017-2018  Hamlet
6 6
 
7 7
    This program is free software; you can redistribute it and/or modify
8 8
    it under the terms of the GNU General Public License as published by
@@ -22,9 +22,13 @@
22 22
 ]]--
23 23
 
24 24
 
25
-local MP = minetest.get_modpath(minetest.get_current_modname())
26
-S, NS = dofile(MP.."/intllib.lua")
25
+--
26
+-- General variables
27
+--
28
+
29
+local minetest_log_level = minetest.settings:get("debug_log_level")
30
+local mod_load_message = "[Mod] Hidden Doors [v1.10.2] loaded."
31
+local mod_path = minetest.get_modpath("hidden_doors")
27 32
 
28 33
 
29 34
 -- Hidden Doors' operation mode
@@ -32,18 +36,23 @@ local hidden_doors_remover = minetest.settings:get_bool("hidden_doors_remover")
32 36
 
33 37
 if not hidden_doors_remover then
34 38
    hidden_doors_remover = false
35
-   minetest.settings:set_bool("hidden_doors_remover", hidden_doors_remover)
36 39
 end
37 40
 
38 41
 if (hidden_doors_remover == false) then
39
-   dofile(minetest.get_modpath("hidden_doors") .. "/main.lua")
42
+   dofile(mod_path .. "/main.lua")
40 43
 end
41 44
 
42 45
 if (hidden_doors_remover == true) then
43
-   dofile(minetest.get_modpath("hidden_doors") .. "/remover.lua")
46
+   dofile(mod_path .. "/remover.lua")
44 47
 end
45 48
 
46 49
 
47
-if minetest.settings:get("log_mods") then
48
-   minetest.log("action", S("[Mod] Hidden Doors loaded"))
50
+--
51
+-- Minetest engine debug logging
52
+--
53
+
54
+if (minetest_log_level == nil) or (minetest_log_level == "action") or
55
+	(minetest_log_level == "info") or (minetest_log_level == "verbose") then
56
+
57
+	minetest.log("action", mod_load_message)
49 58
 end

+ 109
- 138
mods/buildings_etc/hidden_doors/locale/it.po View File

@@ -7,9 +7,9 @@ msgid ""
7 7
 msgstr ""
8 8
 "Project-Id-Version: Hidden Doors module's Italian locale\n"
9 9
 "Report-Msgid-Bugs-To: \n"
10
-"POT-Creation-Date: 2017-08-31 23:55+0200\n"
11
-"PO-Revision-Date: 2017-08-31 23:57+0100\n"
12
-"Last-Translator: H4mlet <h4mlet@riseup.net>\n"
10
+"POT-Creation-Date: 2018-09-12 14:18+0200\n"
11
+"PO-Revision-Date: 2018-09-12 14:20+0100\n"
12
+"Last-Translator: Hamlet\n"
13 13
 "Language-Team: \n"
14 14
 "Language: it\n"
15 15
 "MIME-Version: 1.0\n"
@@ -18,17 +18,17 @@ msgstr ""
18 18
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19 19
 "X-Generator: Poedit 1.6.10\n"
20 20
 
21
-#: init.lua
21
+#: main.lua
22 22
 msgid "Concealed "
23
-msgstr "Porta camuffata di "
23
+msgstr "porta camuffata di "
24 24
 
25
-#: init.lua
25
+#: main.lua
26 26
 msgid " Door"
27 27
 msgstr " "
28 28
 
29
-#: init.lua
30
-msgid "[Mod] Hidden Doors loaded"
31
-msgstr "[Mod] Hidden Doors caricato"
29
+#: main.lua
30
+msgid "Painted "
31
+msgstr "porta dipinta di "
32 32
 
33 33
 #: minetest_game.lua
34 34
 msgid "Stone"
@@ -210,126 +210,6 @@ msgstr "sabbia argentea"
210 210
 msgid "Desert Sand"
211 211
 msgstr "sabbia del deserto"
212 212
 
213
-#: darkage.lua
214
-msgid "Adobe"
215
-msgstr "adobo"
216
-
217
-#: darkage.lua
218
-msgid "Basalt"
219
-msgstr "basalto"
220
-
221
-#: darkage.lua
222
-msgid "Basalt Rubble"
223
-msgstr "detriti di basalto"
224
-
225
-#: darkage.lua
226
-msgid "Basalt Brick"
227
-msgstr "mattoni di basalto"
228
-
229
-#: darkage.lua
230
-msgid "Basalt Block"
231
-msgstr "blocchi di basalto"
232
-
233
-#: darkage.lua
234
-msgid "Gneiss"
235
-msgstr "gneis"
236
-
237
-#: darkage.lua
238
-msgid "Gneiss Rubble"
239
-msgstr "detriti di gneis"
240
-
241
-#: darkage.lua
242
-msgid "Gneiss Brick"
243
-msgstr "mattoni di gneis"
244
-
245
-#: darkage.lua
246
-msgid "Gneiss Block"
247
-msgstr "blocchi di gneis"
248
-
249
-#: darkage.lua
250
-msgid "Marble"
251
-msgstr "marmo"
252
-
253
-#: darkage.lua
254
-msgid "Marble Tile"
255
-msgstr "mattonelle di marmo"
256
-
257
-#: darkage.lua
258
-msgid "Old Red Sandstone"
259
-msgstr "arenaria rosso antico"
260
-
261
-#: darkage.lua
262
-msgid "Old Red Sandstone Rubble"
263
-msgstr "detriti di arenaria rosso antico"
264
-
265
-#: darkage.lua
266
-msgid "Old Red Sandstone Brick"
267
-msgstr "mattoni di arenaria rosso antico"
268
-
269
-#: darkage.lua
270
-msgid "Old Red Sandstone Block"
271
-msgstr "blocchi di arenaria rosso antico"
272
-
273
-#: darkage.lua
274
-msgid "Serpentine"
275
-msgstr "serpentina"
276
-
277
-#: darkage.lua
278
-msgid "Shale"
279
-msgstr "argillite"
280
-
281
-#: darkage.lua
282
-msgid "Schist"
283
-msgstr "scisto"
284
-
285
-#: darkage.lua
286
-msgid "Slate"
287
-msgstr "lavagna"
288
-
289
-#: darkage.lua
290
-msgid "Slate Rubble"
291
-msgstr "detriti di lavagna"
292
-
293
-#: darkage.lua
294
-msgid "Slate Tile"
295
-msgstr "mattonelle di lavagna"
296
-
297
-#: darkage.lua
298
-msgid "Slate Block"
299
-msgstr "blocchi di lavagna"
300
-
301
-#: darkage.lua
302
-msgid "Slate Brick"
303
-msgstr "mattoni di lavagna"
304
-
305
-#: darkage.lua
306
-msgid "Tuff"
307
-msgstr "tufo vulcanico"
308
-
309
-#: darkage.lua
310
-msgid "Tuff Bricks"
311
-msgstr "mattoni di tufo vulcanico"
312
-
313
-#: darkage.lua
314
-msgid "Tuff Rubble"
315
-msgstr "detriti di tufo vulcanico"
316
-
317
-#: darkage.lua
318
-msgid "Rhyolitic Tuff"
319
-msgstr "tufo di riolite"
320
-
321
-#: darkage.lua
322
-msgid "Rhyolitic Tuff Bricks"
323
-msgstr "mattoni di tufo di riolite"
324
-
325
-#: darkage.lua
326
-msgid "Old Tuff Bricks"
327
-msgstr "mattoni di tufo vulcanico vecchio"
328
-
329
-#: darkage.lua
330
-msgid "Rhyolitic Tuff Rubble"
331
-msgstr "detriti di tufo di riolite"
332
-
333 213
 #: moreblocks.lua
334 214
 msgid "All-faces Jungle Tree"
335 215
 msgstr "cuore di albero della giungla"
@@ -359,7 +239,7 @@ msgid "Copper Patina"
359 239
 msgstr "patina di rame"
360 240
 
361 241
 #: moreblocks.lua
362
-msgid "Empty Bookshelf"
242
+msgid "Empty Shelf"
363 243
 msgstr "scaffale vuoto"
364 244
 
365 245
 #: moreblocks.lua
@@ -382,10 +262,6 @@ msgstr "pietra e assi"
382 262
 msgid "Split Stone Tile"
383 263
 msgstr "mattonelle di pietra divisa"
384 264
 
385
-#: moreblocks.lua
386
-msgid "Checkered Stone Tile"
387
-msgstr "mattonelle di pietra a scacchi"
388
-
389 265
 #: moreblocks.lua
390 266
 msgid "Stone Tile"
391 267
 msgstr "mattonelle di pietra"
@@ -394,10 +270,105 @@ msgstr "mattonelle di pietra"
394 270
 msgid "Tar"
395 271
 msgstr "catrame"
396 272
 
397
-#: moreblocks.lua
398
-msgid "Trap Stone"
399
-msgstr "pietra trappola"
400
-
401 273
 #: moreblocks.lua
402 274
 msgid "Full Wooden Tile"
403 275
 msgstr "mattonelle di legno pieno"
276
+
277
+#~ msgid "[Mod] Hidden Doors loaded"
278
+#~ msgstr "[Mod] Hidden Doors caricato"
279
+
280
+#~ msgid "Adobe"
281
+#~ msgstr "adobo"
282
+
283
+#~ msgid "Basalt"
284
+#~ msgstr "basalto"
285
+
286
+#~ msgid "Basalt Rubble"
287
+#~ msgstr "detriti di basalto"
288
+
289
+#~ msgid "Basalt Brick"
290
+#~ msgstr "mattoni di basalto"
291
+
292
+#~ msgid "Basalt Block"
293
+#~ msgstr "blocchi di basalto"
294
+
295
+#~ msgid "Gneiss"
296
+#~ msgstr "gneis"
297
+
298
+#~ msgid "Gneiss Rubble"
299
+#~ msgstr "detriti di gneis"
300
+
301
+#~ msgid "Gneiss Brick"
302
+#~ msgstr "mattoni di gneis"
303
+
304
+#~ msgid "Gneiss Block"
305
+#~ msgstr "blocchi di gneis"
306
+
307
+#~ msgid "Marble"
308
+#~ msgstr "marmo"
309
+
310
+#~ msgid "Marble Tile"
311
+#~ msgstr "mattonelle di marmo"
312
+
313
+#~ msgid "Old Red Sandstone"
314
+#~ msgstr "arenaria rosso antico"
315
+
316
+#~ msgid "Old Red Sandstone Rubble"
317
+#~ msgstr "detriti di arenaria rosso antico"
318
+
319
+#~ msgid "Old Red Sandstone Brick"
320
+#~ msgstr "mattoni di arenaria rosso antico"
321
+
322
+#~ msgid "Old Red Sandstone Block"
323
+#~ msgstr "blocchi di arenaria rosso antico"
324
+
325
+#~ msgid "Serpentine"
326
+#~ msgstr "serpentina"
327
+
328
+#~ msgid "Shale"
329
+#~ msgstr "argillite"
330
+
331
+#~ msgid "Schist"
332
+#~ msgstr "scisto"
333
+
334
+#~ msgid "Slate"
335
+#~ msgstr "lavagna"
336
+
337
+#~ msgid "Slate Rubble"
338
+#~ msgstr "detriti di lavagna"
339
+
340
+#~ msgid "Slate Tile"
341
+#~ msgstr "mattonelle di lavagna"
342
+
343
+#~ msgid "Slate Block"
344
+#~ msgstr "blocchi di lavagna"
345
+
346
+#~ msgid "Slate Brick"
347
+#~ msgstr "mattoni di lavagna"
348
+
349
+#~ msgid "Tuff"
350
+#~ msgstr "tufo vulcanico"
351
+
352
+#~ msgid "Tuff Bricks"
353
+#~ msgstr "mattoni di tufo vulcanico"
354
+
355
+#~ msgid "Tuff Rubble"
356
+#~ msgstr "detriti di tufo vulcanico"
357
+
358
+#~ msgid "Rhyolitic Tuff"
359
+#~ msgstr "tufo di riolite"
360
+
361
+#~ msgid "Rhyolitic Tuff Bricks"
362
+#~ msgstr "mattoni di tufo di riolite"
363
+
364
+#~ msgid "Old Tuff Bricks"
365
+#~ msgstr "mattoni di tufo vulcanico vecchio"
366
+
367
+#~ msgid "Rhyolitic Tuff Rubble"
368
+#~ msgstr "detriti di tufo di riolite"
369
+
370
+#~ msgid "Checkered Stone Tile"
371
+#~ msgstr "mattonelle di pietra a scacchi"
372
+
373
+#~ msgid "Trap Stone"
374
+#~ msgstr "pietra trappola"

+ 6
- 134
mods/buildings_etc/hidden_doors/locale/template.pot View File

@@ -8,7 +8,7 @@ msgid ""
8 8
 msgstr ""
9 9
 "Project-Id-Version: PACKAGE VERSION\n"
10 10
 "Report-Msgid-Bugs-To: \n"
11
-"POT-Creation-Date: 2017-08-31 23:55+0200\n"
11
+"POT-Creation-Date: 2018-09-12 14:18+0200\n"
12 12
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 13
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 14
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,16 +17,16 @@ msgstr ""
17 17
 "Content-Type: text/plain; charset=CHARSET\n"
18 18
 "Content-Transfer-Encoding: 8bit\n"
19 19
 
20
-#: init.lua
20
+#: main.lua
21 21
 msgid "Concealed "
22 22
 msgstr ""
23 23
 
24
-#: init.lua
24
+#: main.lua
25 25
 msgid " Door"
26 26
 msgstr ""
27 27
 
28
-#: init.lua
29
-msgid "[Mod] Hidden Doors loaded"
28
+#: main.lua
29
+msgid "Painted "
30 30
 msgstr ""
31 31
 
32 32
 #: minetest_game.lua
@@ -209,126 +209,6 @@ msgstr ""
209 209
 msgid "Desert Sand"
210 210
 msgstr ""
211 211
 
212
-#: darkage.lua
213
-msgid "Adobe"
214
-msgstr ""
215
-
216
-#: darkage.lua
217
-msgid "Basalt"
218
-msgstr ""
219
-
220
-#: darkage.lua
221
-msgid "Basalt Rubble"
222
-msgstr ""
223
-
224
-#: darkage.lua
225
-msgid "Basalt Brick"
226
-msgstr ""
227
-
228
-#: darkage.lua
229
-msgid "Basalt Block"
230
-msgstr ""
231
-
232
-#: darkage.lua
233
-msgid "Gneiss"
234
-msgstr ""
235
-
236
-#: darkage.lua
237
-msgid "Gneiss Rubble"
238
-msgstr ""
239
-
240
-#: darkage.lua
241
-msgid "Gneiss Brick"
242
-msgstr ""
243
-
244
-#: darkage.lua
245
-msgid "Gneiss Block"
246
-msgstr ""
247
-
248
-#: darkage.lua
249
-msgid "Marble"
250
-msgstr ""
251
-
252
-#: darkage.lua
253
-msgid "Marble Tile"
254
-msgstr ""
255
-
256
-#: darkage.lua
257
-msgid "Old Red Sandstone"
258
-msgstr ""
259
-
260
-#: darkage.lua
261
-msgid "Old Red Sandstone Rubble"
262
-msgstr ""
263
-
264
-#: darkage.lua
265
-msgid "Old Red Sandstone Brick"
266
-msgstr ""
267
-
268
-#: darkage.lua
269
-msgid "Old Red Sandstone Block"
270
-msgstr ""
271
-
272
-#: darkage.lua
273
-msgid "Serpentine"
274
-msgstr ""
275
-
276
-#: darkage.lua
277
-msgid "Shale"
278
-msgstr ""
279
-
280
-#: darkage.lua
281
-msgid "Schist"
282
-msgstr ""
283
-
284
-#: darkage.lua
285
-msgid "Slate"
286
-msgstr ""
287
-
288
-#: darkage.lua
289
-msgid "Slate Rubble"
290
-msgstr ""
291
-
292
-#: darkage.lua
293
-msgid "Slate Tile"
294
-msgstr ""
295
-
296
-#: darkage.lua
297
-msgid "Slate Block"
298
-msgstr ""
299
-
300
-#: darkage.lua
301
-msgid "Slate Brick"
302
-msgstr ""
303
-
304
-#: darkage.lua
305
-msgid "Tuff"
306
-msgstr ""
307
-
308
-#: darkage.lua
309
-msgid "Tuff Bricks"
310
-msgstr ""
311
-
312
-#: darkage.lua
313
-msgid "Tuff Rubble"
314
-msgstr ""
315
-
316
-#: darkage.lua
317
-msgid "Rhyolitic Tuff"
318
-msgstr ""
319
-
320
-#: darkage.lua
321
-msgid "Rhyolitic Tuff Bricks"
322
-msgstr ""
323
-
324
-#: darkage.lua
325
-msgid "Old Tuff Bricks"
326
-msgstr ""
327
-
328
-#: darkage.lua
329
-msgid "Rhyolitic Tuff Rubble"
330
-msgstr ""
331
-
332 212
 #: moreblocks.lua
333 213
 msgid "All-faces Jungle Tree"
334 214
 msgstr ""
@@ -358,7 +238,7 @@ msgid "Copper Patina"
358 238
 msgstr ""
359 239
 
360 240
 #: moreblocks.lua
361
-msgid "Empty Bookshelf"
241
+msgid "Empty Shelf"
362 242
 msgstr ""
363 243
 
364 244
 #: moreblocks.lua
@@ -381,10 +261,6 @@ msgstr ""
381 261
 msgid "Split Stone Tile"
382 262
 msgstr ""
383 263
 
384
-#: moreblocks.lua
385
-msgid "Checkered Stone Tile"
386
-msgstr ""
387
-
388 264
 #: moreblocks.lua
389 265
 msgid "Stone Tile"
390 266
 msgstr ""
@@ -393,10 +269,6 @@ msgstr ""
393 269
 msgid "Tar"
394 270
 msgstr ""
395 271
 
396
-#: moreblocks.lua
397
-msgid "Trap Stone"
398
-msgstr ""
399
-
400 272
 #: moreblocks.lua
401 273
 msgid "Full Wooden Tile"
402 274
 msgstr ""

+ 54
- 22
mods/buildings_etc/hidden_doors/main.lua View File

@@ -1,8 +1,8 @@
1 1
 --[[
2 2
 
3
-   Hidden Doors main.lua
3
+   Hidden Doors - Adds various wood, stone, etc. doors.
4 4
 
5
-   Copyright 2017 Hamlet <h4mlet@riseup.net>, Napiophelios
5
+   Copyright (C) 2017-2018  Hamlet, Napiophelios, Treer
6 6
 
7 7
    This program is free software; you can redistribute it and/or modify
8 8
    it under the terms of the GNU General Public License as published by
@@ -31,12 +31,18 @@ hidden_doors = {}
31 31
 local description_1 = S("Concealed ")
32 32
 local description_2 = S(" Door")
33 33
 
34
+-- 'painted' doors are not fully concealed, they are wooden doors painted to blend in
35
+local doors_are_painted = minetest.settings:get_bool("hidden_doors_painted", false)
36
+
37
+if doors_are_painted then 
38
+    description_1 = S("Painted ") 
39
+end
40
+
34 41
 -- Hidden Doors' sounds
35 42
 local hidden_doors_vol = tonumber(minetest.settings:get("hidden_doors_vol"))
36 43
 
37 44
 if not hidden_doors_vol then
38 45
    hidden_doors_vol = 5.0
39
-   minetest.settings:set("hidden_doors_vol", hidden_doors_vol)
40 46
 end
41 47
 
42 48
 stone_default = default.node_sound_stone_defaults()
@@ -70,12 +76,8 @@ local Y4 = 0   local X4 = 0
70 76
 
71 77
 local hidden_doors_res = tonumber(minetest.settings:get("hidden_doors_res"))
72 78
 
73
-
74 79
 if not hidden_doors_res then
75
-
76 80
    hidden_doors_res = pixels
77
-   minetest.settings:set("hidden_doors_res", hidden_doors_res)
78
-
79 81
 end
80 82
 
81 83
 
@@ -171,6 +173,37 @@ else
171 173
 end
172 174
 
173 175
 
176
+function hidden_doors.get_painted_texture_suffix(use_default_16px_res)
177
+
178
+   local texture_suffix = ""
179
+   local texture_suffix_inv = ""
180
+
181
+   if doors_are_painted then 
182
+
183
+      local paint_opacity = 35
184
+      local paint_opacity_inv = paint_opacity + 15
185
+
186
+      if use_default_16px_res then
187
+         texture_suffix = 
188
+            "^((hidden_doors_painted_overlay.png^[opacity:" .. paint_opacity ..
189
+            "^hidden_doors_hinges_overlay.png)^[resize:38x32)"
190
+         texture_suffix_inv = 
191
+            ":8,0=hidden_doors_painted_overlay.png\\^[opacity\\:" .. 
192
+            paint_opacity_inv .. "\\^[resize\\:38x32"
193
+      else 
194
+         texture_suffix = 
195
+            "^((hidden_doors_painted_overlay.png^[opacity:" .. paint_opacity .. 
196
+            "^hidden_doors_hinges_overlay.png)^[resize:" .. image_size .. ")"
197
+         texture_suffix_inv = 
198
+            ": " .. X1 .. ",0=hidden_doors_painted_overlay.png\\^[opacity\\:" .. 
199
+            paint_opacity_inv .. "\\^[resize\\:" .. image_size
200
+      end
201
+   end
202
+
203
+   return texture_suffix, texture_suffix_inv
204
+end
205
+
206
+
174 207
 function hidden_doors.register_hidden_doors(modname, subname, recipeItem1,
175 208
    recipeItem2, recipeItem3, desc, sounds, sound_open, sound_close)
176 209
 
@@ -188,18 +221,22 @@ function hidden_doors.register_hidden_doors(modname, subname, recipeItem1,
188 221
          "0=" .. texture_name .. ":" .. X4 .. "," ..
189 222
          Y3 .. "=" .. texture_name
190 223
 
224
+      local painted_texture_suffix, painted_texture_suffix_inv =
225
+         hidden_doors.get_painted_texture_suffix(false)  
226
+
191 227
       doors.register("hidden_door_" .. subname, {
192 228
 
193 229
          description = description_1 .. desc .. description_2,
194 230
 
195 231
          tiles = {{ name = "(" .. new_texture ..
196
-            "^[transformFX)^[combine:" .. image_size.. ":" ..X3.. "," ..
232
+            "^[transformFX)^([combine:" .. image_size.. ":" ..X3.. "," ..
197 233
             "0=" .. texture_name .. ":" .. X3 .. "," ..
198
-            Y3 .. "=" .. texture_name , backface_culling = true }},
234
+            Y3 .. "=" .. texture_name .. ")" .. painted_texture_suffix, 
235
+            backface_culling = true }},
199 236
 
200 237
          inventory_image = "[combine:" .. inv_size .. ":" .. X1 .. "," ..
201 238
             "0=" .. texture_name .. ":" .. X1 .. "," ..
202
-            Y1 .. "=" ..texture_name,
239
+            Y1 .. "=" ..texture_name .. painted_texture_suffix_inv,
203 240
 
204 241
          groups = {cracky = 1, level = 2},
205 242
          sounds = sounds,
@@ -219,18 +256,22 @@ function hidden_doors.register_hidden_doors(modname, subname, recipeItem1,
219 256
          "0=" .. texture_name .. ": 22," ..
220 257
          "16=" .. texture_name
221 258
 
259
+      local painted_texture_suffix, painted_texture_suffix_inv =
260
+         hidden_doors.get_painted_texture_suffix(true)    
261
+ 
222 262
       doors.register("hidden_door_" .. subname, {
223 263
 
224 264
          description = description_1 .. desc .. description_2,
225 265
 
226 266
          tiles = {{ name = "(" .. new_texture ..
227
-            "^[transformFX)^[combine:" .. "38x32" .. ": 16," ..
267
+            "^[transformFX)^([combine:" .. "38x32" .. ": 16," ..
228 268
             "0=" .. texture_name .. ": 16," ..
229
-            "16=" .. texture_name , backface_culling = true }},
269
+            "16=" .. texture_name .. ")" .. painted_texture_suffix, 
270
+            backface_culling = true }},
230 271
 
231 272
          inventory_image = "[combine:" .. "32x32" .. ": 8," ..
232 273
             "0=" .. texture_name .. ": 8," ..
233
-            "16=" .. texture_name,
274
+            "16=" .. texture_name .. painted_texture_suffix_inv,
234 275
 
235 276
          groups = {cracky = 1, level = 2},
236 277
          sounds = sounds,
@@ -256,18 +297,9 @@ dofile(MP .. "/minetest_game.lua")
256 297
 --
257 298
 
258 299
 if minetest.get_modpath("darkage") then
259
-
260 300
    dofile(MP .. "/darkage.lua")
261
-
262 301
 end
263 302
 
264 303
 if minetest.get_modpath("moreblocks") then
265
-
266 304
    dofile(MP .. "/moreblocks.lua")
267
-
268
-end
269
-
270
-
271
-if minetest.settings:get("log_mods") then
272
-   minetest.log("action", S("[Mod] Hidden Doors loaded"))
273 305
 end

+ 2
- 2
mods/buildings_etc/hidden_doors/minetest_game.lua View File

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

+ 7
- 1
mods/buildings_etc/hidden_doors/mod.conf View File

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

+ 2
- 2
mods/buildings_etc/hidden_doors/moreblocks.lua View File

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

+ 2
- 2
mods/buildings_etc/hidden_doors/remover.lua View File

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

BIN
mods/buildings_etc/hidden_doors/screenshot.png View File


+ 6
- 0
mods/buildings_etc/hidden_doors/settingtypes.txt View File

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

BIN
mods/buildings_etc/hidden_doors/textures/hidden_doors_hinges_overlay.png View File


BIN
mods/buildings_etc/hidden_doors/textures/hidden_doors_painted_overlay.png View File


+ 3
- 0
mods/buildings_etc/my_castle_doors/depends.txt View File

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

+ 1
- 0
mods/buildings_etc/my_castle_doors/description.txt View File

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

+ 2
- 0
mods/buildings_etc/my_castle_doors/init.lua View File

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

+ 141
- 0
mods/buildings_etc/my_castle_doors/locked.lua View File

@@ -0,0 +1,141 @@
1
+local cdoor_list = {   --Number , Description , Inven Image , Image
2
+	{"Castle Door 1" , "door1"},
3
+	{"Castle Door 2" , "door2"},
4
+--	{"Castle Door 3" , "door3"},
5
+--	{"Castle Door 4" , "door4"},
6
+--	{"Castle Door 5" , "door5"},
7
+	{"Castle Door 6" , "door6"},
8
+	{"Castle Door 7" , "door7"},
9
+	{"Castle Door 8" , "door8"},
10
+--	{"Castle Door 9" , "door9"},
11
+--	{"Castle Door 10" , "door10"},
12
+--	{"Castle Door 11" , "door11"},
13
+--	{"Castle Door 12" , "door12"},
14
+--	{"Castle Door 13" , "door13"},
15
+}
16
+
17
+
18
+for i in ipairs(cdoor_list) do
19
+	local desc = cdoor_list[i][1]
20
+	local img = cdoor_list[i][2]
21
+
22
+
23
+doors.register("my_castle_doors:"..img.."_locked", {
24
+	description = desc.." Locked",
25
+	inventory_image = "mydoors_"..img.."_inv.png",
26
+	groups = {choppy=2,cracky=2,door=1},
27
+	tiles = {{ name = "mydoors_"..img..".png", backface_culling = true }},
28
+	protected = true,
29
+})
30
+end
31
+
32
+---[[ Crafts
33
+
34
+minetest.register_craft({
35
+	output = "my_castle_doors:door1_locked 1",
36
+	recipe = {
37
+		{"default:steel_ingot", "default:glass", ""},
38
+		{"my_door_wood:wood_dark_grey", "my_door_wood:wood_dark_grey", "default:steel_ingot"},
39
+		{"my_door_wood:wood_dark_grey", "default:steel_ingot", ""}
40
+	}
41
+})
42
+
43
+minetest.register_craft({
44
+	output = "my_castle_doors:door2_locked 1",
45
+	recipe = {
46
+		{"default:steel_ingot", "default:glass", ""},
47
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", "default:steel_ingot"},
48
+		{"my_door_wood:wood_red", "default:steel_ingot", ""}
49
+	}
50
+})
51
+minetest.register_craft({
52
+	output = "my_castle_doors:door3_locked 1",
53
+	recipe = {
54
+		{"my_door_wood:wood_yellow", "default:steel_ingot", ""},
55
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"},
56
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
57
+	}
58
+})
59
+minetest.register_craft({
60
+	output = "my_castle_doors:door4_locked 1",
61
+	recipe = {
62
+		{"my_door_wood:wood_brown", "default:steel_ingot", ""},
63
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"},
64
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
65
+	}
66
+})
67
+minetest.register_craft({
68
+	output = "my_castle_doors:door5_locked 1",
69
+	recipe = {
70
+		{"my_door_wood:wood_yellow", "default:steel_ingot", ""},
71
+		{"my_door_wood:wood_white", "my_door_wood:wood_yellow", "default:steel_ingot"},
72
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
73
+	}
74
+})
75
+minetest.register_craft({
76
+	output = "my_castle_doors:door6_locked 1",
77
+	recipe = {
78
+		{"my_door_wood:wood_grey", "my_door_wood:wood_grey", ""},
79
+		{"my_door_wood:wood_grey", "default:steel_ingot", "default:steel_ingot"},
80
+		{"my_door_wood:wood_grey", "my_door_wood:wood_grey", ""}
81
+	}
82
+})
83
+minetest.register_craft({
84
+	output = "my_castle_doors:door7_locked 1",
85
+	recipe = {
86
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
87
+		{"my_door_wood:wood_red", "default:steel_ingot", "default:steel_ingot"},
88
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
89
+	}
90
+})
91
+minetest.register_craft({
92
+	output = "my_castle_doors:door8_locked 1",
93
+	recipe = {
94
+		{"default:steel_ingot", "default:steel_ingot", ""},
95
+		{"my_door_wood:wood_dark_grey", "my_door_wood:wood_dark_grey", "default:steel_ingot"},
96
+		{"default:steel_ingot", "default:steel_ingot", ""}
97
+	}
98
+})
99
+minetest.register_craft({
100
+	output = "my_castle_doors:door9_locked 1",
101
+	recipe = {
102
+		{"default:steel_ingot", "my_door_wood:wood_yellow", ""},
103
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"},
104
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
105
+	}
106
+})
107
+minetest.register_craft({
108
+	output = "my_castle_doors:door10_locked 1",
109
+	recipe = {
110
+		{"my_door_wood:wood_red", "default:steel_ingot", ""},
111
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", "default:steel_ingot"},
112
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
113
+	}
114
+})
115
+minetest.register_craft({
116
+	output = "my_castle_doors:door11_locked 1",
117
+	recipe = {
118
+		{"my_door_wood:wood_brown", "default:steel_ingot", ""},
119
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"},
120
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
121
+	}
122
+})
123
+minetest.register_craft({
124
+	output = "my_castle_doors:door12_locked 1",
125
+	recipe = {
126
+		{"my_door_wood:wood_brown", "default:steel_ingot", ""},
127
+		{"my_door_wood:wood_grey", "my_door_wood:wood_brown", "default:steel_ingot"},
128
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
129
+	}
130
+})
131
+minetest.register_craft({
132
+	output = "my_castle_doors:door13_locked 1",
133
+	recipe = {
134
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"},
135
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"},
136
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"}
137
+	}
138
+})
139
+
140
+
141
+--]]

+ 1
- 0
mods/buildings_etc/my_castle_doors/mod.conf View File

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

BIN
mods/buildings_etc/my_castle_doors/screenshot.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door1.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door10.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door10_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door11.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door11_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door12.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door12_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door13.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door13_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door1_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door2.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door2_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door3.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door3_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door4.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door4_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door5.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door5_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door6.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door6_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door7.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door7_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door8.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door8_inv.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door9.png View File


BIN
mods/buildings_etc/my_castle_doors/textures/mydoors_door9_inv.png View File


+ 138
- 0
mods/buildings_etc/my_castle_doors/unlocked.lua View File

@@ -0,0 +1,138 @@
1
+local cdoor_list = {   --Number , Description , Inven Image , Image
2
+--	{"Castle Door 1" , "door1"},
3
+--	{"Castle Door 2" , "door2"},
4
+	{"Castle Door 3" , "door3"},
5
+	{"Castle Door 4" , "door4"},
6
+	{"Castle Door 5" , "door5"},
7
+--	{"Castle Door 6" , "door6"},
8
+--	{"Castle Door 7" , "door7"},
9
+--	{"Castle Door 8" , "door8"},
10
+	{"Castle Door 9" , "door9"},
11
+	{"Castle Door 10" , "door10"},
12
+	{"Castle Door 11" , "door11"},
13
+	{"Castle Door 12" , "door12"},
14
+	{"Castle Door 13" , "door13"},
15
+}
16
+
17
+
18
+for i in ipairs(cdoor_list) do
19
+	local desc = cdoor_list[i][1]
20
+	local img = cdoor_list[i][2]
21
+
22
+
23
+doors.register_door("my_castle_doors:"..img, {
24
+	description = desc,
25
+	inventory_image = "mydoors_"..img.."_inv.png",
26
+	groups = {choppy=2,cracky=2,door=1},
27
+	tiles = {{name="mydoors_"..img..".png", backface_culling = true}},
28
+	protected = false,
29
+})
30
+end
31
+
32
+-- Crafts
33
+
34
+minetest.register_craft({
35
+	output = "my_castle_doors:door1 1",
36
+	recipe = {
37
+		{"default:steel_ingot", "default:glass", ""},
38
+		{"my_door_wood:wood_dark_grey", "my_door_wood:wood_dark_grey", ""},
39
+		{"my_door_wood:wood_dark_grey", "default:steel_ingot", ""}
40
+	}
41
+})
42
+
43
+minetest.register_craft({
44
+	output = "my_castle_doors:door2 1",
45
+	recipe = {
46
+		{"default:steel_ingot", "default:glass", ""},
47
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
48
+		{"my_door_wood:wood_red", "default:steel_ingot", ""}
49
+	}
50
+})
51
+minetest.register_craft({
52
+	output = "my_castle_doors:door3 1",
53
+	recipe = {
54
+		{"my_door_wood:wood_yellow", "default:steel_ingot", ""},
55
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""},
56
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
57
+	}
58
+})
59
+minetest.register_craft({
60
+	output = "my_castle_doors:door4 1",
61
+	recipe = {
62
+		{"my_door_wood:wood_brown", "default:steel_ingot", ""},
63
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""},
64
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
65
+	}
66
+})
67
+minetest.register_craft({
68
+	output = "my_castle_doors:door5 1",
69
+	recipe = {
70
+		{"my_door_wood:wood_yellow", "default:steel_ingot", ""},
71
+		{"my_door_wood:wood_white", "my_door_wood:wood_yellow", ""},
72
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
73
+	}
74
+})
75
+minetest.register_craft({
76
+	output = "my_castle_doors:door6 1",
77
+	recipe = {
78
+		{"my_door_wood:wood_grey", "my_door_wood:wood_grey", ""},
79
+		{"my_door_wood:wood_grey", "default:steel_ingot", ""},
80
+		{"my_door_wood:wood_grey", "my_door_wood:wood_grey", ""}
81
+	}
82
+})
83
+minetest.register_craft({
84
+	output = "my_castle_doors:door7 1",
85
+	recipe = {
86
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
87
+		{"my_door_wood:wood_red", "default:steel_ingot", ""},
88
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
89
+	}
90
+})
91
+minetest.register_craft({
92
+	output = "my_castle_doors:door8 1",
93
+	recipe = {
94
+		{"default:steel_ingot", "default:steel_ingot", ""},
95
+		{"my_door_wood:wood_dark_grey", "my_door_wood:wood_dark_grey", ""},
96
+		{"default:steel_ingot", "default:steel_ingot", ""}
97
+	}
98
+})
99
+minetest.register_craft({
100
+	output = "my_castle_doors:door9 1",
101
+	recipe = {
102
+		{"default:steel_ingot", "my_door_wood:wood_yellow", ""},
103
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""},
104
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""}
105
+	}
106
+})
107
+minetest.register_craft({
108
+	output = "my_castle_doors:door10 1",
109
+	recipe = {
110
+		{"my_door_wood:wood_red", "default:steel_ingot", ""},
111
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
112
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
113
+	}
114
+})
115
+minetest.register_craft({
116
+	output = "my_castle_doors:door11 1",
117
+	recipe = {
118
+		{"my_door_wood:wood_brown", "default:steel_ingot", ""},
119
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""},
120
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
121
+	}
122
+})
123
+minetest.register_craft({
124
+	output = "my_castle_doors:door12 1",
125
+	recipe = {
126
+		{"my_door_wood:wood_brown", "default:steel_ingot", ""},
127
+		{"my_door_wood:wood_grey", "my_door_wood:wood_brown", ""},
128
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""}
129
+	}
130
+})
131
+minetest.register_craft({
132
+	output = "my_castle_doors:door13 1",
133
+	recipe = {
134
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"},
135
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", ""},
136
+		{"my_door_wood:wood_brown", "my_door_wood:wood_brown", "default:steel_ingot"}
137
+	}
138
+})

+ 3
- 0
mods/buildings_etc/my_cottage_doors/depends.txt View File

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

+ 1
- 0
mods/buildings_etc/my_cottage_doors/description.txt View File

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

+ 2
- 0
mods/buildings_etc/my_cottage_doors/init.lua View File

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

+ 39
- 0
mods/buildings_etc/my_cottage_doors/locked.lua View File

@@ -0,0 +1,39 @@
1
+local cdoor_list = {   --Number , Description , Inven Image , Image
2
+	{"Cottage Door 1" , "door1"},
3
+--	{"Cottage Door 2" , "door2"},
4
+}
5
+
6
+
7
+for i in ipairs(cdoor_list) do
8
+	local desc = cdoor_list[i][1]
9
+	local img = cdoor_list[i][2]
10
+
11
+
12
+doors.register_door("my_cottage_doors:"..img.."_locked", {
13
+	description = desc.." Locked",
14
+	inventory_image = "mycdoors_"..img.."_inv.png",
15
+	groups = {choppy=2,cracky=2,door=1},
16
+	tiles = {{name="mycdoors_"..img..".png", backface_culling = true}},
17
+	protected = true,
18
+})
19
+end
20
+
21
+-- Crafts
22
+
23
+minetest.register_craft({
24
+	output = "my_cottage_doors:door1_locked 1",
25
+	recipe = {
26
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"},
27
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"},
28
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"}
29
+	}
30
+})
31
+
32
+minetest.register_craft({
33
+	output = "my_cottage_doors:door2_locked 1",
34
+	recipe = {
35
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
36
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", "default:steel_ingot"},
37
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
38
+	}
39
+})

+ 1
- 0
mods/buildings_etc/my_cottage_doors/mod.conf View File

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

BIN
mods/buildings_etc/my_cottage_doors/screenshot.png View File


BIN
mods/buildings_etc/my_cottage_doors/textures/mycdoors_door1.png View File


BIN
mods/buildings_etc/my_cottage_doors/textures/mycdoors_door1_inv.png View File


BIN
mods/buildings_etc/my_cottage_doors/textures/mycdoors_door2.png View File


BIN
mods/buildings_etc/my_cottage_doors/textures/mycdoors_door2_inv.png View File


+ 39
- 0
mods/buildings_etc/my_cottage_doors/unlocked.lua View File

@@ -0,0 +1,39 @@
1
+local cdoor_list = {   --Number , Description , Inven Image , Image
2
+--	{"Cottage Door 1" , "door1"},
3
+	{"Cottage Door 2" , "door2"},
4
+}
5
+
6
+
7
+for i in ipairs(cdoor_list) do
8
+	local desc = cdoor_list[i][1]
9
+	local img = cdoor_list[i][2]
10
+
11
+
12
+doors.register_door("my_cottage_doors:"..img, {
13
+	description = desc,
14
+	inventory_image = "mycdoors_"..img.."_inv.png",
15
+	groups = {choppy=2,cracky=2,door=1},
16
+	tiles = {{name="mycdoors_"..img..".png", backface_culling = true}},
17
+	protected = false,
18
+})
19
+end
20
+
21
+-- Crafts
22
+
23
+minetest.register_craft({
24
+	output = "my_cottage_doors:door1 1",
25
+	recipe = {
26
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"},
27
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", ""},
28
+		{"my_door_wood:wood_yellow", "my_door_wood:wood_yellow", "default:steel_ingot"}
29
+	}
30
+})
31
+
32
+minetest.register_craft({
33
+	output = "my_cottage_doors:door2 1",
34
+	recipe = {
35
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
36
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""},
37
+		{"my_door_wood:wood_red", "my_door_wood:wood_red", ""}
38
+	}
39
+})

+ 3
- 0
mods/buildings_etc/my_door_wood/depends.txt View File

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

+ 1
- 0
mods/buildings_etc/my_door_wood/description.txt View File

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

+ 62
- 0
mods/buildings_etc/my_door_wood/init.lua View File

@@ -0,0 +1,62 @@
1
+local door_wood = { -- color, desc, image
2
+	{"red", "Red Stained", "red"},
3
+	{"grey", "Grey Stained", "grey"},
4
+	{"dark_grey", "Dark Grey Stained", "dark_grey"},
5
+	{"brown", "Brown Stained", "brown"},
6
+	{"white", "White Stained", "white"},
7
+	{"yellow", "Clear Stained", "yellow"},
8
+	{"black", "Black", "black"},
9
+}
10
+local function my_door_wood_block_stairs(nodename, def)	
11
+	local mod = string.match (nodename,"(.+):")
12
+	local name = string.match (nodename,":(.+)")
13
+	minetest.register_node(nodename,def)
14
+	if minetest.get_modpath("moreblocks") then
15
+		stairsplus:register_all(
16
+			mod,
17
+			name,
18
+			nodename,
19
+			{
20
+				description = def.description,
21
+				tiles = def.tiles,
22
+				groups = def.groups,
23
+				sounds = def.sounds,
24
+			}
25
+		)
26
+	elseif minetest.get_modpath("stairs") then	
27
+		stairs.register_stair_and_slab(name,nodename,
28
+			def.groups,
29
+			def.tiles,
30
+			("%s Stair"):format(def.description),
31
+			("%s Slab"):format(def.description),
32
+			def.sounds
33
+		)	
34
+	end	
35
+end
36
+for i in ipairs(door_wood) do
37
+	local color = door_wood[i][1]
38
+	local desc = door_wood[i][2]
39
+	local img = door_wood[i][3]
40
+
41
+my_door_wood_block_stairs("my_door_wood:wood_"..color, {
42
+	description = desc.." Wood",
43
+	drawtype = "normal",
44
+	paramtype = "light",
45
+	tiles = {"mydoors_"..img.."_wood.png"},
46
+	paramtype = "light",
47
+	groups = {cracky = 2, choppy = 2},
48
+	sounds = default.node_sound_wood_defaults(),
49
+
50
+})
51
+
52
+-- Crafts
53
+
54
+minetest.register_craft({
55
+	output = "my_door_wood:wood_"..color,
56
+	recipe = {
57
+		{"default:wood", "", ""},
58
+		{"dye:"..color, "", ""},
59
+		{"", "", ""}
60
+	}
61
+})
62
+end

+ 1
- 0
mods/buildings_etc/my_door_wood/mod.conf View File

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

BIN
mods/buildings_etc/my_door_wood/screenshot.png View File


BIN
mods/buildings_etc/my_door_wood/textures/mydoors_black_wood.png View File


BIN
mods/buildings_etc/my_door_wood/textures/mydoors_brown_wood.png View File


BIN
mods/buildings_etc/my_door_wood/textures/mydoors_dark_grey_wood.png View File


BIN
mods/buildings_etc/my_door_wood/textures/mydoors_grey_wood.png View File


BIN
mods/buildings_etc/my_door_wood/textures/mydoors_red_wood.png View File


BIN
mods/buildings_etc/my_door_wood/textures/mydoors_swood.png View File


BIN
mods/buildings_etc/my_door_wood/textures/mydoors_white_wood.png View File


BIN
mods/buildings_etc/my_door_wood/textures/mydoors_yellow_wood.png View File


+ 0
- 0
mods/buildings_etc/ts_furniture/LICENSE View File


+ 0
- 0
mods/buildings_etc/ts_furniture/README.txt View File


+ 0
- 0
mods/buildings_etc/ts_furniture/depends.txt View File


+ 0
- 0
mods/buildings_etc/ts_furniture/description.txt View File


+ 15
- 0
mods/buildings_etc/ts_furniture/init.lua View File

@@ -3,6 +3,18 @@ ts_furniture = {}
3 3
 -- If true, you can sit on chairs and benches, when right-click them.
4 4
 ts_furniture.enable_sitting = true
5 5
 
6
+local valid_player_model_versions =  {
7
+	default_character_v1 = true,  -- ignored
8
+	default_character_v2 = true,
9
+	default_character_v3 = true,
10
+}
11
+local player_model_version = "default_character_v2"
12
+
13
+if minetest.get_modpath("player_api") ~= nil then
14
+	player_model_version = "default_character_v3"
15
+end
16
+
17
+
6 18
 
7 19
 -- The following code is from "Get Comfortable [cozy]" (by everamzah; published under WTFPL).
8 20
 -- Thomas S. modified it, so that it can be used in this mod
@@ -32,6 +44,9 @@ ts_furniture.sit = function(name, pos)
32 44
 		default.player_attached[name] = false
33 45
 		default.player_set_animation(player, "stand", 30)
34 46
 	else
47
+		if player_model_version == "default_character_v3" then
48
+			pos.y = pos.y - 0.6
49
+		end
35 50
 		player:moveto(pos)
36 51
 		player:set_eye_offset({ x = 0, y = -7, z = 2 }, { x = 0, y = 0, z = 0 })
37 52
 		player:set_physics_override(0, 0, 0)

+ 0
- 0
mods/buildings_etc/ts_furniture/mod.conf View File


+ 0
- 0
mods/buildings_etc/ts_furniture/screenshot.png View File


+ 1
- 1
mods/character/3d_armor/3d_armor/api.lua View File

@@ -74,7 +74,7 @@ armor = {
74 74
 		on_destroy = {},
75 75
 	},
76 76
 	migrate_old_inventory = true,
77
-	version = "0.4.11",
77
+	version = "0.4.12",
78 78
 }
79 79
 
80 80
 armor.config = {

+ 12
- 11
mods/character/3d_armor/3d_armor/init.lua View File

@@ -1,13 +1,3 @@
1
-armor_i18n = { }
2
-local MP = minetest.get_modpath(minetest.get_current_modname())
3
-armor_i18n.gettext, armor_i18n.ngettext = dofile(MP.."/intllib.lua")
4
-armor_i18n.fgettext = function(...) return minetest.formspec_escape(armor_i18n.gettext(...)) end
5
-local S = armor_i18n.gettext
6
-local F = armor_i18n.fgettext
7
-
8 1
 local modname = minetest.get_current_modname()
9 2
 local modpath = minetest.get_modpath(modname)
10 3
 local worldpath = minetest.get_worldpath()
@@ -15,6 +5,14 @@ local last_punch_time = {}
15 5
 local pending_players = {}
16 6
 local timer = 0
17 7
 
8
+-- support for i18n
9
+armor_i18n = { }
10
+armor_i18n.gettext, armor_i18n.ngettext = dofile(modpath.."/intllib.lua")
11
+
12
+-- local functions
13
+local S = armor_i18n.gettext
14
+local F = minetest.formspec_escape
15
+
18 16
 dofile(modpath.."/api.lua")
19 17
 
20 18
 -- Legacy Config Support
@@ -68,7 +66,7 @@ end
68 66
 
69 67
 if minetest.get_modpath("technic") then
70 68
 	armor.formspec = armor.formspec..
71
-		"label[5,2.5;"..F("Radiation")..":  armor_group_radiation]"
69
+		"label[5,2.5;"..F(S("Radiation"))..":  armor_group_radiation]"
72 70
 	armor:register_armor_group("radiation")
73 71
 end
74 72
 local skin_mods = {"skins", "u_skins", "simple_skins", "wardrobe"}
@@ -96,10 +94,10 @@ dofile(modpath.."/armor.lua")
96 94
 -- Armor Initialization
97 95
 
98 96
 armor.formspec = armor.formspec..
99
-	"label[5,1;"..F("Level")..": armor_level]"..
100
-	"label[5,1.5;"..F("Heal")..":  armor_attr_heal]"
97
+	"label[5,1;"..F(S("Level"))..": armor_level]"..
98
+	"label[5,1.5;"..F(S("Heal"))..":  armor_attr_heal]"
101 99
 if armor.config.fire_protect then
102
-	armor.formspec = armor.formspec.."label[5,2;"..F("Fire")..":  armor_fire]"
100
+	armor.formspec = armor.formspec.."label[5,2;"..F(S("Fire"))..":  armor_attr_fire]"
103 101
 end
104 102
 armor:register_on_destroy(function(player, index, stack)
105 103
 	local name = player:get_player_name()

+ 10
- 99
mods/character/3d_armor/3d_armor/locale/fr.po View File

@@ -1,14 +1,14 @@
1
-# SOME DESCRIPTIVE TITLE.
2
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
-# This file is distributed under the same license as the PACKAGE package.
4
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
1
+# French translation for 3D ARMOR MOD
2
+# Copyright (C) 2018 by Stuart Jones
3
+# This file is distributed under the same license as the 3D ARMOR MOD package.
4
+# fat115 <fat115@framasoft.org>, 2017.
5 5
 #
6 6
 msgid ""
7 7
 msgstr ""
8 8
 "Project-Id-Version: \n"
9 9
 "Report-Msgid-Bugs-To: \n"
10
-"POT-Creation-Date: 2017-08-06 18:20+0200\n"
11
-"PO-Revision-Date: 2017-08-06 18:20+0200\n"
10
+"POT-Creation-Date: 2018-07-23 21:24+0200\n"
11
+"PO-Revision-Date: 2018-07-23 21:30+0200\n"
12 12
 "Last-Translator: fat115 <fat115@framasoft.org>\n"
13 13
 "Language-Team: \n"
14 14
 "Language: fr\n"
@@ -19,21 +19,17 @@ msgstr ""
19 19
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
20 20
 
21 21
 #: ../3d_armor/api.lua
22
-msgid "3d_armor: Player name is nil @1"
23
-msgstr "3d_armor : Nom du joueur non trouvé @1"
22
+msgid "3d_armor: Player reference is nil @1"
23
+msgstr "3d_armor : Référence au joueur non trouvée @1"
24 24
 
25 25
 #: ../3d_armor/api.lua
26
-msgid "3d_armor: Player inventory is nil @1"
27
-msgstr "3d_armor : Inventaire du joueur non trouvé @1"
26
+msgid "3d_armor: Player name is nil @1"
27
+msgstr "3d_armor : Nom du joueur non trouvé @1"
28 28
 
29 29
 #: ../3d_armor/api.lua
30 30
 msgid "3d_armor: Detached armor inventory is nil @1"
31 31
 msgstr "3d_armor : Inventaire détaché pour l'armure non trouvé @1"
32 32
 
33
-#: ../3d_armor/api.lua
34
-msgid "3d_armor: Player reference is nil @1"
35
-msgstr "3d_armor : Référence au joueur non trouvée @1"
36
-
37 33
 #: ../3d_armor/armor.lua
38 34
 msgid "Admin Helmet"
39 35
 msgstr "Casque d'admin"
@@ -254,34 +250,6 @@ msgstr "Armure 3d"
254 250
 msgid "Armor not initialized!"
255 251
 msgstr "Armure non initialisée !"
256 252
 
257
-#: ../hazmat_suit/init.lua
258
-msgid "hazmat_suit: Mod loaded but unused."
259
-msgstr "hazmat_suit : Mod chargé mais non utilisé."
260
-
261
-#: ../hazmat_suit/init.lua
262
-msgid "Hazmat Helmet"
263
-msgstr "Casque 'Hazmat'"
264
-
265
-#: ../hazmat_suit/init.lua
266
-msgid "Hazmat Chestplate"
267
-msgstr "Cuirasse 'Hazmat'"
268
-
269
-#: ../hazmat_suit/init.lua
270
-msgid "Hazmat Sleeve"
271
-msgstr "Manches 'Hazmat'"
272
-
273
-#: ../hazmat_suit/init.lua
274
-msgid "Hazmat Leggins"
275
-msgstr "Jambières 'Hazmat'"
276
-
277
-#: ../hazmat_suit/init.lua
278
-msgid "Hazmat Boots"
279
-msgstr "Bottes 'Hazmat'"
280
-
281
-#: ../hazmat_suit/init.lua
282
-msgid "Hazmat Suit"
283
-msgstr "Combinaison 'Hazmat'"
284
-
285 253
 #: ../shields/init.lua
286 254
 msgid "Admin Shield"
287 255
 msgstr "Bouclier d'admin"
@@ -325,60 +293,3 @@ msgstr "Bouclier en mithril"
325 293
 #: ../shields/init.lua
326 294
 msgid "Crystal Shield"
327 295
 msgstr "Bouclier en cristal"
328
-
329
-#: ../technic_armor/init.lua
330
-msgid "technic_armor: Mod loaded but unused."
331
-msgstr "technic_armor : Mod chargé mais non utilisé."
332
-
333
-#: ../technic_armor/init.lua
334
-msgid "Lead"
335
-msgstr "plomb"
336
-
337
-#: ../technic_armor/init.lua
338
-msgid "Brass"
339
-msgstr "laiton"
340
-
341
-#: ../technic_armor/init.lua
342
-msgid "Cast Iron"
343
-msgstr "fonte"
344
-
345
-#: ../technic_armor/init.lua
346
-msgid "Carbon Steel"
347
-msgstr "acier au carbone"
348
-
349
-#: ../technic_armor/init.lua
350
-msgid "Stainless Steel"
351
-msgstr "acier inoxydable"
352
-
353
-#: ../technic_armor/init.lua
354
-msgid "Tin"
355
-msgstr "étain"
356
-
357
-#: ../technic_armor/init.lua
358
-msgid "Silver"
359
-msgstr "argent"
360
-
361
-#: ../technic_armor/init.lua
362
-msgid "Helmet"
363
-msgstr "Casque"
364
-
365
-#: ../technic_armor/init.lua
366
-msgid "Chestplate"
367
-msgstr "Cuirasse"
368
-
369
-#: ../technic_armor/init.lua
370
-msgid "Leggings"
371
-msgstr "Jambières"
372
-
373
-#: ../technic_armor/init.lua
374
-msgid "Boots"
375
-msgstr "Bottes"
376
-
377
-#: ../technic_armor/init.lua
378
-msgid "Shield"
379
-msgstr "Bouclier"
380
-
381
-#. 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)
382
-#: ../technic_armor/init.lua
383
-msgid "@1 @2"
384
-msgstr "@2 en @1"

+ 9
- 98
mods/character/3d_armor/3d_armor/locale/it.po View File

@@ -1,14 +1,14 @@
1
-# ITALIAN LOCALE FILE FOR THE 3D ARMOR MODULE
2
-# Copyright (C) 2012-2017 Stuart Jones
3
-# This file is distributed under the same license as the 3D ARMOR package.
1
+# Italian translation for 3D ARMOR MOD
2
+# Copyright (C) 2018 by Stuart Jones
3
+# This file is distributed under the same license as the 3D ARMOR MOD package.
4 4
 # Hamlet <h4mlet@riseup.net>, 2017.
5 5
 #
6 6
 msgid ""
7 7
 msgstr ""
8 8
 "Project-Id-Version: Italian localization file for the 3D Armor module\n"
9 9
 "Report-Msgid-Bugs-To: \n"
10
-"POT-Creation-Date: 2017-08-06 18:20+0200\n"
11
-"PO-Revision-Date: 2017-08-18 00:36+0100\n"
10
+"POT-Creation-Date: 2018-07-23 21:24+0200\n"
11
+"PO-Revision-Date: 2018-07-23 21:30+0200\n"
12 12
 "Last-Translator: H4mlet <h4mlet@riseup.net>\n"
13 13
 "Language-Team: ITALIANO\n"
14 14
 "Language: it\n"
@@ -19,21 +19,17 @@ msgstr ""
19 19
 "X-Generator: Poedit 1.6.10\n"
20 20
 
21 21
 #: ../3d_armor/api.lua
22
-msgid "3d_armor: Player name is nil @1"
23
-msgstr "3d_armor: Il nome della/del gicatrice/tore è nullo @1"
22
+msgid "3d_armor: Player reference is nil @1"
23
+msgstr "3d_armor: Il riferimento alla/al giocatrice/tore è nullo @1"
24 24
 
25 25
 #: ../3d_armor/api.lua
26
-msgid "3d_armor: Player inventory is nil @1"
27
-msgstr "3d_armor: L'inventario della/del giocatrice/tore è nullo @1"
26
+msgid "3d_armor: Player name is nil @1"
27
+msgstr "3d_armor: Il nome della/del gicatrice/tore è nullo @1"
28 28
 
29 29
 #: ../3d_armor/api.lua
30 30
 msgid "3d_armor: Detached armor inventory is nil @1"
31 31
 msgstr "3d_armor: L'inventario staccato dell'armatura è nullo @1"
32 32
 
33
-#: ../3d_armor/api.lua
34
-msgid "3d_armor: Player reference is nil @1"
35
-msgstr "3d_armor: Il riferimento alla/al giocatrice/tore è nullo @1"
36
-
37 33
 #: ../3d_armor/armor.lua
38 34
 msgid "Admin Helmet"
39 35
 msgstr "Elmo dell'amministratrice/tore"
@@ -254,34 +250,6 @@ msgstr "Armatura 3D"
254 250
 msgid "Armor not initialized!"
255 251
 msgstr "Armatura non inizializzata!"
256 252
 
257
-#: ../hazmat_suit/init.lua
258
-msgid "hazmat_suit: Mod loaded but unused."
259
-msgstr "hazmat_suit: Mod caricato ma inutilizzato."
260
-
261
-#: ../hazmat_suit/init.lua
262
-msgid "Hazmat Helmet"
263
-msgstr "Elmo hazmat"
264
-
265
-#: ../hazmat_suit/init.lua
266
-msgid "Hazmat Chestplate"
267
-msgstr "Corazza hazmat"
268
-
269
-#: ../hazmat_suit/init.lua
270
-msgid "Hazmat Sleeve"
271
-msgstr "Manica hazmat"
272
-
273
-#: ../hazmat_suit/init.lua
274
-msgid "Hazmat Leggins"
275
-msgstr "Gambali hazmat"
276
-
277
-#: ../hazmat_suit/init.lua
278
-msgid "Hazmat Boots"
279
-msgstr "Stivali hazmat"
280
-
281
-#: ../hazmat_suit/init.lua
282
-msgid "Hazmat Suit"
283
-msgstr "Completo hazmat"
284
-
285 253
 #: ../shields/init.lua
286 254
 msgid "Admin Shield"
287 255
 msgstr "Scudo dell'amministratrice/tore"
@@ -325,60 +293,3 @@ msgstr "Scudo di mithril"
325 293
 #: ../shields/init.lua
326 294
 msgid "Crystal Shield"
327 295
 msgstr "Scudo di cristallo"
328
-
329
-#: ../technic_armor/init.lua
330
-msgid "technic_armor: Mod loaded but unused."
331
-msgstr "technic_armor: Mod caricato ma inutilizzato."
332
-
333
-#: ../technic_armor/init.lua
334
-msgid "Lead"
335
-msgstr "Piombo"
336
-
337
-#: ../technic_armor/init.lua
338
-msgid "Brass"
339
-msgstr "Ottone"
340
-
341
-#: ../technic_armor/init.lua
342
-msgid "Cast Iron"
343
-msgstr "Ghisa"
344
-
345
-#: ../technic_armor/init.lua
346
-msgid "Carbon Steel"
347
-msgstr "Acciaio al carbonio"
348
-
349
-#: ../technic_armor/init.lua
350
-msgid "Stainless Steel"
351
-msgstr "Acciaio inossidabile"
352
-
353
-#: ../technic_armor/init.lua
354
-msgid "Tin"
355
-msgstr "Stagno"
356
-
357
-#: ../technic_armor/init.lua
358
-msgid "Silver"
359
-msgstr "Argento"
360
-
361
-#: ../technic_armor/init.lua
362
-msgid "Helmet"
363
-msgstr "Elmo"
364
-
365
-#: ../technic_armor/init.lua
366
-msgid "Chestplate"
367
-msgstr "Corazza"
368
-
369
-#: ../technic_armor/init.lua
370
-msgid "Leggings"
371
-msgstr "Gambali"
372
-
373
-#: ../technic_armor/init.lua
374
-msgid "Boots"
375
-msgstr "Stivali"
376
-
377
-#: ../technic_armor/init.lua
378
-msgid "Shield"
379
-msgstr "Scudo"
380
-
381
-#. 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)
382
-#: ../technic_armor/init.lua
383
-msgid "@1 @2"
384
-msgstr "@2 di @1"

+ 12
- 102
mods/character/3d_armor/3d_armor/locale/ms.po View File

@@ -1,39 +1,35 @@
1
-# SOME DESCRIPTIVE TITLE.
2
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
-# This file is distributed under the same license as the PACKAGE package.
4
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
1
+# Malay translation for 3D ARMOR MOD
2
+# Copyright (C) 2018 by Stuart Jones
3
+# This file is distributed under the same license as the 3D ARMOR MOD package.
4
+# MuhdNurHidayat (MNH48) <mnh48mail@gmail.com>, 2018.
5 5
 #
6 6
 msgid ""
7 7
 msgstr ""
8 8
 "Project-Id-Version: \n"
9 9
 "Report-Msgid-Bugs-To: \n"
10
-"POT-Creation-Date: 2017-08-06 18:20+0200\n"
11
-"PO-Revision-Date: 2018-02-07 13:25+0800\n"
10
+"POT-Creation-Date: 2018-07-23 21:21+0200\n"
11
+"PO-Revision-Date: 2018-07-23 21:30+0200\n"
12
+"Last-Translator: MuhdNurHidayat (MNH48) <mnh48mail@gmail.com>\n"
12 13
 "Language-Team: \n"
14
+"Language: ms\n"
13 15
 "MIME-Version: 1.0\n"
14 16
 "Content-Type: text/plain; charset=UTF-8\n"
15 17
 "Content-Transfer-Encoding: 8bit\n"
16 18
 "X-Generator: Poedit 2.0.6\n"
17
-"Last-Translator: MuhdNurHidayat (MNH48) <mnh48mail@gmail.com>\n"
18 19
 "Plural-Forms: nplurals=1; plural=0;\n"
19
-"Language: ms\n"
20 20
 
21 21
 #: ../3d_armor/api.lua
22
-msgid "3d_armor: Player name is nil @1"
23
-msgstr "3d_armor: Nama pemain tiada nilai @1"
22
+msgid "3d_armor: Player reference is nil @1"
23
+msgstr "3d_armor: Rujukan pemain tiada nilai @1"
24 24
 
25 25
 #: ../3d_armor/api.lua
26
-msgid "3d_armor: Player inventory is nil @1"
27
-msgstr "3d_armor: Inventori pemain tiada nilai @1"
26
+msgid "3d_armor: Player name is nil @1"
27
+msgstr "3d_armor: Nama pemain tiada nilai @1"
28 28
 
29 29
 #: ../3d_armor/api.lua
30 30
 msgid "3d_armor: Detached armor inventory is nil @1"
31 31
 msgstr "3d_armor: Inventori perisai terpisah tiada nilai @1"
32 32
 
33
-#: ../3d_armor/api.lua
34
-msgid "3d_armor: Player reference is nil @1"
35
-msgstr "3d_armor: Rujukan pemain tiada nilai @1"
36
-
37 33
 #: ../3d_armor/armor.lua
38 34
 msgid "Admin Helmet"
39 35
 msgstr "Helmet Pentadbir"
@@ -255,34 +251,6 @@ msgstr "Perisai 3d"
255 251
 msgid "Armor not initialized!"
256 252
 msgstr "Perisai tidak diasalkan!"
257 253
 
258
-#: ../hazmat_suit/init.lua
259
-msgid "hazmat_suit: Mod loaded but unused."
260
-msgstr "hazmat_suit: Mods dimuatkan tetapi tidak digunakan."
261
-
262
-#: ../hazmat_suit/init.lua
263
-msgid "Hazmat Helmet"
264
-msgstr "Helmet Keselamatan"
265
-
266
-#: ../hazmat_suit/init.lua
267
-msgid "Hazmat Chestplate"
268
-msgstr "Perisai Dada Keselamatan"
269
-
270
-#: ../hazmat_suit/init.lua
271
-msgid "Hazmat Sleeve"
272
-msgstr "Perisai Tangan Keselamatan"
273
-
274
-#: ../hazmat_suit/init.lua
275
-msgid "Hazmat Leggins"
276
-msgstr "Perisai Kaki Keselamatan"
277
-
278
-#: ../hazmat_suit/init.lua
279
-msgid "Hazmat Boots"
280
-msgstr "But Keselamatan"
281
-
282
-#: ../hazmat_suit/init.lua
283
-msgid "Hazmat Suit"
284
-msgstr "Pakaian Keselamatan"
285
-
286 254
 #: ../shields/init.lua
287 255
 msgid "Admin Shield"
288 256
 msgstr "Perisai Pegang Pentadbir"
@@ -326,61 +294,3 @@ msgstr "Perisai Pegang Mithril"
326 294
 #: ../shields/init.lua
327 295
 msgid "Crystal Shield"
328 296
 msgstr "Perisai Pegang Kristal"
329
-
330
-#: ../technic_armor/init.lua
331
-msgid "technic_armor: Mod loaded but unused."
332
-msgstr "technic_armor: Mods dimuatkan tetapi tidak digunakan."
333
-
334
-# 'Lead' here is the chemical compound so the translation is 'plumbum', not 'pimpin' (act of leading).
335
-#: ../technic_armor/init.lua
336
-msgid "Lead"
337
-msgstr "Plumbum"
338
-
339
-#: ../technic_armor/init.lua
340
-msgid "Brass"
341
-msgstr "Loyang"
342
-
343
-#: ../technic_armor/init.lua
344
-msgid "Cast Iron"
345
-msgstr "Besi Tuang"
346
-
347
-#: ../technic_armor/init.lua
348
-msgid "Carbon Steel"
349
-msgstr "Keluli Karbon"
350
-
351
-#: ../technic_armor/init.lua
352
-msgid "Stainless Steel"
353
-msgstr "Keluli Tahan Karat"
354
-
355
-#: ../technic_armor/init.lua
356
-msgid "Tin"
357
-msgstr "Timah"
358
-
359
-#: ../technic_armor/init.lua
360
-msgid "Silver"
361
-msgstr "Perak"
362
-
363
-#: ../technic_armor/init.lua
364
-msgid "Helmet"
365
-msgstr "Helmet"
366
-
367
-#: ../technic_armor/init.lua
368
-msgid "Chestplate"
369
-msgstr "Perisai Dada"
370
-
371
-#: ../technic_armor/init.lua
372
-msgid "Leggings"
373
-msgstr "Perisai Kaki"
374
-
375
-#: ../technic_armor/init.lua
376
-msgid "Boots"
377
-msgstr "But"
378
-
379
-#: ../technic_armor/init.lua
380
-msgid "Shield"
381
-msgstr "Perisai Pegang"
382
-
383
-#. 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)
384
-#: ../technic_armor/init.lua
385
-msgid "@1 @2"
386
-msgstr "@2 @1"

+ 294
- 0
mods/character/3d_armor/3d_armor/locale/ru.po View File

@@ -0,0 +1,294 @@
1
+# Russian translation for 3D ARMOR MOD
2
+# Copyright (C) 2018 by Stuart Jones
3
+# This file is distributed under the same license as the 3D ARMOR MOD package.
4
+# CodeXP <codexp@gmx.net>, 2018.
5
+#
6
+#, fuzzy
7
+msgid ""
8
+msgstr ""
9
+"Project-Id-Version: 3d_armor\n"
10
+"Report-Msgid-Bugs-To: \n"
11
+"POT-Creation-Date: 2018-07-23 21:21+0200\n"
12
+"PO-Revision-Date: 2018-07-23 21:30+0200\n"
13
+"Last-Translator: CodeXP <codexp@gmx.net>\n"
14
+"Language-Team: \n"
15
+"Language: ru\n"
16
+"MIME-Version: 1.0\n"
17
+"Content-Type: text/plain; charset=UTF-8\n"
18
+"Content-Transfer-Encoding: 8bit\n"
19
+
20
+#: ../3d_armor/api.lua
21
+msgid "3d_armor: Player reference is nil @1"
22
+msgstr "3d_armor: Ссылка игрока является nil @1"
23
+
24
+#: ../3d_armor/api.lua
25
+msgid "3d_armor: Player name is nil @1"
26
+msgstr "3d_armor: Имя игрока является nil @1"
27
+
28
+#: ../3d_armor/api.lua
29
+msgid "3d_armor: Detached armor inventory is nil @1"
30
+msgstr "3d_armor: Отдельный инвентарь брони является nil @1"
31
+
32
+#: ../3d_armor/armor.lua
33
+msgid "Admin Helmet"
34
+msgstr "шлем админа"
35
+
36
+#: ../3d_armor/armor.lua
37
+msgid "Admin Chestplate"
38
+msgstr "бронежилет админа"
39
+
40
+#: ../3d_armor/armor.lua
41
+msgid "Admin Leggings"
42
+msgstr "гамаши админа"
43
+
44
+#: ../3d_armor/armor.lua
45
+msgid "Admin Boots"
46
+msgstr "ботинки админа"
47
+
48
+#: ../3d_armor/armor.lua
49
+msgid "Wood Helmet"
50
+msgstr "деревянный шлем"
51
+
52
+#: ../3d_armor/armor.lua
53
+msgid "Wood Chestplate"
54
+msgstr "деревянный бронежилет"
55
+
56
+#: ../3d_armor/armor.lua
57
+msgid "Wood Leggings"
58
+msgstr "деревянные гамаши"
59
+
60
+#: ../3d_armor/armor.lua
61
+msgid "Wood Boots"
62
+msgstr "деревянные ботинки"
63
+
64
+#: ../3d_armor/armor.lua
65
+msgid "Cactus Helmet"
66
+msgstr "кактусовый шлем"
67
+
68
+#: ../3d_armor/armor.lua
69
+msgid "Cactus Chestplate"
70
+msgstr "кактусовый бронежилет"
71
+
72
+#: ../3d_armor/armor.lua
73
+msgid "Cactus Leggings"
74
+msgstr "кактусовые гамаши"
75
+
76</