Add dummy panels
parent
3ee484738a
commit
028a93c124
|
@ -7,8 +7,8 @@ end
|
|||
|
||||
company.register_panel({
|
||||
title = "Finance",
|
||||
bgcolor = "#960",
|
||||
get = function(_, comp, _)
|
||||
bgcolor = "#DAA520",
|
||||
get = function(_, comp, _)
|
||||
return "label[0.2,0.2;" .. minetest.formspec_escape("Balance: " .. banking.get_balance(comp)) .. "]"
|
||||
end,
|
||||
})
|
||||
|
|
|
@ -119,8 +119,16 @@ table.remove(sfinv.pages_unordered, #sfinv.pages_unordered)
|
|||
|
||||
company.register_panel({
|
||||
title = "Company House",
|
||||
bgcolor = "#396",
|
||||
get = function(_, comp, _)
|
||||
return "button[0.2,0.2;2,1;edit;Edit]"
|
||||
bgcolor = "#369",
|
||||
get = function(_, _, _)
|
||||
return ""
|
||||
end,
|
||||
})
|
||||
|
||||
company.register_panel({
|
||||
title = "Employees",
|
||||
bgcolor = "#396",
|
||||
get = function(_, _, _)
|
||||
return "label[0.2,0.2;0 employees.]"
|
||||
end,
|
||||
})
|
||||
|
|
|
@ -132,3 +132,12 @@ land.show_debug_to = lib_quickfs.register("land:debug", function(self, playernam
|
|||
end
|
||||
end
|
||||
end, { land_admin = true })
|
||||
|
||||
|
||||
company.register_panel({
|
||||
title = "Land",
|
||||
bgcolor = "#A0522D",
|
||||
get = function(_, _, _)
|
||||
return "label[0.2,0.2;" .. minetest.formspec_escape("Total: 1 ($100,000)\nCommercial: 1 ($100,000)\nIndustrial: 0 ($0)") .. "]"
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue