]> git.pond.sub.org Git - empserver/commit
New concept sector terrain
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 13 Feb 2008 19:54:08 +0000 (20:54 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 28 Oct 2008 23:35:51 +0000 (19:35 -0400)
commit3376589007f991dc1a7a0cc1b8f3da59c73374c8
tree8790d40c484a814f2ae539f4c57fb974544564da
parent0d48dae06bae69aba770a6ba93b672114f76d438
New concept sector terrain

A sector type's terrain (struct dchrstr member d_terrain) is the
sector type of its underlying terrain.  Sector types occuring in
d_terrain are terrain types, and must have their own type in
d_terrain.  Players can change sector types only to those with the
same terrain.

The builtin configuration defines terrain types sea, mountain,
wasteland, wilderness and plains.  It gives bridge span and tower
terrain sea, and everything else terrain wilderness.  Hence, the stock
game remains unchanged.

Deities can use terrain to create sector types that can be developed
only in limited ways.
include/sect.h
src/lib/commands/add.c
src/lib/commands/desi.c
src/lib/common/nsc.c
src/lib/global/sect.config