Bulldozer

by ckhawks

Bulldozer for tearing up your base

Utilities
6 years ago
0.13 - 0.15
7

b Conflict with Factorissimo 2 and Crash Landing

6 years ago
(updated 6 years ago)

Error
94.023 Error MainLoop.cpp:943: Exception at tick 3935062: Error while running event bulldozer::on_tick (ID 0)
Unknown item name: factory-port-marker
stack traceback:
bulldozer/bulldozer.lua:258: in function 'addItemToCargo'
bulldozer/bulldozer.lua:174: in function 'removeTrees'
bulldozer/bulldozer.lua:296: in function 'collect'
bulldozer/control.lua:35: in function <bulldozer/control.lua:18>
If bulldoser near Factory building.

6 years ago
(updated 6 years ago)

I fixed this for my game
Fixed blacklists
"local blacklisttype = {
car=true, locomotive=true, unit=true, tree=true,
player=true, decorative=true, resource=true, smoke=true, explosion=true,
corpse=true, particle=true, projectile=true, turret=true,
sticker=true, projectile=true,
}

local blacklistname = {
["stone-rock"]=true, ["item-on-ground"]=true, ["rail-remnants"]=true, ["fish"]=true, ["cargo-wagon"]=true,
["unit-spawner"]=true, ["particle-source"]=true, ["flying-text"]=true, ["logistic-robot"] = true,
["combat-robot"]=true, ["construction-robot"]=true, ["ghost"]=true, ["entity-ghost"]=true, ["leaf-particle"]=true,
["leaf-particle-tiny"]=true, ["leaf-particle-large"]=true, ["leaf-particle-sapling"]=true, ["death-chest"]=true,
["factory-port-marker"]=true, ["factory-fluid-dummy-connector"]=true, ["factory-1-overlay"]=true,
["factory-power-input-2"]=true, ["factory-power-input-8"]=true, ["factory-power-input-12"]=true,
["factory-power-input-16"]=true, ["factory-power-output-2"]=true, ["factory-power-output-8"]=true,
["factory-power-output-12"]=true, ["factory-power-output-16"]=true, ["factory-fluid-dummy-connector-south"]=true,
["factory-2-overlay"]=true, ["factory-3-overlay"]=true, ["factory-overlay-display"]=true, ["small-ship-wreck"]=true,
["medium-ship-wreck"]=true, ["medium-remnants"]=true, ["big-remnants"]=true, ["small-remnants"]=true, ["small-scorchmark"]=true
}
"
But it is no collision with factory building now...

New response