kaansoral / adventureland

Adventure Land The Open Source CODE MMORPG
Other
189 stars 60 forks source link

maps.py configurable enter requirements #135

Open thmsndk opened 4 months ago

thmsndk commented 4 months ago

Currently crypt and winter_instance is hardcoded in the socket.on("enter") event, this change allows us to configure it instead of having to hardcode each new instance. I have verified that the correct key is still required and you still need to be near the correct door

This is also something that is used in the bee dungeon I'm working on. Figured it would make sense with a smaller PR only containing this change.

A future extension could be class or level requirements to enable class specific instances or min/max levels.

Engine Enhancements

thmsndk commented 1 month ago

@Telokis should be ready for review again