Zet0rz / nZombies-Unlimited

nZombies Unlimited
MIT License
43 stars 15 forks source link

Door System #38

Closed Zet0rz closed 5 years ago

Zet0rz commented 5 years ago

Doors are an essential part of the Zombies game. Previously in nZombies Original, doors were grouped together under the same flag, the same way spawnpoints were. This was a limited system (but with workarounds). Instead, this time doors will have Room ID separate from Door Group.

Map Flags represent "Rooms" - places with spawners, items, objects. A door would typically connect to 2 of these. Door Group is a single string that opens all other doors connected with the same string. This is similar to the old behavior.

When a door is bought, all other doors in the same Door Group are also opened. Following this, all connected Map Flags are unlocked, which enables spawners and other items in the rooms (if they aren't already).

In nZombies: