Skip to content
Snippets Groups Projects
Commit 3b6d4b6c authored by Kayz's avatar Kayz Committed by Rob Swindell
Browse files

more worldz default install for solomoriah's war

parent 148141b8
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
; LORD installer data for install-xtrn.js
; Solomoriah's War installer data for install-xtrn.js
Name: Solomoriah's WAR!
Desc: WAR Version 4.4 ported to JavaScript
......@@ -14,15 +14,43 @@ execution_ars = NOT GUEST
settings = XTRN_MULTIUSER
required = true
[prog:WARALD]
name = Solomoriah's WAR! on Alderon
cmd = ?war.js worlds/alderon
execution_ars = NOT GUEST
settings = XTRN_MULTIUSER
required = true
[prog:WARSOL]
name = Solomoriah's WAR! on Solomoriah
cmd = ?war.js worlds/solomoriah
execution_ars = NOT GUEST
settings = XTRN_MULTIUSER
required = true
[prog:WARSP]
name = Solomoriah's WAR! on Spacewar
cmd = ?war.js worlds/spacewar
execution_ars = NOT GUEST
settings = XTRN_MULTIUSER
required = true
[prog:WARTAL]
name = Solomoriah's WAR! on Toloivar
cmd = ?war.js worlds/tolivar
execution_ars = NOT GUEST
settings = XTRN_MULTIUSER
required = true
[event:WARUPD]
prompt = false
cmd = ?warupd.js worlds/earth
cmd = ?warupd.js earth alderon solomoriah spacewar tolivar
name = WAR Update
days = 127
[event:WARPOLL]
prompt = false
cmd = ?warpoll.js worlds/earth
cmd = ?warpoll.js earth alderon solomoriah spacewar tolivar
name = WAR Poll
days = 127
freq = 60
......@@ -555,6 +555,8 @@ function set_game(path)
{
if(path.substr(0, 1)=='/' || (path.substr(1,1)==':' && path.substr(2,1)=='\\'))
game_dir = path;
else if(path.indexOf('/') === -1)
game_dir = fullpath(orig_exec_dir+'/worlds/'+path);
else
game_dir = fullpath(orig_exec_dir+'/'+path);
news = new File(game_dir+'/news');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment