parent
c26e87248e
commit
95d6e9ce74
5
init.lua
5
init.lua
@ -3,6 +3,9 @@ ts_furniture = {}
|
||||
-- If true, you can sit on chairs and benches, when right-click them.
|
||||
ts_furniture.enable_sitting = minetest.settings:get_bool("ts_furniture.enable_sitting", true)
|
||||
|
||||
-- Used for localization
|
||||
local S = minetest.get_translator("ts_furniture")
|
||||
|
||||
if ts_furniture.enable_sitting then
|
||||
-- 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
|
||||
@ -156,7 +159,7 @@ function ts_furniture.register_furniture(recipe, description, texture)
|
||||
end
|
||||
|
||||
minetest.register_node(":" .. node_name, {
|
||||
description = description .. " " .. def.description,
|
||||
description = S(description .. " " .. def.description),
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
|
126
locale/template.txt
Normal file
126
locale/template.txt
Normal file
@ -0,0 +1,126 @@
|
||||
# textdomain:ts_furniture
|
||||
Aspen Small Table=
|
||||
Aspen Tiny Table=
|
||||
Aspen Bench=
|
||||
Aspen Table=
|
||||
Aspen Chair=
|
||||
Pine Small Table=
|
||||
Pine Tiny Table=
|
||||
Pine Bench=
|
||||
Pine Table=
|
||||
Pine Chair=
|
||||
Acacia Small Table=
|
||||
Acacia Tiny Table=
|
||||
Acacia Bench=
|
||||
Acacia Table=
|
||||
Acacia Chair=
|
||||
Wooden Small Table=
|
||||
Wooden Tiny Table=
|
||||
Wooden Bench=
|
||||
Wooden Table=
|
||||
Wooden Chair=
|
||||
Jungle Wood Small Table=
|
||||
Jungle Wood Tiny Table=
|
||||
Jungle Wood Bench=
|
||||
Jungle Wood Table=
|
||||
Jungle Wood Chair=
|
||||
Apple Tree Small Table=
|
||||
Apple Tree Tiny Table=
|
||||
Apple Tree Bench=
|
||||
Apple Tree Table=
|
||||
Apple Tree Chair=
|
||||
Beech Small Table=
|
||||
Beech Tiny Table=
|
||||
Beech Bench=
|
||||
Beech Table=
|
||||
Beech Chair=
|
||||
Birch Small Table=
|
||||
Birch Tiny Table=
|
||||
Birch Bench=
|
||||
Birch Table=
|
||||
Birch Chair=
|
||||
Fir Small Table=
|
||||
Fir Tiny Table=
|
||||
Fir Bench=
|
||||
Fir Table=
|
||||
Fir Chair=
|
||||
Oak Small Table=
|
||||
Oak Tiny Table=
|
||||
Oak Bench=
|
||||
Oak Table=
|
||||
Oak Chair=
|
||||
Palm Small Table=
|
||||
Palm Tiny Table=
|
||||
Palm Bench=
|
||||
Palm Table=
|
||||
Palm Chair=
|
||||
Rubber Tree Small Table=
|
||||
Rubber Tree Tiny Table=
|
||||
Rubber Tree Bench=
|
||||
Rubber Tree Table=
|
||||
Rubber Tree Chair=
|
||||
Sequoia Small Table=
|
||||
Sequoia Tiny Table=
|
||||
Sequoia Bench=
|
||||
Sequoia Table=
|
||||
Sequoia Chair=
|
||||
Spruce Small Table=
|
||||
Spruce Tiny Table=
|
||||
Spruce Bench=
|
||||
Spruce Table=
|
||||
Spruce Chair=
|
||||
Willow Small Table=
|
||||
Willow Tiny Table=
|
||||
Willow Bench=
|
||||
Willow Table=
|
||||
Willow Chair=
|
||||
Banana Small Table=
|
||||
Banana Tiny Table=
|
||||
Banana Bench=
|
||||
Banana Table=
|
||||
Banana Chair=
|
||||
Birch Small Table=
|
||||
Birch Tiny Table=
|
||||
Birch Bench=
|
||||
Birch Table=
|
||||
Birch Chair=
|
||||
Frost Small Table=
|
||||
Frost Tiny Table=
|
||||
Frost Bench=
|
||||
Frost Table=
|
||||
Frost Chair=
|
||||
Mushroom Small Table=
|
||||
Mushroom Tiny Table=
|
||||
Mushroom Bench=
|
||||
Mushroom Table=
|
||||
Mushroom Chair=
|
||||
Palm Small Table=
|
||||
Palm Tiny Table=
|
||||
Palm Bench=
|
||||
Palm Table=
|
||||
Palm Chair=
|
||||
Redwood Small Table=
|
||||
Redwood Tiny Table=
|
||||
Redwood Bench=
|
||||
Redwood Table=
|
||||
Redwood Chair=
|
||||
Sakura Small Table=
|
||||
Sakura Tiny Table=
|
||||
Sakura Bench=
|
||||
Sakura Table=
|
||||
Sakura Chair=
|
||||
Scorched Small Table=
|
||||
Scorched Tiny Table=
|
||||
Scorched Bench=
|
||||
Scorched Table=
|
||||
Scorched Chair=
|
||||
Willow Small Table=
|
||||
Willow Tiny Table=
|
||||
Willow Bench=
|
||||
Willow Table=
|
||||
Willow Chair=
|
||||
Healing Tree Small Table=
|
||||
Healing Tree Tiny Table=
|
||||
Healing Tree Bench=
|
||||
Healing Tree Table=
|
||||
Healing Tree Chair=
|
Loading…
x
Reference in New Issue
Block a user