DEADSOFTWARE

Add crafting
[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / model / dto / ItemDto.kt
index 3573fa986d70718f44cbe385f5b782147060ff8d..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,