[A16] Stone Tiles use <worktomake> tags instead of <WorkToBuild>

Started by Thundercraft, January 12, 2017, 06:56:24 AM

Previous topic - Next topic

Thundercraft

1. Circumstances: Playing in 0.16.1393, stone tiles do not respect the work that should be required to build them.

2. What happened: Stone tiles are built very rapidly, despite how the description says, "Pretty to look at, but they take a long time to lay." This is regardless of how much construction skill the colonist has (or lacks).

3. What is expected: Playing in A15, I can confirm that building stone tiles takes a long time.

4. Steps to reproduce: Order multiple stone tiles be place, making sure you have enough stone blocks. Have a colonist with low construction try to complete this bill, noting how rapidly this is completed. Now repeat this procedure in an A15 game, noting the marked difference in speed.

5. The solution: skullywag reported in this thread how <worktomake> tags are no longer respected for buildings in A16 and how we are supposed to replace them with <WorkToBuild> tags, saying that failing to do so means that the building takes no ticks to build. (In other words, they're built instantly.)

Comparing A16 with A15, almost all <worktomake> tags for buildings have been replaced with <WorkToBuild> tags... with the exception of stone tiles. (This can be seen in the "TileStoneBase" abstract in Terrain_FloorsStoneTile.xml.)

The logical conclusion is that how <worktomake> tags were left in "TileStoneBase" (instead of being updated to <WorkToBuild> tags) was an oversight.

ison