lib_pro function library

Dependencies: lib_2da, lib_anon, lib_array, lib_fn, lib_ids, lib_ini, lib_sfo, lib_struct, lib_sugar, lib_tools

Description

General editors for pro files, mostly using the lib_struct system.

Functions

pro_copy(allow_missing:i, debug:i=1, pro:s, source_path:s, source_location:s, source_locbase:s, path:s, location:s, locbase:s, edits:s, missile_entry:s)=(value:s) action

General copier for pro files. Each pro file copied over will be added to projectl.ids if not already present. The function returns the ids number of the last pro to be added. 'missile' is the entry in missile.ids (defaults to the projectile name); only really works when adding only one missile at a time.

pro_edit(allow_missing:i, debug:i=1, pro:s, path:s, location:s, locbase:s, edits:s)=() action

General editor for pro files, in the normal lib_struct format.

pro_make(debug:i=1, pro:s, version:s, path:s, location:s, locbase:s, edits:s)=(value:s) action

General maker for pro files. Each pro file made will be added to projectl.ids if not already present. The function returns the ids number of the last pro to be added.