Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !M_FAMILIES{'blank'=0, 'vermin'=1, 'goblin'=2, 'undead'=3, 'demon(lesser)'=4, demon(greater)=5}
- class Region
- @maps[]={}
- @population[]={}
- @threat
- end
- class Level
- @depth
- @map[][]
- def Spawn(region, map
- M_TABLE[rand 0..5].threat_table[rand region.threat-3..region.threat+3]
- end
Advertisement
Add Comment
Please, Sign In to add comment