mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
working sledgehammer item to take down walls
This commit is contained in:
@@ -112,7 +112,7 @@ object PickaxeCore {
|
||||
class PickaxeCopper(originalID: ItemID) : GameItem(originalID) {
|
||||
internal constructor() : this("-uninitialised-")
|
||||
|
||||
override val originalName = "COPPER_PICK"
|
||||
override val originalName = "ITEM_PICK_COPPER"
|
||||
override var baseToolSize: Double? = BASE_MASS_AND_SIZE
|
||||
override var stackable = true
|
||||
override var inventoryCategory = Category.TOOL
|
||||
@@ -127,7 +127,6 @@ class PickaxeCopper(originalID: ItemID) : GameItem(originalID) {
|
||||
super.equipPosition = GameItem.EquipPosition.HAND_GRIP
|
||||
super.maxDurability = (TOOL_DURABILITY_BASE * material.enduranceMod).roundToInt()
|
||||
super.durability = maxDurability.toFloat()
|
||||
super.name = "Copper Pickaxe"
|
||||
super.tags.add("PICK")
|
||||
}
|
||||
|
||||
@@ -142,7 +141,7 @@ class PickaxeCopper(originalID: ItemID) : GameItem(originalID) {
|
||||
class PickaxeIron(originalID: ItemID) : GameItem(originalID) {
|
||||
internal constructor() : this("-uninitialised-")
|
||||
|
||||
override val originalName = "IRON_PICK"
|
||||
override val originalName = "ITEM_PICK_IRON"
|
||||
override var baseToolSize: Double? = BASE_MASS_AND_SIZE
|
||||
override var stackable = true
|
||||
override var inventoryCategory = Category.TOOL
|
||||
@@ -157,7 +156,6 @@ class PickaxeIron(originalID: ItemID) : GameItem(originalID) {
|
||||
super.equipPosition = GameItem.EquipPosition.HAND_GRIP
|
||||
super.maxDurability = (TOOL_DURABILITY_BASE * material.enduranceMod).roundToInt()
|
||||
super.durability = maxDurability.toFloat()
|
||||
super.name = "Iron Pickaxe"
|
||||
super.tags.add("PICK")
|
||||
}
|
||||
|
||||
@@ -172,7 +170,7 @@ class PickaxeIron(originalID: ItemID) : GameItem(originalID) {
|
||||
class PickaxeSteel(originalID: ItemID) : GameItem(originalID) {
|
||||
internal constructor() : this("-uninitialised-")
|
||||
|
||||
override val originalName = "STEEL_PICK"
|
||||
override val originalName = "ITEM_PICK_STEEL"
|
||||
override var baseToolSize: Double? = BASE_MASS_AND_SIZE
|
||||
override var stackable = true
|
||||
override var inventoryCategory = Category.TOOL
|
||||
@@ -187,7 +185,6 @@ class PickaxeSteel(originalID: ItemID) : GameItem(originalID) {
|
||||
super.equipPosition = GameItem.EquipPosition.HAND_GRIP
|
||||
super.maxDurability = (TOOL_DURABILITY_BASE * material.enduranceMod).roundToInt()
|
||||
super.durability = maxDurability.toFloat()
|
||||
super.name = "Steel Pickaxe"
|
||||
super.tags.add("PICK")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user