This record describes changes to the API in version 1.7 Beta 6.
Events
<CanInstallItem>and<CanBeInstalled>get anaItemToReplaceparameter if we're replacing a device (as opposed to installing a new device).
Miscellaneous
- Immutable objects never blacklist the player.
- In API 35, the default enemy exclusion radius is now 50 light-seconds (previously it was 30 light-seconds).
- Item tables (plus armor and device tables) now support enhancement descriptors (not just enhancement numeric codes).
- Generic types (
<Type>) can how have<Communications>elements. Useful if you use a generic type as a ship's event handler.
TLisp
- Added
(plyIncScore player inc) -> scoreto increment/decrement the player's score. Note that this increments the raw score, before adjusting for resurrections. - Added
damageAdjproperty for armor and shield items. - Added
shpGetOrderCount. - Added
(shpCancelOrder ship [orderIndex]). Cancels either the current order or the order specified by index. shpGetOrderDescnow takes an optional orderIndex argument to return details about a different order in the stack.- Equality comparisons now work on structs.
(@ struct)returns the list of keys in struct (orNil).- Added
radioactiveproperty to ships and stations for both getting and setting. sysHitScannow requires first parameter and takes options argument. By default, this function detects worlds/stars, which is a change from previous versions. To revert back to old behavior, add options:{ excludeWorlds:True }.- Added
showMapLabelproperty for stations to get/set whether a station shows its name on the map. This returnsTrueeven if a station is currently unknown (and thus not shown on the map). - Added
knownproperty for items.
Resolve
Archive
Reopen
Create
Edit
Save
Attach File
Cancel Edit