[MUD-Dev] Metric vs. English System of Measurement in Games
olag at ifi.uio.no
olag at ifi.uio.no
Thu Jan 6 16:11:24 CET 2005
Michael Hartman:
> How would you recommend handling things like, for example, text
> descriptions of items and rooms?
> Assuming a non-dynamically generated description, this presents
> difficulties, no?
Depends on the combinatorial explosion. If you only customize based
on a few preferences you can generate them all as static text
strings. Use XML and XSLT! Easy!!
Input:
<desc>The boat is <unit size="20"/> long.</desc>
Of course the problem in this case is that we use different
measurements for boats and other things in Europe.
New Input:
<desc>The boat is <unit size="20" context="sea"/> long.</desc>
or
<desc context="sea">The boat is <unit size="20"/> long.</desc>
Ola
_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev
More information about the mud-dev-archive
mailing list