September 29th – Using Protection
Today I’ve been implementing a block protection system, so that we can have special dungeons and missions where you can’t place blocks or break through walls until deactivating a Shield Generator somewhere inside. The way this works is: each tile in the world has a ‘dungeon ID,’ which is a bit of a misnomer since it’s also used to specify tiles that have no dungeon, tiles modified by the player, and a couple of other things. Specific dungeon IDs will be protected for a given world, in a list that can be modified from server side Lua scripts or by using an admin command. I’m sure people will find interesting uses for the system beyond its original purpose, like building a planet with tests of skill and then enabling protection to make them a challenge for other players to overcome. I look forward to seeing what you come up with!