mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -90,10 +90,8 @@ Selection.on_selection(SelectionName, function(event)
|
||||
surface.set_tiles(tiles_to_make, true, "abort_on_collision", true, false, player, 0)
|
||||
local remaining_tiles = surface.count_tiles_filtered{ area = area, name = tile_to_apply }
|
||||
local t_diff = tile_count - remaining_tiles
|
||||
game.print("T " .. tile_count .. " R " .. remaining_tiles)
|
||||
|
||||
--[[
|
||||
if item_count_cliff >= t_diff then
|
||||
if item_count_cliff >= t_diff and t_diff > 0 then
|
||||
player.remove_item{ name = "cliff-explosives", count = t_diff }
|
||||
else
|
||||
if item_count_cliff > 0 then
|
||||
@@ -106,7 +104,6 @@ Selection.on_selection(SelectionName, function(event)
|
||||
player.remove_item{ name = "grenade", count = item_count_needed }
|
||||
end
|
||||
end
|
||||
]]
|
||||
|
||||
if remaining_tiles > 0 then
|
||||
player.print({ "exp-commands_waterfill.part-complete", tile_count, remaining_tiles }, Commands.print_settings.default)
|
||||
|
||||
Reference in New Issue
Block a user