- Left click: Scan train (left click the front main body of the train, the locomotive)
- Right click: Hold this and drag from one side of the rails to the other to start scanning the track
- Reload: After scanning the track, press reload to teleport the train
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@name holo corners | |
local E = entity():isWeldedTo() | |
local Min = E:aabbMin() | |
local Max = E:aabbMax() | |
local Size = Max-Min | |
local Center = (Max+Min)/2 | |
local A = ang() | |
#make slightly transparent for testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(()=>{ | |
let rows = $(".table.table-hover tr"); | |
let result = {"Consumables":{Total:0},"Cockpit Items":{Total:0}}; | |
function addCons(name) { | |
result.Consumables[name] = (result.Consumables[name]||0)+1; | |
result.Consumables.Total++; | |
} | |
let match = { | |
"Artillery": function(text) {addCons("Artillery");}, | |
"Air Strike": function(text) {addCons("Air Strike");}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--@name mandelbrot | |
--@author Divran | |
--@client | |
local x, y = -0.7, 0 -- offset position of mandelbrot set | |
local w, h = 1.3, 1.3 -- size of mandelbrot set | |
local rt_w, rt_h = 1024, 1024 -- size of RT | |
local max_iterations = 100 | |
local function quotaCheck(n) |