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
This commit is contained in:
Wanne
2013-11-12 09:58:46 +00:00
parent 3751e7507b
commit 63ebacb730
2 changed files with 26 additions and 0 deletions
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<MINERALS>
<TYPE>
<uiIndex>0</uiIndex>
<sNameType>Mine</sNameType>
<sMineral>Silver</sMineral>
</TYPE>
<TYPE>
<uiIndex>1</uiIndex>
<sNameType>Mine</sNameType>
<sMineral>Gold</sMineral>
</TYPE>
</MINERALS>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<MINERALS>
<TYPE>
<uiIndex>0</uiIndex>
<sNameType>Mine</sNameType>
<sMineral>Silver</sMineral>
</TYPE>
<TYPE>
<uiIndex>1</uiIndex>
<sNameType>Mine</sNameType>
<sMineral>Gold</sMineral>
</TYPE>
</MINERALS>