v1.4.2: added effect name to the desc of footwear (english only atm)
This commit is contained in:
@@ -395,7 +395,7 @@ items.artifacts.sandalsofnature.desc_3=The plants have grown again and now resem
|
||||
items.artifacts.sandalsofnature.desc_4=The plants seem to have reached their maximum size, they resemble a pair of armored greaves. The greaves are a deep brown and resemble a very sturdy tree.
|
||||
items.artifacts.sandalsofnature.desc_hint=You feel more attuned with nature while wearing this artifact.
|
||||
items.artifacts.sandalsofnature.desc_cursed=The cursed sandals are blocking any attunement with nature.
|
||||
items.artifacts.sandalsofnature.desc_ability=The footwear ripples with the color of the last seed you fed them. They can briefly root into the ground and produce that plant's effect anywhere in a 3 tile radius. Charge needed: _%d%%._
|
||||
items.artifacts.sandalsofnature.desc_ability=The footwear ripples with the color of the last seed you fed them. They can briefly root into the ground and produce that plant's effect anywhere in a 3 tile radius.\nSeed: _%s_\nCharge needed: _%d%%_
|
||||
items.artifacts.sandalsofnature.desc_seeds=You have fed the footwear %d seeds.
|
||||
|
||||
items.artifacts.talismanofforesight.name=talisman of foresight
|
||||
|
||||
@@ -33,6 +33,7 @@ import com.shatteredpixel.shatteredpixeldungeon.items.Item;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.bags.Bag;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.bags.VelvetPouch;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.rings.RingOfEnergy;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Languages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.plants.Blindweed;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.plants.Earthroot;
|
||||
@@ -194,7 +195,14 @@ public class SandalsOfNature extends Artifact {
|
||||
}
|
||||
|
||||
if (curSeedEffect != null){
|
||||
desc += "\n\n" + Messages.get(this, "desc_ability", seedChargeReqs.get(curSeedEffect));
|
||||
//TODO fix in v2.0.0 when this line is translated
|
||||
if (Messages.lang() == Languages.ENGLISH){
|
||||
desc += "\n\n" + Messages.get(this, "desc_ability",
|
||||
Messages.titleCase(Messages.get(curSeedEffect, "name")),
|
||||
seedChargeReqs.get(curSeedEffect));
|
||||
} else {
|
||||
desc += "\n\n" + Messages.get(this, "desc_ability", seedChargeReqs.get(curSeedEffect));
|
||||
}
|
||||
}
|
||||
|
||||
if (!seeds.isEmpty()){
|
||||
|
||||
Reference in New Issue
Block a user