Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
local entities = {Sector():getEntitiesByType(EntityType.Wreckage)}
for _, entity in pairs(entities) do
local sphere = entity:getBoundingSphere()
local size = sphere and sphere.radius * 2 or 0
local material = entity:getLowestMineableMaterial()
local resources = 0
for a, value in pairs({entity:getMineableResources()}) do
resources = resources + value
end
if size >= 20 or resources > 10 then
table.insert(interestingEntities, entity)
end
end
end
i got rid of the if then for size and resources and its super laggy any way to not have the constraint while preserving performance?
If anyone's desperate for a legacy version until 2.0 officially releases just let me know.