diff --git a/stones.lua b/stones.lua index 8ed9671..772d737 100644 --- a/stones.lua +++ b/stones.lua @@ -113,6 +113,8 @@ local function reg(name, basename, basedef) on_construct = lc_liberties.handle_placement, on_dig = lc_liberties.handle_dig, + + mapcolor = basedef.mapcolor, }) local territory_name = modname .. ":territory_" .. string_lower(name) @@ -158,6 +160,8 @@ local function reg(name, basename, basedef) on_place = lc_liberties.handle_territory_fill, on_dig = lc_liberties.handle_dig, + + mapcolor = nodecore.underride({a = 32}, basedef.mapcolor), }) reg_stone_craft(name, "crossy")