Finish the “Restaurant” theme

Lovely theme by Tirifto <tirifto@posteo.cz>, made
originally for jam.xwx.moe.
This commit is contained in:
Jaidyn Ann 2024-08-05 22:09:23 -05:00
parent 5be39f127c
commit d67bdbc27e
9 changed files with 26 additions and 12 deletions

View File

@ -45,7 +45,7 @@ end
-- Whenever a play joins, set their formspecs theme. -- Whenever a play joins, set their formspecs theme.
minetest.register_on_joinplayer( minetest.register_on_joinplayer(
function(player) 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) fs_themes.set_theme(player, default_theme)
end end
) )

View File

@ -1 +1 @@
fs_default_theme (Default theme for Formspecs) string restoracio fs_default_theme (Default theme for Formspecs) string restaurant

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 B

24
themes/restaurant Normal file
View File

@ -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
]

View File

@ -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]