Documentation tweaks and fixes. Addresses bug #13077.

This commit is contained in:
Eric S. Raymond 2009-02-27 16:11:45 +00:00
parent b27506ee71
commit 23e8c1c69d
2 changed files with 24 additions and 1 deletions

View file

@ -31,7 +31,7 @@
[section]
id=traits_section
title= _ "Traits"
topics=..traits_section,traits_fearless,traits_intelligent,traits_resilient,traits_strong,traits_quick,traits_dextrous,traits_healthy,traits_loyal,traits_undead,traits_mechanical
topics=..traits_section,traits_fearless,traits_intelligent,traits_resilient,traits_strong,traits_quick,traits_dextrous,traits_healthy,traits_dim,traits_slow,traits_weak,traits_loyal,traits_undead,traits_mechanical
# Not used since generated text was not really suitable.
#generator=traits
sort_topics=no
@ -435,6 +435,28 @@ Dextrous is a trait possessed only by Elves. The Elven people are known for thei
Healthy units have 1 HP plus 1 HP per level more than usual and rest heal the usual 2 HP after each turn they did not fight."
[/topic]
[topic]
id=traits_dim
title= _"Dim"
text= _"Units with trait Dim suffer a 20% increase in experience required to advance." + _"
Dim is a trait all too common in goblins and other lesser species. There are reasons these specis are lesser, and this is one of them."
[/topic]
[topic]
id=traits_slow
title= _"Slow"
text= _"Slow units have -1 movement but 5% more hitpoints." + _"
Thick-bodied and clumsy, slow individuals of goblins and other species take a movement penalty but are compensated for it with a slight increase in endurance."
[/topic]
[topic]
id=traits_weak
title= _"Weak"
text= _"Units with trait Weak get a -1 increment in hitpoints and melee damage."
[/topic]
[topic]
id=..terrains
title= _ "Terrains"

View file

@ -239,6 +239,7 @@ class Reference:
self.references[fn] = []
self.references[fn].append((n, a))
def dump_references(self):
"Dump all known references to this definition."
for (file, refs) in self.references.items():
print " %s: %s" % (file, `map(lambda x: x[0], refs)`[1:-1])
def __cmp__(self, other):