-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
添加TechReborn的脚本。 调整IC2的存电器电量显示为整数,增加铁炉、电炉加工时间的显示,增加作物架的信息显示。 添加相应的语言翻译
- Loading branch information
1 parent
efbe527
commit 97e8003
Showing
4 changed files
with
225 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
181 changes: 181 additions & 0 deletions
181
src/main/resources/assets/omniocular/config/TechReborn.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,181 @@ | ||
<!--Author: Amamiya-Nagisa--> | ||
<!--Date: 2016/09/08--> | ||
<!--Version:1.7.10-0.7.18.1111--> | ||
<oo> | ||
<tileentity id="TileRollingMachineTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hud.msg.progress"> | ||
if(nbt['tickTime']!=undefined) | ||
if(nbt['tickTime']!=-1){ | ||
return nbt['tickTime']/20+"/"+"12.5"+GREEN+" s"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileBlastFurnaceTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileThermalGeneratorTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hudmsg.IC2.LavaAmount"> | ||
if(nbt['TileThermalGenerator']['Amount']!=undefined){ | ||
return Math.floor(nbt['TileThermalGenerator']['Amount'])+GREEN+" mB"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileDieselGeneratorTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hud.msg.fuel"> | ||
if(nbt['TileDieselGenerator']['Amount']!=undefined){ | ||
return Math.floor(nbt['TileDieselGenerator']['Amount'])+GREEN+"mB"+RED+" "+nbt['TileDieselGenerator']['FluidName']} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileGassTurbineTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hud.msg.fuel"> | ||
if(nbt['TileGasTurbine']['Amount']!=undefined){ | ||
return Math.floor(nbt['TileGasTurbine']['Amount'])+GREEN+"mB"+RED+" "+nbt['TileGasTurbine']['FluidName']} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileAssemblyMachineTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hud.msg.currentTickTime"> | ||
if(nbt['Crater']['currentTickTime']!=0){ | ||
return Math.floor(nbt['Crater']['currentTickTime']/20)+GREEN+" s"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileVacuumFreezerTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hud.msg.currentTickTime"> | ||
if(nbt['Crater']['currentTickTime']!=0){ | ||
return Math.floor(nbt['Crater']['currentTickTime']/20)+GREEN+" s"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileGrinderTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hud.msg.currentTickTime"> | ||
if(nbt['Crater']['currentTickTime']!=0){ | ||
return Math.floor(nbt['Crater']['currentTickTime']/20)+"/5"+GREEN+" s"} | ||
</line> | ||
<line displayname="hud.msg.common.LiquidAmount"> | ||
if(nbt['TileGrinder']['Amount']!=undefined){ | ||
return Math.floor(nbt['TileGrinder']['Amount'])+GREEN+"mB"+RED+" "+nbt['TileGrinder']['FluidName']} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileIndustrialSawmillTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hud.msg.currentTickTime"> | ||
if(nbt['Crater']['currentTickTime']!=0){ | ||
return Math.floor(nbt['Crater']['currentTickTime']/20)+"/10"+GREEN+" s"} | ||
</line> | ||
<line displayname="hud.msg.common.LiquidAmount"> | ||
if(nbt['TileSawmill']['Amount']!=undefined){ | ||
return Math.floor(nbt['TileSawmill']['Amount'])+GREEN+"mB"+RED+" "+nbt['TileSawmill']['FluidName']} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileCentrifugeTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hud.msg.currentTickTime"> | ||
if(nbt['Crater']['currentTickTime']!=0){ | ||
return Math.floor(nbt['Crater']['currentTickTime']/20)+GREEN+" s"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileAlloySmalterTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hud.msg.currentTickTime"> | ||
if(nbt['Crater']['currentTickTime']!=0){ | ||
return Math.floor(nbt['Crater']['currentTickTime']/20)+"/10"+GREEN+" s"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileChemicalReactorTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hud.msg.currentTickTime"> | ||
if(nbt['Crater']['currentTickTime']!=0){ | ||
return nbt['Crater']['currentTickTime']/20+GREEN+" s"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileQuantumChestTR"> | ||
<line displayname="hud.msg.factorization.Count"> | ||
if(nbt['storedQuantity']!=undefined){ | ||
return nbt['storedQuantity']+GREEN+" 个"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileDigitalChestTR"> | ||
<line displayname="hud.msg.factorization.Count"> | ||
if(nbt['storedQuantity']!=undefined){ | ||
return nbt['storedQuantity']+GREEN+" 个"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileChargeBench"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileMatterFabricatorTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileChunkLoaderTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileHeatGeneratorTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileAesuTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
<line displayname="hud.msg.TR.energyOutput"> | ||
return nbt['output']+GREEN+" EU" | ||
</line> | ||
</tileentity> | ||
<tileentity id="TileLesuTR"> | ||
<line displayname="hud.msg.energy"> | ||
if(nbt['TilePowerAcceptor']['energy']!=undefined){ | ||
return Math.floor(nbt['TilePowerAcceptor']['energy'])+GREEN+" EU"} | ||
</line> | ||
</tileentity> | ||
</oo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters