Files
source/Tactical
Wanne 60d9fae2b0 Added new merge type "USE_ITEM_NEW" -> MergeType: 13 (by Sevenfm)
1.) USE_ITEM_NEW
- It creates new items with firstResultingItemIndex and secondResultingItemIndex (if defined) and deducts 1 point from firstItemIndex's status (for each new item).
- When firstItemIndex's status reaches 0, the item is destroyed.
- With this type of merge, you can use knife on tripwire roll, for example, to get 2 new tripwire items. So you can think of tripwire roll as container for 100 tripwires.
 
  <MERGE>
     <firstItemIndex>299</firstItemIndex>
     <secondItemIndex>1640</secondItemIndex>
     <firstResultingItemIndex>1524</firstResultingItemIndex>
     <secondResultingItemIndex>1524</secondResultingItemIndex>
     <mergeType>13</mergeType>
     <APCost>20</APCost>
  </MERGE>

2) USE_ITEM merge creates secondResultingItemIndex item if defined.
- With this secondResultingItemIndex defined, you can use knife on T-Shirt to get 2 rags.

  <MERGE>
     <firstItemIndex>299</firstItemIndex>
     <secondItemIndex>195</secondItemIndex>
     <firstResultingItemIndex>1022</firstResultingItemIndex>
     <secondResultingItemIndex>1022</secondResultingItemIndex>
     <mergeType>6</mergeType>
     <APCost>20</APCost>
   </MERGE>

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6681 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2013-12-05 08:05:27 +00:00
..
2013-10-03 20:22:35 +00:00
2012-04-10 23:45:46 +00:00
2013-10-11 06:55:31 +00:00
2013-11-22 21:50:00 +00:00
2013-10-28 20:02:19 +00:00
2013-11-22 21:56:06 +00:00
2013-10-21 12:24:45 +00:00
2013-11-11 12:51:33 +00:00
2013-04-26 00:54:22 +00:00
2013-11-29 22:49:48 +00:00
2013-09-07 12:10:45 +00:00
2013-11-11 12:51:33 +00:00
2013-11-25 21:44:39 +00:00
2012-11-05 09:12:14 +00:00
2013-09-21 16:03:47 +00:00
2013-09-21 16:03:47 +00:00
2013-11-28 08:23:03 +00:00
2013-11-03 16:26:30 +00:00
2013-11-03 16:26:30 +00:00
2013-10-28 20:02:19 +00:00
2013-10-28 20:02:19 +00:00
2013-11-11 12:51:33 +00:00
2013-10-28 20:02:19 +00:00
2012-06-02 15:50:54 +00:00
2013-11-11 12:51:33 +00:00
2013-10-19 12:47:53 +00:00
2013-11-11 12:51:33 +00:00
2013-11-03 16:26:30 +00:00
2013-10-17 14:49:52 +00:00
2012-11-15 00:03:39 +00:00
2012-04-10 23:45:46 +00:00
2008-11-06 00:46:54 +00:00
2010-02-20 15:49:46 +00:00
2013-11-28 08:23:03 +00:00