From e02425f4561234d25ad9df40a2d7f049ba2e3b9a Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 17 Mar 2017 13:03:04 +0000 Subject: [PATCH 1/8] Signed-off-by: TenPlus1 --- dungeon_master.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dungeon_master.lua b/dungeon_master.lua index d4b55bd..fb2cf4b 100644 --- a/dungeon_master.lua +++ b/dungeon_master.lua @@ -10,7 +10,8 @@ mobs:register_mob("mobs_monster:dungeon_master", { damage = 4, attack_type = "dogshoot", dogshoot_switch = 1, - dogshoot_count_max = 10, + dogshoot_count_max = 12, -- shoot for 10 seconds + dogshoot_count2_max = 3, -- chase player for 3 seconds reach = 3, shoot_interval = 2.5, arrow = "mobs_monster:fireball", From bad587d3dc9c378a31679efd98d77a672c1ec0dc Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 17 Mar 2017 13:04:07 +0000 Subject: [PATCH 2/8] added new dogfight counter for separate shoot/fight timings --- dungeon_master.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dungeon_master.lua b/dungeon_master.lua index fb2cf4b..d4531e7 100644 --- a/dungeon_master.lua +++ b/dungeon_master.lua @@ -11,7 +11,7 @@ mobs:register_mob("mobs_monster:dungeon_master", { attack_type = "dogshoot", dogshoot_switch = 1, dogshoot_count_max = 12, -- shoot for 10 seconds - dogshoot_count2_max = 3, -- chase player for 3 seconds + dogshoot_count2_max = 3, -- dogfight for 3 seconds reach = 3, shoot_interval = 2.5, arrow = "mobs_monster:fireball", From f6d0e01c31417aff0af0eac97437a7bef044a459 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 27 Apr 2017 10:25:30 +0100 Subject: [PATCH 3/8] Turkish translation by Admicos --- locale/tr.txt | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 locale/tr.txt diff --git a/locale/tr.txt b/locale/tr.txt new file mode 100644 index 0000000..10f64a0 --- /dev/null +++ b/locale/tr.txt @@ -0,0 +1,39 @@ +# Türkçe çeviri by Admicos +# Turkish translation by Admicos + +# Son düzenleme: 26 Nisan 2017 +# Last edit: 26 April 2017 + + +#dirtmonster.lua +Dirt Monster = Toprak Canavarı + +#dungeonmaster.lua +Dungeon Master = Zindan başı + +#init.lua +[MOD] Mobs Redo 'Monsters' loaded = [MOD] Mobs Redo 'Canavarlar' yüklendi + +#lava_flan.lua +Lava Flan = Lav Flan +Lava orb = Lav küre +Lava Pickaxe = Lav kazması + +#mese_monster.lua +Mese Monster = Mese Canavarı + +#oerkki.lua +Oerkki = Oerkki + +#sandmonster.lua +Sand Monster = Kum Canavarı + +#spider.lua +Spider = Örümcek +Cobweb = Örümcek ağı + +#stonemonster.lua +Stone Monster = Taş Canavarı + +#treemonster.lua +Tree Monster = Ağaç Canavarı \ No newline at end of file From e6f77e1a76000ae339bc6afcd71382c78538a315 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 28 May 2017 20:27:52 +0100 Subject: [PATCH 4/8] replace global effect function with local particlespawner for lavaflan --- lava_flan.lua | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/lava_flan.lua b/lava_flan.lua index e98ed82..bd5ed41 100644 --- a/lava_flan.lua +++ b/lava_flan.lua @@ -53,7 +53,22 @@ mobs:register_mob("mobs_monster:lava_flan", { on_die = function(self, pos) minetest.set_node(pos, {name = "fire:basic_flame"}) self.object:remove() - effect(pos, 20, "fire_basic_flame.png") + + minetest.add_particlespawner({ + amount = 20, + time = 0.25, + minpos = pos, + maxpos = pos, + minvel = {x = -2, y = -2, z = -2}, + maxvel = {x = 2, y = 2, z = 2}, + minacc = {x = 0, y = -10, z = 0}, + maxacc = {x = 0, y = -10, z = 0}, + minexptime = 0.1, + maxexptime = 1, + minsize = 0.5, + maxsize = 1.0, + texture = "fire_basic_flame.png", + }) end, }) From 5d4532030b3a1f6e87ade46efb20220f5e32f30a Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 11 Jun 2017 10:43:40 +0100 Subject: [PATCH 5/8] increase lava pick efficiency and wear --- lava_flan.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lava_flan.lua b/lava_flan.lua index bd5ed41..fe67510 100644 --- a/lava_flan.lua +++ b/lava_flan.lua @@ -154,7 +154,7 @@ minetest.register_tool(":mobs:pick_lava", { full_punch_interval = 0.4, max_drop_level=3, groupcaps={ - cracky = {times={[1]=1.80, [2]=0.90, [3]=0.45}, uses=30, maxlevel=3}, + cracky = {times={[1]=1.80, [2]=0.80, [3]=0.40}, uses=40, maxlevel=3}, }, damage_groups = {fleshy=6}, }, From c0aaf9f8bb99e45f36855d1a99f9034909de3065 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 9 Jul 2017 14:10:04 +0100 Subject: [PATCH 6/8] update intllib --- init.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index e39198e..55f4748 100644 --- a/init.lua +++ b/init.lua @@ -3,8 +3,14 @@ local path = minetest.get_modpath("mobs_monster") -- Intllib local S -if minetest.get_modpath("intllib") then - S = intllib.Getter() +if minetest.global_exists("intllib") then + if intllib.make_gettext_pair then + -- New method using gettext. + S = intllib.make_gettext_pair() + else + -- Old method using text files. + S = intllib.Getter() + end else S = function(s) return s end end From 5431359e73e0a66f781c88fd6231060dc32714ee Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 28 Jul 2017 08:46:48 +0100 Subject: [PATCH 7/8] add toolranks support to lava pick --- depends.txt | 1 + lava_flan.lua | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/depends.txt b/depends.txt index 58b4e62..d0aea36 100644 --- a/depends.txt +++ b/depends.txt @@ -2,3 +2,4 @@ default mobs intllib? lucky_block? +toolranks? diff --git a/lava_flan.lua b/lava_flan.lua index fe67510..7287a1f 100644 --- a/lava_flan.lua +++ b/lava_flan.lua @@ -168,3 +168,12 @@ minetest.register_craft({ {"", "default:obsidian_shard", ""}, } }) + +-- Add [toolranks] mod support if found +if minetest.get_modpath("toolranks") then + +minetest.override_item("mobs:pick_lava", { + original_description = "Lava Pickaxe", + description = toolranks.create_description("Lava Pickaxe", 0, 1), + after_use = toolranks.new_afteruse}) +end From 1561ec14477bb1663ebaaf4813b334e54d0ca193 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 29 Jul 2017 20:00:13 +0100 Subject: [PATCH 8/8] sandmonster view range now 8 --- sand_monster.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sand_monster.lua b/sand_monster.lua index 5c9ac62..d5efaeb 100644 --- a/sand_monster.lua +++ b/sand_monster.lua @@ -27,7 +27,7 @@ mobs:register_mob("mobs_monster:sand_monster", { }, walk_velocity = 1.5, run_velocity = 4, - view_range = 15, + view_range = 8, --15 jump = true, floats = 0, drops = {