From 5d1d36b7314f9c0de330b212a1b11177f21079e6 Mon Sep 17 00:00:00 2001 From: Quentin BUISSON-DEBON Date: Mon, 27 Jul 2015 02:10:53 +0200 Subject: [PATCH] Add the mithril arrow for hunters, balance the other arrows --- mods/quests/README | 0 mods/quests/central_message.lua | 0 mods/quests/core.lua | 0 mods/quests/depends.txt | 0 mods/quests/formspecs.lua | 0 mods/quests/hud.lua | 0 mods/quests/init.lua | 0 mods/quests/inventory_plus.lua | 0 mods/quests/locale/de.txt | 0 mods/quests/locale/template.txt | 0 mods/quests/sounds/quests_failed.ogg | Bin mods/quests/sounds/quests_new.ogg | Bin mods/quests/sounds/quests_success.ogg | Bin mods/quests/textures/inventory_plus_quests.png | Bin .../textures/quests_default_quest_icon.png | Bin mods/quests/textures/quests_questbar.png | Bin .../textures/quests_questbar_background.png | Bin mods/quests/unified_inventory.lua | 0 mods/throwing/init.lua | 3 ++- mods/throwing/screenshot.png.tmp1437756612 | 0 mods/throwing/standard_arrows.lua | 16 ++++++++++------ mods/throwing/throwing.conf | 5 +++-- 22 files changed, 15 insertions(+), 9 deletions(-) mode change 100644 => 100755 mods/quests/README mode change 100644 => 100755 mods/quests/central_message.lua mode change 100644 => 100755 mods/quests/core.lua mode change 100644 => 100755 mods/quests/depends.txt mode change 100644 => 100755 mods/quests/formspecs.lua mode change 100644 => 100755 mods/quests/hud.lua mode change 100644 => 100755 mods/quests/init.lua mode change 100644 => 100755 mods/quests/inventory_plus.lua mode change 100644 => 100755 mods/quests/locale/de.txt mode change 100644 => 100755 mods/quests/locale/template.txt mode change 100644 => 100755 mods/quests/sounds/quests_failed.ogg mode change 100644 => 100755 mods/quests/sounds/quests_new.ogg mode change 100644 => 100755 mods/quests/sounds/quests_success.ogg mode change 100644 => 100755 mods/quests/textures/inventory_plus_quests.png mode change 100644 => 100755 mods/quests/textures/quests_default_quest_icon.png mode change 100644 => 100755 mods/quests/textures/quests_questbar.png mode change 100644 => 100755 mods/quests/textures/quests_questbar_background.png mode change 100644 => 100755 mods/quests/unified_inventory.lua delete mode 100755 mods/throwing/screenshot.png.tmp1437756612 diff --git a/mods/quests/README b/mods/quests/README old mode 100644 new mode 100755 diff --git a/mods/quests/central_message.lua b/mods/quests/central_message.lua old mode 100644 new mode 100755 diff --git a/mods/quests/core.lua b/mods/quests/core.lua old mode 100644 new mode 100755 diff --git a/mods/quests/depends.txt b/mods/quests/depends.txt old mode 100644 new mode 100755 diff --git a/mods/quests/formspecs.lua b/mods/quests/formspecs.lua old mode 100644 new mode 100755 diff --git a/mods/quests/hud.lua b/mods/quests/hud.lua old mode 100644 new mode 100755 diff --git a/mods/quests/init.lua b/mods/quests/init.lua old mode 100644 new mode 100755 diff --git a/mods/quests/inventory_plus.lua b/mods/quests/inventory_plus.lua old mode 100644 new mode 100755 diff --git a/mods/quests/locale/de.txt b/mods/quests/locale/de.txt old mode 100644 new mode 100755 diff --git a/mods/quests/locale/template.txt b/mods/quests/locale/template.txt old mode 100644 new mode 100755 diff --git a/mods/quests/sounds/quests_failed.ogg b/mods/quests/sounds/quests_failed.ogg old mode 100644 new mode 100755 diff --git a/mods/quests/sounds/quests_new.ogg b/mods/quests/sounds/quests_new.ogg old mode 100644 new mode 100755 diff --git a/mods/quests/sounds/quests_success.ogg b/mods/quests/sounds/quests_success.ogg old mode 100644 new mode 100755 diff --git a/mods/quests/textures/inventory_plus_quests.png b/mods/quests/textures/inventory_plus_quests.png old mode 100644 new mode 100755 diff --git a/mods/quests/textures/quests_default_quest_icon.png b/mods/quests/textures/quests_default_quest_icon.png old mode 100644 new mode 100755 diff --git a/mods/quests/textures/quests_questbar.png b/mods/quests/textures/quests_questbar.png old mode 100644 new mode 100755 diff --git a/mods/quests/textures/quests_questbar_background.png b/mods/quests/textures/quests_questbar_background.png old mode 100644 new mode 100755 diff --git a/mods/quests/unified_inventory.lua b/mods/quests/unified_inventory.lua old mode 100644 new mode 100755 diff --git a/mods/throwing/init.lua b/mods/throwing/init.lua index be1d42a7..acfdfe4a 100755 --- a/mods/throwing/init.lua +++ b/mods/throwing/init.lua @@ -2,13 +2,14 @@ throwing_arrows = { {"throwing:arrow_steel", "throwing:arrow_steel_entity"}, {"throwing:arrow_stone", "throwing:arrow_stone_entity"}, {"throwing:arrow_obsidian", "throwing:arrow_obsidian_entity"}, + {"throwing:arrow_diamond", "throwing:arrow_diamond_entity"}, + {"throwing:arrow_mithril", "throwing:arrow_mithril_entity"}, --MFF : Only for Hunters {"throwing:arrow_fire", "throwing:arrow_fire_entity"}, {"throwing:arrow_teleport", "throwing:arrow_teleport_entity"}, {"throwing:arrow_dig", "throwing:arrow_dig_entity"}, {"throwing:arrow_build", "throwing:arrow_build_entity"}, {"throwing:arrow_tnt", "throwing:arrow_tnt_entity"}, {"throwing:arrow_torch", "throwing:arrow_torch_entity"}, - {"throwing:arrow_diamond", "throwing:arrow_diamond_entity"}, {"throwing:arrow_shell", "throwing:arrow_shell_entity"}, {"throwing:arrow_fireworks_blue", "throwing:arrow_fireworks_blue_entity"}, {"throwing:arrow_fireworks_red", "throwing:arrow_fireworks_red_entity"}, diff --git a/mods/throwing/screenshot.png.tmp1437756612 b/mods/throwing/screenshot.png.tmp1437756612 deleted file mode 100755 index e69de29b..00000000 diff --git a/mods/throwing/standard_arrows.lua b/mods/throwing/standard_arrows.lua index e8dab2d4..8f4fe60d 100755 --- a/mods/throwing/standard_arrows.lua +++ b/mods/throwing/standard_arrows.lua @@ -102,13 +102,17 @@ if not DISABLE_STONE_ARROW then end if not DISABLE_STEEL_ARROW then - throwing_register_arrow_standard ('steel', 'Steel', 5, 0.94, 'default:steel_ingot') -end - -if not DISABLE_DIAMOND_ARROW then - throwing_register_arrow_standard ('diamond', 'Diamond', 10, 0.97, 'default:diamond') + throwing_register_arrow_standard ('steel', 'Steel', 4, 0.94, 'default:steel_ingot') end if not DISABLE_OBSIDIAN_ARROW then - throwing_register_arrow_standard ('obsidian', 'Obsidian', 15, 0.88, 'default:obsidian') + throwing_register_arrow_standard ('obsidian', 'Obsidian', 8, 0.97, 'default:obsidian') +end + +if not DISABLE_DIAMOND_ARROW then + throwing_register_arrow_standard ('diamond', 'Diamond', 12, 0.88, 'default:diamond') +end + +if not DISABLE_MITHRIL_ARROW then + throwing_register_arrow_standard ('mithril', 'Mithril', 12, 0.88, 'moreores:mithril_ingot') end diff --git a/mods/throwing/throwing.conf b/mods/throwing/throwing.conf index 059b5ee6..ea87851b 100755 --- a/mods/throwing/throwing.conf +++ b/mods/throwing/throwing.conf @@ -32,6 +32,7 @@ DISABLE_FIREWORKS_RED_ARROW = false -- Normal arrows DISABLE_STONE_ARROW = false DISABLE_STEEL_ARROW = false -DISABLE_DIAMOND_ARROW = false DISABLE_OBSIDIAN_ARROW = false ---need to be activated when released DISABLE_MITHRIL_ARROW = false +DISABLE_DIAMOND_ARROW = false +DISABLE_MITHRIL_ARROW = false +-- lesser damages to better damages