From f0464d49f979b4b81aa077a00baa841899e4d4a7 Mon Sep 17 00:00:00 2001 From: MaddMugsy Date: Fri, 16 Nov 2012 09:02:24 +0000 Subject: [PATCH] -Added Random Item Class to Lookup/ItemClass.xml -Added Lookup/AmmoFlag.xml -Updated description of MAP_ITEM_CHANCE_OVERRIDE in Ja2_Options.INI git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1561 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 7 ++++++- gamedir/Data-1.13/TableData/Lookup/AmmoFlag.xml | 11 +++++++++++ gamedir/Data-1.13/TableData/Lookup/ItemClass.xml | 4 ++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 gamedir/Data-1.13/TableData/Lookup/AmmoFlag.xml diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 3509628d3..97ece21c0 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -2398,7 +2398,12 @@ ENABLE_ALL_TERRORISTS = TRUE ENABLE_ALL_WEAPON_CACHES = FALSE -; force preplaced map items to disappear, regardless of original existance chance (0 = off, 100 = always appear) +;****************************************************************************************************************************** +; Override each map's percent likelihood of an item appearing. +; Valid range = 0-100, where 0 uses the map values. +; (Mainly for modders, can possibly take the fun out of the game) +;****************************************************************************************************************************** + MAP_ITEM_CHANCE_OVERRIDE = 0 ;****************************************************************************************************************************** diff --git a/gamedir/Data-1.13/TableData/Lookup/AmmoFlag.xml b/gamedir/Data-1.13/TableData/Lookup/AmmoFlag.xml new file mode 100644 index 000000000..befa74ea2 --- /dev/null +++ b/gamedir/Data-1.13/TableData/Lookup/AmmoFlag.xml @@ -0,0 +1,11 @@ + + + + 0 + None + + + 1 + Neurotoxin + + \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/Lookup/ItemClass.xml b/gamedir/Data-1.13/TableData/Lookup/ItemClass.xml index edf3b3c51..f630cc0d6 100644 --- a/gamedir/Data-1.13/TableData/Lookup/ItemClass.xml +++ b/gamedir/Data-1.13/TableData/Lookup/ItemClass.xml @@ -84,4 +84,8 @@ 536870912 Money + + 1073741824 + Random Item + \ No newline at end of file