craft icon indicating copy to clipboard operation
craft copied to clipboard

Nether portal should clear FoW

Open joshlory opened this issue 7 years ago • 0 comments

See https://github.com/code-dot-org/craft/issues/374#issuecomment-339499640. We've been approximating this with the "Invisible" block type, but this is fragile and breaks when we import new versions of Blocks.json.

https://github.com/code-dot-org/craft/blob/ffb56b9281db1b3201c1e866856f12e319fd4ba9/src/js/game/LevelMVC/LevelBlock.js#L77-L82

On October 29, 2018 I removed the two invisible blocks from MC_HOC_2017_10_RETRY.level and MC_HOC_2017_Ali.level in PR https://github.com/code-dot-org/code-dot-org/pull/25670. This is fine for the second level which has FoW cleared by lava, but we need to update the portal to clear FoW on Hero level 10.

joshlory avatar Oct 29 '18 22:10 joshlory