[fix] Fixed depends. [fix] Fixed recipe.

This commit is contained in:
Lunovox 2024-11-20 02:53:58 -03:00
parent 189fd39628
commit cc03e6bb28
2 changed files with 24 additions and 8 deletions

View file

@ -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")

View file

@ -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