From d36dd26f422e572415d022129b76332dff99e332 Mon Sep 17 00:00:00 2001 From: William Burns Date: Tue, 14 Jul 2015 11:56:13 +0100 Subject: [PATCH] Added ChestLoot for games. Setup chest filling via ChestLoot for SurvivalGames. --- Plugins/.idea/codeStyleSettings.xml | 1 + .../game/components/loot/ChestLoot.php | 61 ++++++++++++++ .../game/components/loot/RandomItem.php | 39 +++++++++ .../game/components/world/WorldComponent.php | 2 +- .../game/games/sg/ChestComponent.php | 84 ++++++++++++++++++- .../src/mineplex/plugin/util/UtilMath.php | 33 ++++++++ 6 files changed, 216 insertions(+), 4 deletions(-) create mode 100644 Pocket/plugins/Mineplex/src/mineplex/plugin/gameengine/game/components/loot/ChestLoot.php create mode 100644 Pocket/plugins/Mineplex/src/mineplex/plugin/gameengine/game/components/loot/RandomItem.php create mode 100644 Pocket/plugins/Mineplex/src/mineplex/plugin/util/UtilMath.php diff --git a/Plugins/.idea/codeStyleSettings.xml b/Plugins/.idea/codeStyleSettings.xml index 8e890f86b..44295e3d8 100644 --- a/Plugins/.idea/codeStyleSettings.xml +++ b/Plugins/.idea/codeStyleSettings.xml @@ -37,6 +37,7 @@ +