2019-11-12
@ -2,9 +2,21 @@ minetest.register_alias("castle:shield", "castle_shields:shield_1")
|
||||
minetest.register_alias("castle:shield_2", "castle_shields:shield_2")
|
||||
minetest.register_alias("castle:shield_3", "castle_shields:shield_3")
|
||||
|
||||
|
||||
-- Used for localization, choose either built-in or intllib.
|
||||
|
||||
local MP, S, NS = nil
|
||||
|
||||
if (minetest.get_modpath("intllib") == nil) then
|
||||
S = minetest.get_translator("castle_shields")
|
||||
|
||||
else
|
||||
-- internationalization boilerplate
|
||||
local MP = minetest.get_modpath(minetest.get_current_modname())
|
||||
local S, NS = dofile(MP.."/intllib.lua")
|
||||
MP = minetest.get_modpath(minetest.get_current_modname())
|
||||
S, NS = dofile(MP.."/intllib.lua")
|
||||
|
||||
end
|
||||
|
||||
|
||||
--The following colors are permitted:
|
||||
-- "black", "blue", "brown", "cyan", "dark_green", "dark_grey", "green", "grey", "magenta", "orange", "pink", "red", "violet", "white", "yellow"
|
||||
|
3
locale/castle_shields.it.tr
Normal file
@ -0,0 +1,3 @@
|
||||
# textdomain:castle_shields
|
||||
|
||||
Mounted Shield=Scudo appeso
|
3
locale/template.txt
Normal file
@ -0,0 +1,3 @@
|
||||
# textdomain:castle_shields
|
||||
|
||||
Mounted Shield=
|
3
mod.conf
@ -1 +1,4 @@
|
||||
name = castle_shields
|
||||
description = Adds decorative wall shields
|
||||
depends = default, dye
|
||||
optional_depends = intllib
|
||||
|
BIN
screenshot.png
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 620 B After Width: | Height: | Size: 614 B |
Before Width: | Height: | Size: 275 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 379 B After Width: | Height: | Size: 293 B |
Before Width: | Height: | Size: 424 B After Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 319 B After Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 355 B After Width: | Height: | Size: 188 B |
Before Width: | Height: | Size: 420 B After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 149 B |
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 95 B |
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 125 B |
Before Width: | Height: | Size: 441 B After Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 319 B |
Before Width: | Height: | Size: 364 B After Width: | Height: | Size: 236 B |
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 312 B |