Define mapcolors for all nodes

pull/6/head
Aaron Suen 1 year ago
parent 300ec81e08
commit eccf98691a
  1. 4
      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")

Loading…
Cancel
Save