From ea79346cf3f74a78855eb19979982671b1cffca6 Mon Sep 17 00:00:00 2001 From: Flugente Date: Fri, 3 May 2013 23:29:01 +0000 Subject: [PATCH] new feature: dynamic flashlights allows useable flashlights git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1667 4f8fa57e-7814-0410-bad4-adc449f26b7c --- .../Data-1.13/TableData/Items/Attachments.xml | 360 ++++++++++++++++++ .../TableData/Items/Item_Transformations.xml | 68 ++++ gamedir/Data-1.13/TableData/Items/Items.xml | 112 ++++++ gamedir/Data-1.13/TableData/Items/Weapons.xml | 20 + 4 files changed, 560 insertions(+) diff --git a/gamedir/Data-1.13/TableData/Items/Attachments.xml b/gamedir/Data-1.13/TableData/Items/Attachments.xml index 71b38c2ba..41bfa7091 100644 --- a/gamedir/Data-1.13/TableData/Items/Attachments.xml +++ b/gamedir/Data-1.13/TableData/Items/Attachments.xml @@ -10276,6 +10276,11 @@ 873 8 + + 322 + 950 + 20 + 322 128 @@ -10376,6 +10381,21 @@ 1626 20 + + 322 + 1635 + 20 + + + 322 + 1636 + 20 + + + 322 + 1637 + 20 + 592 674 @@ -26717,4 +26737,344 @@ 784 20 + + 1635 + 12 + 20 + + + 1635 + 13 + 20 + + + 1635 + 21 + 20 + + + 1635 + 23 + 20 + + + 1635 + 29 + 20 + + + 1635 + 34 + 20 + + + 1635 + 35 + 20 + + + 1635 + 128 + 12 + + + 1635 + 331 + 20 + + + 1635 + 332 + 20 + + + 1635 + 630 + 20 + + + 1635 + 632 + 20 + + + 1635 + 633 + 20 + + + 1635 + 648 + 20 + + + 1635 + 649 + 20 + + + 1635 + 650 + 20 + + + 1635 + 651 + 20 + + + 1635 + 652 + 20 + + + 1635 + 662 + 20 + + + 1635 + 664 + 20 + + + 1635 + 665 + 20 + + + 1635 + 666 + 20 + + + 1635 + 667 + 20 + + + 1635 + 668 + 20 + + + 1635 + 669 + 20 + + + 1635 + 713 + 20 + + + 1635 + 714 + 20 + + + 1635 + 715 + 20 + + + 1635 + 760 + 20 + + + 1635 + 762 + 20 + + + 1635 + 781 + 20 + + + 1635 + 782 + 20 + + + 1635 + 787 + 20 + + + 1635 + 788 + 20 + + + 1635 + 790 + 20 + + + 1635 + 791 + 20 + + + 1635 + 792 + 20 + + + 1635 + 793 + 20 + + + 1635 + 795 + 20 + + + 1635 + 796 + 20 + + + 1635 + 797 + 20 + + + 1635 + 1066 + 20 + + + 1635 + 1065 + 20 + + + 1635 + 1070 + 20 + + + 1635 + 1072 + 20 + + + 1635 + 1074 + 20 + + + 1635 + 1076 + 20 + + + 1635 + 1077 + 20 + + + 1635 + 1195 + 20 + + + 1635 + 1201 + 20 + + + 1635 + 896 + 20 + + + 1635 + 897 + 20 + + + 1635 + 1332 + 20 + + + 1635 + 1333 + 20 + + + 1635 + 1334 + 20 + + + 1635 + 606 + 20 + + + 1635 + 607 + 20 + + + 1635 + 608 + 20 + + + 1635 + 609 + 20 + + + 1635 + 610 + 20 + + + 1635 + 611 + 20 + + + 1635 + 347 + 20 + + + 1635 + 25 + 20 + + + 1635 + 26 + 20 + + + 1635 + 612 + 20 + + + 1635 + 613 + 20 + + + 1635 + 614 + 20 + + + 1635 + 605 + 20 + \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/Items/Item_Transformations.xml b/gamedir/Data-1.13/TableData/Items/Item_Transformations.xml index b26b7bafd..acc59c002 100644 --- a/gamedir/Data-1.13/TableData/Items/Item_Transformations.xml +++ b/gamedir/Data-1.13/TableData/Items/Item_Transformations.xml @@ -221,4 +221,72 @@ Combat mode Ready for combat. + + 950 + 1635 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + ON + Switch on flashlight. + + + 1635 + 950 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + OFF + Switch off flashlight. + + + 1636 + 1637 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + ON + Switch on flashlight. + + + 1637 + 1636 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + OFF + Switch off flashlight. + \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/Items/Items.xml b/gamedir/Data-1.13/TableData/Items/Items.xml index e00d67494..196164784 100644 --- a/gamedir/Data-1.13/TableData/Items/Items.xml +++ b/gamedir/Data-1.13/TableData/Items/Items.xml @@ -178,6 +178,7 @@ 0 0 0 + 0 0 0 @@ -29542,6 +29543,7 @@ 1 1 1 + 1 2 1 20 @@ -48905,4 +48907,114 @@ 1 2097152 + + 1635 + LAM-Flashlight + Rifle LAM-Flashlight Combo + This Laser Aiming Module and tactical flashlight combination is meant to fit on modern rifle rail interface systems. Flashlight is ON. + Rifle LAM-Flashlight + Not for sale through BR. + 268435456 + 4 + 4 + 341 + 4 + 2 + 18 + 2500 + 9 + -2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 20 + 300 + -15 + -15 + -15 + -15 + -15 + 20 + 30 + 3.0 + 15 + + + + + + 1636 + Flashlight + Flashlight + I am... the light! No wait, that ain't right. I'm just a flashlight. But I'm still useful. If everything else fails, use me to knock people over the hea. + Flashlight + We say: let there be light! Batteries included. + 128 + 1 + 49 + 2 + 2 + 154 + 5 + 1 + 13 + 50 + 2 + 1 + -1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 322 + 4 + 3 + 30 + 1 + + + + + + 1637 + Flashlight + Flashlight + I am... the light! No wait, that ain't right. I'm just a flashlight. But I'm still useful. If everything else fails, use me to knock people over the head. Flashlight is ON. + Flashlight + Not for sale through BR. + 128 + 1 + 49 + 2 + 2 + 154 + 5 + 1 + 13 + 50 + 2 + 1 + -1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 322 + 30 + 1 + 18 + + + + \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/Items/Weapons.xml b/gamedir/Data-1.13/TableData/Items/Weapons.xml index c737bba41..519115346 100644 --- a/gamedir/Data-1.13/TableData/Items/Weapons.xml +++ b/gamedir/Data-1.13/TableData/Items/Weapons.xml @@ -13162,4 +13162,24 @@ 7 476 + + 1636 + Flashlight + 6 + 10 + 18 + 3 + 200 + 7 + + + 1637 + Flashlight + 6 + 10 + 18 + 3 + 200 + 7 + \ No newline at end of file