Skip to content
Permalink
Browse files
Reclassify some items
  • Loading branch information
An0n3m0us authored and sfan5 committed May 8, 2021
1 parent 8158926 commit 1c78666c565d28bd9ee7ef60646bb0bec18ba9f2
Showing with 2 additions and 1 deletion.
  1. +1 −0 mods/binoculars/init.lua
  2. +1 −1 mods/map/init.lua
@@ -53,6 +53,7 @@ minetest.register_craftitem("binoculars:binoculars", {
description = S("Binoculars") .. "\n" .. S("Use with 'Zoom' key"),
inventory_image = "binoculars_binoculars.png",
stack_max = 1,
groups = {tool = 1},

on_use = function(itemstack, user, pointed_thing)
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"),
inventory_image = "map_mapping_kit.png",
stack_max = 1,
groups = {flammable = 3},
groups = {flammable = 3, tool = 1},

on_use = function(itemstack, user, pointed_thing)
map.update_hud_flags(user)

0 comments on commit 1c78666

Please sign in to comment.