diff --git a/core/src/main/assets/messages/items/items.properties b/core/src/main/assets/messages/items/items.properties index b73ede5dd..d5a785e0b 100644 --- a/core/src/main/assets/messages/items/items.properties +++ b/core/src/main/assets/messages/items/items.properties @@ -192,7 +192,7 @@ items.artifacts.cloakofshadows.desc=A priceless magical cloak, stolen from the r items.artifacts.cloakofshadows$cloakstealth.no_charge=Your cloak has run out of energy. items.artifacts.cloakofshadows$cloakstealth.levelup=Your cloak grows stronger! items.artifacts.cloakofshadows$cloakstealth.name=cloaked -items.artifacts.cloakofshadows$cloakstealth.desc=Your cloak of shadows is granting you invisibility while you are shrouded by it.\n\nWhile you are invisible enemies are unable to attack or follow you. Physical attacks and magical effects (such as scrolls and wands) will immediately cancel invisibility.\n\nYou will remain cloaked until it is cancelled or your cloak runs out of charge. +items.artifacts.cloakofshadows$cloakstealth.desc=Your cloak of shadows is granting you invisibility while you are shrouded by it. You will remain cloaked until it is cancelled or your cloak runs out of charge.\n\nWhile you are invisible enemies are unable to attack or follow you. Physical attacks and magical effects (such as scrolls and wands) will immediately cancel invisibility.\n\nTurns until charge use: %d. items.artifacts.driedrose.name=dried rose items.artifacts.driedrose.ac_summon=SUMMON @@ -428,7 +428,7 @@ items.artifacts.timekeepershourglass.desc=This large ornate hourglass looks fair items.artifacts.timekeepershourglass.desc_hint=The hourglass seems to have lost some sand, if only you could find some... items.artifacts.timekeepershourglass.desc_cursed=The cursed hourglass is locked to your side, you can feel it trying to manipulate your flow of time. items.artifacts.timekeepershourglass$timefreeze.name=Time Freeze -items.artifacts.timekeepershourglass$timefreeze.desc=Time is frozen around you, allowing you to perform actions instantly. The effect will last until it is cancelled or your hourglass runs out of charge. Attacking or using magic will break this effect as well. +items.artifacts.timekeepershourglass$timefreeze.desc=Time is frozen around you, allowing you to perform actions instantly. The effect will last until it is cancelled or your hourglass runs out of charge. Attacking or using magic will break this effect as well.\n\nTurns until charge use: %s. items.artifacts.timekeepershourglass$sandbag.name=bag of magic sand items.artifacts.timekeepershourglass$sandbag.levelup=You add the sand to your hourglass. items.artifacts.timekeepershourglass$sandbag.maxlevel=Your hourglass is filled with magical sand! diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java index 657010090..86b884cd9 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java @@ -292,6 +292,11 @@ public class CloakOfShadows extends Artifact { return Integer.toString(turnsToCost); } + @Override + public String desc() { + return Messages.get(this, "desc", turnsToCost); + } + @Override public boolean attachTo( Char target ) { if (super.attachTo( target )) { diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java index aa882ae31..2b1079ab1 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java @@ -430,6 +430,11 @@ public class TimekeepersHourglass extends Artifact { return Integer.toString((int)turnsToCost); } + @Override + public String desc() { + return Messages.get(this, "desc", Messages.decimalFormat("#.##", turnsToCost)); + } + private static final String PRESSES = "presses"; private static final String TURNSTOCOST = "turnsToCost";