From 30f7ae33ef95736bb14be298224488d6a7e46cef Mon Sep 17 00:00:00 2001 From: WarrentyExpired Date: Mon, 27 Jul 2026 14:40:51 -0400 Subject: [PATCH] #W# Created script to import LootCrate/Box/Chests. --- .../{Town - Britain.cfg => Britain.cfg} | 0 ...Castle - Britain.cfg => BritainCastle.cfg} | 0 .../{Town - Bucs Den.cfg => BucsDen.cfg} | 0 Data/Decoration/Britannia/Chests.cfg | 9 + .../Britannia/{Town - Cove.cfg => Cove.cfg} | 0 .../{Town - Jhelom.cfg => Jhelom.cfg} | 0 .../{Town - Magincia.cfg => Magincia.cfg} | 0 .../Britannia/{Town - Minoc.cfg => Minoc.cfg} | 0 .../{Town - Moonglow.cfg => Moonglow.cfg} | 0 .../Britannia/{Town - Paws.cfg => Paws.cfg} | 0 .../{Town - Skara Brae.cfg => SkaraBrae.cfg} | 0 .../{Town - Trinsic.cfg => Trinsic.cfg} | 0 .../Britannia/{Town - Yew.cfg => Yew.cfg} | 9 - ... - Caverns of Ice.cfg => CavernsOfIce.cfg} | 39 - Data/Decoration/Underworld/Chests.cfg | 408 +++++++++ .../{Dungeon - Covetous.cfg => Covetous.cfg} | 144 ---- .../{Dungeon - Despise.cfg => Despise.cfg} | 0 .../{Dungeon - Destard.cfg => Destard.cfg} | 0 .../Underworld/Dungeon - Deceit.cfg | 26 - ... - Halls of Stone.cfg => HallsOfStone.cfg} | 0 ...rinth - Silent Tomb.cfg => SilentTomb.cfg} | 117 --- ...th - Wailing Hall.cfg => WailingHalls.cfg} | 108 --- Scripts/Commands/ExportChests.cs | 63 ++ Scripts/Items/Treasure/LootChests.cs | 810 ++++++++++-------- 24 files changed, 940 insertions(+), 793 deletions(-) rename Data/Decoration/Britannia/{Town - Britain.cfg => Britain.cfg} (100%) rename Data/Decoration/Britannia/{Castle - Britain.cfg => BritainCastle.cfg} (100%) rename Data/Decoration/Britannia/{Town - Bucs Den.cfg => BucsDen.cfg} (100%) create mode 100644 Data/Decoration/Britannia/Chests.cfg rename Data/Decoration/Britannia/{Town - Cove.cfg => Cove.cfg} (100%) rename Data/Decoration/Britannia/{Town - Jhelom.cfg => Jhelom.cfg} (100%) rename Data/Decoration/Britannia/{Town - Magincia.cfg => Magincia.cfg} (100%) rename Data/Decoration/Britannia/{Town - Minoc.cfg => Minoc.cfg} (100%) rename Data/Decoration/Britannia/{Town - Moonglow.cfg => Moonglow.cfg} (100%) rename Data/Decoration/Britannia/{Town - Paws.cfg => Paws.cfg} (100%) rename Data/Decoration/Britannia/{Town - Skara Brae.cfg => SkaraBrae.cfg} (100%) rename Data/Decoration/Britannia/{Town - Trinsic.cfg => Trinsic.cfg} (100%) rename Data/Decoration/Britannia/{Town - Yew.cfg => Yew.cfg} (91%) rename Data/Decoration/Underworld/{Maze - Caverns of Ice.cfg => CavernsOfIce.cfg} (66%) create mode 100644 Data/Decoration/Underworld/Chests.cfg rename Data/Decoration/Underworld/{Dungeon - Covetous.cfg => Covetous.cfg} (60%) rename Data/Decoration/Underworld/{Dungeon - Despise.cfg => Despise.cfg} (100%) rename Data/Decoration/Underworld/{Dungeon - Destard.cfg => Destard.cfg} (100%) delete mode 100644 Data/Decoration/Underworld/Dungeon - Deceit.cfg rename Data/Decoration/Underworld/{Maze - Halls of Stone.cfg => HallsOfStone.cfg} (100%) rename Data/Decoration/Underworld/{Labyrinth - Silent Tomb.cfg => SilentTomb.cfg} (68%) rename Data/Decoration/Underworld/{Labyrinth - Wailing Hall.cfg => WailingHalls.cfg} (79%) create mode 100644 Scripts/Commands/ExportChests.cs diff --git a/Data/Decoration/Britannia/Town - Britain.cfg b/Data/Decoration/Britannia/Britain.cfg similarity index 100% rename from Data/Decoration/Britannia/Town - Britain.cfg rename to Data/Decoration/Britannia/Britain.cfg diff --git a/Data/Decoration/Britannia/Castle - Britain.cfg b/Data/Decoration/Britannia/BritainCastle.cfg similarity index 100% rename from Data/Decoration/Britannia/Castle - Britain.cfg rename to Data/Decoration/Britannia/BritainCastle.cfg diff --git a/Data/Decoration/Britannia/Town - Bucs Den.cfg b/Data/Decoration/Britannia/BucsDen.cfg similarity index 100% rename from Data/Decoration/Britannia/Town - Bucs Den.cfg rename to Data/Decoration/Britannia/BucsDen.cfg diff --git a/Data/Decoration/Britannia/Chests.cfg b/Data/Decoration/Britannia/Chests.cfg new file mode 100644 index 0000000..28a7329 --- /dev/null +++ b/Data/Decoration/Britannia/Chests.cfg @@ -0,0 +1,9 @@ +lootcrate1 3647 (Hue=0; Name=crate) +1568 1058 4 + +lootcrate1 3646 (Hue=0; Name=crate) +1554 1049 -17 + +lootchest1 2475 (Hue=0; Name=metal chest) +1532 1031 4 + diff --git a/Data/Decoration/Britannia/Town - Cove.cfg b/Data/Decoration/Britannia/Cove.cfg similarity index 100% rename from Data/Decoration/Britannia/Town - Cove.cfg rename to Data/Decoration/Britannia/Cove.cfg diff --git a/Data/Decoration/Britannia/Town - Jhelom.cfg b/Data/Decoration/Britannia/Jhelom.cfg similarity index 100% rename from Data/Decoration/Britannia/Town - Jhelom.cfg rename to Data/Decoration/Britannia/Jhelom.cfg diff --git a/Data/Decoration/Britannia/Town - Magincia.cfg b/Data/Decoration/Britannia/Magincia.cfg similarity index 100% rename from Data/Decoration/Britannia/Town - Magincia.cfg rename to Data/Decoration/Britannia/Magincia.cfg diff --git a/Data/Decoration/Britannia/Town - Minoc.cfg b/Data/Decoration/Britannia/Minoc.cfg similarity index 100% rename from Data/Decoration/Britannia/Town - Minoc.cfg rename to Data/Decoration/Britannia/Minoc.cfg diff --git a/Data/Decoration/Britannia/Town - Moonglow.cfg b/Data/Decoration/Britannia/Moonglow.cfg similarity index 100% rename from Data/Decoration/Britannia/Town - Moonglow.cfg rename to Data/Decoration/Britannia/Moonglow.cfg diff --git a/Data/Decoration/Britannia/Town - Paws.cfg b/Data/Decoration/Britannia/Paws.cfg similarity index 100% rename from Data/Decoration/Britannia/Town - Paws.cfg rename to Data/Decoration/Britannia/Paws.cfg diff --git a/Data/Decoration/Britannia/Town - Skara Brae.cfg b/Data/Decoration/Britannia/SkaraBrae.cfg similarity index 100% rename from Data/Decoration/Britannia/Town - Skara Brae.cfg rename to Data/Decoration/Britannia/SkaraBrae.cfg diff --git a/Data/Decoration/Britannia/Town - Trinsic.cfg b/Data/Decoration/Britannia/Trinsic.cfg similarity index 100% rename from Data/Decoration/Britannia/Town - Trinsic.cfg rename to Data/Decoration/Britannia/Trinsic.cfg diff --git a/Data/Decoration/Britannia/Town - Yew.cfg b/Data/Decoration/Britannia/Yew.cfg similarity index 91% rename from Data/Decoration/Britannia/Town - Yew.cfg rename to Data/Decoration/Britannia/Yew.cfg index eaea81a..f9470aa 100644 --- a/Data/Decoration/Britannia/Town - Yew.cfg +++ b/Data/Decoration/Britannia/Yew.cfg @@ -13,15 +13,6 @@ ThruDoor 2092 ThruDoor 2094 1575 1043 4 -LootChest1 2475 (Name=metal chest) -1532 1031 4 - -LootCrate1 3646 (Name=crate) -1554 1049 -17 - -LootCrate1 3647 (Name=crate) -1568 1058 4 - StrongWoodDoor 1775 (Facing=NorthCCW) 1571 1061 4 diff --git a/Data/Decoration/Underworld/Maze - Caverns of Ice.cfg b/Data/Decoration/Underworld/CavernsOfIce.cfg similarity index 66% rename from Data/Decoration/Underworld/Maze - Caverns of Ice.cfg rename to Data/Decoration/Underworld/CavernsOfIce.cfg index 8461c18..0a8a5b1 100644 --- a/Data/Decoration/Underworld/Maze - Caverns of Ice.cfg +++ b/Data/Decoration/Underworld/CavernsOfIce.cfg @@ -4,21 +4,12 @@ BookOfLore 3735 ChestOfSecrets 2193 88 476 -4 -LootBox3 3651 -77 662 0 - -LootBox1 1325 -67 686 6 - SpikeTrap 4506 (Hue=1079) 77 674 0 FireColumnTrap 655 92 478 -5 -LootChest2 3669 -95 671 1 - SpikeTrap 4506 (Hue=1079) 90 666 0 @@ -31,36 +22,6 @@ DartTrap 1027 FireColumnTrap 655 101 481 -4 -LootChest3 3649 -93 472 -4 - -LootBox2 1517 -94 472 -4 - -LootCrate3 1605 -120 465 -2 - -LootCrate2 3645 -122 464 0 - -LootChest2 3668 -160 442 9 - -LootBox3 3651 -181 432 10 - -LootCrate4 3737 -281 694 -1 - -LootCrate3 1605 -277 700 7 - -LootCrate1 3646 -290 704 5 - -LootChest4 3667 -96 671 0 - SpikeTrap 4506 (Hue=1079) 101 666 0 diff --git a/Data/Decoration/Underworld/Chests.cfg b/Data/Decoration/Underworld/Chests.cfg new file mode 100644 index 0000000..02251c5 --- /dev/null +++ b/Data/Decoration/Underworld/Chests.cfg @@ -0,0 +1,408 @@ +lootchest4 3667 (Hue=0; Name=metal chest) +96 671 0 + +lootcrate1 3646 (Hue=0; Name=crate) +290 704 5 + +lootcrate3 1605 (Hue=0; Name=crate) +277 700 7 + +lootcrate4 3737 (Hue=0; Name=crate) +281 694 -1 + +lootbox3 3651 (Hue=0; Name=wooden chest) +181 432 10 + +lootchest2 3668 (Hue=0; Name=metal chest) +160 442 9 + +lootcrate2 3645 (Hue=0; Name=crate) +122 464 0 + +lootcrate3 1605 (Hue=0; Name=crate) +120 465 -2 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +94 472 -4 + +lootchest3 3649 (Hue=0; Name=metal chest) +93 472 -4 + +lootchest2 3669 (Hue=0; Name=metal chest) +95 671 1 + +lootbox1 1325 (Hue=2413; Name=wooden chest) +67 686 6 + +lootbox3 3651 (Hue=0; Name=wooden chest) +77 662 0 + +lootbox1 1326 (Hue=2413; Name=wooden chest) +2969 263 0 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +2946 276 0 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +2939 305 0 + +lootbox1 1325 (Hue=2413; Name=wooden chest) +2932 269 5 + +lootbox2 1518 (Hue=2413; Name=wooden chest) +2898 266 0 + +lootcrate2 3644 (Hue=0; Name=crate) +2889 215 0 + +lootcrate1 3647 (Hue=0; Name=crate) +2890 212 0 + +lootchest2 3669 (Hue=0; Name=metal chest) +2700 267 0 + +lootbox1 1326 (Hue=2413; Name=wooden chest) +2676 245 2 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +2678 174 0 + +lootcrate1 3646 (Hue=0; Name=crate) +2665 364 4 + +lootcrate2 3644 (Hue=0; Name=crate) +2665 364 0 + +lootcrate2 3644 (Hue=0; Name=crate) +2632 306 0 + +lootbox3 3650 (Hue=0; Name=wooden chest) +2631 283 0 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +2626 261 0 + +lootcrate1 3646 (Hue=0; Name=crate) +2628 190 4 + +lootcrate3 1605 (Hue=0; Name=crate) +2628 191 0 + +lootbox4 1153 (Hue=0; Name=wooden chest) +2600 257 0 + +lootbox1 1326 (Hue=2413; Name=wooden chest) +2604 247 0 + +lootbox2 1518 (Hue=2413; Name=wooden chest) +2591 287 0 + +lootcrate1 3646 (Hue=0; Name=crate) +2397 207 0 + +lootcrate3 1605 (Hue=0; Name=crate) +2369 246 0 + +lootcrate1 3647 (Hue=0; Name=crate) +2382 227 0 + +lootbox1 1325 (Hue=2413; Name=wooden chest) +2352 239 8 + +lootbox3 3650 (Hue=0; Name=wooden chest) +2344 265 0 + +lootcrate1 3646 (Hue=0; Name=crate) +2330 251 4 + +lootcrate3 1605 (Hue=0; Name=crate) +2328 251 0 + +lootchest3 3649 (Hue=0; Name=metal chest) +2329 235 0 + +lootchest2 3668 (Hue=0; Name=metal chest) +2311 290 0 + +lootchest4 3667 (Hue=0; Name=metal chest) +2314 280 0 + +lootcrate1 3646 (Hue=0; Name=crate) +2287 261 0 + +lootbox1 1325 (Hue=2413; Name=wooden chest) +2273 261 5 + +lootchest2 3669 (Hue=0; Name=metal chest) +2271 249 0 + +lootchest1 2475 (Hue=0; Name=metal chest) +2259 249 0 + +lootcrate2 3644 (Hue=0; Name=crate) +2226 251 -2 + +lootcrate4 3737 (Hue=0; Name=crate) +2227 251 0 + +lootbox1 1326 (Hue=2413; Name=wooden chest) +949 1705 6 + +lootbox4 1160 (Hue=0; Name=wooden chest) +949 1680 6 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +951 1680 6 + +lootbox3 3651 (Hue=0; Name=wooden chest) +945 1656 0 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +930 1734 0 + +lootbox3 3651 (Hue=0; Name=wooden chest) +929 1718 0 + +lootbox3 3651 (Hue=0; Name=wooden chest) +929 1684 0 + +lootchest3 3649 (Hue=0; Name=metal chest) +937 1656 0 + +lootbox1 1325 (Hue=2413; Name=wooden chest) +927 1701 6 + +lootbox3 3650 (Hue=0; Name=wooden chest) +896 1679 0 + +lootchest3 3649 (Hue=0; Name=metal chest) +898 1676 0 + +lootbox1 1326 (Hue=2413; Name=wooden chest) +911 1652 6 + +lootbox3 3651 (Hue=0; Name=wooden chest) +903 1654 6 + +lootbox1 1326 (Hue=2413; Name=wooden chest) +884 1734 0 + +lootbox2 1518 (Hue=2413; Name=wooden chest) +882 1721 0 + +lootbox1 1326 (Hue=2413; Name=wooden chest) +883 1680 0 + +lootbox2 1518 (Hue=2413; Name=wooden chest) +880 1666 0 + +lootchest1 3708 (Hue=0; Name=metal chest) +864 1708 6 + +lootbox3 3650 (Hue=0; Name=wooden chest) +864 1702 6 + +lootcrate1 3647 (Hue=0; Name=crate) +725 1731 0 + +lootchest1 2475 (Hue=0; Name=metal chest) +706 1728 0 + +lootchest1 2475 (Hue=0; Name=metal chest) +679 1732 0 + +lootbox3 3651 (Hue=0; Name=wooden chest) +682 1732 0 + +lootbox3 3651 (Hue=0; Name=wooden chest) +491 1733 10 + +lootchest3 3648 (Hue=0; Name=metal chest) +487 1738 9 + +lootchest4 3667 (Hue=1189; Name=metal chest) +488 1734 10 + +lootcrate1 3646 (Hue=0; Name=crate) +1123 1290 1 + +lootcrate1 3647 (Hue=0; Name=crate) +1097 1245 0 + +lootcrate1 3647 (Hue=0; Name=crate) +1068 1231 0 + +lootcrate1 3646 (Hue=0; Name=crate) +1044 1308 0 + +lootcrate1 3647 (Hue=0; Name=crate) +1047 1306 0 + +lootcrate1 3646 (Hue=0; Name=crate) +1053 1274 0 + +lootcrate4 3737 (Hue=0; Name=crate) +1052 1274 1 + +lootcrate2 3644 (Hue=0; Name=crate) +1026 1480 0 + +lootcrate1 3647 (Hue=0; Name=crate) +1031 1220 0 + +lootcrate1 3646 (Hue=0; Name=crate) +999 1512 4 + +lootcrate2 3644 (Hue=0; Name=crate) +999 1512 0 + +lootcrate2 3644 (Hue=0; Name=crate) +965 1461 0 + +lootcrate2 3645 (Hue=0; Name=crate) +967 1462 0 + +lootcrate1 3646 (Hue=0; Name=crate) +945 1488 7 + +lootcrate2 3644 (Hue=0; Name=crate) +938 1441 0 + +lootcrate4 3737 (Hue=0; Name=crate) +891 1490 1 + +lootcrate1 3646 (Hue=0; Name=crate) +893 1433 0 + +lootcrate2 3644 (Hue=0; Name=crate) +874 1472 0 + +lootcrate2 3645 (Hue=0; Name=crate) +876 1471 0 + +lootcrate1 3646 (Hue=0; Name=crate) +877 1450 1 + +lootcrate2 3644 (Hue=0; Name=crate) +875 1451 2 + +lootcrate1 3646 (Hue=0; Name=crate) +1098 1247 0 + +lootchest2 3668 (Hue=0; Name=metal chest) +4021 935 0 + +lootbox1 1325 (Hue=2413; Name=wooden chest) +4014 965 0 + +lootchest3 3648 (Hue=0; Name=metal chest) +4014 955 0 + +lootchest2 3668 (Hue=0; Name=metal chest) +4001 951 0 + +lootcrate1 3646 (Hue=0; Name=crate) +3995 963 4 + +lootcrate3 1605 (Hue=0; Name=crate) +3995 963 0 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +3987 963 0 + +lootbox4 1160 (Hue=0; Name=wooden chest) +3991 953 0 + +lootcrate2 3644 (Hue=0; Name=crate) +3988 938 0 + +lootcrate4 3737 (Hue=0; Name=crate) +3988 932 0 + +lootbox2 1518 (Hue=2413; Name=wooden chest) +3975 982 0 + +lootcrate2 3644 (Hue=0; Name=crate) +3780 978 0 + +lootcrate2 3644 (Hue=0; Name=crate) +3783 962 0 + +lootbox3 3650 (Hue=0; Name=wooden chest) +3784 943 0 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +3778 936 0 + +lootchest2 3669 (Hue=0; Name=metal chest) +3773 965 0 + +lootbox1 1326 (Hue=2413; Name=wooden chest) +3761 959 4 + +lootcrate2 3644 (Hue=0; Name=crate) +3760 913 4 + +lootcrate4 3737 (Hue=0; Name=crate) +3760 913 0 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +3747 953 0 + +lootbox3 3650 (Hue=0; Name=wooden chest) +3755 940 0 + +lootchest2 3668 (Hue=0; Name=metal chest) +3737 983 0 + +lootchest3 3649 (Hue=0; Name=metal chest) +3729 945 0 + +lootchest4 3667 (Hue=0; Name=metal chest) +3724 980 0 + +lootchest2 3668 (Hue=0; Name=metal chest) +3727 954 0 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +3716 942 0 + +lootchest3 3648 (Hue=0; Name=metal chest) +3505 944 0 + +lootcrate2 3644 (Hue=0; Name=crate) +3511 956 0 + +lootcrate2 3644 (Hue=0; Name=crate) +3509 935 0 + +lootcrate3 1605 (Hue=0; Name=crate) +3510 935 0 + +lootbox1 1325 (Hue=2413; Name=wooden chest) +3491 927 0 + +lootcrate2 3644 (Hue=0; Name=crate) +3474 983 0 + +lootcrate3 1605 (Hue=0; Name=crate) +3473 983 0 + +lootbox2 1517 (Hue=2413; Name=wooden chest) +3479 932 0 + +lootcrate1 3646 (Hue=0; Name=crate) +3466 994 0 + +lootcrate4 3737 (Hue=0; Name=crate) +3452 979 0 + +lootcrate1 3646 (Hue=0; Name=crate) +3454 944 6 + +lootcrate2 3644 (Hue=0; Name=crate) +3453 944 2 + +lootcrate3 1605 (Hue=0; Name=crate) +3454 944 2 + diff --git a/Data/Decoration/Underworld/Dungeon - Covetous.cfg b/Data/Decoration/Underworld/Covetous.cfg similarity index 60% rename from Data/Decoration/Underworld/Dungeon - Covetous.cfg rename to Data/Decoration/Underworld/Covetous.cfg index 730a8ae..d81cb97 100644 --- a/Data/Decoration/Underworld/Dungeon - Covetous.cfg +++ b/Data/Decoration/Underworld/Covetous.cfg @@ -4,150 +4,6 @@ ChestOfSecrets 2192 BookOfLore 3736 907 1672 9 -LootCrate1 3646 (Name=crate) -1098 1247 0 - -LootCrate2 3644 (Name=crate) -875 1451 2 - -LootCrate1 3646 (Name=crate) -877 1450 1 - -LootCrate2 3645 (Name=crate) -876 1471 0 - -LootCrate2 3644 (Name=crate) -874 1472 0 - -LootCrate1 3646 (Name=crate) -893 1433 0 - -LootCrate4 3737 (Name=crate) -891 1490 1 - -LootCrate2 3644 (Name=crate) -938 1441 0 - -LootCrate1 3646 (Name=crate) -945 1488 7 - -LootCrate2 3645 (Name=crate) -967 1462 0 - -LootCrate2 3644 (Name=crate) -965 1461 0 - -LootCrate2 3644 (Name=crate) -999 1512 0 - -LootCrate1 3646 (Name=crate) -999 1512 4 - -LootCrate1 3647 (Name=crate) -1031 1220 0 - -LootCrate2 3644 (Name=crate) -1026 1480 0 - -LootCrate4 3737 (Name=crate) -1052 1274 1 - -LootCrate1 3646 (Name=crate) -1053 1274 0 - -LootCrate1 3647 (Name=crate) -1047 1306 0 - -LootCrate1 3646 (Name=crate) -1044 1308 0 - -LootCrate1 3647 (Name=crate) -1068 1231 0 - -LootCrate1 3647 (Name=crate) -1097 1245 0 - -LootCrate1 3646 (Name=crate) -1123 1290 1 - -LootChest4 3667 (Hue=1189; Name=metal chest) -488 1734 10 - -LootChest3 3648 (Name=metal chest) -487 1738 9 - -LootBox3 3651 (Name=wooden chest) -491 1733 10 - -LootBox3 3651 (Name=wooden chest) -682 1732 0 - -LootChest1 2475 (Name=metal chest) -679 1732 0 - -LootChest1 2475 (Name=metal chest) -706 1728 0 - -LootCrate1 3647 (Name=crate) -725 1731 0 - -LootBox3 3650 (Name=wooden chest) -864 1702 6 - -LootChest1 3708 (Name=metal chest) -864 1708 6 - -LootBox2 1518 (Hue=2413; Name=wooden chest) -880 1666 0 - -LootBox1 1326 (Hue=2413; Name=wooden chest) -883 1680 0 - -LootBox2 1518 (Hue=2413; Name=wooden chest) -882 1721 0 - -LootBox1 1326 (Hue=2413; Name=wooden chest) -884 1734 0 - -LootBox3 3651 (Name=wooden chest) -903 1654 6 - -LootBox1 1326 (Hue=2413; Name=wooden chest) -911 1652 6 - -LootChest3 3649 (Name=metal chest) -898 1676 0 - -LootBox3 3650 (Name=wooden chest) -896 1679 0 - -LootBox1 1325 (Hue=2413; Name=wooden chest) -927 1701 6 - -LootChest3 3649 (Name=metal chest) -937 1656 0 - -LootBox3 3651 (Name=wooden chest) -929 1684 0 - -LootBox3 3651 (Name=wooden chest) -929 1718 0 - -LootBox2 1517 (Hue=2413; Name=wooden chest) -930 1734 0 - -LootBox3 3651 (Name=wooden chest) -945 1656 0 - -LootBox2 1517 (Hue=2413; Name=wooden chest) -951 1680 6 - -LootBox4 1160 (Name=wooden chest) -949 1680 6 - -LootBox1 1326 (Hue=2413; Name=wooden chest) -949 1705 6 - WarningItem 4825 (Range=3; WarningString=Beware Ye Who Enter These Halls!; WarningNumber=0) 904 1735 0 diff --git a/Data/Decoration/Underworld/Dungeon - Despise.cfg b/Data/Decoration/Underworld/Despise.cfg similarity index 100% rename from Data/Decoration/Underworld/Dungeon - Despise.cfg rename to Data/Decoration/Underworld/Despise.cfg diff --git a/Data/Decoration/Underworld/Dungeon - Destard.cfg b/Data/Decoration/Underworld/Destard.cfg similarity index 100% rename from Data/Decoration/Underworld/Dungeon - Destard.cfg rename to Data/Decoration/Underworld/Destard.cfg diff --git a/Data/Decoration/Underworld/Dungeon - Deceit.cfg b/Data/Decoration/Underworld/Dungeon - Deceit.cfg deleted file mode 100644 index 09a2d1d..0000000 --- a/Data/Decoration/Underworld/Dungeon - Deceit.cfg +++ /dev/null @@ -1,26 +0,0 @@ -LootCrate1 3644 (Name=crate) -100 2376 0 - -LootChest1 3648 (Hue=1189; Name=metal chest) -96 2367 0 - -LootCrate2 3737 (Name=wooden chest) -133 2388 6 - -LootChest2 3648 (Name=metal chest) -116 2347 0 - -LootCrate1 3644 (Name=crate) -87 2307 -30 - -LootBox1 3651 (Name=wooden chest) -68 2360 -50 - -LootBox1 3650 (Name=wooden chest) -82 2373 -50 - -LootChest2 3737 (Name=wooden chest) -65 2385 -50 - -LootCrate1 3647 (Name=crate) -80 2388 -47 diff --git a/Data/Decoration/Underworld/Maze - Halls of Stone.cfg b/Data/Decoration/Underworld/HallsOfStone.cfg similarity index 100% rename from Data/Decoration/Underworld/Maze - Halls of Stone.cfg rename to Data/Decoration/Underworld/HallsOfStone.cfg diff --git a/Data/Decoration/Underworld/Labyrinth - Silent Tomb.cfg b/Data/Decoration/Underworld/SilentTomb.cfg similarity index 68% rename from Data/Decoration/Underworld/Labyrinth - Silent Tomb.cfg rename to Data/Decoration/Underworld/SilentTomb.cfg index cf85c75..b8096bb 100644 --- a/Data/Decoration/Underworld/Labyrinth - Silent Tomb.cfg +++ b/Data/Decoration/Underworld/SilentTomb.cfg @@ -154,123 +154,6 @@ MetalDoor 1653 (Facing=WestCW) MetalDoor 1655 (Facing=EastCCW) 4026 968 0 -LootCrate3 1605 -3454 944 2 - -LootCrate2 3644 -3453 944 2 - -LootCrate1 3646 -3454 944 6 - -LootCrate4 3737 -3452 979 0 - -LootCrate1 3646 -3466 994 0 - -LootBox2 1517 -3479 932 0 - -LootCrate3 1605 -3473 983 0 - -LootCrate2 3644 -3474 983 0 - -LootBox1 1325 -3491 927 0 - -LootCrate3 1605 -3510 935 0 - -LootCrate2 3644 -3509 935 0 - -LootCrate2 3644 -3511 956 0 - -LootChest3 3648 -3505 944 0 - -LootBox2 1517 -3716 942 0 - -LootChest2 3668 -3727 954 0 - -LootChest4 3667 -3724 980 0 - -LootChest3 3649 -3729 945 0 - -LootChest2 3668 -3737 983 0 - -LootBox3 3650 -3755 940 0 - -LootBox2 1517 -3747 953 0 - -LootCrate4 3737 -3760 913 0 - -LootCrate2 3644 -3760 913 4 - -LootBox1 1326 -3761 959 4 - -LootChest2 3669 -3773 965 0 - -LootBox2 1517 -3778 936 0 - -LootBox3 3650 -3784 943 0 - -LootCrate2 3644 -3783 962 0 - -LootCrate2 3644 -3780 978 0 - -LootBox2 1518 -3975 982 0 - -LootCrate4 3737 -3988 932 0 - -LootCrate2 3644 -3988 938 0 - -LootBox4 1160 -3991 953 0 - -LootBox2 1517 -3987 963 0 - -LootCrate3 1605 -3995 963 0 - -LootCrate1 3646 -3995 963 4 - -LootChest2 3668 -4001 951 0 - -LootChest3 3648 -4014 955 0 - -LootBox1 1325 -4014 965 0 - -LootChest2 3668 -4021 935 0 - GiantSpikeTrap 7167 3461 959 0 diff --git a/Data/Decoration/Underworld/Labyrinth - Wailing Hall.cfg b/Data/Decoration/Underworld/WailingHalls.cfg similarity index 79% rename from Data/Decoration/Underworld/Labyrinth - Wailing Hall.cfg rename to Data/Decoration/Underworld/WailingHalls.cfg index 8132b2d..d3af387 100644 --- a/Data/Decoration/Underworld/Labyrinth - Wailing Hall.cfg +++ b/Data/Decoration/Underworld/WailingHalls.cfg @@ -4,114 +4,6 @@ ChestOfSecrets 2192 BookOfLore 3736 2336 230 4 -LootCrate4 3737 -2227 251 0 - -LootCrate2 3644 -2226 251 -2 - -LootChest1 2475 -2259 249 0 - -LootChest2 3669 -2271 249 0 - -LootBox1 1325 -2273 261 5 - -LootCrate1 3646 -2287 261 0 - -LootChest4 3667 -2314 280 0 - -LootChest2 3668 -2311 290 0 - -LootChest3 3649 -2329 235 0 - -LootCrate3 1605 -2328 251 0 - -LootCrate1 3646 -2330 251 4 - -LootBox3 3650 -2344 265 0 - -LootBox1 1325 -2352 239 8 - -LootCrate1 3647 -2382 227 0 - -LootCrate3 1605 -2369 246 0 - -LootCrate1 3646 -2397 207 0 - -LootBox2 1518 -2591 287 0 - -LootBox1 1326 -2604 247 0 - -LootBox4 1153 -2600 257 0 - -LootCrate3 1605 -2628 191 0 - -LootCrate1 3646 -2628 190 4 - -LootBox2 1517 -2626 261 0 - -LootBox3 3650 -2631 283 0 - -LootCrate2 3644 -2632 306 0 - -LootCrate2 3644 -2665 364 0 - -LootCrate1 3646 -2665 364 4 - -LootBox2 1517 -2678 174 0 - -LootBox1 1326 -2676 245 2 - -LootChest2 3669 -2700 267 0 - -LootCrate1 3647 -2890 212 0 - -LootCrate2 3644 -2889 215 0 - -LootBox2 1518 -2898 266 0 - -LootBox1 1325 -2932 269 5 - -LootBox2 1517 -2939 305 0 - -LootBox2 1517 -2946 276 0 - -LootBox1 1326 -2969 263 0 - MetalDoor 1655 (Facing=EastCCW) 2219 242 0 diff --git a/Scripts/Commands/ExportChests.cs b/Scripts/Commands/ExportChests.cs new file mode 100644 index 0000000..0090a38 --- /dev/null +++ b/Scripts/Commands/ExportChests.cs @@ -0,0 +1,63 @@ +using System; +using System.IO; +using Server; +using Server.Items; +using Server.Commands; + +namespace Server.Scripts.Commands +{ + public class ExportChestsCommand + { + public static void Initialize() + { + CommandSystem.Register( "ExportChests", AccessLevel.Administrator, new CommandEventHandler( ExportChests_OnCommand ) ); + } + + [Usage( "ExportChests" )] + [Description( "Exports all placed LootChest items on your current map to a cfg file in Data/Decoration." )] + private static void ExportChests_OnCommand( CommandEventArgs e ) + { + Map currentMap = e.Mobile.Map; + + if ( currentMap == null || currentMap == Map.Internal ) + { + e.Mobile.SendMessage( "You cannot export from the internal map." ); + return; + } + + string exportDir = Path.Combine( Core.BaseDirectory, "Data", "Decoration" ); + + if ( !Directory.Exists( exportDir ) ) + { + Directory.CreateDirectory( exportDir ); + } + + string fileName = String.Format( "ExportedLoot_{0}.cfg", currentMap.Name ); + string filePath = Path.Combine( exportDir, fileName ); + + int count = 0; + + using ( StreamWriter op = new StreamWriter( filePath ) ) + { + foreach ( Item item in World.Items.Values ) + { + if ( item is LootChest && !(item is SunkenShip) && item.Parent == null && item.Map == currentMap ) + { + string typeName = item.GetType().Name.ToLower(); + int itemID = item.ItemID; + int hue = item.Hue; + string name = item.Name ?? ""; + + op.WriteLine( "{0} {1} (Hue={2}; Name={3})", typeName, itemID, hue, name ); + op.WriteLine( "{0} {1} {2}", item.X, item.Y, item.Z ); + op.WriteLine(); + + count++; + } + } + } + + e.Mobile.SendMessage( "{0} chests exported! Check your Data/Decoration folder for {1}.", count, fileName ); + } + } +} diff --git a/Scripts/Items/Treasure/LootChests.cs b/Scripts/Items/Treasure/LootChests.cs index 98be6cc..475f3d6 100644 --- a/Scripts/Items/Treasure/LootChests.cs +++ b/Scripts/Items/Treasure/LootChests.cs @@ -1,350 +1,460 @@ -using System; -using System.Collections.Generic; -using Server; -using Server.ContextMenus; -using Server.Engines.PartySystem; -using Server.Gumps; -using Server.Multis; -using Server.Network; - -namespace Server.Items -{ - [Flipable( 0xE3E, 0xE3F )] - public class LootCrate1 : LootChest - { - [Constructable] - public LootCrate1() - { - Name = "crate"; - ItemID = 0xE3E; - Level = 1; - Category = 1; - } - - public LootCrate1( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } - [Flipable( 0xE3C, 0xE3D )] - public class LootCrate2 : LootChest - { - [Constructable] - public LootCrate2() - { - Name = "crate"; - ItemID = 0xE3C; - Level = 2; - Category = 1; - } - - public LootCrate2( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } - [Flipable( 0x645, 0x646 )] - public class LootCrate3 : LootChest - { - [Constructable] - public LootCrate3() - { - Name = "crate"; - ItemID = 0x645; - Level = 3; - Category = 1; - } - - public LootCrate3( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } - [Flipable( 0x0E99, 0x0E9A )] - public class LootCrate4 : LootChest - { - [Constructable] - public LootCrate4() - { - Name = "crate"; - ItemID = 0x0E99; - Level = 4; - Category = 1; - } - - public LootCrate4( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } - [Flipable( 0x52D, 0x52E )] - public class LootBox1 : LootChest - { - [Constructable] - public LootBox1() - { - Name = "wooden chest"; - ItemID = 0x52D; - Level = 1; - Category = 2; - Hue = 0x96D; - } - - public LootBox1( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } - [Flipable( 0x5ED, 0x5EE )] - public class LootBox2 : LootChest - { - [Constructable] - public LootBox2() - { - Name = "wooden chest"; - ItemID = 0x5ED; - Level = 2; - Category = 2; - Hue = 0x96D; - } - - public LootBox2( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } - [Flipable( 0xE42, 0xE43 )] - public class LootBox3 : LootChest - { - [Constructable] - public LootBox3() - { - Name = "wooden chest"; - ItemID = 0xE42; - Level = 3; - Category = 2; - } - - public LootBox3( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } - [Flipable( 0x481, 0x488 )] - public class LootBox4 : LootChest - { - [Constructable] - public LootBox4() - { - Name = "wooden chest"; - ItemID = 0x481; - Level = 4; - Category = 2; - } - - public LootBox4( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } - [Flipable( 0x9AB, 0xE7C )] - public class LootChest1 : LootChest - { - [Constructable] - public LootChest1() - { - Name = "metal chest"; - ItemID = 0x9AB; - Level = 1; - Category = 3; - } - - public LootChest1( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } - [Flipable( 0xE54, 0xE55 )] - public class LootChest2 : LootChest - { - [Constructable] - public LootChest2() - { - Name = "metal chest"; - ItemID = 0xE54; - Level = 2; - Category = 3; - } - - public LootChest2( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } - [Flipable( 0xE40, 0xE41 )] - public class LootChest3 : LootChest - { - [Constructable] - public LootChest3() - { - Name = "metal chest"; - ItemID = 0xE40; - Level = 3; - Category = 3; - } - - public LootChest3( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } - [Flipable( 0xE52, 0xE53 )] - public class LootChest4 : LootChest - { - [Constructable] - public LootChest4() - { - Name = "metal chest"; - ItemID = 0xE52; - Level = 4; - Category = 3; - } - - public LootChest4( Serial serial ) : base( serial ) - { - } - - public override void Serialize( GenericWriter writer ) - { - base.Serialize( writer ); - writer.Write( (int) 0 ); - } - - public override void Deserialize( GenericReader reader ) - { - base.Deserialize( reader ); - int version = reader.ReadInt(); - } - } -} \ No newline at end of file +using System; +using System.Collections.Generic; +using Server; +using Server.ContextMenus; +using Server.Engines.PartySystem; +using Server.Gumps; +using Server.Multis; +using Server.Network; + +namespace Server.Items +{ + [Flipable( 0xE3E, 0xE3F )] + public class LootCrate1 : LootChest + { + [Constructable] + public LootCrate1() + { + Name = "crate"; + ItemID = 0xE3E; + Level = 1; + Category = 1; + } + + [Constructable] + public LootCrate1( int itemID ) + { + Name = "crate"; + ItemID = itemID; + Level = 1; + Category = 1; + } + + public LootCrate1( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } + [Flipable( 0xE3C, 0xE3D )] + public class LootCrate2 : LootChest + { + [Constructable] + public LootCrate2() + { + Name = "crate"; + ItemID = 0xE3C; + Level = 2; + Category = 1; + } + + [Constructable] + public LootCrate2( int itemID ) + { + Name = "crate"; + ItemID = itemID; + Level = 2; + Category = 1; + } + + public LootCrate2( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } + [Flipable( 0x645, 0x646 )] + public class LootCrate3 : LootChest + { + [Constructable] + public LootCrate3() + { + Name = "crate"; + ItemID = 0x645; + Level = 3; + Category = 1; + } + + [Constructable] + public LootCrate3( int itemID ) + { + Name = "crate"; + ItemID = itemID; + Level = 3; + Category = 1; + } + + public LootCrate3( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } + [Flipable( 0x0E99, 0x0E9A )] + public class LootCrate4 : LootChest + { + [Constructable] + public LootCrate4() + { + Name = "crate"; + ItemID = 0x0E99; + Level = 4; + Category = 1; + } + + [Constructable] + public LootCrate4( int itemID ) + { + Name = "crate"; + ItemID = itemID; + Level = 4; + Category = 1; + } + + public LootCrate4( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } + [Flipable( 0x52D, 0x52E )] + public class LootBox1 : LootChest + { + [Constructable] + public LootBox1() + { + Name = "wooden chest"; + ItemID = 0x52D; + Level = 1; + Category = 2; + Hue = 0x96D; + } + + [Constructable] + public LootBox1( int itemID ) + { + Name = "wooden chest"; + ItemID = itemID; + Level = 1; + Category = 2; + Hue = 0x96D; + } + + public LootBox1( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } + [Flipable( 0x5ED, 0x5EE )] + public class LootBox2 : LootChest + { + [Constructable] + public LootBox2() + { + Name = "wooden chest"; + ItemID = 0x5ED; + Level = 2; + Category = 2; + Hue = 0x96D; + } + + [Constructable] + public LootBox2( int itemID ) + { + Name = "wooden chest"; + ItemID = itemID; + Level = 2; + Category = 2; + Hue = 0x96D; + } + + public LootBox2( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } + [Flipable( 0xE42, 0xE43 )] + public class LootBox3 : LootChest + { + [Constructable] + public LootBox3() + { + Name = "wooden chest"; + ItemID = 0xE42; + Level = 3; + Category = 2; + } + + [Constructable] + public LootBox3( int itemID ) + { + Name = "wooden chest"; + ItemID = itemID; + Level = 3; + Category = 2; + } + + public LootBox3( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } + [Flipable( 0x481, 0x488 )] + public class LootBox4 : LootChest + { + [Constructable] + public LootBox4() + { + Name = "wooden chest"; + ItemID = 0x481; + Level = 4; + Category = 2; + } + + [Constructable] + public LootBox4( int itemID ) + { + Name = "wooden chest"; + ItemID = itemID; + Level = 4; + Category = 2; + } + + public LootBox4( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } + [Flipable( 0x9AB, 0xE7C )] + public class LootChest1 : LootChest + { + [Constructable] + public LootChest1() + { + Name = "metal chest"; + ItemID = 0x9AB; + Level = 1; + Category = 3; + } + + [Constructable] + public LootChest1( int itemID ) + { + Name = "metal chest"; + ItemID = itemID; + Level = 1; + Category = 3; + } + + public LootChest1( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } + [Flipable( 0xE54, 0xE55 )] + public class LootChest2 : LootChest + { + [Constructable] + public LootChest2() + { + Name = "metal chest"; + ItemID = 0xE54; + Level = 2; + Category = 3; + } + + [Constructable] + public LootChest2( int itemID ) + { + Name = "metal chest"; + ItemID = itemID; + Level = 2; + Category = 3; + } + + public LootChest2( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } + [Flipable( 0xE40, 0xE41 )] + public class LootChest3 : LootChest + { + [Constructable] + public LootChest3() + { + Name = "metal chest"; + ItemID = 0xE40; + Level = 3; + Category = 3; + } + + [Constructable] + public LootChest3( int itemID ) + { + Name = "metal chest"; + ItemID = itemID; + Level = 3; + Category = 3; + } + + public LootChest3( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } + [Flipable( 0xE52, 0xE53 )] + public class LootChest4 : LootChest + { + [Constructable] + public LootChest4() + { + Name = "metal chest"; + ItemID = 0xE52; + Level = 4; + Category = 3; + } + + [Constructable] + public LootChest4( int itemID ) + { + Name = "metal chest"; + ItemID = itemID; + Level = 4; + Category = 3; + } + + public LootChest4( Serial serial ) : base( serial ) + { + } + + public override void Serialize( GenericWriter writer ) + { + base.Serialize( writer ); + writer.Write( (int) 0 ); + } + + public override void Deserialize( GenericReader reader ) + { + base.Deserialize( reader ); + int version = reader.ReadInt(); + } + } +}