successfully altered the control scheme

This commit is contained in:
minjaesong
2024-03-06 00:46:21 +09:00
parent 3182843a48
commit 8d3d6242d7
4 changed files with 33 additions and 30 deletions

View File

@@ -103,8 +103,10 @@ abstract class GameItem(val originalID: ItemID) : Comparable<GameItem>, Cloneabl
var itemProperties = ItemValue()
/** Single-use then destroyed (e.g. Tiles), same as "consumable" */
/** Single-use then destroyed (e.g. Tiles) */
@Transient var stackable: Boolean = true
val isConsumable: Boolean
get() = stackable && !canBeDynamic
/**
@@ -449,3 +451,8 @@ fun ItemID.isBlock() = !this.contains('@') && !this.isDynamic()
fun ItemID.isWall() = this.startsWith("wall@")
fun ItemID.isFluid() = this.startsWith("fluid@")
fun ItemID.isOre() = this.startsWith("ores@")
/**
* Created by minjaesong on 2024-03-06.
*/
interface FixtureInteractionBlocked