mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-27 16:09:57 +07:00
Added all new stat definitions to bundle
This commit is contained in:
parent
77856a3ff7
commit
4d9fab6cf2
@ -251,47 +251,39 @@ placemode.touch.name=touch
|
||||
placemode.cursor.name=cursor
|
||||
text.blocks.extrainfo=[accent]extra block info:
|
||||
text.blocks.blockinfo=Block Info
|
||||
text.blocks.powercapacity=[powerinfo]Power Capacity
|
||||
text.blocks.powershot=[turretinfo]Power/shot
|
||||
text.blocks.powersecond=[powerinfo]Power/second
|
||||
text.blocks.powerdraindamage=[powerinfo]Power Drain/damage
|
||||
text.blocks.shieldradius=[powerinfo]Shield Radius
|
||||
text.blocks.itemspeedsecond=[iteminfo]Item Speed/second
|
||||
text.blocks.range=[turretinfo]Range
|
||||
text.blocks.size=[gray]Size
|
||||
text.blocks.powerliquid=[powerinfo]Power/Liquid
|
||||
text.blocks.maxliquidsecond=[liquidinfo]Max liquid/second
|
||||
text.blocks.liquidcapacity=[liquidinfo]Liquid capacity
|
||||
text.blocks.liquidsecond=[liquidinfo]Liquid/second
|
||||
text.blocks.damageshot=[turretinfo]Damage/shot
|
||||
text.blocks.ammocapacity=[turretinfo]Ammo Capacity
|
||||
text.blocks.ammo=[turretinfo]Ammo
|
||||
text.blocks.ammoitem=[turretinfo]Ammo/item
|
||||
text.blocks.maxitemssecond=[iteminfo]Max items/second
|
||||
text.blocks.lasertilerange=[powerinfo]Laser tile range
|
||||
text.blocks.capacity=[iteminfo]Capacity
|
||||
text.blocks.itemcapacity=[iteminfo]Item Capacity
|
||||
text.blocks.maxpowergenerationsecond=[powerinfo]Max Power Generation/second
|
||||
text.blocks.powergenerationsecond=[powerinfo]Power Generation/second
|
||||
text.blocks.generationsecondsitem=[powerinfo]Generation Seconds/item
|
||||
text.blocks.input=[liquidinfo]Input
|
||||
text.blocks.inputliquid=[liquidinfo]Input Liquid
|
||||
text.blocks.inputitem=[liquidinfo]Input Item
|
||||
text.blocks.output=[liquidinfo]Output
|
||||
text.blocks.secondsitem=[liquidinfo]Seconds/item
|
||||
text.blocks.maxpowertransfersecond=[powerinfo]Max power transfer/second
|
||||
text.blocks.explosive=[orange]Highly explosive!
|
||||
text.blocks.repairssecond=[turretinfo]Repaired/second
|
||||
text.blocks.health=[healthstats]Health
|
||||
text.blocks.inaccuracy=[turretinfo]Inaccuracy
|
||||
text.blocks.shots=[turretinfo]Shots
|
||||
text.blocks.shotssecond=[turretinfo]Shots/second
|
||||
text.blocks.fuel=[craftinfo]Fuel
|
||||
text.blocks.fuelduration=[craftinfo]Fuel Duration
|
||||
text.blocks.maxoutputsecond=[craftinfo]Max output/second
|
||||
text.blocks.inputcapacity=[craftinfo]Input capacity
|
||||
text.blocks.outputcapacity=[craftinfo]Output capacity
|
||||
text.blocks.poweritem=[powerinfo]Power/Item
|
||||
text.blocks.powercapacity=Power Capacity
|
||||
text.blocks.powershot=Power/shot
|
||||
text.blocks.powersecond=Power/second
|
||||
text.blocks.powerdraindamage=Power Drain/damage
|
||||
text.blocks.itemspeed=Units Moved/second
|
||||
text.blocks.shootrange=Range
|
||||
text.blocks.size=Size
|
||||
text.blocks.liquidcapacity=Liquid Capacity
|
||||
text.blocks.maxitemssecond=Max items/second
|
||||
text.blocks.powerrange=Power Range
|
||||
text.blocks.poweruse=Power Use/Second
|
||||
text.blocks.inputitemcapacity=Input Item Capacity
|
||||
text.blocks.outputitemcapacity=Input Item Capacity
|
||||
text.blocks.itemcapacity=Item Capacity
|
||||
text.blocks.maxpowergenerationsecond=Max Power Generation/second
|
||||
text.blocks.powertransferspeed=Power Transfer/Second
|
||||
text.blocks.inputliquid=Input Liquid
|
||||
text.blocks.inputitem=Input Item
|
||||
text.blocks.inputitems=Input Items
|
||||
text.blocks.outputitem=Output Item
|
||||
text.blocks.liquidoutput=Liquid Output/Second
|
||||
text.blocks.secondsitem=Seconds/item
|
||||
text.blocks.maxpowergeneration=Max power transfer/second
|
||||
text.blocks.explosive=Highly explosive!
|
||||
text.blocks.health=Health
|
||||
text.blocks.inaccuracy=Inaccuracy
|
||||
text.blocks.shots=Shots
|
||||
text.blocks.reload=Reload
|
||||
text.blocks.inputfuel=Fuel
|
||||
text.blocks.fuelburntime=Fuel Burn Time
|
||||
text.blocks.craftspeed=Max crafted/second
|
||||
text.blocks.inputcapacity=Input capacity
|
||||
text.blocks.outputcapacity=Output capacity
|
||||
text.placemode=Place Mode
|
||||
text.breakmode=Break Mode
|
||||
text.health=health
|
||||
|
@ -26,7 +26,7 @@ public class BlockStats {
|
||||
|
||||
/**Adds a formatted string with this stat.*/
|
||||
public void add(BlockStat stat, String format, Object... arguments){
|
||||
if(!Bundles.has("text.blocks." + stat.name())){
|
||||
if(!Bundles.has("text.blocks." + stat.name().toLowerCase())){
|
||||
if(!errorWhenMissing){
|
||||
Log.err("Warning: No bundle entry for stat type \"" + stat + "\"!");
|
||||
}else{
|
||||
|
Loading…
Reference in New Issue
Block a user