Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Directions:
- 0 - 0: Below robot
- 1 - 8: N, NE, E, SE, S, SW, W, NW
- 9 - 16: Same, but one block above
- 17 - 24: Same, but one block below
- Block types:
- Air - Nothing
- Water - Water
- Solid - Solid block
- CharWall - Char, FG, BG. Like Wall in 64pixels
- Wirium - Carries a charge
- P-NAND - Emits a charge only if 1 or 2 inputs have a charge
- DiCrossuh - Crosses 2 Wirium wires
- TriCrossuh - Crosses 3 Wirium wires
- Meloder - Plays a tone when given a charge, depending on its "char"
- Plate - Emits a charge while stepped on
- WiriumSwitch - Can be turned on and off
- LuaBlock - Block with a Lua script
- LuaRobot - Robot with a Lua script
- Sign - Displays a message when touched
- KKKBlock - Imported K-Logic subcircuit for Wirium
- LogisimBlock - Imported Logisim subcircuit for Wirium
- TelepointPublic - Marks a location. You can teleport to it
- TelepointPrivate - Marks a location. Only the builder can teleport to it.
- TelepointP2P - Stepping on the telepoint sends you to another TelepointP2P
- This.X - Robot's X position (absolute), float
- This.Y - Robot's Y position (absolute), float
- This.Char - ASCII character for the robot
- This.FGColor - Robot foreground color (0-15)
- This.BGColor - Robot background color (0-15)
- This.Charge - Does the robot give out a charge? ( Can actually store a byte )
- This.Caption - Set caption for when you hover the mouse over the robot
- This.Solid - Can players walk through the robot? true/false
- This.OnBumped - Pointer to function to run when robot is bumped into
- This.OnBump - Pointer to function to run when robot moves into something
- This.OnTalked - Pointer to function to run when someone talks
- This:Move(Direction) - Move in direction
- This:Move(OffsetX,OffSetY) - Move to offset
- This:MoveA(AbsX, AbsY) - Move to absolute XY position
- GetTile() - Pointer to tile below the robot
- GetTile(Direction) - Pointer to tile in direction. 0=Below, 1=North, increments clockwise
- GetTile(OffX,OffY) - Pointer to tile in offset
- GetTileA(AbsX,AbsY) - (Absolute version of the above)
- GetTile(OffX,OffY,OffE) - 3D version
- GetTileA(AbsX,AbsY,AbsE) - 3D version
- Type2TypeId(Type) - Returns the type number for a specified type string
- TypeId2Type(TypeId) - Returns the type string for a specified type number
- Tile.New(Char,FG,BG,Type) - Obtain a pointer to a new tile that doesn't necessarily exist
- Tile:Swap(DestinationTile) - Swap tile with a different tile
- Tile:Copy(DestinationTile) - Copy tile onto a different tile, overwriting it
- Tile.X - Read only absolute X coordinate
- Tile.Y - Read only. absolute Y coordinate
- Tile.Char - ASCII character for the tile
- Tile.FGColor - Tile foreground color (0-15)
- Tile.BGColor - Tile background color (0-15)
- Tile.Type - Tile type name, "Wall", "Floor", "Wirium" and so on
- Tile.TypeId - Tile type as a number
- Tile.Charge - Does the tile give out a charge?
- Tile.A - Misc counter
- Tile.B - Misc counter
- Tile.C - Misc counter
- Tile.D - Misc counter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement