Исправлен мод heroturrets

Добавлен мод blueprint-sandboxes
Добавляет метку версии в zzzparanoidal (#72)
This commit is contained in:
2024-08-16 10:59:02 +03:00
parent b5ed31105c
commit 46d69f3a45
56 changed files with 4537 additions and 3 deletions

View File

@@ -0,0 +1,34 @@
local Debug = {}
function Debug.ItemStack(value)
data = {}
if (value == nil) then
data["nil"] = true
return data
end
data["nil"] = false
data["valid"] = value.valid
data["valid_for_read"] = value.valid_for_read
if not value.valid_for_read then
return data
end
data["is_blueprint"] = value.is_blueprint
if value.is_blueprint then
data["is_blueprint_setup"] = value.is_blueprint_setup()
end
if value.is_blueprint then
local entities = value.get_blueprint_entities()
if entities then
data["entities"] = #entities
else
data["entities"] = "nil"
end
end
return data
end
return Debug