LUA change logs - LemADEC/WarpDrive GitHub Wiki

Legacy API

The following tables gives you an idea on how the API evolved. Use it when you're upgrading your scripts.

changed in 1.3.8

Machines Legacy API Updated API Comment
Monitor, Camera freq videoChannel Disambiguation of frequencies
Laser camFreq videoChannel Disambiguation of frequencies
Laser freq beamFrequency Disambiguation of frequencies
Laser getFirstHit getScanResult It's a scanner, not a weapon
Transporter energyCost getEnergyRequired Consistency with Ship controller
Enantiomorphic reactor laser sendLaser stabilize Disambiguation of function
Radar getResult getResult New return format to scan more than ships
Radar scanRadius radius, start Separation to trigger start from redstone
All energy blocks energy, getEnergyLevel energy General consistency
All laser blocks getBoosterDXDZ laserMediumDirection General consistency
All pos position General consistency
All - version Support for API changes

changed in 1.3.11

Machines Legacy API Updated API Comment
Mining laser isMining state General consistency
Mining laser quarry start, silktouch, onlyOres State machine & accessibility
Mining laser mine start, silktouch, onlyOres State machine & accessibility
Laser tree farm leaves breakLeaves General consistency
Laser tree farm treeTap tapTrees General consistency
Laser tree farm silkTouchLeaves silktouch General consistency

changed in 1.3.12

Machines Legacy API Updated API Comment
Mining laser isMining state General consistency
All laser blocks - laserMediumCount Added

changed in 1.3.16

Machines Legacy API Updated API Comment
Ship controller - getEnergyRequired Added
Ship controller - getScanDelay Added

changed in 1.3.19

Machines Legacy API Updated API Comment
Ship controller - movement Added
Ship controller - rotationSteps Added

changed in 1.3.20

Machines Legacy API Updated API Comment
Ship controller summonAll summon_all General consistency

changed in 1.3.31

Machines Legacy API Updated API Comment
Accelerator Control Point - controlChannel Added
Accelerator Controller - getControlPoints Added
Accelerator Controller - getControlPointsCount Added
Accelerator Controller - getControlPoint Added
Accelerator Controller - getParameters Added
Accelerator Controller - getParametersControlChannels Added
Accelerator Controller - parameter Added
Accelerator Controller - injectionPeriod Added
Cloaking core isAssemblyValid isAssemblyValid Extended
Enantiomorphic reactor core active enable General consistency
Enantiomorphic reactor core - state Added
Lift active enable General consistency
Lift - state Added
Particles Injector - controlChannel Added
Radar - getResults Added
Radar position position Extended
Ship controller getEnergyRequired getEnergyRequired Extended
Ship controller - getMaxJumpDistance Added
Ship controller isAttached isAssemblyValid General consistency
Ship controller mode command Accessibility
Ship controller jump enable General consistency
Ship controller getShipSize getShipSize Extended
Ship controller beaconFrequency targetName API simplification
Ship controller targetJumpgate targetName API simplification
Ship controller summon command, targetName & enable General consistency
Ship controller summon_all command, targetName & enable General consistency
Ship controller distance - Cleanup, see movement()
Ship controller direction - Cleanup, see movement()

changed in 1.3.39

Machines Legacy API Updated API Comment
Enantiomorphic reactor core - instabilityTarget, stabilizerEnergy Integrated reactor control
Transporter beacon - enable Added
Transporter beacon - isActive Added
Transporter core - beamFrequency Added
Transporter core - transporterName Added
Transporter core - enable Added
Transporter core - state Added
Transporter core - remoteLocation Added
Transporter core - lock Added
Transporter core - energyFactor Added
Transporter core - getLockStrength Added
Transporter core - getEnergyRequired Added
Transporter core - energize Added