User Tools

Site Tools


usage:atlatc:api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
usage:atlatc:api [2022-06-25 14:35]
56independent subway trains No longer part of advtrains
usage:atlatc:api [2022-07-01 18:05]
56independent [Interrupts] Remove "does"
Line 80: Line 80:
 //since version 2.3.0// //since version 2.3.0//
  
-Like ''interrupt()'', but does not add an interrupt and returns false when an interrupt (of any type) is already present for this component. Returns true when interrupt was successfully added.+Like ''interrupt()'', but returns false when an interrupt (of any type) is already present for this component and does not add an interrupt. Returns true when interrupt was successfully added.
  
 ===interrupt_pos(pos, message) === ===interrupt_pos(pos, message) ===
Line 110: Line 110:
 When ''advtrains_line_automation'' is enabled, all Railway time functions are exposed as rwt.* and can safely be used in LuaATC code. When ''advtrains_line_automation'' is enabled, all Railway time functions are exposed as rwt.* and can safely be used in LuaATC code.
  
-For the available functions, see [[dev:lines:rwt]].+For the available functions, see [[dev:proposals:rwt:rwt_api]].
  
 <code> <code>
usage/atlatc/api.txt · Last modified: 2023-07-05 17:48 by maverick2797