Transport Drones

by Klonan

Adds transport drones and transport depots

Content
11 months ago
0.18 - 1.1
77.4K
Logistics

b losing stone tiles on building depots

4 years ago

when i just built a depot on a paved area, a roadtile was placed under the "caution" spot, replacing the stone tile that was there. when deleting the depot, that roadtile is (of course) removed again since otherwise you would "earn" roadtiles for free or at least cheap by placing and deleting depots over and over again, but the original stone tile was gone and stayed gone.

it probably would be too difficult and unnecessarily complicated to save what tile was there before, but maybe the old stone tile should be returned to my inv during construction of the depot ?

4 years ago

Refunding the tile makes sense, I'll do that for the next version

4 years ago

thanks :-) but not perfect yet :-(

the mod now properly gives back stone tiles and also road tiles when a depot is built with the "caution" on those tiles, a road tile is automatically placed for free under that "caution" tile and on deconstruction this new road tile is also removed without giving it back. everything ok at first sight, BUT this only works as described when not done on or near a road ...

when the depot is removed and the "caution" tile has any road tiles next to it on any of the three neighboring tiles (it doesn't matter whether they were there when building the depot or whether they were placed later), the mod does NOT remove the road tile, probably to avoid interrupting an existing narrow road. but since a road tile was returned on construction, you now end up with one more road tile than before building and deconstructing the depot.

to solve this (small) problem, there are several options, but none are easy :
maybe either (1) somehow remember the fact that there was a road tile (probably complicated and can cause other conflicts/problems), or (2) the road tile would have to be removed always (which might interrupt a road), or (3) remove a road tile from the inventory in addition to the depot that is built (this might be impossible or cause lots of other problems since i know no items that are built using more than a single item from the inventory), or finally (4) require depots to be built with the "caution" tile on top of an existing road (require to have a road or build a road first, then place the depot with the "caution" on top of it, similar-but-opposite to how other buildings may NOT be built on roads).

but as already said above: this is only a small problem. as it works now, people won't accidentally run out of floor tiles or road tiles, some times it works well, and to get more road tiles by cheating, people would have to do quite some timeconsuming work of building and removing a depot lots of times to get a single floor tile each time.

New response