1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 23:00:49 +02:00

MineClone formspec compat (#82)

* MineClone list backgrounds compat

* mineclone get inv func
This commit is contained in:
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org
2023-08-25 02:50:49 +02:00
committed by GitHub
parent ebe2331619
commit 7f93e8aa0a
6 changed files with 30 additions and 5 deletions

View File

@ -23,7 +23,7 @@ minetest.register_node("pipeworks:trashcan", {
local meta = minetest.get_meta(pos)
local size = "10.2,9"
local list_background = ""
if minetest.get_modpath("i3") then
if minetest.get_modpath("i3") or minetest.get_modpath("mcl_formspec") then
list_background = "style_type[box;colors=#666]box[4.5,2;1,1;]"
end
meta:set_string("formspec",