Newer
Older
naledi / biomes.lisp
;;;;
;;;; Naledi ya Africa ("Star of Africa") is an ncurses-based survival game
;;;; set in Africa.
;;;;
;;;; Biomes are habitat types, that provide default functions for patches.
;;;; This file holds the biome definitions.
;;;; 
;;;; (c) 2018 Daniel Vedder, MIT license
;;;;

(new-biome grassland
	:ground "tall elephant grass"
	:char #\; :col ':yellow
	:features '((acacia 40) (boulder 150))) ;TODO

(new-biome forest
	:ground "leaf litter and small shrubs"
	:char #\. :col ':green
	:features '((miombo 10) (acacia 15))) ;TODO

(new-biome stream
	:ground "shallow flowing water"
	:char #\~ :col ':blue
	:features '()) ;TODO

(new-biome swamp
	:ground "short sedge grass growing on boggy black soil"
	:char #\w :col ':green
	:features '()) ;TODO

(new-biome hill
	:ground "hard, stony soil"
	:char #\m :col ':cyan ;XXX white might be better
	:features '((boulder 10) (miombo 80))) ;TODO

(new-biome desert
	:ground "deep, drifting sand"
	:char #\^ :col ':white ;XXX yellow would be better, but shows up brown
	:features '((cactus 100) (boulder 200)))

;;TODO desert