Browse code

add axe, shovel, sword with light (OCD)

Phil Morrell authored on 2018-09-06 09:10:34
Showing 10 changed files
... ...
@@ -543,6 +543,9 @@ end
543 543
 update_walking_light_node()
544 544
 
545 545
 walking_light.register_tool('pick')
546
+walking_light.register_tool('axe')
547
+walking_light.register_tool('shovel')
548
+walking_light.register_tool('sword')
546 549
 
547 550
 minetest.register_tool("walking_light:helmet_diamond", {
548 551
 	description = "Diamond Helmet with light",
... ...
@@ -1,12 +1,16 @@
1
-495c495
1
+514c514
2 2
 < 	light_source = 13,
3 3
 ---
4 4
 > 	light_source = 14,
5
-510c510
5
+529c529
6 6
 < 	light_source = 13,
7 7
 ---
8 8
 > 	light_source = 14,
9
-588c588
9
+545a546,548
10
+> walking_light.register_tool('axe')
11
+> walking_light.register_tool('shovel')
12
+> walking_light.register_tool('sword')
13
+594c597
10 14
 <     light_source = 13,
11 15
 ---
12 16
 >     light_source = 14,
13 17
new file mode 100644
14 18
Binary files /dev/null and b/diff/walking_light.diff/textures/walking_light_meseaxe.png differ
15 19
new file mode 100644
16 20
Binary files /dev/null and b/diff/walking_light.diff/textures/walking_light_meseshovel.png differ
17 21
new file mode 100644
18 22
Binary files /dev/null and b/diff/walking_light.diff/textures/walking_light_mesesword.png differ
... ...
@@ -543,6 +543,9 @@ end
543 543
 update_walking_light_node()
544 544
 
545 545
 walking_light.register_tool('pick')
546
+walking_light.register_tool('axe')
547
+walking_light.register_tool('shovel')
548
+walking_light.register_tool('sword')
546 549
 
547 550
 minetest.register_tool("walking_light:helmet_diamond", {
548 551
 	description = "Diamond Helmet with light",
... ...
@@ -1,12 +1,16 @@
1
-495c495
1
+514c514
2 2
 < 	light_source = 13,
3 3
 ---
4 4
 > 	light_source = 14,
5
-510c510
5
+529c529
6 6
 < 	light_source = 13,
7 7
 ---
8 8
 > 	light_source = 14,
9
-588c588
9
+545a546,548
10
+> walking_light.register_tool('axe')
11
+> walking_light.register_tool('shovel')
12
+> walking_light.register_tool('sword')
13
+594c597
10 14
 <     light_source = 13,
11 15
 ---
12 16
 >     light_source = 14,
13 17
new file mode 100644
14 18
Binary files /dev/null and b/mods/walking_light/textures/walking_light_meseaxe.png differ
15 19
new file mode 100644
16 20
Binary files /dev/null and b/mods/walking_light/textures/walking_light_meseshovel.png differ
17 21
new file mode 100644
18 22
Binary files /dev/null and b/mods/walking_light/textures/walking_light_mesesword.png differ