Menu

#243 template drawing table and builder improvements

unscheduled
open
nobody
None
2011-10-28
2011-09-15
No

Someone else suggested what I suggested already earlier so I thought I'll make a ticket about it in detail.

The ideas for improving the drawing table were that it could get a new slot or a slot row for selecting blocks. So you place wood planks and glass in that row and it would only write glass and wood plank blocks into the template and ignore all others.
This would create a selected type template. They should be marked as such but still be binary layout, why is explained in the builder part.
Leaving the slots empty would create a default one, I'll call them binary for now as they only have air or not-air.

And if possible it could write the template exactly noting every blocks type (excluding liquids unless it could use buckets to place springs, then only ignore flow blocks).
I'd call these full copies.
Maybe full copy could be made by placing a landmarker in the selection row or something like that.

Since the templates refer to individual files it should be possible to let them contain slightly different data and load that accordingly.

The builder could then get an additional slot too in which you could place a glass block to supress breaking blocks in places where the template has air.
The reason for this are the selected templates so you could merge your house together with a glass, wood and stone template.
If the breaking were on (no glass block placed) it wouldn't merge but just wreck the last placed type as it would break all present blocks free for the air blocks.

Or breaking gets simply disabled for selected templates, that would render the slot unneccessary.

For full copy ones it should of course use the fitting blocks for their places and if there aren't enough of a type skip it for a bit and try another type which is present until it can't place anymore. It should then stay in a standby state checking once per second if there are new needed blocks present for placing. It should only switch to the red off state if all blocks have their blocks like in the template, while waiting for new material it could go yellow to indicate missing material.

Maybe also add looking for material in nearby chests if the own inventory lacks a block type. For bigger buildings.

Discussion

MongoDB Logo MongoDB