Removing floor material throws LUA error

I currently have 3 citizens stuck on the second floor of a “church” because i forgot to make a hole for a ladder :slight_smile:

Version:
release-293 x64

Reproduce:
1: create a new building with atleast 1 floor piece
2: finish said building and wait for it to complete
3: Enter building designer and select the eraser tool
4: Select the floor

Error:

2015-May-15 13:15:16.597001 | server |  0 |                         lua.code | -- Script Error (lua) Begin ------------------------------- 
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    ...arth/components/fabricator/fabricator_component.luac:135: building color to material map has no entry for color #000000
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    stack traceback:
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	[C]: ?
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	[C]: in function 'error'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	radiant/modules/common.luac:91: in function 'error'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	...arth/components/fabricator/fabricator_component.luac:135: in function '_tag_to_material'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	...arth/components/fabricator/fabricator_component.luac:260: in function '_update_material_proxy_region'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	...arth/components/fabricator/fabricator_component.luac:251: in function '_update_all_material_proxy_regions'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	...arth/components/fabricator/fabricator_component.luac:362: in function <...arth/components/fabricator/fabricator_component.luac:362>
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	[C]: in function 'modify'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	...arth/components/fabricator/fabricator_component.luac:311: in function '_update_fabricator_region'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	...arth/components/fabricator/fabricator_component.luac:360: in function <...arth/components/fabricator/fabricator_component.luac:358>
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	[C]: in function 'modify'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	...s/construction_data/construction_data_component.luac:91: in function 'remove_local_region'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	...s/construction_data/construction_data_component.luac:89: in function 'remove_world_region'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	stonehearth/services/server/build/build_service.luac:105: in function 'erase_floor'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	stonehearth/services/server/build/build_service.luac:107: in function 'cb'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	stonehearth/services/server/build/build_service.luac:295: in function 'do_command'
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code |    	stonehearth/services/server/build/build_service.luac:107: in function <stonehearth/services/server/build/build_service.luac:107>
2015-May-15 13:15:16.597001 | server |  0 |                         lua.code | -- Lua Error End   ------------------------------- 
2015-May-15 13:15:16.597001 | server |  1 |                         lua.code | exception delivering lua trace: lua runtime error
1 Like

Tried that myself, once its built you can’t take away. In an earlier build of the game you could take away slabs, not sure what build they stopped it. It is possible to take away part of the floor once construction starts by editing but once its placed it stays! (as far as I know).


As you can see here.

1 Like

I hope it isn’t by design. It effectively stops demolition of buildings aswell.

currently the game is kinda like, if its built it stays built. so you have to remember to make the holes before you build it, dont worry though, your not alone on the forgetting side :wink: