From 4f4cb58bb055c3744a5d1f6de6e7ba3161958fd0 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 11 Mar 2015 17:36:44 +0100 Subject: Add category tab mock-up --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.lua b/init.lua index 73a2be3..553df43 100644 --- a/init.lua +++ b/init.lua @@ -144,6 +144,10 @@ function doc.process_form(player,formname,fields) end end elseif(formname == "doc:category") then + if fields["doc_button_goto_entry"] then + local formspec = doc.formspec_core(3)..doc.formspec_entry("one", "o1") + minetest.show_formspec(playername, "doc:entry", formspec) + end elseif(formname == "doc:entry") then end -- cgit v1.2.3