Commit graph

361 commits

Author SHA1 Message Date
walterhiggins
75d8299a83 Merge branch 'master' of https://github.com/walterhiggins/ScriptCraft 2013-01-05 01:25:58 +00:00
walterhiggins
49b24fa2cd untabified. 2013-01-05 01:25:23 +00:00
Walter Higgins
bdbc86b162 Update README.md 2013-01-05 00:57:26 +00:00
walterhiggins
52272da33b Merge branch 'master' of https://github.com/walterhiggins/ScriptCraft 2013-01-05 00:53:02 +00:00
Walter Higgins
c105c53f89 Update bukkit.md 2013-01-05 00:52:01 +00:00
walterhiggins
25fd2c0dd4 Adding the .jar file for CraftBukkit users who don't want to compile. 2013-01-05 00:16:26 +00:00
Walter Higgins
919b072c35 Update README.md 2013-01-04 23:56:30 +00:00
Walter Higgins
e6f4d336d8 Create bukkit.md 2013-01-04 15:53:33 -08:00
walterhiggins
1edf5978fd Removed extraneous ~ files 2013-01-04 23:50:00 +00:00
walterhiggins
9df8b30fff New classes which separate out functionality of the JS interpreter and Minecraft impl and Command processor. 2013-01-04 23:41:04 +00:00
walterhiggins
c9f30382d6 Major reworking of MCP version of Mod and have added a new Bukkit Plugin version. 2013-01-04 23:38:47 +00:00
walterhiggins
165a2873b3 added youtube link. 2013-01-04 01:05:11 +00:00
walterhiggins
8a298953c2 untabified. 2013-01-03 20:16:58 +00:00
walterhiggins
693b9a3abe cleaned up code. 2013-01-03 20:16:13 +00:00
walterhiggins
11e6c642ff Added new dancefloor method and tweaks to CommandScript.java 2013-01-03 20:04:03 +00:00
Walter Higgins
d729e8c8a0 Update example_scripts/fort.js
changed battlement platform from stone slabs to wood slabs.
2013-01-03 09:30:34 +00:00
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