From cc03e6bb2866c3236b5aac3f2653fec3d4563b78 Mon Sep 17 00:00:00 2001 From: Lunovox Date: Wed, 20 Nov 2024 02:53:58 -0300 Subject: [PATCH] [fix] Fixed depends. [fix] Fixed recipe. --- item_smartphone.lua | 28 ++++++++++++++++++++++------ mod.conf | 4 ++-- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/item_smartphone.lua b/item_smartphone.lua index 417cbe9..153b050 100644 --- a/item_smartphone.lua +++ b/item_smartphone.lua @@ -116,25 +116,41 @@ end core.register_craftitem("computing:smartphone", { - description = modComputing.translate("SMARTPHONE"), + description = core.colorize( + "#00FF00", modComputing.translate("SMARTPHONE") + ).."\n" + .."* "..modComputing.translate( + "A mobile device that contains \n" + .."several apps generated by \n" + .."integrating other mods." + ), inventory_image = "icon_smartphone_128x128.png", + --use_texture_alpha = "clip", --para nods + groups = { + electric=1, + electronic=1, + device=1, + portable=1, + smartphone=1, + }, on_use = function(itemstack, player, pointed_thing) modComputing.show_smartphone(player) end, }) ---[[ +--[[ ]] core.register_craft({ output = 'computing:smartphone', recipe = { - {"default:paper" ,"" ,""}, - {"" ,"" ,""}, - {"" ,"" ,""}, + {"default:obsidian_glass" ,"default:obsidian_glass" ,"default:book"}, + {"default:obsidian_glass" ,"default:obsidian_glass" ,"default:mese_crystal"}, + {"default:obsidian_glass" ,"default:obsidian_glass" ,"keys:skeleton_key"}, } }) ---]] +--[[ ]] core.register_alias("smartphone", "computing:smartphone") +core.register_alias(modComputing.translate("smartphone"), "computing:smartphone") diff --git a/mod.conf b/mod.conf index 534e3b7..3117233 100644 --- a/mod.conf +++ b/mod.conf @@ -6,13 +6,13 @@ dev_state = ALPHA license = GNU AGPL-3.0 media_license = CC BY-SA 4.0 supported_games = minetest_game -depends = default,dye +depends = default,keys optional_depends = min_minetest_version = 5.7 max_minetest_version = author = Lunovox Heavenfinder: [email](mailto:lunovox@disroot.org), [social web](http:qoto.org/@lunovox), [webchat](https://cloud.disroot.org/call/9aa2t7ib), [xmpp](xmpp:lunovox@disroot.org?join), [Mumble](mumble:mumble.disroot.org), [more contacts](https:libreplanet.org/wiki/User:Lunovox) created = 2024-11-10 10:42:01 -update = 2024-11-04 16:27 +update = 2024-11-20 02:34 donate_url = https://liberapay.com/Lunovox/donate translation_url = https://gitlab.com/lunovox/computing/-/blob/master/locale/README.md repository = https://gitlab.com/lunovox/computing