LSE (Locomotive Script Extensions) is an extensible framework for creating prototypically working locomotives in Trainz Simulator.