From 6d79535bb3bde551ef52c7c09a911db753f6558f Mon Sep 17 00:00:00 2001 From: pedro terzero Date: Fri, 15 Jan 2021 11:29:30 +0100 Subject: [PATCH] add missing inventories (closed #31) --- CHANGELOG.md | 3 + package.json | 2 +- src/assets/xcom1/inventories.rul | 141 +++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 src/assets/xcom1/inventories.rul diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bd9bbc..cf46db8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# v0.5.1 +- Fix missing inventories + # v0.5.0 - Add support for linking global variables, see https://github.com/pedroterzero/oxce-yaml-helper/issues/5 - Under the hood: use async fs functions diff --git a/package.json b/package.json index 18bff27..be3b75d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "oxc-yaml-helper", "displayName": "OpenXcom Ruleset Linker", "description": "This extension aims to turn Visual Studio code into an OpenXcom ruleset modding IDE. It links rulesets so you can easily navigate between linked rules. It checks for problems in the rulesets, and a lot of other things.", - "version": "0.5.0", + "version": "0.5.1", "author": { "name": "pedroterzero" }, diff --git a/src/assets/xcom1/inventories.rul b/src/assets/xcom1/inventories.rul new file mode 100644 index 0000000..ec33add --- /dev/null +++ b/src/assets/xcom1/inventories.rul @@ -0,0 +1,141 @@ +invs: + - id: STR_GROUND + x: 0 + y: 152 + type: 2 + costs: + STR_BACK_PACK: 20 + STR_BELT: 12 + STR_LEFT_HAND: 8 + STR_LEFT_LEG: 10 + STR_LEFT_SHOULDER: 12 + STR_RIGHT_HAND: 8 + STR_RIGHT_LEG: 10 + STR_RIGHT_SHOULDER: 12 + - id: STR_RIGHT_HAND + x: 0 + y: 63 + type: 1 + costs: + STR_BACK_PACK: 14 + STR_BELT: 8 + STR_GROUND: 2 + STR_LEFT_HAND: 4 + STR_LEFT_LEG: 10 + STR_LEFT_SHOULDER: 10 + STR_RIGHT_LEG: 8 + STR_RIGHT_SHOULDER: 10 + - id: STR_LEFT_HAND + x: 128 + y: 63 + type: 1 + costs: + STR_BACK_PACK: 14 + STR_BELT: 8 + STR_GROUND: 2 + STR_LEFT_LEG: 8 + STR_LEFT_SHOULDER: 10 + STR_RIGHT_HAND: 4 + STR_RIGHT_LEG: 10 + STR_RIGHT_SHOULDER: 10 + - id: STR_BELT + x: 192 + y: 104 + slots: + - [0, 0] + - [1, 0] + - [2, 0] + - [3, 0] + - [0, 1] + - [3, 1] + costs: + STR_BACK_PACK: 16 + STR_GROUND: 6 + STR_LEFT_HAND: 4 + STR_LEFT_LEG: 10 + STR_LEFT_SHOULDER: 12 + STR_RIGHT_HAND: 4 + STR_RIGHT_LEG: 10 + STR_RIGHT_SHOULDER: 12 + - id: STR_RIGHT_LEG + x: 0 + y: 120 + slots: + - [0, 0] + - [1, 0] + costs: + STR_BACK_PACK: 18 + STR_BELT: 10 + STR_GROUND: 6 + STR_LEFT_HAND: 6 + STR_LEFT_LEG: 10 + STR_LEFT_SHOULDER: 10 + STR_RIGHT_HAND: 4 + STR_RIGHT_SHOULDER: 10 + - id: STR_LEFT_LEG + x: 128 + y: 120 + slots: + - [0, 0] + - [1, 0] + costs: + STR_BACK_PACK: 18 + STR_BELT: 10 + STR_GROUND: 6 + STR_LEFT_HAND: 4 + STR_LEFT_SHOULDER: 10 + STR_RIGHT_HAND: 6 + STR_RIGHT_LEG: 10 + STR_RIGHT_SHOULDER: 10 + - id: STR_RIGHT_SHOULDER + x: 16 + y: 37 + slots: + - [0, 0] + - [1, 0] + costs: + STR_BACK_PACK: 16 + STR_BELT: 10 + STR_GROUND: 4 + STR_LEFT_HAND: 3 + STR_LEFT_LEG: 12 + STR_LEFT_SHOULDER: 8 + STR_RIGHT_HAND: 3 + STR_RIGHT_LEG: 12 + - id: STR_LEFT_SHOULDER + x: 112 + y: 37 + slots: + - [0, 0] + - [1, 0] + costs: + STR_BACK_PACK: 16 + STR_BELT: 10 + STR_GROUND: 4 + STR_LEFT_HAND: 3 + STR_LEFT_LEG: 12 + STR_RIGHT_HAND: 3 + STR_RIGHT_LEG: 12 + STR_RIGHT_SHOULDER: 8 + - id: STR_BACK_PACK + x: 192 + y: 37 + slots: + - [0, 0] + - [1, 0] + - [2, 0] + - [0, 1] + - [1, 1] + - [2, 1] + - [0, 2] + - [1, 2] + - [2, 2] + costs: + STR_BELT: 12 + STR_GROUND: 10 + STR_LEFT_HAND: 8 + STR_LEFT_LEG: 16 + STR_LEFT_SHOULDER: 14 + STR_RIGHT_HAND: 8 + STR_RIGHT_LEG: 16 + STR_RIGHT_SHOULDER: 14 \ No newline at end of file