flareteam / flare-engine

Free/Libre Action Roleplaying Engine (engine only)
http://flarerpg.org/
GNU General Public License v3.0
1.1k stars 186 forks source link

Random Map Selector #1859

Closed CaptainFluffy1903 closed 1 year ago

CaptainFluffy1903 commented 1 year ago

I know the next uptade will add a random item generation feature, what about maps?I know its too hard to make a random map(dungeon) generator but, what about a selector?There will be already done maps and it will randomly choose it.

dorkster commented 1 year ago

This can be done using the intermap_random event attribute. It's how we select a random map for the Halls of Infinity:

https://github.com/flareteam/flare-game/blob/master/mods/empyrean_campaign/npcs/base/infinity_obelisk.txt#L13 https://github.com/flareteam/flare-game/blob/master/mods/empyrean_campaign/maps/halls_of_infinity/maplist.txt

CaptainFluffy1903 commented 1 year ago

Oh, this one already exist.