Skip to content

Instantly share code, notes, and snippets.

@Andrey2470T
Created August 23, 2018 17:28
Show Gist options
  • Save Andrey2470T/c00b4b94d60afa225a9d73580f036baa to your computer and use it in GitHub Desktop.
Save Andrey2470T/c00b4b94d60afa225a9d73580f036baa to your computer and use it in GitHub Desktop.
sfinv.register_page("medicine:doctor`s_clothes_section", {
title = "Dr`s Clothes",
get = function (self, player, context)
return sfinv.make_formspec(player, context,
"label[1.1,0.2;Insert your medclothes into corresponding slots to dress!]" ..
"list[current_player;main;0.7,0.8;2,2]", true)
end
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment