Hi all,
since OXC 1.0 nightly (openxcom_git_master_2019_03_04_0513.zip)
and
OXCE v5.3 (coming out soon)
there will be a check for required OXCE version.
The check will be done when:
1. enabling a mod
2. selecting a master mod
OXC will only check if OXCE is required or not;
OXCE will also check the minimum required version of OXCE.
The definition of minimum required OXCE version is done via metadata.yml, for example:
name: "My OXCE mod"
version: 1.3.1a
author: Meridian
description: "Something clever."
id: "my-oxce-mod"
master: "xcom1"
requiredExtendedVersion: "5.3"
OXCE will additionally make a check during the game startup... this is useful when a player upgrades a mod in-place (i.e. doesn't have to enable it in the options). If a problem is found, a message like this will appear in the log file:
[03-03-2019_22-46-17] [ERROR] Mod 'X-Com Files' requires at least OXCE v5.3
PS: the checks only inform the player about the OXCE requirement... it will still be possible to enable any mod if the player chooses to ignore the requirement