MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / isSoil

Method isSoil

source/game/StarMaterialDatabase.cpp:495–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493}
494
495bool MaterialDatabase::isSoil(MaterialId materialId) const {
496 if (!isRealMaterial(materialId))
497 return false;
498 return getMaterialInfo(materialId)->soil;
499}
500
501ModId MaterialDatabase::tilledModFor(MaterialId materialId) const {
502 if (!isRealMaterial(materialId))

Callers 1

anchorsValidMethod · 0.80

Calls 1

isRealMaterialFunction · 0.85

Tested by

no test coverage detected