DEADSOFTWARE

Add crafting
[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / model / dto / ItemDto.kt
index 0fa2075e5215416efa11bcfbb8405dd4e3c638a6..fe28e6440adc30a52eadaab656d6bbb9306592f3 100644 (file)
@@ -7,7 +7,7 @@ import kotlinx.serialization.Serializable
 data class ItemDto(
     @Deprecated("numeric ids will be removed") @SerialName("id") val id: Int? = null,
     @SerialName("name") val name: String,
-    @SerialName("type") val type: String,
+    @SerialName("type") val type: String = "normal",
     @SerialName("texture") val texture: String,
     @SerialName("origin_x") val originX: Float = 0f,
     @SerialName("origin_y") val origin_y: Float = 1f,
@@ -17,4 +17,5 @@ data class ItemDto(
     @SerialName("top_slab_block") val topSlabBlock: String? = null,
     @SerialName("bottom_slab_block") val bottomSlabBlock: String? = null,
     @SerialName("tool_level") val toolLevel: Int? = null,
+    @SerialName("max_stack") val maxStack: Int = 64,
 )