From 1564ceb22e6c72a646820cf00a8767ca603fa5b4 Mon Sep 17 00:00:00 2001 From: Phil Morrell Date: Thu, 6 Sep 2018 10:10:34 +0100 Subject: [PATCH] add axe, shovel, sword with light (OCD) --- diff/walking_light.diff/init.lua | 3 +++ diff/walking_light.diff/init.lua.diff | 10 +++++++--- .../textures/walking_light_meseaxe.png | Bin 0 -> 179 bytes .../textures/walking_light_meseshovel.png | Bin 0 -> 171 bytes .../textures/walking_light_mesesword.png | Bin 0 -> 172 bytes mods/walking_light/init.lua | 3 +++ mods/walking_light/init.lua.diff | 10 +++++++--- .../textures/walking_light_meseaxe.png | Bin 0 -> 179 bytes .../textures/walking_light_meseshovel.png | Bin 0 -> 171 bytes .../textures/walking_light_mesesword.png | Bin 0 -> 172 bytes 10 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 diff/walking_light.diff/textures/walking_light_meseaxe.png create mode 100644 diff/walking_light.diff/textures/walking_light_meseshovel.png create mode 100644 diff/walking_light.diff/textures/walking_light_mesesword.png create mode 100644 mods/walking_light/textures/walking_light_meseaxe.png create mode 100644 mods/walking_light/textures/walking_light_meseshovel.png create mode 100644 mods/walking_light/textures/walking_light_mesesword.png diff --git a/diff/walking_light.diff/init.lua b/diff/walking_light.diff/init.lua index 351529f..147bd83 100644 --- a/diff/walking_light.diff/init.lua +++ b/diff/walking_light.diff/init.lua @@ -543,6 +543,9 @@ end update_walking_light_node() walking_light.register_tool('pick') +walking_light.register_tool('axe') +walking_light.register_tool('shovel') +walking_light.register_tool('sword') minetest.register_tool("walking_light:helmet_diamond", { description = "Diamond Helmet with light", diff --git a/diff/walking_light.diff/init.lua.diff b/diff/walking_light.diff/init.lua.diff index 9030280..171e27b 100644 --- a/diff/walking_light.diff/init.lua.diff +++ b/diff/walking_light.diff/init.lua.diff @@ -1,12 +1,16 @@ -495c495 +514c514 < light_source = 13, --- > light_source = 14, -510c510 +529c529 < light_source = 13, --- > light_source = 14, -588c588 +545a546,548 +> walking_light.register_tool('axe') +> walking_light.register_tool('shovel') +> walking_light.register_tool('sword') +594c597 < light_source = 13, --- > light_source = 14, diff --git a/diff/walking_light.diff/textures/walking_light_meseaxe.png b/diff/walking_light.diff/textures/walking_light_meseaxe.png new file mode 100644 index 0000000000000000000000000000000000000000..d297b3eaf4edb1d0edd387b97eed9ad90e8acac7 GIT binary patch literal 179 zcmeAS@N?(olHy`uVBq!ia0vp^Y#_|S3?zjfeX0gh`~f~8uBj!u8U9*R3vE7sjrja^ zL+|->tw1Tpk|4ie28U-i(mFVdQ&MBb@0G3QIcK`qY literal 0 HcmV?d00001 diff --git a/diff/walking_light.diff/textures/walking_light_meseshovel.png b/diff/walking_light.diff/textures/walking_light_meseshovel.png new file mode 100644 index 0000000000000000000000000000000000000000..cdff1f08466632de95c71cbf7e407bd52e2317c8 GIT binary patch literal 171 zcmeAS@N?(olHy`uVBq!ia0vp^Y#_|S3?zjfeX0gh`~f~8uBj!u8U9*R3vE7sjrja^ zL+|->tw1Tpk|4ie28U-i(mtw1Tpk|4ie28U-i(m light_source = 14, -510c510 +529c529 < light_source = 13, --- > light_source = 14, -588c588 +545a546,548 +> walking_light.register_tool('axe') +> walking_light.register_tool('shovel') +> walking_light.register_tool('sword') +594c597 < light_source = 13, --- > light_source = 14, diff --git a/mods/walking_light/textures/walking_light_meseaxe.png b/mods/walking_light/textures/walking_light_meseaxe.png new file mode 100644 index 0000000000000000000000000000000000000000..d297b3eaf4edb1d0edd387b97eed9ad90e8acac7 GIT binary patch literal 179 zcmeAS@N?(olHy`uVBq!ia0vp^Y#_|S3?zjfeX0gh`~f~8uBj!u8U9*R3vE7sjrja^ zL+|->tw1Tpk|4ie28U-i(mFVdQ&MBb@0G3QIcK`qY literal 0 HcmV?d00001 diff --git a/mods/walking_light/textures/walking_light_meseshovel.png b/mods/walking_light/textures/walking_light_meseshovel.png new file mode 100644 index 0000000000000000000000000000000000000000..cdff1f08466632de95c71cbf7e407bd52e2317c8 GIT binary patch literal 171 zcmeAS@N?(olHy`uVBq!ia0vp^Y#_|S3?zjfeX0gh`~f~8uBj!u8U9*R3vE7sjrja^ zL+|->tw1Tpk|4ie28U-i(mtw1Tpk|4ie28U-i(m