Greymerk / minecraft-roguelike

This is a mod for minecraft that adds randomly generated dungeon complexes.
GNU General Public License v3.0
130 stars 53 forks source link

(Q) chance temple theme pick rate #33

Closed Ezoteric closed 8 years ago

Ezoteric commented 8 years ago

Hey man love this mod but where can i change the chance of a non tower to spawn in its theme biome.

I want more temples and witchhuts etc and less normal towers :P

Could make it a option or just tell how to edit and i compile myself ;)

Thnx in advance

Greymerk commented 8 years ago

Change these to what you want: https://github.com/Greymerk/minecraft-roguelike/blob/master/src/main/java/greymerk/roguelike/dungeon/settings/builtin/SettingsGrasslandTheme.java#L32

https://github.com/Greymerk/minecraft-roguelike/blob/master/src/main/java/greymerk/roguelike/dungeon/settings/builtin/SettingsTheme.java#L13

If you want randomization you'll need to add multiple settings with weighted criteria. The system isn't setup for randomly selected towers within the same dungeon settings.

Ezoteric commented 8 years ago

Thnx for the fast reply. Ok so tower rogue is the standard tower and I change rogue to witch for example?

Greymerk commented 8 years ago

Yeah, any of the enum constants in: https://github.com/Greymerk/minecraft-roguelike/blob/master/src/main/java/greymerk/roguelike/dungeon/towers/Tower.java#L14