From 8cfde17f3e31d9b3d15ee58b6a785d3a7dbf99c9 Mon Sep 17 00:00:00 2001 From: cale Date: Sat, 23 Jan 2016 12:38:10 +0100 Subject: [PATCH] get flint out of stone and gravel --- mods/classes/init.lua | 27 +++++++++++++++--- mods/classes/init.lua~ | 27 +++++++++++++++--- mods/legendary_items/init.lua | 14 +++++++++ mods/legendary_items/init.lua~ | 14 +++++++++ .../textures/legendary_items_sugar_sword.png | Bin 0 -> 309 bytes 5 files changed, 74 insertions(+), 8 deletions(-) create mode 100644 mods/legendary_items/textures/legendary_items_sugar_sword.png diff --git a/mods/classes/init.lua b/mods/classes/init.lua index aaacbfa..de0a646 100644 --- a/mods/classes/init.lua +++ b/mods/classes/init.lua @@ -149,9 +149,9 @@ classes.register_weapon("sword",20, 30, { damage = 21, class = "warrior", recipe = { - {"", "default:flint", ""}, + {"", "default:blade", ""}, {"", "default:string_strong", ""}, - {"", "default:log_3", ""}, + {"", "furnace:iron_rod", ""}, } }) @@ -162,14 +162,24 @@ classes.register_weapon("hoe",2, 20, { wield_scale = {x = 1, y=1, z = 1}, damage = 12, class = "farmer", + recipe = { + {"", "furnace:iron_rod", ""}, + {"", "default:string_strong", ""}, + {"", "default:log_3", ""}, + } }) -classes.register_weapon("pitchfork",20, 30, { +classes.register_weapon("pitchfork",15, 30, { description = "Pitchfork", inventory_image = "classes_pitchfork.png", wield_scale = {x = 1, y=1, z = 1}, - damage = 20, + damage = 18, class = "farmer", + recipe = { + {"furnace:iron_rod", "furnace:iron_rod", "furnace:iron_rod"}, + {"", "default:string_strong", ""}, + {"", "default:log_3", ""}, + } }) classes.register_weapon("stick",2, 30, { @@ -178,6 +188,10 @@ classes.register_weapon("stick",2, 30, { wield_scale = {x = 1, y=1, z = 1}, damage = 9, class = "thief", + recipe = { + {"", "default:log_3", ""}, + {"", "default:log_3", ""}, + } }) classes.register_weapon("long_stick",20, 60, { @@ -186,5 +200,10 @@ classes.register_weapon("long_stick",20, 60, { wield_scale = {x = 2, y=2, z = 1}, damage = 20, class = "thief", + recipe = { + {"", "default:log_3", ""}, + {"", "default:log_3", ""}, + {"", "default:log_3", ""}, + } }) diff --git a/mods/classes/init.lua~ b/mods/classes/init.lua~ index aaacbfa..de0a646 100644 --- a/mods/classes/init.lua~ +++ b/mods/classes/init.lua~ @@ -149,9 +149,9 @@ classes.register_weapon("sword",20, 30, { damage = 21, class = "warrior", recipe = { - {"", "default:flint", ""}, + {"", "default:blade", ""}, {"", "default:string_strong", ""}, - {"", "default:log_3", ""}, + {"", "furnace:iron_rod", ""}, } }) @@ -162,14 +162,24 @@ classes.register_weapon("hoe",2, 20, { wield_scale = {x = 1, y=1, z = 1}, damage = 12, class = "farmer", + recipe = { + {"", "furnace:iron_rod", ""}, + {"", "default:string_strong", ""}, + {"", "default:log_3", ""}, + } }) -classes.register_weapon("pitchfork",20, 30, { +classes.register_weapon("pitchfork",15, 30, { description = "Pitchfork", inventory_image = "classes_pitchfork.png", wield_scale = {x = 1, y=1, z = 1}, - damage = 20, + damage = 18, class = "farmer", + recipe = { + {"furnace:iron_rod", "furnace:iron_rod", "furnace:iron_rod"}, + {"", "default:string_strong", ""}, + {"", "default:log_3", ""}, + } }) classes.register_weapon("stick",2, 30, { @@ -178,6 +188,10 @@ classes.register_weapon("stick",2, 30, { wield_scale = {x = 1, y=1, z = 1}, damage = 9, class = "thief", + recipe = { + {"", "default:log_3", ""}, + {"", "default:log_3", ""}, + } }) classes.register_weapon("long_stick",20, 60, { @@ -186,5 +200,10 @@ classes.register_weapon("long_stick",20, 60, { wield_scale = {x = 2, y=2, z = 1}, damage = 20, class = "thief", + recipe = { + {"", "default:log_3", ""}, + {"", "default:log_3", ""}, + {"", "default:log_3", ""}, + } }) diff --git a/mods/legendary_items/init.lua b/mods/legendary_items/init.lua index fec3a7f..d819206 100644 --- a/mods/legendary_items/init.lua +++ b/mods/legendary_items/init.lua @@ -82,6 +82,20 @@ legendary_items.register_rare_weapon("old_battle_axe_lvl_14", 14, { damage = 33, }) +legendary_items.register_rare_weapon("sugar_sword_lvl_2", 2, { + description = "Sugar Sword", + inventory_image = "legendary_items_sugar_sword.png", + wield_scale = {x = 1.2, y = 1.2, z =1}, + damage = 20, +}) + +legendary_items.register_rare_weapon("sugar_sword_lvl_50", 50, { + description = "Sugar Sword", + inventory_image = "legendary_items_sugar_sword.png", + wield_scale = {x = 1.2, y = 1.2, z =1}, + damage = 68, +}) + -- super rare minetest.register_craftitem("legendary_items:paper", { diff --git a/mods/legendary_items/init.lua~ b/mods/legendary_items/init.lua~ index fec3a7f..d819206 100644 --- a/mods/legendary_items/init.lua~ +++ b/mods/legendary_items/init.lua~ @@ -82,6 +82,20 @@ legendary_items.register_rare_weapon("old_battle_axe_lvl_14", 14, { damage = 33, }) +legendary_items.register_rare_weapon("sugar_sword_lvl_2", 2, { + description = "Sugar Sword", + inventory_image = "legendary_items_sugar_sword.png", + wield_scale = {x = 1.2, y = 1.2, z =1}, + damage = 20, +}) + +legendary_items.register_rare_weapon("sugar_sword_lvl_50", 50, { + description = "Sugar Sword", + inventory_image = "legendary_items_sugar_sword.png", + wield_scale = {x = 1.2, y = 1.2, z =1}, + damage = 68, +}) + -- super rare minetest.register_craftitem("legendary_items:paper", { diff --git a/mods/legendary_items/textures/legendary_items_sugar_sword.png b/mods/legendary_items/textures/legendary_items_sugar_sword.png new file mode 100644 index 0000000000000000000000000000000000000000..5b1b28c0f790cbf560cf5922c5915b9bfec32a50 GIT binary patch literal 309 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkP>{XE z)7O>#0i!s#jKt-FyKz7v$r9Iy66gHf+|;}h2Ir#G#FEq$h4Rdj35SuBC&bW!ojoSR}U z;>%CGcc@xkeuwdo@@11kuTDmX`;EPZza#%MF*oeuwthb4#siN01v^?NnF*eZ+HuH* zC423e2diS6R{yzIqRb`e(-;;y|~k@af%kq1A&*1Y-6%V3#4 zZOekB4>tO*Uv83j``Gr1_g#BnX>Rkn+