Line 234: |
Line 234: |
| |- | | |- |
| | <tt>addTool {{t|Sword|Wand}}</tt> | | | <tt>addTool {{t|Sword|Wand}}</tt> |
− | | Adds either a Battered Sword or Return Scepter (teleports you to your farm, unobtainable in vanilla) to the player's inventory. | + | | Adds either a Battered Sword or Return Scepter to the player's inventory. The ''Battered Sword'' is unobtainable in vanilla and is incomplete and not implemented. |
| |- | | |- |
| | <tt>advancedMove {{t|npc}} {{t|loop}} {{t|x y}}...</tt> | | | <tt>advancedMove {{t|npc}} {{t|loop}} {{t|x y}}...</tt> |
− | | Set multiple movements for an NPC. You can set True to have NPC walk the path continuously. Example: /advancedMove Robin false 0 3 2 0 0 2 -2 0 0 -2 2 0/ | + | | Set multiple movements for an NPC. You can set True to have NPC walk the path continuously. Example: <tt>/advancedMove Robin false 0 3 2 0 0 2 -2 0 0 -2 2 0/</tt> |
| |- | | |- |
| | <tt>ambientLight {{t|r}} {{t|g}} {{t|b}}</tt> | | | <tt>ambientLight {{t|r}} {{t|g}} {{t|b}}</tt> |
− | | Modifies the ambient light level, with RGB values from 0 to 255. Note that it works by ''removing'' colors from the existing light ambience, so ''"ambientLight 1 80 80"'' would reduce green and blue and leave the light with a reddish hue. | + | | Modifies the ambient light level, with RGB values from 0 to 255. Note that it works by ''removing'' colors from the existing light ambience, so <tt>ambientLight 1 80 80</tt> would reduce green and blue and leave the light with a reddish hue. |
| |- | | |- |
| | <tt>animalNaming</tt> | | | <tt>animalNaming</tt> |
Line 246: |
Line 246: |
| |- | | |- |
| | <tt>animate {{t|actor}} {{t|flip}} {{t|loop}} {{t|frame duration}} {{t|frames...}}</tt> | | | <tt>animate {{t|actor}} {{t|flip}} {{t|loop}} {{t|frame duration}} {{t|frames...}}</tt> |
− | | Animate a named actor, using the one or more {{t|frames}} from their spritesheet, for {{t|frame duration}} milliseconds per frame. {{t|flip}} indicates whether to flip the sprites along the Y axis; {{t|loop}} indicates whether to repeat the animation. | + | | Animate a named actor, using one or more {{t|frames}} from their sprite sheet, for {{t|frame duration}} milliseconds per frame. {{t|flip}} indicates whether to flip the sprites along the Y axis; {{t|loop}} indicates whether to repeat the animation until <tt>stopAnimation</tt> is used. |
| |- | | |- |
| | <tt>attachCharacterToTempSprite {{t|actor}}</tt> | | | <tt>attachCharacterToTempSprite {{t|actor}}</tt> |