mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 18:46:43 +00:00
Updated Debugging (markdown)
parent
15cb230de4
commit
16cecc8266
19
Debugging.md
19
Debugging.md
@ -23,7 +23,7 @@ These commands can be ran from your browser's console
|
|||||||
Debug.goTo(worldX, worldY, dimension)
|
Debug.goTo(worldX, worldY, dimension)
|
||||||
|
|
||||||
//Navigate to the specified world (hex)
|
//Navigate to the specified world (hex)
|
||||||
Debug.goTo(worldX, worldY, dimension)
|
Debug.goToHex(worldX, worldY, dimension)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Moderator commands
|
### Moderator commands
|
||||||
@ -31,21 +31,38 @@ Debug.goTo(worldX, worldY, dimension)
|
|||||||
Debug.setTileAt(x, y, newTile)
|
Debug.setTileAt(x, y, newTile)
|
||||||
|
|
||||||
Debug.createWorld(x, y, dimension)
|
Debug.createWorld(x, y, dimension)
|
||||||
|
|
||||||
Debug.createWorldHex(x, y, dimension)
|
Debug.createWorldHex(x, y, dimension)
|
||||||
|
|
||||||
Debug.killAll(x, y)
|
Debug.killAll(x, y)
|
||||||
|
|
||||||
Debug.objInfo(x, y)
|
Debug.objInfo(x, y)
|
||||||
|
|
||||||
Debug.userInfo(username)
|
Debug.userInfo(username)
|
||||||
|
|
||||||
Debug.moveObj(objectId, x, y)
|
Debug.moveObj(objectId, x, y)
|
||||||
|
|
||||||
Debug.tpObj(objectId, x, y, worldX, worldY, dimension)
|
Debug.tpObj(objectId, x, y, worldX, worldY, dimension)
|
||||||
|
|
||||||
Debug.tpObjHex(objectId, x, y, worldX, worldY, dimension)
|
Debug.tpObjHex(objectId, x, y, worldX, worldY, dimension)
|
||||||
|
|
||||||
Debug.spawnObj(data)
|
Debug.spawnObj(data)
|
||||||
|
|
||||||
Debug.comPortMsg(objectId, message)
|
Debug.comPortMsg(objectId, message)
|
||||||
|
|
||||||
Debug.healObj(objectId, amount)
|
Debug.healObj(objectId, amount)
|
||||||
|
|
||||||
Debug.damageObj(objectId, amount)
|
Debug.damageObj(objectId, amount)
|
||||||
|
|
||||||
Debug.chargeShield(objectId, amount)
|
Debug.chargeShield(objectId, amount)
|
||||||
|
|
||||||
Debug.setEnergy(objectId, amount)
|
Debug.setEnergy(objectId, amount)
|
||||||
|
|
||||||
Debug.saveGame()
|
Debug.saveGame()
|
||||||
|
|
||||||
Debug.popItem(objectId)
|
Debug.popItem(objectId)
|
||||||
|
|
||||||
Debug.putItem(objectId, item)
|
Debug.putItem(objectId, item)
|
||||||
|
|
||||||
Debug.setInventoryPosition(objectId, position)
|
Debug.setInventoryPosition(objectId, position)
|
||||||
```
|
```
|
Loading…
x
Reference in New Issue
Block a user