Ore Processor OXP ver 2.2.5 (23/07/2025)

Author: spara (Mika Spåra) upgrading work by Dr. Nil & Eric Walch

_Description_

This oxp is an update to the original Ore Processor oxp by Dr. Nil & Eric Walch to better fit into Oolite with different rock texturing oxps installed. It also changes the behaviour of the equipment from automatic to primable and adds a short range scanning function.

* By default valuables are randomly put into any splinter from any splinter set installed. Optionally the original textured scripted custom splinters from the previous version can be mixed in by renaming the file shipdata.plist_ to shipdata.plist.
* Toughness of the splinters is varied. Some splinters take more time to process than others.
* Equipment has to be manually operated. Scoop a splinter or splinters. Start processing them by priming the equipment with shift-n and pressing n. Processing can be aborted by pressing n again. An upgrade to equipment is available to make it automatic.
* Processing can be resumed after aborting.
* With an upgrade the equipment can make a short range scan of a targeted splinter for valuables. Prime equipment, target a splinter and press b. Scan takes a few moments and some energy. Scanning can be aborted by pressing b while scan is active.

_Installing_

Install the OXP by copying ore_processor.oxp to your AddOns-folder.

_Credits_

* Original oxp by Dr. Nil & Eric Walch. See ReadMe.old for details.

_Version History_
V2.2.5
- Moved all text into descriptions.plist for easier localisation.
- Added a "Hardwire Ore Scanner" equipment item to auto-scan splinters as soon as they are targetted.
- When both of the hardwire options are purchased, the ore processor will operate in "Full Auto" mode, which means there will be no prime-able equipment for it.

V2.2.4
- Fixed issue where a respray of a ship could result in losing the "Hardwire Ore Processor".
- Added Library Config option to turn on custom splinters (so you don't have to rename shipdata files to do it).

v2.2.3
- Commodity name now generated using core function. Updated commodity type to use core names (ie "gem_stones" instead of "Gem-Stones").
- Splinter array cleared when docking.
- Made energy drain values into centralised variables for easy tweaking.

------

This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/
