From 63ebacb7307f906f9d88a18dca99221a4c27449d Mon Sep 17 00:00:00 2001 From: Wanne Date: Tue, 12 Nov 2013 09:58:46 +0000 Subject: [PATCH] New Feature: Different Mineral Types for Mines (by Jazz & Buggler) - Instead of only having Gold and Silver for Mines, we can now add more mineral types (-> TableData\Map\Minerals.xml) - The initialization of the mineral types of the mines is done in LUA (Scripts\initmines.lua) - Example: https://ja2svn.dyndns.org/source/ja2/trunk/Documents/1.13%20Modding/Modding%20Examples/New%20Minerals-Mines%20Example.zip o In this example we have a new mineral type (Oil) and the Cambria Mine (H8) becomes a Refinery git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1870 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/TableData/Map/Minerals.xml | 13 +++++++++++++ gamedir/Data/TableData/Map/Minerals.xml | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 gamedir/Data-1.13/TableData/Map/Minerals.xml create mode 100644 gamedir/Data/TableData/Map/Minerals.xml diff --git a/gamedir/Data-1.13/TableData/Map/Minerals.xml b/gamedir/Data-1.13/TableData/Map/Minerals.xml new file mode 100644 index 000000000..69a644b76 --- /dev/null +++ b/gamedir/Data-1.13/TableData/Map/Minerals.xml @@ -0,0 +1,13 @@ + + + + 0 + Mine + Silver + + + 1 + Mine + Gold + + \ No newline at end of file diff --git a/gamedir/Data/TableData/Map/Minerals.xml b/gamedir/Data/TableData/Map/Minerals.xml new file mode 100644 index 000000000..69a644b76 --- /dev/null +++ b/gamedir/Data/TableData/Map/Minerals.xml @@ -0,0 +1,13 @@ + + + + 0 + Mine + Silver + + + 1 + Mine + Gold + + \ No newline at end of file