mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 23:10:17 +01:00
Reclassify some items
This commit is contained in:
parent
8158926862
commit
1c78666c56
@ -53,6 +53,7 @@ minetest.register_craftitem("binoculars:binoculars", {
|
|||||||
description = S("Binoculars") .. "\n" .. S("Use with 'Zoom' key"),
|
description = S("Binoculars") .. "\n" .. S("Use with 'Zoom' key"),
|
||||||
inventory_image = "binoculars_binoculars.png",
|
inventory_image = "binoculars_binoculars.png",
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
|
groups = {tool = 1},
|
||||||
|
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
on_use = function(itemstack, user, pointed_thing)
|
||||||
binoculars.update_player_property(user)
|
binoculars.update_player_property(user)
|
||||||
|
@ -51,7 +51,7 @@ minetest.register_craftitem("map:mapping_kit", {
|
|||||||
description = S("Mapping Kit") .. "\n" .. S("Use with 'Minimap' key"),
|
description = S("Mapping Kit") .. "\n" .. S("Use with 'Minimap' key"),
|
||||||
inventory_image = "map_mapping_kit.png",
|
inventory_image = "map_mapping_kit.png",
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
groups = {flammable = 3},
|
groups = {flammable = 3, tool = 1},
|
||||||
|
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
on_use = function(itemstack, user, pointed_thing)
|
||||||
map.update_hud_flags(user)
|
map.update_hud_flags(user)
|
||||||
|
Loading…
Reference in New Issue
Block a user