aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea')
-rw-r--r--src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt1
-rw-r--r--src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt4
-rw-r--r--src/main/kotlin/moe/nea/potatocrime/registry/PotatoTranslations.kt4
3 files changed, 5 insertions, 4 deletions
diff --git a/src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt b/src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt
index b6ac78d..9aec040 100644
--- a/src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt
+++ b/src/main/kotlin/moe/nea/potatocrime/PotatoCrime.kt
@@ -49,6 +49,7 @@ object PotatoCrime : ModInitializer {
}
}
})
+
}
fun hasContraband(entity: ServerPlayerEntity): Boolean {
diff --git a/src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt b/src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt
index 728d84a..06fe573 100644
--- a/src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt
+++ b/src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt
@@ -41,8 +41,8 @@ class ContrabandItem : Item(
context: TooltipContext
) {
val count = stack.getContrabandCount()
- tooltip.add(
- PotatoTranslations.contrabandFillText.format(count.toString()).styled { it.withColor(Formatting.DARK_GRAY) })
+ tooltip.add(PotatoTranslations.contrabandFillText.format(count.toString())
+ .styled { it.withColor(Formatting.DARK_GRAY) })
}
override fun use(world: World, user: PlayerEntity, hand: Hand): TypedActionResult<ItemStack> {
diff --git a/src/main/kotlin/moe/nea/potatocrime/registry/PotatoTranslations.kt b/src/main/kotlin/moe/nea/potatocrime/registry/PotatoTranslations.kt
index a2cabf8..0f1f041 100644
--- a/src/main/kotlin/moe/nea/potatocrime/registry/PotatoTranslations.kt
+++ b/src/main/kotlin/moe/nea/potatocrime/registry/PotatoTranslations.kt
@@ -21,6 +21,6 @@ object PotatoTranslations {
val noCarrotsToDeposit = PT("no-carrots", "No carrots to deposit.")
val itemGroup = PT("item-group", "Potato Crimes")
val contrabandFillText = PT("fill-level", "Hidden carrots: %s/1000.")
- val youBrokeTheLaw = PT("arrest", "You broke the law by bringing carrots into those holy land!")
-
+ val youBrokeTheLaw = PT("arrest", "You broke the law by bringing carrots into this potato dimension!")
+ val villagerTrade = PT("trade","Oh, you got that good stuff! Here, have some emeralds.")
} \ No newline at end of file