rename the example world. It is now called "Arda" (another Tolkien name)

This commit is contained in:
Enno Rehling 2012-06-01 17:40:25 -07:00
parent a11e119419
commit a65a176ba0
8 changed files with 23 additions and 23 deletions

View File

@ -9,7 +9,7 @@ memcheck = 0
locales = de,en locales = de,en
[config] [config]
game = example game = arda
source_dir = ../.. source_dir = ../..
maxnmrs = 10 maxnmrs = 10

View File

@ -1,15 +1,15 @@
local srcpath = config.source_dir local srcpath = config.source_dir
local respath = srcpath .. '/example/res' local respath = srcpath .. '/server/res'
local paths = { local paths = {
'example/scripts/?.lua', 'server/scripts/?.lua',
'shared/scripts/?.lua', 'core/scripts/?.lua',
'external/lunit/?.lua' -- 'external/lunit/?.lua'
} }
for idx, path in pairs(paths) do for idx, path in pairs(paths) do
package.path = srcpath .. '/' .. path .. ';' .. package.path package.path = srcpath .. '/' .. path .. ';' .. package.path
end end
read_xml(respath..'/config-example.xml', respath..'/catalog-example.xml') read_xml(respath..'/config-arda.xml', respath..'/catalog-arda.xml')
require "init" require "init"

View File

@ -6,5 +6,5 @@
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<rewriteURI <rewriteURI
uriStartString="eressea:///core/" uriStartString="eressea:///core/"
rewritePrefix="../../shared/res/" /> rewritePrefix="../../core/res/" />
</catalog> </catalog>

View File

@ -89,18 +89,18 @@
<strings> <strings>
<string name="mailto"> <string name="mailto">
<text locale="de">eressea-server@example.com</text> <text locale="de">arda-server@example.com</text>
<text locale="en">eressea-server@example.com</text> <text locale="en">arda-server@example.com</text>
</string> </string>
<string name="newbie_info_1"> <string name="newbie_info_1">
<text locale="de">Bitte denke daran, deine Befehle mit dem Betreff <text locale="de">Bitte denke daran, deine Befehle mit dem Betreff
ERESSEA BEFEHLE an eressea-server@example.com zu senden.</text> ERESSEA BEFEHLE an arda-server@example.com zu senden.</text>
<text locale="en">Remember to send your orders to <text locale="en">Remember to send your orders to
eressea-server@example.com with the subject ERESSEA ORDERS.</text> arda-server@example.com with the subject ERESSEA ORDERS.</text>
</string> </string>
<string name="mailcmd"> <string name="mailcmd">
<text locale="de">ERESSEA BEFEHLE</text> <text locale="de">ARDA BEFEHLE</text>
<text locale="en">ERESSEA ORDERS</text> <text locale="en">ARDA ORDERS</text>
</string> </string>
<string name="defaultorder"> <string name="defaultorder">
<text locale="de">ARBEITEN</text> <text locale="de">ARBEITEN</text>

10
scripts/arda/modules.lua Normal file
View File

@ -0,0 +1,10 @@
require "spells"
require "arda.rules"
local srcpath = config.source_dir
tests = {
srcpath .. '/core/scripts/tests/spells.lua',
srcpath .. '/core/scripts/tests/common.lua',
srcpath .. '/core/scripts/tests/bson.lua',
srcpath .. '/arda/scripts/tests/rules.lua',
}

View File

@ -1,10 +0,0 @@
require "spells"
require "example.rules"
local srcpath = config.source_dir
tests = {
srcpath .. '/shared/scripts/tests/spells.lua',
srcpath .. '/shared/scripts/tests/common.lua',
srcpath .. '/shared/scripts/tests/bson.lua',
srcpath .. '/example/scripts/tests/rules.lua',
}