From b19cb4c6db19037962479c869167afd0df585ed1 Mon Sep 17 00:00:00 2001 From: CharonInferar Date: Fri, 30 May 2014 03:12:57 +0200 Subject: [PATCH] rare loot chest contents added --- .../rarelootchest/animal_hide_rack_style_1.py | 0 .../rarelootchest/animal_hide_rack_style_2.py | 0 .../rarelootchest/animal_hide_rack_style_3.py | 0 .../rarelootchest/animal_hide_rack_style_4.py | 0 .../rarelootchest/at_st_pilots_helmet.py | 0 .../aurilian_sculpture_section_1.py | 0 .../aurilian_sculpture_section_2.py | 0 .../aurilian_sculpture_section_3.py | 0 .../aurilian_sculpture_section_4.py | 0 .../lootItems/rarelootchest/banes_heart.py | 0 .../rarelootchest/bar_corner_piece_1.py | 0 .../rarelootchest/bar_corner_piece_2.py | 0 .../rarelootchest/bar_corner_piece_3.py | 0 .../rarelootchest/bar_counter_large.py | 0 .../lootItems/rarelootchest/bothan_beauty.py | 0 .../lootItems/rarelootchest/bothan_buff.py | 0 .../rarelootchest/cast_wing_in_flight.py | 0 .../rarelootchest/corellian_seaside.py | 0 .../rarelootchest/data_disk_hologram.py | 0 .../rarelootchest/decorative_bubble_tank.py | 0 .../rarelootchest/droid_in_contrast.py | 0 scripts/loot/lootItems/rarelootchest/drum.py | 0 .../lootItems/rarelootchest/emperors_eyes.py | 0 .../lootItems/rarelootchest/family_bonds.py | 0 .../loot/lootItems/rarelootchest/feared.py | 0 .../lootItems/rarelootchest/fighter_study.py | 0 .../rarelootchest/fighters_courage.py | 0 .../geonosian_costume_instructions.py | 0 .../rarelootchest/hanging_life_day_orb.py | 0 .../lootItems/rarelootchest/hutt_greed.py | 0 .../rarelootchest/imperial_oppression.py | 0 .../rarelootchest/jedi_statue_schematic.py | 0 .../rarelootchest/jubilee_wheel_schematic.py | 0 .../rarelootchest/kachirho_wall_cornucopia.py | 0 .../lootItems/rarelootchest/kowakian_cage.py | 0 .../krayt_costume_instructions.py | 0 .../large_fruit_stand_schematic.py | 0 .../rarelootchest/large_unmarked_crate.py | 0 .../lootItems/rarelootchest/lava_geode.py | 0 .../lootItems/rarelootchest/life_day_lamp.py | 0 .../rarelootchest/life_day_proud_wookie.py | 0 .../life_day_red_robed_wookie.py | 0 .../lootItems/rarelootchest/living_canals.py | 0 .../lugjack_machine_schematic.py | 0 .../rarelootchest/miniature_wroshyr_tree.py | 0 .../modified_fusion_reactor_schematic.py | 0 .../rarelootchest/mustafarian_injector.py | 0 .../mynock_costume_instructions.py | 0 .../lootItems/rarelootchest/no_division.py | 0 .../rarelootchest/nym_collectible_globe.py | 0 .../lootItems/rarelootchest/pilgrimage.py | 0 .../poster_of_a_ship_schematic.py | 0 .../poster_of_a_turret_schematic.py | 0 .../poster_of_food_preparation.py | 0 .../lootItems/rarelootchest/proton_chair.py | 0 .../rancor_costume_instructions.py | 0 .../lootItems/rarelootchest/rotj_helmet.py | 0 .../rarelootchest/shard_of_the_serpent.py | 0 .../rarelootchest/stap1_vehicle_deed.py | 0 .../rarelootchest/target_dummy_black_sun.py | 0 .../rarelootchest/target_dummy_rebel.py | 0 .../target_dummy_stormtrooper.py | 0 .../rarelootchest/tatooine_dune_speeder.py | 0 .../loot/lootItems/rarelootchest/triumph.py | 0 .../ugnaught_costume_instructions.py | 0 .../loot/lootItems/rarelootchest/victory.py | 0 .../wampa_costume_instructions.py | 0 .../lootItems/rarelootchest/war_terminal.py | 0 .../rarelootchest/warrior's honor.py | 0 .../rarelootchest/wookie_home_banner_kit.py | 0 .../rarelootchest/wookie_life_day_orb.py | 0 .../lootItems/rarelootchest/xeno_couch.py | 0 .../loot/lootItems/rarelootchest/xeno_desk.py | 0 .../lootItems/rarelootchest/xeno_desk_lamp.py | 0 .../loot/lootItems/rarelootchest/xeno_rug.py | 0 .../lootItems/rarelootchest/xeno_table.py | 0 scripts/radial/item/lootchest.py | 4 +- src/services/LootService.java | 162 +++++++++++------- 78 files changed, 97 insertions(+), 69 deletions(-) create mode 100644 scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_1.py create mode 100644 scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_2.py create mode 100644 scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_3.py create mode 100644 scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_4.py create mode 100644 scripts/loot/lootItems/rarelootchest/at_st_pilots_helmet.py create mode 100644 scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_1.py create mode 100644 scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_2.py create mode 100644 scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_3.py create mode 100644 scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_4.py create mode 100644 scripts/loot/lootItems/rarelootchest/banes_heart.py create mode 100644 scripts/loot/lootItems/rarelootchest/bar_corner_piece_1.py create mode 100644 scripts/loot/lootItems/rarelootchest/bar_corner_piece_2.py create mode 100644 scripts/loot/lootItems/rarelootchest/bar_corner_piece_3.py create mode 100644 scripts/loot/lootItems/rarelootchest/bar_counter_large.py create mode 100644 scripts/loot/lootItems/rarelootchest/bothan_beauty.py create mode 100644 scripts/loot/lootItems/rarelootchest/bothan_buff.py create mode 100644 scripts/loot/lootItems/rarelootchest/cast_wing_in_flight.py create mode 100644 scripts/loot/lootItems/rarelootchest/corellian_seaside.py create mode 100644 scripts/loot/lootItems/rarelootchest/data_disk_hologram.py create mode 100644 scripts/loot/lootItems/rarelootchest/decorative_bubble_tank.py create mode 100644 scripts/loot/lootItems/rarelootchest/droid_in_contrast.py create mode 100644 scripts/loot/lootItems/rarelootchest/drum.py create mode 100644 scripts/loot/lootItems/rarelootchest/emperors_eyes.py create mode 100644 scripts/loot/lootItems/rarelootchest/family_bonds.py create mode 100644 scripts/loot/lootItems/rarelootchest/feared.py create mode 100644 scripts/loot/lootItems/rarelootchest/fighter_study.py create mode 100644 scripts/loot/lootItems/rarelootchest/fighters_courage.py create mode 100644 scripts/loot/lootItems/rarelootchest/geonosian_costume_instructions.py create mode 100644 scripts/loot/lootItems/rarelootchest/hanging_life_day_orb.py create mode 100644 scripts/loot/lootItems/rarelootchest/hutt_greed.py create mode 100644 scripts/loot/lootItems/rarelootchest/imperial_oppression.py create mode 100644 scripts/loot/lootItems/rarelootchest/jedi_statue_schematic.py create mode 100644 scripts/loot/lootItems/rarelootchest/jubilee_wheel_schematic.py create mode 100644 scripts/loot/lootItems/rarelootchest/kachirho_wall_cornucopia.py create mode 100644 scripts/loot/lootItems/rarelootchest/kowakian_cage.py create mode 100644 scripts/loot/lootItems/rarelootchest/krayt_costume_instructions.py create mode 100644 scripts/loot/lootItems/rarelootchest/large_fruit_stand_schematic.py create mode 100644 scripts/loot/lootItems/rarelootchest/large_unmarked_crate.py create mode 100644 scripts/loot/lootItems/rarelootchest/lava_geode.py create mode 100644 scripts/loot/lootItems/rarelootchest/life_day_lamp.py create mode 100644 scripts/loot/lootItems/rarelootchest/life_day_proud_wookie.py create mode 100644 scripts/loot/lootItems/rarelootchest/life_day_red_robed_wookie.py create mode 100644 scripts/loot/lootItems/rarelootchest/living_canals.py create mode 100644 scripts/loot/lootItems/rarelootchest/lugjack_machine_schematic.py create mode 100644 scripts/loot/lootItems/rarelootchest/miniature_wroshyr_tree.py create mode 100644 scripts/loot/lootItems/rarelootchest/modified_fusion_reactor_schematic.py create mode 100644 scripts/loot/lootItems/rarelootchest/mustafarian_injector.py create mode 100644 scripts/loot/lootItems/rarelootchest/mynock_costume_instructions.py create mode 100644 scripts/loot/lootItems/rarelootchest/no_division.py create mode 100644 scripts/loot/lootItems/rarelootchest/nym_collectible_globe.py create mode 100644 scripts/loot/lootItems/rarelootchest/pilgrimage.py create mode 100644 scripts/loot/lootItems/rarelootchest/poster_of_a_ship_schematic.py create mode 100644 scripts/loot/lootItems/rarelootchest/poster_of_a_turret_schematic.py create mode 100644 scripts/loot/lootItems/rarelootchest/poster_of_food_preparation.py create mode 100644 scripts/loot/lootItems/rarelootchest/proton_chair.py create mode 100644 scripts/loot/lootItems/rarelootchest/rancor_costume_instructions.py create mode 100644 scripts/loot/lootItems/rarelootchest/rotj_helmet.py create mode 100644 scripts/loot/lootItems/rarelootchest/shard_of_the_serpent.py create mode 100644 scripts/loot/lootItems/rarelootchest/stap1_vehicle_deed.py create mode 100644 scripts/loot/lootItems/rarelootchest/target_dummy_black_sun.py create mode 100644 scripts/loot/lootItems/rarelootchest/target_dummy_rebel.py create mode 100644 scripts/loot/lootItems/rarelootchest/target_dummy_stormtrooper.py create mode 100644 scripts/loot/lootItems/rarelootchest/tatooine_dune_speeder.py create mode 100644 scripts/loot/lootItems/rarelootchest/triumph.py create mode 100644 scripts/loot/lootItems/rarelootchest/ugnaught_costume_instructions.py create mode 100644 scripts/loot/lootItems/rarelootchest/victory.py create mode 100644 scripts/loot/lootItems/rarelootchest/wampa_costume_instructions.py create mode 100644 scripts/loot/lootItems/rarelootchest/war_terminal.py create mode 100644 scripts/loot/lootItems/rarelootchest/warrior's honor.py create mode 100644 scripts/loot/lootItems/rarelootchest/wookie_home_banner_kit.py create mode 100644 scripts/loot/lootItems/rarelootchest/wookie_life_day_orb.py create mode 100644 scripts/loot/lootItems/rarelootchest/xeno_couch.py create mode 100644 scripts/loot/lootItems/rarelootchest/xeno_desk.py create mode 100644 scripts/loot/lootItems/rarelootchest/xeno_desk_lamp.py create mode 100644 scripts/loot/lootItems/rarelootchest/xeno_rug.py create mode 100644 scripts/loot/lootItems/rarelootchest/xeno_table.py diff --git a/scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_1.py b/scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_1.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_2.py b/scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_2.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_3.py b/scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_3.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_4.py b/scripts/loot/lootItems/rarelootchest/animal_hide_rack_style_4.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/at_st_pilots_helmet.py b/scripts/loot/lootItems/rarelootchest/at_st_pilots_helmet.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_1.py b/scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_1.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_2.py b/scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_2.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_3.py b/scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_3.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_4.py b/scripts/loot/lootItems/rarelootchest/aurilian_sculpture_section_4.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/banes_heart.py b/scripts/loot/lootItems/rarelootchest/banes_heart.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/bar_corner_piece_1.py b/scripts/loot/lootItems/rarelootchest/bar_corner_piece_1.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/bar_corner_piece_2.py b/scripts/loot/lootItems/rarelootchest/bar_corner_piece_2.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/bar_corner_piece_3.py b/scripts/loot/lootItems/rarelootchest/bar_corner_piece_3.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/bar_counter_large.py b/scripts/loot/lootItems/rarelootchest/bar_counter_large.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/bothan_beauty.py b/scripts/loot/lootItems/rarelootchest/bothan_beauty.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/bothan_buff.py b/scripts/loot/lootItems/rarelootchest/bothan_buff.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/cast_wing_in_flight.py b/scripts/loot/lootItems/rarelootchest/cast_wing_in_flight.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/corellian_seaside.py b/scripts/loot/lootItems/rarelootchest/corellian_seaside.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/data_disk_hologram.py b/scripts/loot/lootItems/rarelootchest/data_disk_hologram.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/decorative_bubble_tank.py b/scripts/loot/lootItems/rarelootchest/decorative_bubble_tank.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/droid_in_contrast.py b/scripts/loot/lootItems/rarelootchest/droid_in_contrast.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/drum.py b/scripts/loot/lootItems/rarelootchest/drum.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/emperors_eyes.py b/scripts/loot/lootItems/rarelootchest/emperors_eyes.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/family_bonds.py b/scripts/loot/lootItems/rarelootchest/family_bonds.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/feared.py b/scripts/loot/lootItems/rarelootchest/feared.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/fighter_study.py b/scripts/loot/lootItems/rarelootchest/fighter_study.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/fighters_courage.py b/scripts/loot/lootItems/rarelootchest/fighters_courage.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/geonosian_costume_instructions.py b/scripts/loot/lootItems/rarelootchest/geonosian_costume_instructions.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/hanging_life_day_orb.py b/scripts/loot/lootItems/rarelootchest/hanging_life_day_orb.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/hutt_greed.py b/scripts/loot/lootItems/rarelootchest/hutt_greed.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/imperial_oppression.py b/scripts/loot/lootItems/rarelootchest/imperial_oppression.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/jedi_statue_schematic.py b/scripts/loot/lootItems/rarelootchest/jedi_statue_schematic.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/jubilee_wheel_schematic.py b/scripts/loot/lootItems/rarelootchest/jubilee_wheel_schematic.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/kachirho_wall_cornucopia.py b/scripts/loot/lootItems/rarelootchest/kachirho_wall_cornucopia.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/kowakian_cage.py b/scripts/loot/lootItems/rarelootchest/kowakian_cage.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/krayt_costume_instructions.py b/scripts/loot/lootItems/rarelootchest/krayt_costume_instructions.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/large_fruit_stand_schematic.py b/scripts/loot/lootItems/rarelootchest/large_fruit_stand_schematic.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/large_unmarked_crate.py b/scripts/loot/lootItems/rarelootchest/large_unmarked_crate.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/lava_geode.py b/scripts/loot/lootItems/rarelootchest/lava_geode.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/life_day_lamp.py b/scripts/loot/lootItems/rarelootchest/life_day_lamp.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/life_day_proud_wookie.py b/scripts/loot/lootItems/rarelootchest/life_day_proud_wookie.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/life_day_red_robed_wookie.py b/scripts/loot/lootItems/rarelootchest/life_day_red_robed_wookie.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/living_canals.py b/scripts/loot/lootItems/rarelootchest/living_canals.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/lugjack_machine_schematic.py b/scripts/loot/lootItems/rarelootchest/lugjack_machine_schematic.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/miniature_wroshyr_tree.py b/scripts/loot/lootItems/rarelootchest/miniature_wroshyr_tree.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/modified_fusion_reactor_schematic.py b/scripts/loot/lootItems/rarelootchest/modified_fusion_reactor_schematic.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/mustafarian_injector.py b/scripts/loot/lootItems/rarelootchest/mustafarian_injector.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/mynock_costume_instructions.py b/scripts/loot/lootItems/rarelootchest/mynock_costume_instructions.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/no_division.py b/scripts/loot/lootItems/rarelootchest/no_division.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/nym_collectible_globe.py b/scripts/loot/lootItems/rarelootchest/nym_collectible_globe.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/pilgrimage.py b/scripts/loot/lootItems/rarelootchest/pilgrimage.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/poster_of_a_ship_schematic.py b/scripts/loot/lootItems/rarelootchest/poster_of_a_ship_schematic.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/poster_of_a_turret_schematic.py b/scripts/loot/lootItems/rarelootchest/poster_of_a_turret_schematic.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/poster_of_food_preparation.py b/scripts/loot/lootItems/rarelootchest/poster_of_food_preparation.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/proton_chair.py b/scripts/loot/lootItems/rarelootchest/proton_chair.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/rancor_costume_instructions.py b/scripts/loot/lootItems/rarelootchest/rancor_costume_instructions.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/rotj_helmet.py b/scripts/loot/lootItems/rarelootchest/rotj_helmet.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/shard_of_the_serpent.py b/scripts/loot/lootItems/rarelootchest/shard_of_the_serpent.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/stap1_vehicle_deed.py b/scripts/loot/lootItems/rarelootchest/stap1_vehicle_deed.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/target_dummy_black_sun.py b/scripts/loot/lootItems/rarelootchest/target_dummy_black_sun.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/target_dummy_rebel.py b/scripts/loot/lootItems/rarelootchest/target_dummy_rebel.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/target_dummy_stormtrooper.py b/scripts/loot/lootItems/rarelootchest/target_dummy_stormtrooper.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/tatooine_dune_speeder.py b/scripts/loot/lootItems/rarelootchest/tatooine_dune_speeder.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/triumph.py b/scripts/loot/lootItems/rarelootchest/triumph.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/ugnaught_costume_instructions.py b/scripts/loot/lootItems/rarelootchest/ugnaught_costume_instructions.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/victory.py b/scripts/loot/lootItems/rarelootchest/victory.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/wampa_costume_instructions.py b/scripts/loot/lootItems/rarelootchest/wampa_costume_instructions.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/war_terminal.py b/scripts/loot/lootItems/rarelootchest/war_terminal.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/warrior's honor.py b/scripts/loot/lootItems/rarelootchest/warrior's honor.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/wookie_home_banner_kit.py b/scripts/loot/lootItems/rarelootchest/wookie_home_banner_kit.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/wookie_life_day_orb.py b/scripts/loot/lootItems/rarelootchest/wookie_life_day_orb.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/xeno_couch.py b/scripts/loot/lootItems/rarelootchest/xeno_couch.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/xeno_desk.py b/scripts/loot/lootItems/rarelootchest/xeno_desk.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/xeno_desk_lamp.py b/scripts/loot/lootItems/rarelootchest/xeno_desk_lamp.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/xeno_rug.py b/scripts/loot/lootItems/rarelootchest/xeno_rug.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/loot/lootItems/rarelootchest/xeno_table.py b/scripts/loot/lootItems/rarelootchest/xeno_table.py new file mode 100644 index 00000000..e69de29b diff --git a/scripts/radial/item/lootchest.py b/scripts/radial/item/lootchest.py index ccfa3fc5..90c6b03e 100644 --- a/scripts/radial/item/lootchest.py +++ b/scripts/radial/item/lootchest.py @@ -8,9 +8,7 @@ def createRadial(core, owner, target, radials): def handleSelection(core, owner, target, option): if option == 21 and target: - #core.simulationService.openContainer(owner, target.getSlottedObject("inventory")) - #core.simulationService.openContainer(owner, target.getSlottedObject('default')) - core.simulationService.openContainer(owner, target) + core.lootService.fillrarelootchest(owner, target) return \ No newline at end of file diff --git a/src/services/LootService.java b/src/services/LootService.java index 81bcc89b..efebaddd 100644 --- a/src/services/LootService.java +++ b/src/services/LootService.java @@ -515,7 +515,7 @@ public class LootService implements INetworkDispatch { droppedItem.setDetailName("rare_loot_chest_3_d"); droppedItem.setAttachment("LootItemName", itemName); droppedItem.getAttributes().put("@obj_attr_n:rare_loot_category", "\\#D1F56F Rare Item \\#FFFFFF "); - fillLegendaryChest(droppedItem, lootRollSession); + //fillLegendaryChest(droppedItem, lootRollSession); } else if (exceptionalRoll<10+chancemodifier){ String itemTemplate="object/tangible/item/shared_rare_loot_chest_2.iff"; @@ -527,7 +527,7 @@ public class LootService implements INetworkDispatch { droppedItem.setDetailName("rare_loot_chest_2_d"); droppedItem.setAttachment("LootItemName", itemName); droppedItem.getAttributes().put("@obj_attr_n:rare_loot_category", "\\#D1F56F Rare Item \\#FFFFFF "); - fillExceptionalChest(droppedItem, lootRollSession); + //fillExceptionalChest(droppedItem, lootRollSession); } else { String itemTemplate="object/tangible/item/shared_rare_loot_chest_1.iff"; droppedItem = createDroppedItem(itemTemplate,lootRollSession.getSessionPlanet()); @@ -538,41 +538,107 @@ public class LootService implements INetworkDispatch { droppedItem.setDetailName("rare_loot_chest_1_d"); droppedItem.setAttachment("LootItemName", itemName); droppedItem.getAttributes().put("@obj_attr_n:rare_loot_category", "\\#D1F56F Rare Item \\#FFFFFF "); - fillRareChest(droppedItem, lootRollSession); + //fillRareChest(droppedItem, lootRollSession); } lootRollSession.addDroppedItem(droppedItem); } - private void fillLegendaryChest(TangibleObject chest, LootRollSession lootRollSession){ - + public void fillrarelootchest(CreatureObject owner, TangibleObject chest){ + if (chest.getTemplate().contains("object/tangible/item/shared_rare_loot_chest_1.iff")){ + fillRareChest(owner, chest); + } + if (chest.getTemplate().contains("object/tangible/item/shared_rare_loot_chest_2.iff")){ + fillLegendaryChest(owner, chest); + } + if (chest.getTemplate().contains("object/tangible/item/shared_rare_loot_chest_3.iff")){ + fillExceptionalChest(owner, chest); + } + SWGObject inventory = owner.getSlottedObject("inventory"); + inventory.remove(chest); + core.objectService.destroyObject(chest.getObjectID()); } - private void fillExceptionalChest(TangibleObject chest, LootRollSession lootRollSession){ + private void fillLegendaryChest(CreatureObject owner, TangibleObject chest){ + int itemNumber = 2; + int quantityModifierChance = new Random().nextInt(100); + if (quantityModifierChance>25 && quantityModifierChance<50) + itemNumber = 1; + if (quantityModifierChance<25) + itemNumber = 3; - } - - private void fillRareChest(TangibleObject chest, LootRollSession lootRollSession){ - System.out.println("FILL RARE LOOT CHEST"); List lootGroups = new ArrayList(); - String[] lootPoolNames = new String[]{"Junk"}; - double[] lootPoolChances = new double[]{100}; - int lootGroupChance = 100; - LootGroup singleLootGroup = new LootGroup(lootPoolNames, lootPoolChances, lootGroupChance); - lootGroups.add(singleLootGroup); + for (int i=0;i iterator = lootGroups.iterator(); while (iterator.hasNext()){ - LootGroup lootGroup = iterator.next(); - double groupChance = lootGroup.getLootGroupChance(); - double lootGroupRoll = new Random().nextDouble()*100; - if (lootGroupRoll <= groupChance){ - fillChest2(lootGroup, lootRollSession, chest); - } + LootGroup lootGroup = iterator.next(); + fillChest2(lootGroup, owner, chest); } } - private void fillChest2(LootGroup lootGroup, LootRollSession lootRollSession, TangibleObject chest){ + private void fillExceptionalChest(CreatureObject owner, TangibleObject chest){ + int itemNumber = 2; + int quantityModifierChance = new Random().nextInt(100); + if (quantityModifierChance>25 && quantityModifierChance<50) + itemNumber = 1; + if (quantityModifierChance<25) + itemNumber = 3; + + List lootGroups = new ArrayList(); + for (int i=0;i iterator = lootGroups.iterator(); + + while (iterator.hasNext()){ + LootGroup lootGroup = iterator.next(); + fillChest2(lootGroup, owner, chest); + } + } + + private void fillRareChest(CreatureObject owner, TangibleObject chest){ + + int itemNumber = 1; + int quantityModifierChance = new Random().nextInt(100); + if (quantityModifierChance>15 && quantityModifierChance<50) + itemNumber = 2; + if (quantityModifierChance<15) + itemNumber = 3; + + List lootGroups = new ArrayList(); + for (int i=0;i iterator = lootGroups.iterator(); + + while (iterator.hasNext()){ + LootGroup lootGroup = iterator.next(); + fillChest2(lootGroup, owner, chest); + } + } + + private void fillChest2(LootGroup lootGroup, CreatureObject owner, TangibleObject chest){ double[] lootPoolChances = lootGroup.getLootPoolChances(); String[] lootPoolNames = lootGroup.getLootPoolNames(); @@ -598,7 +664,7 @@ public class LootService implements INetworkDispatch { remainder += span; if (randomItemFromGroup <= remainder){ System.out.println("this loot pool will drop something"); // e.g. kraytpearl_range - fillChest3(lootPoolNames[i], lootRollSession, chest); // This loot pool will drop something + fillChest3(lootPoolNames[i], owner, chest); // This loot pool will drop something test = true; break; } @@ -607,10 +673,10 @@ public class LootService implements INetworkDispatch { System.err.println("SOMETHING WENT WRONG!"); } - private void fillChest3(String poolName, LootRollSession lootRollSession, TangibleObject chest){ + private void fillChest3(String poolName, CreatureObject owner, TangibleObject chest){ System.err.println("poolName.toLowerCase() " + poolName.toLowerCase()); // Fetch the loot pool data from the poolName.py script - String path = "scripts/loot/lootPools/"+poolName.toLowerCase(); + String path = "scripts/loot/rarelootchestcontents/"+poolName.toLowerCase(); Vector itemNames = (Vector)core.scriptService.fetchStringVector(path,"itemNames"); Vector itemChances = (Vector)core.scriptService.fetchDoubleVector(path,"itemChances"); @@ -625,7 +691,7 @@ public class LootService implements INetworkDispatch { else remainder += span; if (randomItemFromPool<=remainder){ - fillChest4(itemNames.get(i), lootRollSession, chest); + fillChest4(itemNames.get(i), owner, chest); //break; return; } @@ -634,7 +700,7 @@ public class LootService implements INetworkDispatch { - private void fillChest4(String itemName, LootRollSession lootRollSession, TangibleObject chest){ + private void fillChest4(String itemName, CreatureObject owner, TangibleObject chest){ final Vector foundPath = new Vector(); Path p = Paths.get("scripts/loot/lootItems/"); FileVisitor fv = new SimpleFileVisitor() { @@ -735,7 +801,7 @@ public class LootService implements INetworkDispatch { System.out.println("itemTemplate " + itemTemplate); - TangibleObject droppedItem = createDroppedItem(itemTemplate,lootRollSession.getSessionPlanet()); + TangibleObject droppedItem = createDroppedItem(itemTemplate,owner.getPlanet()); droppedItem.setLootItem(true); droppedItem.setAttachment("LootItemName", itemName); @@ -791,45 +857,9 @@ public class LootService implements INetworkDispatch { core.scriptService.callScript(itemPath, "", "customSetup", droppedItem); + SWGObject inventory = owner.getSlottedObject("inventory"); + inventory.add(droppedItem); - chest.add(droppedItem); - - SlotArrangementVisitor slotArrangement = null; - try { - slotArrangement = ClientFileManager.loadFile((String)chest.getTemplateData().getAttribute("arrangementDescriptorFilename"), SlotArrangementVisitor.class); - } catch (InstantiationException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (IllegalAccessException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - - System.err.println("slotArrangement " + slotArrangement); - String slotDescriptorFilename = (String)chest.getTemplateData().getAttribute("slotDescriptorFilename"); - //System.err.println("slotDescriptorFilename " + slotDescriptorFilename); - System.err.println("chest.getPermissions() " + chest.getPermissions()); - System.err.println("chest.getSlotNameForObject(droppedItem) " + chest.getSlotNameForObject(droppedItem)); - - - //chest.add(droppedItem); - //TangibleObject inventory = (TangibleObject) core.objectService.createObject("object/tangible/inventory/shared_character_inventory.iff", lootRollSession.getSessionPlanet()); - //inventory.setContainerPermissions(AllPermissions.ALL_PERMISSIONS); - //inventory.add(droppedItem); - //chest.add(inventory); - - //TangibleObject newChest = (TangibleObject)core.staticService.spawnObject("object/tangible/item/shared_rare_loot_chest_1.iff", "tatooine", 0L, 3527.0F, 4.0F, -4801.0F, 0.70F, 0.71F); - - //newChest.add(droppedItem); - //chest.setPosition(lootRollSession.getRequester().getPosition()); - - //inventory.add(droppedItem); - //chest.getSlottedObject("inventory").add(droppedItem); - System.out.println("droppedItem added to chest!!! " + droppedItem.getTemplate()); - System.out.println("droppedItem.getParentId() " + droppedItem.getParentId()); - System.out.println("chest.getobjectID " + chest.getObjectID()); - - } public void handleChestItem(String itemName, TangibleObject chest){