Last items to use rarity group

This commit is contained in:
JoseDouglas26 2024-12-18 18:53:30 -03:00 committed by cora
parent 09ee1052b0
commit e022c8e0a2
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ minetest.register_node("mcl_conduits:conduit", {
},
collisionbox = conduit_box,
selectionbox = conduit_box,
groups = { pickaxey = 1, deco_block = 1},
groups = { pickaxey = 1, deco_block = 1, rarity = 1 },
light_source = minetest.LIGHT_MAX,
tiles = { "mcl_conduit_conduit_node.png", },
_mcl_hardness = 3,

View File

@ -176,7 +176,7 @@ minetest.register_tool("screwdriver:screwdriver", {
description = S("Screwdriver"),
inventory_image = "screwdriver.png",
wield_image = "screwdriver.png^[transformFX",
groups = { tool = 1 },
groups = { tool = 1, rarity = 3 },
on_use = function(itemstack, user, pointed_thing)
screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE, 200)
return itemstack