AllYourBlocks / ChunkWars

Chunk Wars is a team-based attack-defend minigame for Minecraft. You play in an arena of different Chunks, all carefully handcrafted to replicate different Minecraft biomes and structures as closely as possible. Along with your team you will face everything that vanilla Minecraft can throw at you. Your goal is to be the last team standing.
https://www.planetminecraft.com/project/chunk-wars-1487425
GNU General Public License v3.0
2 stars 0 forks source link

Change the Options Chests system to a 'read from memory chest' system #197

Open AllYourBlocks opened 6 months ago

AllYourBlocks commented 6 months ago

1) This will affect the way we currently implement the Bonus Chest, Redstone Chest, and Jukebox Chest. It would move us away from the current hard-coded implementation, and enable quick and easy changes during map-testing and future Minecraft updates to Redstone and Music Disc items.

2) Could we also use this idea (or another in-game implementation?) to work for the 'give to player' options? This would affect Iron Gear, Ender Pearls, etc., enabling us to read from a different 'memory chest' all of the options that add extra starter items to the game.

I'll work on a physical Options Chests Memory system to sit alongside the existing Arena Memory. We might need to force-load additional chunks depending on where this is located(?!)

@slipcor Can you implement 1) and see if 2) is possible? Thanks!

AllYourBlocks commented 6 months ago

I think I would also like to move the Troll option to a chest-based solution. I will work on finding appropriate locations for a possible Troll Chest, along with a physical representation of it, as it is a more team-based resource.

Actually, should all team-relevant resources and/or player-relevant resources be given via chests? e.g. team... Wither Skulls, player... Iron Gear

Could this cause issues with space in starter houses, with one chest required for each option?

Does each memory chest require a unique 'write to' chest, or could we implement it all to a generic 'team starter resources' chest in the houses, and have the memory chest write contents to the next free chest slot?

AllYourBlocks commented 6 months ago

For my reference the current Options panel...

2024-01-08_22 22 14

I am already intending to split Iron Gear into Iron Tools and Iron Armour, as per #193

AllYourBlocks commented 6 months ago

Started mocking up a Chest Memory area.

Will need to expand the force-loaded Arena Memory chunks to include new Chest Memory, or stack the memory systems on top of each other.