From e2220440ec5bd9cb93729ac587d9320b7326711c Mon Sep 17 00:00:00 2001 From: Till Affeldt Date: Sun, 12 Apr 2020 01:45:37 +0200 Subject: [PATCH] Implement classic texture style and allow users to choose --- commands.lua | 18 ++++++++ init.lua | 40 +++++++++++------- settingtypes.txt | 3 +- textures/moon_1_classic.png | Bin 0 -> 610 bytes textures/{moon_1.png => moon_1_realistic.png} | Bin textures/moon_2_classic.png | Bin 0 -> 638 bytes textures/{moon_2.png => moon_2_realistic.png} | Bin textures/moon_3_classic.png | Bin 0 -> 576 bytes textures/{moon_3.png => moon_3_realistic.png} | Bin textures/moon_4_classic.png | Bin 0 -> 269 bytes textures/{moon_4.png => moon_4_realistic.png} | Bin textures/moon_5_classic.png | Bin 0 -> 545 bytes textures/{moon_5.png => moon_5_realistic.png} | Bin textures/moon_6_classic.png | Bin 0 -> 602 bytes textures/{moon_6.png => moon_6_realistic.png} | Bin textures/moon_7_classic.png | Bin 0 -> 620 bytes textures/{moon_7.png => moon_7_realistic.png} | Bin textures/moon_8_classic.png | Bin 0 -> 75 bytes textures/{moon_8.png => moon_8_realistic.png} | Bin 19 files changed, 44 insertions(+), 17 deletions(-) create mode 100644 textures/moon_1_classic.png rename textures/{moon_1.png => moon_1_realistic.png} (100%) create mode 100644 textures/moon_2_classic.png rename textures/{moon_2.png => moon_2_realistic.png} (100%) create mode 100644 textures/moon_3_classic.png rename textures/{moon_3.png => moon_3_realistic.png} (100%) create mode 100644 textures/moon_4_classic.png rename textures/{moon_4.png => moon_4_realistic.png} (100%) create mode 100644 textures/moon_5_classic.png rename textures/{moon_5.png => moon_5_realistic.png} (100%) create mode 100644 textures/moon_6_classic.png rename textures/{moon_6.png => moon_6_realistic.png} (100%) create mode 100644 textures/moon_7_classic.png rename textures/{moon_7.png => moon_7_realistic.png} (100%) create mode 100644 textures/moon_8_classic.png rename textures/{moon_8.png => moon_8_realistic.png} (100%) diff --git a/commands.lua b/commands.lua index cc0c785..c4b7020 100644 --- a/commands.lua +++ b/commands.lua @@ -28,4 +28,22 @@ minetest.register_chatcommand("set_moonphase", { end end end +}) + +minetest.register_chatcommand("set_moonstyle", { + params = "