|
|
@ -113,6 +113,8 @@ local function reg(name, basename, basedef) |
|
|
|
on_construct = lc_liberties.handle_placement, |
|
|
|
on_construct = lc_liberties.handle_placement, |
|
|
|
|
|
|
|
|
|
|
|
on_dig = lc_liberties.handle_dig, |
|
|
|
on_dig = lc_liberties.handle_dig, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mapcolor = basedef.mapcolor, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
local territory_name = modname .. ":territory_" .. string_lower(name) |
|
|
|
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_place = lc_liberties.handle_territory_fill, |
|
|
|
|
|
|
|
|
|
|
|
on_dig = lc_liberties.handle_dig, |
|
|
|
on_dig = lc_liberties.handle_dig, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mapcolor = nodecore.underride({a = 32}, basedef.mapcolor), |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
reg_stone_craft(name, "crossy") |
|
|
|
reg_stone_craft(name, "crossy") |
|
|
|