promotional bannermobile promotional banner
premium banner
Adds CC tweaked integration into Railcraft Reborn to allow new and advanced rail automation using computers.

Description

CC Rail enables you to control certan Railcraft Reborn blocks with CC: Tweeked enabling more advanced routing and control.

 

Features

 

Routing Detector

You can now view change the data stored in the routing book (NOTE: You need to insert a book that has been saved before. you can tell that this has happened as it will have the username in the tooltip)

Methods :

  • table getRoutes() - Returns a table with the routing data in the book
  • bool clearRoutes() - Clears the book of routing information
  • bool saveRoutes(table) - Updates the book with the new routing data

Routing Switch

Similar to the routing detector you can view change the data stored in the routing book (NOTE: You need to insert a book that has been saved before. you can tell that this has happened as it will have the username in the tooltip)

Methods :

  • table getRoutes() - Returns a table with the routing data in the book
  • bool clearRoutes() - Clears the book of routing information
  • bool saveRoutes(table) - Updates the book with the new routing data

Routing Track

This enables you to change the ticket data stored in the routing track (NOTE: You need to have a golden ticket stored in the track for this to work)

Methods :

  • string getDestination() - Returns the destination stored in the ticket
  • bool setDestination(string) - Sets the destination on the ticket

Train Reader

The train reader is a new block added by this mod. It enables you to read data on a multi cart train when it passes by. 

Events:

  • train_read_event - This is fired when a train passes by. Once you receive this event you can then used the getCarts() or getPassengers() methods to read the data from the train. 

Methods:

  • table getCarts() - This returns all the carts that made up the last train that was read
  • table getPassengers() - This returns all the entitys that where on the train