Placed map improvements
- Make placed maps walkable - Add proper hitbox for placed maps - Let placed maps propagate sunlight
This commit is contained in:
parent
7bb3b544e2
commit
bda796c101
@ -25,6 +25,14 @@ minetest.register_node("cartographer:map", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
stack_max = 1,
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.5, 0.5, -7 / 16, 0.5},
|
||||
},
|
||||
},
|
||||
on_use = function(stack, player, _)
|
||||
local pos = player:get_pos();
|
||||
local name = player:get_player_name();
|
||||
|
Loading…
Reference in New Issue
Block a user