diff --git a/homedecor_gastronomy/depends.txt b/homedecor_gastronomy/depends.txt deleted file mode 100644 index c378b98e..00000000 --- a/homedecor_gastronomy/depends.txt +++ /dev/null @@ -1,7 +0,0 @@ -homedecor_common -default -basic_materials -dye -creative -currency? -bucket? diff --git a/homedecor_gastronomy/init.lua b/homedecor_gastronomy/init.lua index 68262e40..9d92a169 100644 --- a/homedecor_gastronomy/init.lua +++ b/homedecor_gastronomy/init.lua @@ -1,5 +1,4 @@ - -local S = homedecor.gettext +local S = minetest.get_translator("homedecor_gastronomy") local cutlery_cbox = { type = "fixed", @@ -162,7 +161,6 @@ homedecor.register("beer_mug", { sounds = default.node_sound_glass_defaults(), selection_box = beer_cbox, on_use = function(itemstack, user, pointed_thing) - local inv = user:get_inventory() if not creative.is_enabled_for(user:get_player_name()) then minetest.do_item_eat(2, "vessels:drinking_glass 1", itemstack, user, pointed_thing) return itemstack @@ -184,7 +182,7 @@ homedecor.register("soda_machine", { collision_box = svm_cbox, expand = { top="placeholder" }, sounds = default.node_sound_wood_defaults(), - on_rotate = screwdriver.rotate_simple, + on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple or nil, on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) local playername = clicker:get_player_name() local wielditem = clicker:get_wielded_item() @@ -235,7 +233,7 @@ homedecor.register("coffee_maker", { groups = {snappy=3}, selection_box = cm_cbox, node_box = cm_cbox, - on_rotate = screwdriver.disallow + on_rotate = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil, }) homedecor.register("toaster", { diff --git a/homedecor_gastronomy/locale/homedecor_gastronomy.de.tr b/homedecor_gastronomy/locale/homedecor_gastronomy.de.tr new file mode 100644 index 00000000..5f898e24 --- /dev/null +++ b/homedecor_gastronomy/locale/homedecor_gastronomy.de.tr @@ -0,0 +1,21 @@ +# textdomain: homedecor_gastronomy + + +### init.lua ### + +Ahh, a frosty cold beer - look in your inventory for it!=Ahh ein kühles Bier – sehen Sie in Ihrem Inventar nach! +Beer mug=Bierkrug +Beer tap=Bierzapfhahn +Brown bottle=Braune Flasche +Coffee Maker=Kaffeemaschine +Cutlery set=Besteckset +Four brown bottles=Vier braune Flaschen +Four green bottles=Vier grüne Flaschen +Four misc brown/green bottles=Vier gemischte braune/grüne Flaschen +Green bottle=Grüne Flasche +No room in your inventory to add a beer mug!=Kein Platz im Inventar für einen Bierkrug! +Please insert a coin in the machine.=Bitte Münze in Automaten einwerfen. +Soda Can=Limodose +Soda vending machine=Limoautomat +Toaster=Toaster +Wine rack=Weinregal diff --git a/homedecor_gastronomy/locale/homedecor_gastronomy.es.tr b/homedecor_gastronomy/locale/homedecor_gastronomy.es.tr new file mode 100644 index 00000000..13145440 --- /dev/null +++ b/homedecor_gastronomy/locale/homedecor_gastronomy.es.tr @@ -0,0 +1,21 @@ +# textdomain: homedecor_gastronomy + + +### init.lua ### + +Ahh, a frosty cold beer - look in your inventory for it!=¡Ah, una cerveza fría! La encontrarás en tu inventario. +Beer mug=Jarra de cerveza +Beer tap=Grifo de cerveza +Brown bottle=Botella marrón +Coffee Maker=Cafetera +Cutlery set=Cubertería +Four brown bottles=Cuatro botellas marrones +Four green bottles=Cuatro botellas verdes +Four misc brown/green bottles=Cuatro botellas verdes/marrones +Green bottle=Botella verde +No room in your inventory to add a beer mug!=¡No hay lugar para tomar una jarra de cerveza! +Please insert a coin in the machine.=Por favor introduzca una moneda en la máquina. +Soda Can=Lata de refresco +Soda vending machine=Máquina expendedora de refrescos +Toaster=Tostador +Wine rack=Estantería de vino diff --git a/homedecor_gastronomy/locale/homedecor_gastronomy.fr.tr b/homedecor_gastronomy/locale/homedecor_gastronomy.fr.tr new file mode 100644 index 00000000..4d721142 --- /dev/null +++ b/homedecor_gastronomy/locale/homedecor_gastronomy.fr.tr @@ -0,0 +1,21 @@ +# textdomain: homedecor_gastronomy + + +### init.lua ### + +Ahh, a frosty cold beer - look in your inventory for it!=Ahh, une bière bien fraîche - regardez dans votre inventaire ! +Beer mug=Pinte de bière +Beer tap=Pompe à bière +Brown bottle=Bouteille marron +Coffee Maker=Cafetière +Cutlery set=Couverts +Four brown bottles=Quatre bouteilles marrons +Four green bottles=Quatre bouteilles vertes +Four misc brown/green bottles=Quatre bouteilles marrons et vertes +Green bottle=Bouteille verte +No room in your inventory to add a beer mug!=Pas de place dans votre inventaire pour ajouter une pinte de bière ! +Please insert a coin in the machine.=Veuillez insérer une pièce dans la machine. +Soda Can=Canette de soda +Soda vending machine=Distributeur de boissons +Toaster=Grille-pain +Wine rack=Casier à bouteilles diff --git a/homedecor_gastronomy/locale/homedecor_gastronomy.it.tr b/homedecor_gastronomy/locale/homedecor_gastronomy.it.tr new file mode 100644 index 00000000..57c1c9eb --- /dev/null +++ b/homedecor_gastronomy/locale/homedecor_gastronomy.it.tr @@ -0,0 +1,21 @@ +# textdomain: homedecor_gastronomy + + +### init.lua ### + +Ahh, a frosty cold beer - look in your inventory for it!= +Beer mug= +Beer tap= +Brown bottle= +Coffee Maker= +Cutlery set= +Four brown bottles= +Four green bottles= +Four misc brown/green bottles= +Green bottle= +No room in your inventory to add a beer mug!= +Please insert a coin in the machine.= +Soda Can= +Soda vending machine= +Toaster= +Wine rack= diff --git a/homedecor_gastronomy/locale/homedecor_gastronomy.ms.tr b/homedecor_gastronomy/locale/homedecor_gastronomy.ms.tr new file mode 100644 index 00000000..ac687728 --- /dev/null +++ b/homedecor_gastronomy/locale/homedecor_gastronomy.ms.tr @@ -0,0 +1,21 @@ +# textdomain: homedecor_gastronomy + + +### init.lua ### + +Ahh, a frosty cold beer - look in your inventory for it!=Ahh, bir sejuk dingin - cari dalam inventori anda! +Beer mug=Kole Bir +Beer tap=Paip Bir +Brown bottle=Botol Perang +Coffee Maker=Alat Pembuat Kopi +Cutlery set=Set Kutleri +Four brown bottles=Empat Botol Perang +Four green bottles=Empat Botol Hijau +Four misc brown/green bottles=Empat Botol Pelbagai Warna +Green bottle=Botol Hijau +No room in your inventory to add a beer mug!=Tiada ruang dalam inventori anda untuk menambah kole bir! +Please insert a coin in the machine.=Sila masukkan duit syiling ke dalam mesin. +Soda Can=Tin Soda +Soda vending machine=Mesin Soda Layan Diri +Toaster=Pembakar Roti +Wine rack=Rak Wain diff --git a/homedecor_gastronomy/locale/homedecor_gastronomy.pt.tr b/homedecor_gastronomy/locale/homedecor_gastronomy.pt.tr new file mode 100644 index 00000000..4a7541a5 --- /dev/null +++ b/homedecor_gastronomy/locale/homedecor_gastronomy.pt.tr @@ -0,0 +1,21 @@ +# textdomain: homedecor_gastronomy + + +### init.lua ### + +Ahh, a frosty cold beer - look in your inventory for it!=Ahh, uma cerveja bem gelada - procure por ela em seu inventário! +Beer mug=Caneca de cerveja +Beer tap=Torneira de cerveja +Brown bottle=Garrafa marrom +Coffee Maker=Cafeteira +Cutlery set=Conjunto de Talheres +Four brown bottles=Quatro garrafas marrons +Four green bottles=Quatro garrafas verdes +Four misc brown/green bottles=Quatro garrafas mescladas verde/marrom +Green bottle=Garrafa verde +No room in your inventory to add a beer mug!=Sem espaço no inventário para colocar uma caneca de cerveja +Please insert a coin in the machine.=Por favor insira uma moeda na máquina. +Soda Can=Lata de Refrigerante +Soda vending machine=Máquina de refrigerante +Toaster=Torradeira +Wine rack=Prateleira de Vinho diff --git a/homedecor_gastronomy/locale/homedecor_gastronomy.pt_BR.tr b/homedecor_gastronomy/locale/homedecor_gastronomy.pt_BR.tr new file mode 100644 index 00000000..4a7541a5 --- /dev/null +++ b/homedecor_gastronomy/locale/homedecor_gastronomy.pt_BR.tr @@ -0,0 +1,21 @@ +# textdomain: homedecor_gastronomy + + +### init.lua ### + +Ahh, a frosty cold beer - look in your inventory for it!=Ahh, uma cerveja bem gelada - procure por ela em seu inventário! +Beer mug=Caneca de cerveja +Beer tap=Torneira de cerveja +Brown bottle=Garrafa marrom +Coffee Maker=Cafeteira +Cutlery set=Conjunto de Talheres +Four brown bottles=Quatro garrafas marrons +Four green bottles=Quatro garrafas verdes +Four misc brown/green bottles=Quatro garrafas mescladas verde/marrom +Green bottle=Garrafa verde +No room in your inventory to add a beer mug!=Sem espaço no inventário para colocar uma caneca de cerveja +Please insert a coin in the machine.=Por favor insira uma moeda na máquina. +Soda Can=Lata de Refrigerante +Soda vending machine=Máquina de refrigerante +Toaster=Torradeira +Wine rack=Prateleira de Vinho diff --git a/homedecor_gastronomy/locale/homedecor_gastronomy.ru.tr b/homedecor_gastronomy/locale/homedecor_gastronomy.ru.tr new file mode 100644 index 00000000..05739f42 --- /dev/null +++ b/homedecor_gastronomy/locale/homedecor_gastronomy.ru.tr @@ -0,0 +1,21 @@ +# textdomain: homedecor_gastronomy + + +### init.lua ### + +Ahh, a frosty cold beer - look in your inventory for it!=О, холодное пиво! Ищи его в инвентаре! +Beer mug=Пивная кружка +Beer tap=Пивной кран +Brown bottle=Коричневая бутылка +Coffee Maker=Кофеварка +Cutlery set=Набор столовых приборов +Four brown bottles=Четыре коричневых бутылки +Four green bottles=Четыре зелёных бутылки +Four misc brown/green bottles=Четыре разные коричневые/зелёные +Green bottle=Зелёная бутылка +No room in your inventory to add a beer mug!=В инвентаре нет места для пивной кружки! +Please insert a coin in the machine.=Вставьте монету в автомат. +Soda Can=Банка газировки +Soda vending machine=Автомат с газировкой +Toaster=Тостер +Wine rack=Винный шкаф diff --git a/homedecor_gastronomy/locale/homedecor_gastronomy.zh_CN.tr b/homedecor_gastronomy/locale/homedecor_gastronomy.zh_CN.tr new file mode 100644 index 00000000..81d50889 --- /dev/null +++ b/homedecor_gastronomy/locale/homedecor_gastronomy.zh_CN.tr @@ -0,0 +1,21 @@ +# textdomain: homedecor_gastronomy + + +### init.lua ### + +Ahh, a frosty cold beer - look in your inventory for it!=啊,一杯冰凉的啤酒-看看你的库存吧! +Beer mug=啤酒杯 +Beer tap=啤酒龙头 +Brown bottle=棕色瓶子 +Coffee Maker=咖啡机 +Cutlery set=餐具套装 +Four brown bottles=四个棕色瓶子 +Four green bottles=四个绿色瓶子 +Four misc brown/green bottles=四个其他棕色/绿色瓶子 +Green bottle=绿瓶 +No room in your inventory to add a beer mug!=你的库存里没有地方放啤酒杯! +Please insert a coin in the machine.=请在机器里放一枚硬币。 +Soda Can=易拉罐 +Soda vending machine=汽水自动售货机 +Toaster=烤面包机 +Wine rack=酒架 diff --git a/homedecor_gastronomy/locale/template.txt b/homedecor_gastronomy/locale/template.txt new file mode 100644 index 00000000..57c1c9eb --- /dev/null +++ b/homedecor_gastronomy/locale/template.txt @@ -0,0 +1,21 @@ +# textdomain: homedecor_gastronomy + + +### init.lua ### + +Ahh, a frosty cold beer - look in your inventory for it!= +Beer mug= +Beer tap= +Brown bottle= +Coffee Maker= +Cutlery set= +Four brown bottles= +Four green bottles= +Four misc brown/green bottles= +Green bottle= +No room in your inventory to add a beer mug!= +Please insert a coin in the machine.= +Soda Can= +Soda vending machine= +Toaster= +Wine rack= diff --git a/homedecor_gastronomy/mod.conf b/homedecor_gastronomy/mod.conf new file mode 100644 index 00000000..d6eb82ba --- /dev/null +++ b/homedecor_gastronomy/mod.conf @@ -0,0 +1,4 @@ +name = homedecor_gastronomy +description = Homedecor mod: gastronomy +depends = homedecor_common, default, basic_materials, dye, creative +optional_depends = currency, bucket, screwdriver