platforms are lighter in weight

This commit is contained in:
minjaesong
2024-03-02 18:24:58 +09:00
parent ec7ff3199d
commit 6c5ee14402
3 changed files with 10 additions and 10 deletions

View File

@@ -569,7 +569,7 @@ object ModMgr {
private fun makeNewItemObj(tile: BlockProp, isWall: Boolean) = object : GameItem(
if (isWall) "wall@"+tile.id else tile.id
) {
override var baseMass: Double = tile.density / 100.0
override var baseMass: Double = (tile.density / 100.0) * (if (tile.isPlatform) 0.5 else 1.0)
override var baseToolSize: Double? = null
override var inventoryCategory = if (isWall) Category.WALL else Category.BLOCK
override var canBeDynamic = false