Commit graph

595 commits

Author SHA1 Message Date
Walter Higgins
20f2f6ec89 Update example_scripts/fort.js
Exception message was incorrect and I've moved the size-check to just after the statement that increases size if odd.
2013-01-03 08:36:49 +00:00
Walter Higgins
85f850c79f Update README.md 2013-01-02 10:28:40 +00:00
walterhiggins
66c46fc3fd untabified. 2013-01-02 07:40:32 +00:00
walterhiggins
d9c0471022 Added a TLDNR section 2013-01-02 07:39:05 +00:00
walterhiggins
17c007dcc2 fixed bug in prism method. all blocks were assumed to have direction metadata. 2013-01-02 00:41:30 +00:00
walterhiggins
3d3dccaf70 Radical change to how custom buildings can be made - Uses Drone.extend so that new player-submitted blueprints can be part of a chain. 2013-01-01 22:38:16 +00:00
walterhiggins
dfc5ba1b8f tidy up 2013-01-01 21:14:36 +00:00
walterhiggins
2a8fad7554 Moved scripts to example_scripts directory. 2013-01-01 21:11:25 +00:00
walterhiggins
5218f66659 directory reorg - moving non-core javascript files to examples directory 2013-01-01 20:33:59 +00:00
walterhiggins
718475d7b0 changes to drone.js to support methods in standalone mode. 2013-01-01 20:27:48 +00:00
Walter Higgins
bbcab2a9bc Update castle.js 2013-01-01 20:10:01 +00:00
walterhiggins
dc08abd534 Improvements to Drone module - each method can now be called in standalone mode. 2013-01-01 20:03:31 +00:00
Conor ONeill
7d3689db36 corrected one error in README and clarified a few other steps 2012-12-31 19:48:12 +00:00
walterhiggins
836310506d screenshot 2012-12-31 12:37:56 +00:00
walterhiggins
d28faca04d Adding a new example script fort.js for creating forts and castles. 2012-12-31 12:36:25 +00:00
walterhiggins
88cafd6ee2 Fixed a bug in Drone.js for prisms using Oak stairs (gable end used spruce not oak)
Added a new optional modification to GuiIngame class to show mouse pos and block info for block under mouse.
2012-12-31 08:45:41 +00:00
walterhiggins
9ce85bb5b3 improvements to Drone.paste() CommandScript.load now returns last statement of script 2012-12-30 19:44:25 +00:00
Walter Higgins
d9c47bf7ad Update README.md 2012-12-30 11:02:11 +00:00
Walter Higgins
c15cbec9c2 Update README.md 2012-12-30 10:57:23 +00:00
walterhiggins
179b3ee4a1 Added first draft of Drone.copy() and Drone.paste() methods (paste needs work to handle 'facing' blocks) 2012-12-30 09:06:38 +00:00
walterhiggins
ea6fe1e061 minor tidy up 2012-12-29 07:43:02 +00:00
walterhiggins
b092aa9f87 Added error reporting in in-game console 2012-12-29 07:41:09 +00:00
walterhiggins
ea5e2c4bb9 screenshot of output of cottage_road function 2012-12-28 23:05:23 +00:00
walterhiggins
8ba4e466c2 added tree methods and cottage_road example function. 2012-12-28 22:59:13 +00:00
walterhiggins
15ce10f0e6 The road goes on and on. A tree lined avenue created with just 3 lines of code...
var road = new Drone().box(43,3,1,200).up();
for (i=1;i<20;i++) road.left(3).box(6).right(8).box(6).left(5).fwd(10);
2012-12-28 13:39:24 +00:00
walterhiggins
bbaa07be12 Merge branch 'master' of github.com:walterhiggins/ScriptCraft 2012-12-28 13:27:10 +00:00
walterhiggins
5d808368c2 Updated to use Rhino's org.mozilla.javascript.* package instead of sun.org.mozilla.javascript (this must have been an old version of Rhino I was using) 2012-12-28 13:26:14 +00:00
Walter Higgins
1c474ac2b4 Update README.md 2012-12-28 13:23:15 +00:00
Walter Higgins
ad7b8df177 Update README.md 2012-12-28 12:19:10 +00:00
Walter Higgins
a6d309971a Update README.md 2012-12-28 12:14:46 +00:00
walterhiggins
872bb46a94 Added support for Trees and changed $SCRIPTPATH to the more understandable $SCRIPT_DIR 2012-12-28 09:16:25 +00:00
walterhiggins
13076a9bf2 Added documentation to the drone.js module.
Added new chkpt and move methods to drone class.
Added support for Trees!!!!!
2012-12-28 09:15:27 +00:00
Walter Higgins
0111a93913 Update README.md 2012-12-27 13:40:27 +00:00
walterhiggins
8116db6b40 screenshot of the cottages 2012-12-27 13:26:32 +00:00
walterhiggins
6b1b4805ee untabified again 2012-12-27 13:23:35 +00:00
walterhiggins
af487378f0 Merge branch 'master' of github.com:walterhiggins/ScriptCraft 2012-12-27 13:22:33 +00:00
walterhiggins
36b17c9dbf untabified. 2012-12-27 13:22:01 +00:00
Walter Higgins
acab91d879 Update README.md 2012-12-27 13:21:08 +00:00
walterhiggins
2fedd10768 Merge branch 'master' of github.com:walterhiggins/ScriptCraft 2012-12-27 13:12:54 +00:00
walterhiggins
d71977677f added comments 2012-12-27 13:11:26 +00:00
Walter Higgins
bb97cfdc5d Update README.md 2012-12-27 13:05:34 +00:00
walterhiggins
a1f243cef0 it lives! 2012-12-27 12:55:05 +00:00
Walter Higgins
b0f8c66564 Update README.md 2012-12-27 12:46:00 +00:00
Walter Higgins
7eea0c2530 Update README.md 2012-12-27 12:40:00 +00:00
Walter Higgins
f40034ab22 Initial commit 2012-12-27 04:27:26 -08:00