uSkyBlock icon indicating copy to clipboard operation
uSkyBlock copied to clipboard

onIsland challenges that requires a specific structure

Open DimaTiunov opened this issue 9 years ago • 4 comments

I want to offer the possibility to take into account the form of construction for the type of Challenge - inisland. pls sorry for my English, my native language is Russian

DimaTiunov avatar May 24 '16 07:05 DimaTiunov

I presume you mean "onIsland". Can you explain a bit more what you mean ??

dutchy1001 avatar May 24 '16 07:05 dutchy1001

I've been contemplating this as well, but have so far not come up with any sensible or performant way to do this.

Say if we make a challenge stating that the player should build a 9x9 house with a door + 2 windows, we can easily (currently) test for the occurrence of those blocks, but not whether they form a sensible structure.

If we were to test a structure against a schematic, the orientation would be important (or we would have to test all 4 cardinal directions), and the point-of-origin would also be important.

If you have any suggestions as to how to overcome these challenges, I'd be glad to hear them.

rlf avatar May 24 '16 11:05 rlf

I've wondered about this too - it's easy to fake out the homeowner without having anything resembling a house. I made an 'aquarium' challenge for 1.8 that required 64 sand, 128 glasspane, 256 standing water - there aren't too many ways to combine those things in a 10x10 area that isn't aquarium-shaped :-D You could possibly test that the walls are complete - no air blocks in the boundary (make player stand in exact center?) - and the sky is not visible. That could still be gamed - make a cardboard box and drop the glass and doors in the living room - but the requirement to make the walls and roof complete makes cheating the details sorta pointless.

woolwind avatar May 24 '16 15:05 woolwind

That would not create an additional burden may be to start checking the current algorithm, count of blocks and then to check the structure of the buildings.

DimaTiunov avatar May 25 '16 17:05 DimaTiunov