Add storable indication in core database (#1124)

* Add storable in core indication in core database

* Add corestorable text

* French translation of corestorable
This commit is contained in:
matheod 2019-11-24 07:35:16 +01:00 committed by Anuken
parent 0dd8267e21
commit dabdd094f9
3 changed files with 5 additions and 0 deletions

View File

@ -806,6 +806,7 @@ mech.trident-ship.name = Trident
mech.trident-ship.weapon = Bomb Bay
mech.glaive-ship.name = Glaive
mech.glaive-ship.weapon = Flame Repeater
item.corestorable = [lightgray]Storable in Core: {0}
item.explosiveness = [lightgray]Explosiveness: {0}%
item.flammability = [lightgray]Flammability: {0}%
item.radioactivity = [lightgray]Radioactivity: {0}%

View File

@ -804,6 +804,7 @@ mech.trident-ship.name = Trident
mech.trident-ship.weapon = Bombes
mech.glaive-ship.name = Glaive
mech.glaive-ship.weapon = Mitraille incendiaire
item.corestorable = [lightgray]Stockable dans le Noyau: {0}
item.explosiveness = [LIGHT_GRAY]Explosivité: {0}
item.flammability = [LIGHT_GRAY]Inflammabilité: {0}
item.radioactivity = [LIGHT_GRAY]Radioactivité: {0}

View File

@ -85,6 +85,9 @@ public class ContentDisplay{
table.left().defaults().fillX();
table.add(Core.bundle.format("item.corestorable", item.type == ItemType.material ? Core.bundle.format("yes") : Core.bundle.format("no")));
table.row();
table.add(Core.bundle.format("item.explosiveness", (int)(item.explosiveness * 100)));
table.row();
table.add(Core.bundle.format("item.flammability", (int)(item.flammability * 100)));