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