Ghost On Water


This mod adds the ability to place ghosts (blueprints) on water or in space (space exploration). Ghost Landfill/Space Scaffolding is automatically added once a blueprint has been placed on water. Usage: press control + w while holding a blueprint to make it placeable on water, then simply place it on water.

Tweaks
1 year, 2 months ago
1.1
16.1K
Blueprints

b Crash when converting blueprint of landfill

2 years ago

Trying to convert a blueprint that contains ONLY landfill makes the game crash with the following notice:

The mod Ghost On Water (0.11.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event GhostOnWater::InputWaterGhostBlueprintUpdate (ID 178)
__GhostOnWater__/modules/blueprints.lua:35: attempt to get length of local 'blueprintEntities' (a nil value)
stack traceback:
    __GhostOnWater__/modules/blueprints.lua:35: in function 'updateSingleBlueprint'
    __GhostOnWater__/modules/blueprints.lua:15: in function 'updateBlueprint'
    __GhostOnWater__/control.lua:83: in function 'handler'
    __stdlib__/stdlib/event/event.lua:342: in function 'pcall'
    __stdlib__/stdlib/event/event.lua:362: in function 'dispatch_event'
    __stdlib__/stdlib/event/event.lua:438: in function <__stdlib__/stdlib/event/event.lua:396>

It also happens with concrete, scaffolding (SE) and probably any type of tile. Looking at the error it looks like it would happen on any blueprint that doesn't contain actual entities.

Its not very critical, as there is the obvious workaround of not uselessly converting blueprints of tiles, but I thought you may want to know about it. Cheers!

2 years ago

It's a known issue and will be fixed soon.

New response