chore(P2): V1 zombie comments cleanup + i18n events/network/items
Zombie comments (14 files): - Replace references to deleted V1 classes (ItemBind, ItemCollar, IBondageItem, BindVariant, etc.) with V2 equivalents or past-tense historical notes - "V1 path" → "legacy slot-index path" for still-active legacy codepaths - Clean misleading javadoc that implied V1 code was still present i18n (13 files, 31 new keys): - Events: 12 Component.literal() → translatable (labor tools, gag eat, death escape, debt, punishment, grace, camp protection, chest, maid) - Network: 12 Component.literal() → translatable (trader messages, lockpick jam, slave freedom warnings) - Items: 2 Component.literal() → translatable (ItemOwnerTarget tooltips)
This commit is contained in:
@@ -473,7 +473,7 @@ public class BondageItemRestrictionHandler {
|
||||
if (state != null && state.isGagged()) {
|
||||
event.setCanceled(true);
|
||||
player.displayClientMessage(
|
||||
Component.literal("You can't eat with a gag on.").withStyle(
|
||||
Component.translatable("msg.tiedup.event.cant_eat_gagged").withStyle(
|
||||
ChatFormatting.RED
|
||||
),
|
||||
true
|
||||
|
||||
@@ -79,7 +79,7 @@ public class LaborToolProtectionHandler {
|
||||
);
|
||||
} else {
|
||||
player.displayClientMessage(
|
||||
Component.literal("You cannot drop labor tools!"),
|
||||
Component.translatable("msg.tiedup.event.cant_drop_labor_tools"),
|
||||
true
|
||||
);
|
||||
}
|
||||
@@ -124,7 +124,7 @@ public class LaborToolProtectionHandler {
|
||||
);
|
||||
} else {
|
||||
player.displayClientMessage(
|
||||
Component.literal("You cannot store labor tools!"),
|
||||
Component.translatable("msg.tiedup.event.cant_store_labor_tools"),
|
||||
true
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user