mirror of
https://gitlab.com/lunovox/computing.git
synced 2025-03-21 17:11:25 +00:00
[fix] Fixed depends. [fix] Fixed recipe.
This commit is contained in:
parent
189fd39628
commit
cc03e6bb28
2 changed files with 24 additions and 8 deletions
|
@ -116,25 +116,41 @@ end
|
||||||
|
|
||||||
|
|
||||||
core.register_craftitem("computing:smartphone", {
|
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",
|
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)
|
on_use = function(itemstack, player, pointed_thing)
|
||||||
modComputing.show_smartphone(player)
|
modComputing.show_smartphone(player)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
--[[
|
--[[ ]]
|
||||||
core.register_craft({
|
core.register_craft({
|
||||||
output = 'computing:smartphone',
|
output = 'computing:smartphone',
|
||||||
recipe = {
|
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("smartphone", "computing:smartphone")
|
||||||
|
core.register_alias(modComputing.translate("smartphone"), "computing:smartphone")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
4
mod.conf
4
mod.conf
|
@ -6,13 +6,13 @@ dev_state = ALPHA
|
||||||
license = GNU AGPL-3.0
|
license = GNU AGPL-3.0
|
||||||
media_license = CC BY-SA 4.0
|
media_license = CC BY-SA 4.0
|
||||||
supported_games = minetest_game
|
supported_games = minetest_game
|
||||||
depends = default,dye
|
depends = default,keys
|
||||||
optional_depends =
|
optional_depends =
|
||||||
min_minetest_version = 5.7
|
min_minetest_version = 5.7
|
||||||
max_minetest_version =
|
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)
|
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
|
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
|
donate_url = https://liberapay.com/Lunovox/donate
|
||||||
translation_url = https://gitlab.com/lunovox/computing/-/blob/master/locale/README.md
|
translation_url = https://gitlab.com/lunovox/computing/-/blob/master/locale/README.md
|
||||||
repository = https://gitlab.com/lunovox/computing
|
repository = https://gitlab.com/lunovox/computing
|
||||||
|
|
Loading…
Add table
Reference in a new issue