-
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.
Merge pull request #52 from Amamiya-Nagisa/patch-3
Update GregTech5U.xml
- Loading branch information
Showing
1 changed file
with
36 additions
and
21 deletions.
There are no files selected for viewing
57 changes: 36 additions & 21 deletions
57
src/main/resources/assets/omniocular/config/GregTech5U.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 |
---|---|---|
@@ -1,69 +1,84 @@ | ||
<!--Version: 5.09.19--> | ||
<!--Date: 2016/03/08--> | ||
<!--Date: 2016/03/11--> | ||
<!--Author: Amamiya-Nagisa--> | ||
<oo> | ||
<tileentity id="BaseMetaTileEntity"> | ||
<line displayname="能量:"> | ||
<tileentity id="BaseMetaTileEntity"> | ||
<line displayname="hud.msg.energ"> | ||
if(nbt['mStoredEnergy']!=0){return nbt['mStoredEnergy']+" EU"} | ||
</line> | ||
<line displayname="流体存量:"> | ||
if(nbt['mFluid']['Amount']!=undefined){return GREEN+nbt['mFluid']['FluidName']+":"+WHITE+nbt['mFluid']['Amount']+" mB"} | ||
<line displayname="hud.msg.common.LiquidAmount"> | ||
if(nbt['mFluid']['Amount']!=undefined){return GREEN+nbt['mFluid']['FluidName']+" : "+WHITE+nbt['mFluid']['Amount']+" mB"} | ||
</line> | ||
<line displayname="蒸汽:"> | ||
<line displayname="hud.msg.storedsteam"> | ||
if(nbt['mSteam']['Amount']!=undefined){return nbt['mSteam']['Amount']+" mB"} | ||
</line> | ||
<line displayname="蒸汽存量:"> | ||
<line displayname="hud.msg.storedsteam"> | ||
if(nbt['mStoredSteam']!=0){return nbt['mStoredSteam']+" mB"} | ||
</line> | ||
<line displayname="温度:"> | ||
<line displayname="hud.msg.temperature"> | ||
if(nbt['mID']==100)return nbt['mTemperature']+" / 500" | ||
</line> | ||
<line displayname="温度:"> | ||
<line displayname="hud.msg.temperature"> | ||
if(nbt['mID']==105)return nbt['mTemperature']+" / 500" | ||
</line> | ||
<line displayname="温度:"> | ||
<line displayname="hud.msg.temperature"> | ||
if(nbt['mID']==101)return nbt['mTemperature']+" / 1000" | ||
</line> | ||
<line displayname="温度:"> | ||
<line displayname="hud.msg.temperature"> | ||
if(nbt['mID']==102)return nbt['mTemperature']+" / 1000" | ||
</line> | ||
<line displayname="工作功率:"> | ||
<line displayname="hud.msg.greg.power"> | ||
if(nbt['mEUt']!=0) | ||
if(nbt['mEUt']!=undefined) | ||
if(nbt['mStoredSteam']==0) | ||
if(nbt['mSolderingTool']!=0){ | ||
return YELLOW+Math.abs(nbt['mEUt'])+WHITE+" EU/t"} | ||
</line> | ||
<line displayname="功率(设备未修好):"> | ||
<line displayname="hud.msg.greg.power.unfix"> | ||
if(nbt['mEUt']!=0) | ||
if(nbt['mEUt']!=undefined) | ||
if(nbt['mSolderingTool']==0){ | ||
return YELLOW+Math.abs(nbt['mEUt'])*1.1+WHITE+" EU/t"} | ||
</line> | ||
<line displayname="蒸汽需求:"> | ||
<line displayname="hud.msg.greg.requiredsteam"> | ||
if(nbt['mEUt']!=0) | ||
if(nbt['mEUt']!=undefined) | ||
if(nbt['mStoredSteam']!=0){ | ||
return YELLOW+Math.abs(nbt['mEUt']) * 2+WHITE+" mB/t"} | ||
</line> | ||
<line displayname="工作进程:"> | ||
<line displayname="hud.msg.progress"> | ||
if(nbt['mMaxProgresstime']!=0) | ||
if(nbt['mMaxProgresstime']!=undefined){ | ||
return YELLOW+nbt['mProgresstime'] / 20+WHITE+"/"+nbt['mMaxProgresstime'] / 20+" s"} | ||
</line> | ||
<line displayname="正在生产:"> | ||
if(nbt['mActive']==1){ | ||
<line displayname="hud.msg.greg.output"> | ||
if(nbt['mActive']==1 &&nbt['mID']!=1003){ | ||
return YELLOW+nbt['mOutputItem0']['Count']+"个"+GREEN+name(nbt['mOutputItem0'])} | ||
</line> | ||
<line displayname="副产物:"> | ||
if(nbt['mActive']==1){ | ||
<line displayname="hud.msg.greg.output2"> | ||
if(nbt['mActive']==1 &&nbt['mID']!=1003){ | ||
return YELLOW+nbt['mOutputItem1']['Count']+"个"+GREEN+name(nbt['mOutputItem1'])} | ||
</line> | ||
<line displayname="hud.msg.greg.multifurnaceoutput"> | ||
if(nbt['mActive']==1 &&nbt['mID']==1003){ | ||
return GREEN+name(nbt['mOutputItem0'])+WHITE+"/"+GREEN+name(nbt['mOutputItem1'])+WHITE+"/"+GREEN+name(nbt['mOutputItem2']) | ||
+WHITE+"/"+GREEN+name(nbt['mOutputItem3'])+WHITE+"/"+GREEN+name(nbt['mOutputItem4'])+WHITE+"/"+GREEN+name(nbt['mOutputItem5'])} | ||
</line> | ||
<line displayname="hud.msg.greg.multifurnaceoutput2"> | ||
if(nbt['mActive']==1 &&nbt['mID']==1003){ | ||
return GREEN+name(nbt['mOutputItem6'])+WHITE+"/"+GREEN+name(nbt['mOutputItem7'])+WHITE+"/"+GREEN+name(nbt['mOutputItem8']) | ||
+WHITE+"/"+GREEN+name(nbt['mOutputItem9'])+WHITE+"/"+GREEN+name(nbt['mOutputItem10'])+WHITE+"/"+GREEN+name(nbt['mOutputItem11'])} | ||
</line> | ||
<line displayname="hud.msg.greg.multifurnaceoutput3"> | ||
if(nbt['mActive']==1 &&nbt['mID']==1003){ | ||
return GREEN+name(nbt['mOutputItem12'])+WHITE+"/"+GREEN+name(nbt['mOutputItem13'])+WHITE+"/"+GREEN+name(nbt['mOutputItem14']) | ||
+WHITE+"/"+GREEN+name(nbt['mOutputItem15'])+WHITE+"/"+GREEN+name(nbt['mOutputItem16'])+WHITE+"/"+GREEN+name(nbt['mOutputItem17'])} | ||
</line> | ||
</tileentity> | ||
<tileentity id="BaseMetaPipeEntity"> | ||
<line displayname="运输情况:"> | ||
<line> | ||
if(nbt['mFluid']['Amount']!=undefined){ | ||
return YELLOW+nbt['mFluid']['Amount']+WHITE+" mb "+BLUE+nbt['mFluid']['FluidName']} | ||
return GREEN+nbt['mFluid']['FluidName']+" : "+YELLOW+nbt['mFluid']['Amount']+WHITE+" mb"} | ||
</line> | ||
</tileentity> | ||
</oo> |