summaryrefslogtreecommitdiff
path: root/technic_worldgen/nodes.lua
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2016-09-03 16:29:14 +0200
committerShadowNinja <ShadowNinja@users.noreply.github.com>2016-11-17 11:59:48 -0500
commitd39797aad83ad02ed717cb52af8a28747ae60b45 (patch)
tree5daf639ce0b5bdd86de719a17bd4cbc0d16b18da /technic_worldgen/nodes.lua
parent1475ee6e40b61ba2b604ac6dc3ff285df415450f (diff)
Handle CONTENT_IGNORE when checking windmill conditions.
Windmills always span more than one mapblock, so even with a switching station next to the generators, they will stop working if unloaded due to the windmill check failing to handle CONTENT_IGNORE of the frames at the foot of the windmill, unless a second switching station would be placed there. The commit assumes, that a user has to load a block to modify it, and thus unloaded blocks to have the same windmill frame state as before. This also makes technic_run for windmills a little faster by being able to skip some unnecessary node lookups and generally avoiding creation of 20 tables per windmill per step.
Diffstat (limited to 'technic_worldgen/nodes.lua')
0 files changed, 0 insertions, 0 deletions