Interrupt / delverengine

Delver game engine and editor
zlib License
803 stars 81 forks source link

Better Handling Of Missing Configuration Files #112

Closed PythooonUser closed 4 years ago

PythooonUser commented 4 years ago

grafik grafik

Closes #83. Fixes #115. This PR attempts to load all available room and level generators defined by both internal themes and any installed mods. It displays them in the Generate Room and Generate Level menu. So no hard-coded entries anymore.

Note: We do not check if the room generators are valid or perform any other checks.

Interrupt commented 4 years ago

This doesn't seem to be pulling in themes from mods, had the base game data in a folder in a mod and it didn't list anything in either dropdown.

PythooonUser commented 4 years ago

@Interrupt I changed Game.getFile to Game.getInternal. My tests worked with that as well. Would be interesting to know how it behaves for you now.