From d150a0742eae1a6132969355d2300a2b4674e58a Mon Sep 17 00:00:00 2001 From: Flugente Date: Sun, 30 Sep 2012 22:01:57 +0000 Subject: [PATCH] added random items with 2 examples for assault rifles. Note that this is an example, they might change in the future FIX: item #1581 no longer has two classes git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1544 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/TableData/Items.xml | 47 ++- gamedir/Data-1.13/TableData/RandomItem.xml | 435 +++++++++++++++++++++ 2 files changed, 481 insertions(+), 1 deletion(-) create mode 100644 gamedir/Data-1.13/TableData/RandomItem.xml diff --git a/gamedir/Data-1.13/TableData/Items.xml b/gamedir/Data-1.13/TableData/Items.xml index ea8d87044..418b0f689 100644 --- a/gamedir/Data-1.13/TableData/Items.xml +++ b/gamedir/Data-1.13/TableData/Items.xml @@ -176,6 +176,8 @@ 0.0 0 0 + 0 + 0 0 0 @@ -47445,7 +47447,6 @@ This little device enables your rifle to fire grenades. A loaded magazine is required, and obviously no other firing mdoes are possible while there is a grenade attached. Rifle Grenade Device Transform your WW2 rifleman into a WW2 grenadier. - 268435456 16 33554432 2 @@ -48642,4 +48643,48 @@ + + 1623 + random NATO AR number 1 + random NATO AR 1 + If you can read this, Flugente propably didn't catch a certain way to create items. Go blame him! + random NATO AR 1 + NO DESCRIPTION NECESSARY. + 268435456 + 1 + 2 + 1 + 9 + 8 + 13 + 90 + 1 + 15 + -1 + + + + + + 1624 + random WP AR number 1 + random WP AR 1 + If you can read this, Flugente propably didn't catch a certain way to create items. Go blame him! + random WP AR 1 + NO DESCRIPTION NECESSARY. + 268435456 + 1 + 2 + 1 + 9 + 8 + 13 + 90 + 1 + 16 + 1 + + + + \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/RandomItem.xml b/gamedir/Data-1.13/TableData/RandomItem.xml new file mode 100644 index 000000000..5036987af --- /dev/null +++ b/gamedir/Data-1.13/TableData/RandomItem.xml @@ -0,0 +1,435 @@ + + + + 0 + blank + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + 1 + vanilla handguns + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 0 + 0 + + + 2 + AR-15 assault rifles + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 12 + 23 + 632 + 633 + 763 + 796 + 797 + 1332 + 0 + 0 + + + 3 + HK assault rifles + 12 + 14 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 13 + 21 + 29 + 30 + 662 + 667 + 1066 + 1070 + 1072 + 1077 + + + 4 + FN assault rifles + 11 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 28 + 646 + 647 + 648 + 653 + 0 + 0 + 0 + 0 + 0 + + + 5 + AKs, 47-based + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 26 + 347 + 612 + 613 + 615 + 708 + 0 + 0 + 0 + 0 + + + 6 + AKs, 74-based + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 25 + 614 + 785 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + 7 + AKs, very new + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 606 + 607 + 608 + 609 + 610 + 611 + 602 + 602 + 616 + 0 + + + 8 + other NATO ARs 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 20 + 24 + 331 + 27 + 332 + 605 + 624 + 629 + 655 + 656 + + + 9 + other WP ARs + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 349 + 617 + 659 + 660 + 782 + 0 + 0 + 0 + 0 + 0 + + + 10 + SIG assault rifles + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 350 + 712 + 713 + 714 + 715 + 0 + 0 + 0 + 0 + 0 + + + 11 + FN SCAR + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 651 + 652 + 787 + 788 + 790 + 791 + 792 + 793 + 0 + 0 + + + 12 + HK G36 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 664 + 665 + 666 + 755 + 756 + 0 + 0 + 0 + 0 + 0 + + + 13 + other NATO ARs 2 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 691 + 704 + 742 + 743 + 757 + 781 + 789 + 1195 + 896 + 1065 + + + 14 + XM-Series + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 748 + 749 + 750 + 751 + 752 + 0 + 0 + 0 + 0 + 0 + + + 15 + NATO assault rifles + 2 + 3 + 4 + 8 + 10 + 13 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + 16 + WP assault rifles + 5 + 6 + 7 + 8 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + 17 + Assault rifles + 15 + 16 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + \ No newline at end of file