Initial commit

This commit is contained in:
2026-01-21 23:51:53 +01:00
commit 60b208fee0
1703 changed files with 100223 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
extends Object
class_name Biome
var name: String
var roomList: RoomList
var starterRoom: RoomData
var spread: float
var priority: int #Biomes with a prio of 0 will always be placed, after Biomes of lower priority will be placed
#Place all prio 0 Biomes
#Then place x number of prio 1 biomes
#Then place y number of prio 2 biomes
# [...]
#Spread biomes
func _init(bName: String, rList: RoomList, sRoom: RoomData, bSpread: float, bPrio: int) -> void:
name = bName
roomList = rList
starterRoom = sRoom
spread = bSpread
priority = bPrio