New translation system, part 6: Items, part 2
This commit is contained in:
parent
1df3d0e42b
commit
e4fbbeddb2
15 changed files with 306 additions and 280 deletions
|
@ -1,3 +1,5 @@
|
|||
local S = minetest.get_translator("mcl_cocoas")
|
||||
|
||||
mcl_cocoas = {}
|
||||
|
||||
-- Place cocoa
|
||||
|
@ -70,9 +72,9 @@ end
|
|||
|
||||
--[[ TODO: Use a mesh for cocoas for perfect texture compability. ]]
|
||||
local crop_def = {
|
||||
description = "Premature Cocoa",
|
||||
description = S("Premature Cocoa"),
|
||||
_doc_items_create_entry = true,
|
||||
_doc_items_longdesc = "Cocoas are plants which grow on the side of jungle trees in 3 stages.",
|
||||
_doc_items_longdesc = S("Cocoas are plants which grow on the side of jungle trees in 3 stages."),
|
||||
drawtype = "nodebox",
|
||||
tiles = {
|
||||
"[combine:16x16:6,1=mcl_cocoas_cocoa_stage_0.png", "[combine:16x16:6,11=mcl_cocoas_cocoa_stage_0.png",
|
||||
|
@ -115,7 +117,7 @@ local crop_def = {
|
|||
-- 2nd stage
|
||||
minetest.register_node("mcl_cocoas:cocoa_1", table.copy(crop_def))
|
||||
|
||||
crop_def.description = "Medium Cocoa"
|
||||
crop_def.description = S("Medium Cocoa")
|
||||
crop_def._doc_items_create_entry = false
|
||||
crop_def.groups.cocoa = 2
|
||||
crop_def.tiles = {
|
||||
|
@ -146,8 +148,8 @@ crop_def.selection_box = {
|
|||
minetest.register_node("mcl_cocoas:cocoa_2", table.copy(crop_def))
|
||||
|
||||
-- Final stage
|
||||
crop_def.description = "Mature Cocoa"
|
||||
crop_def._doc_items_longdesc = "A mature cocoa is a plant which grew on a jungle tree to its full size and it is ready to be harvested for cocoa beans. It won't grow any further."
|
||||
crop_def.description = S("Mature Cocoa")
|
||||
crop_def._doc_items_longdesc = S("A mature cocoa is a plant which grew on a jungle tree to its full size and it is ready to be harvested for cocoa beans. It won't grow any further.")
|
||||
crop_def._doc_items_create_entry = true
|
||||
crop_def.groups.cocoa = 3
|
||||
crop_def.tiles = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue