Moved scripts to example_scripts directory.
This commit is contained in:
parent
5218f66659
commit
2a8fad7554
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
// $SCRIPT is a special javascript variable whose value is the full name of the current script.
|
// $SCRIPT is a special javascript variable whose value is the full name of the current script.
|
||||||
//
|
//
|
||||||
var scriptDir = $SCRIPT_DIR;
|
var scriptDir = $SCRIPT_DIR;
|
||||||
load(scriptDir + "/drone.js"); // assumes cottage.js and drone.js are in same directory
|
load(scriptDir + "/../drone.js"); // assumes cottage.js and drone.js are in same directory
|
||||||
//
|
//
|
||||||
// usage:
|
// usage:
|
||||||
// [1] to build a cottage at the player's current location or the cross-hairs location...
|
// [1] to build a cottage at the player's current location or the cross-hairs location...
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
load($SCRIPT_DIR + "/drone.js");
|
load($SCRIPT_DIR + "/../drone.js");
|
||||||
//
|
//
|
||||||
// constructs a medieval fort
|
// constructs a medieval fort
|
||||||
//
|
//
|
||||||
|
|
Reference in a new issue