forked from mtcontrib/spears
Merge branch 'master' into 'master'
Translation i18n support See merge request echoes91/spears!3
This commit is contained in:
commit
e9e7afd6c5
9
locale/spears.eo.tr
Normal file
9
locale/spears.eo.tr
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# textdomain: spears
|
||||||
|
Stone Spear=Ŝtona Ponardego
|
||||||
|
Iron Spear=Fera Ponardego
|
||||||
|
Steel Spear=Ŝtala Ponardego
|
||||||
|
Copper Spear=Kupra Ponardego
|
||||||
|
Bronze Spear=Bronza Ponardego
|
||||||
|
Obsidian Spear=Obsidiana Ponardego
|
||||||
|
Diamond Spear=Diamanta Ponardego
|
||||||
|
Golden Spear=Ora Ponardego
|
9
locale/template.txt
Normal file
9
locale/template.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# textdomain: spears
|
||||||
|
Stone Spear=
|
||||||
|
Iron Spear=
|
||||||
|
Steel Spear=
|
||||||
|
Copper Spear=
|
||||||
|
Bronze Spear=
|
||||||
|
Obsidian Spear=
|
||||||
|
Diamond Spear=
|
||||||
|
Golden Spear=
|
@ -1,7 +1,9 @@
|
|||||||
|
local S = minetest.get_translator("spears")
|
||||||
|
|
||||||
function spears_register_spear(spear_type, desc, base_damage, toughness, material)
|
function spears_register_spear(spear_type, desc, base_damage, toughness, material)
|
||||||
|
|
||||||
minetest.register_tool("spears:spear_" .. spear_type, {
|
minetest.register_tool("spears:spear_" .. spear_type, {
|
||||||
description = desc .. " spear",
|
description = desc,
|
||||||
wield_image = "spears_spear_" .. spear_type .. ".png^[transform4",
|
wield_image = "spears_spear_" .. spear_type .. ".png^[transform4",
|
||||||
inventory_image = "spears_spear_" .. spear_type .. ".png",
|
inventory_image = "spears_spear_" .. spear_type .. ".png",
|
||||||
wield_scale= {x = 1.5, y = 1.5, z = 1.5},
|
wield_scale= {x = 1.5, y = 1.5, z = 1.5},
|
||||||
|
Loading…
Reference in New Issue
Block a user