"../deathforth/rooms/city.txt" $load-rooms
"events/inner/baseapts.df" $load

location: magapt2
		max-rooms: 17
		entry-tags: aptlobby
		script: set-theme-house
		pre-script: set-theme-house
		post-script: 10diff %zombs

		: magaptbedroom
			randombookmag scatter skelscat dbathroom
		;
		
		room-choice: hall
			room-weight: 360
			room-count: 1
			room-script: ndx
		
		5bed5bath12apt evaluate
				
		room-choice: bathroom
			room-weight: 1
			room-count: 2
			room-script: nad floor-bath
			filter-only
		
		room-choice: bedroom
			room-weight: 10
			room-count: 1
			room-script: nad		
			room-post-script: looseloot dbathroom
				
		room-choice: bedroom
			room-weight: 80
			room-count: 1
			room-script: nad		
			room-post-script: magaptbedroom

location: magapt1
		max-rooms: 15
		entry-tags: aptlobby
		script: set-theme-house
		pre-script: set-theme-house
		post-script: 10diff %zombs
		
		: magaptbath
			randombookmag scatter skelscat nad floor-bath
		;
		
		room-choice: hall
			room-weight: 360
			room-count: 1
			room-script: ndx
		
		5bed5bath12apt evaluate
				
		room-choice: bathroom
			room-weight: 60
			room-count: 1
			room-script: magaptbath
		
		room-choice: bedroom
			room-weight: 10
			room-count: 1
			room-script: nad		
			room-post-script: looseloot dbathroom

regiondef{			

	region: magapt
		script: timeofday o'clock

		inside
					
		loc-choice: magapt
			loc-weight: 99
			loc-count: 1

		post-script: 10diff %zombs inspawn
}