diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2020-11-04 21:46:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 21:46:18 +0100 |
commit | 3356da01513860d899cde503408436f7e1918f63 (patch) | |
tree | fa5c33194f29ca26c0118e33a7181ee484ef4da7 /games/devtest/mods/testformspec/formspec.lua | |
parent | e3bd6704a0eb65e9490347680441c7a08df36f7a (diff) | |
download | minetest-3356da01513860d899cde503408436f7e1918f63.tar.gz minetest-3356da01513860d899cde503408436f7e1918f63.tar.bz2 minetest-3356da01513860d899cde503408436f7e1918f63.zip |
Add model[] formspec element (#10320)
Formspec element to display models, written by @kilbith, rebased and tweaked.
Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>
Co-authored-by: sfan5 <sfan5@live.de>
Diffstat (limited to 'games/devtest/mods/testformspec/formspec.lua')
-rw-r--r-- | games/devtest/mods/testformspec/formspec.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/games/devtest/mods/testformspec/formspec.lua b/games/devtest/mods/testformspec/formspec.lua index 87a05fc96..5495896ce 100644 --- a/games/devtest/mods/testformspec/formspec.lua +++ b/games/devtest/mods/testformspec/formspec.lua @@ -327,6 +327,10 @@ Number] animated_image[3,4.25;1,1;;testformspec_animation.png;4;0;3] animated_image[5.5,0.5;5,2;;testformspec_animation.png;4;100] animated_image[5.5,2.75;5,2;;testformspec_animation.jpg;4;100] + + style[m1;bgcolor=black] + model[0.5,6;4,4;m1;testformspec_character.b3d;testformspec_character.png] + model[5,6;4,4;m2;testformspec_chest.obj;default_chest_top.png,default_chest_top.png,default_chest_side.png,default_chest_side.png,default_chest_front.png,default_chest_inside.png;30,1;true;true] ]], -- Scroll containers |