From d67bdbc27e0bc7f1174aee8cd6b9ffe077df6acb Mon Sep 17 00:00:00 2001 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com> Date: Mon, 5 Aug 2024 22:09:23 -0500 Subject: [PATCH] =?UTF-8?q?Finish=20the=20=E2=80=9CRestaurant=E2=80=9D=20t?= =?UTF-8?q?heme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lovely theme by Tirifto , made originally for jam.xwx.moe. --- init.lua | 2 +- settingtypes.txt | 2 +- ...racio_gui_bg.png => restaurant_gui_bg.png} | Bin textures/restaurant_gui_button_bg_active.png | Bin 0 -> 152 bytes .../restaurant_gui_button_bg_inactive.png | Bin 0 -> 272 bytes textures/restoracio_gui_button_bg_active.png | Bin 111 -> 0 bytes .../restoracio_gui_button_bg_inactive.png | Bin 109 -> 0 bytes themes/restaurant | 24 ++++++++++++++++++ themes/restoracio | 10 -------- 9 files changed, 26 insertions(+), 12 deletions(-) rename textures/{restoracio_gui_bg.png => restaurant_gui_bg.png} (100%) create mode 100644 textures/restaurant_gui_button_bg_active.png create mode 100644 textures/restaurant_gui_button_bg_inactive.png delete mode 100644 textures/restoracio_gui_button_bg_active.png delete mode 100644 textures/restoracio_gui_button_bg_inactive.png create mode 100644 themes/restaurant delete mode 100644 themes/restoracio diff --git a/init.lua b/init.lua index a3bf347..0871e76 100644 --- a/init.lua +++ b/init.lua @@ -45,7 +45,7 @@ end -- Whenever a play joins, set their formspecs theme. minetest.register_on_joinplayer( function(player) - local default_theme = minetest.settings:get("fs_default_theme") or "restoracio" + local default_theme = minetest.settings:get("fs_default_theme") or "restaurant" fs_themes.set_theme(player, default_theme) end ) diff --git a/settingtypes.txt b/settingtypes.txt index 6f6c9ed..f6dbb90 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -1 +1 @@ -fs_default_theme (Default theme for Formspecs) string restoracio +fs_default_theme (Default theme for Formspecs) string restaurant diff --git a/textures/restoracio_gui_bg.png b/textures/restaurant_gui_bg.png similarity index 100% rename from textures/restoracio_gui_bg.png rename to textures/restaurant_gui_bg.png diff --git a/textures/restaurant_gui_button_bg_active.png b/textures/restaurant_gui_button_bg_active.png new file mode 100644 index 0000000000000000000000000000000000000000..91634dd990a82e1d89687d13998c1eb290537d4e GIT binary patch literal 152 zcmeAS@N?(olHy`uVBq!ia0vp@K+MO%1|+}KPrC%9;yqm)Lp07Or#LXZiL?DLS5 zwwFX=j#`q5!pUL-5KziKQ5)YBd^zQy+>YL!6H+}Yk{_Cm$lI&dz2 x8j2F`_S>f#7zxepSs-O0DIrm3FlllE<8e)u&D+}VW&y2Y@O1TaS?83{1OSysGPeK# literal 0 HcmV?d00001 diff --git a/textures/restaurant_gui_button_bg_inactive.png b/textures/restaurant_gui_button_bg_inactive.png new file mode 100644 index 0000000000000000000000000000000000000000..7c4d269a4f6d5d90419b43f6852e9b5375b98cbb GIT binary patch literal 272 zcmV+r0q_2aP)jO+xg!`Fx0{-f0{;p?w$_q|r@jHEdL=ZF01y+%k^cC~V}ckyLd&j3*FBVq#j z>VXbyNE8xxnavk0I~9990zV4C-3v`u{Gfk=M1gWFEA|KvS(NN#G)H{_7L)ti1sk WY*Ts5R#{#E0000Il$ocCV~EG`Il!>Q{V~EG`FVdQ I&MBb@08GClkpKVy diff --git a/themes/restaurant b/themes/restaurant new file mode 100644 index 0000000..82b5561 --- /dev/null +++ b/themes/restaurant @@ -0,0 +1,24 @@ +style[*; textcolor=#532b2b] + +bgcolor[#fadcbe;true] +background9[ + 5,5;1,1;restaurant_gui_bg.png; + true; + 10 +] + +tableoptions[background=#fadcbe;highlight=#d7ff87;color=#532b2b] +listcolors[#fadcbe;#d7ff87;#a65200;#ce7f7f;#fff] + +style_type[ + button,image_button; + bgimg=restaurant_gui_button_bg_inactive.png; + border=false; + bgimg_middle=3,3,-4,-5 +] +style_type[ + button:pressed,image_button:pressed; + bgimg=restaurant_gui_button_bg_active.png; + border=false; + bgimg_middle=3,3,-3,-4 +] diff --git a/themes/restoracio b/themes/restoracio deleted file mode 100644 index 1bfdbe2..0000000 --- a/themes/restoracio +++ /dev/null @@ -1,10 +0,0 @@ -style[*;textcolor=#532b2b] - -bgcolor[#fadcbe;true] -background9[5,5;1,1;restoracio_gui_bg.png;true;10] - -tableoptions[background=#fadcbe;highlight=#d7ff87;color=#532b2b] -listcolors[#fadcbe;#fadcbe;#141318;#30434C;#FFF] ]] - -style_type[button,image_button;bgimg=restoracio_gui_button_bg_inactive.png;border=false;bgimg_middle=4,4,-4,-6;content_offset=0,0] -style_type[button:pressed,image_button:pressed;bgimg=restoracio_gui_button_bg_active.png;border=false;bgimg_middle=4,5,-4,-6;content_offset=0,2]