; タコメーター(Tachometer)
if = time<=13000
	; 昼用の計器
	DrawTexture = l_h_hud,  184, 40,  64,64,  317,  0, 128,128
	DrawTexture = l_h_hud,  208, 40,  16,64,  445,  0,  32,128, Throttle*230-180
Endif

if = time> 13000
	; 夜間用の計器
	DrawTexture = l_h_hud,  184, 40,  64,64,  317,128, 128,128
	DrawTexture = l_h_hud,  208, 40,  16,64,  477,  0,  32,128, Throttle*230-180
Endif

; 燃料(Fuel)
if = time<=13000
	; 昼用の計器                           
	DrawTexture = l_h_hud,  -247,  60,   94 , 66,   00,00, 188,132
	DrawTexture = l_h_hud,  -232,  124,   154,1.5,   00,190,   308,3, fuel*35.5-348.5
Endif                                                         

if = time> 13000
	; 夜間用の計器
	DrawTexture = l_h_hud,  -247,  60,   94 , 66,   00,00, 188,132
	DrawTexture = l_h_hud,  -232,  124,   154,1.5,   00,190,   308,3, fuel*35.5-348.5
Endif

; 燃料の低下を警告表示
If = low_fuel
	DrawTexture = hud, 40,-85, 16,16,  0,0,  32,32
	Color = 0xFFDF0408
	DrawString  = 56,-80, "%s key", KEY_GUI
EndIf

; インベントリ数を表示
If = inventory > 0
	Color = 0xFF58ffee
	DrawString = 179, 25, "Inventory [ %d ]", INVENTORY
Endif

; 色設定(Current Color)
Color = 0xFF58ffee
; 時計(time)
; マイクラ内の時間と分を表示
DrawCenteredString = -200, 40, " [ %02d:%02d ]", MC_THOR, MC_TMIN

; 色設定(Current Color)
Color = 0xFF58ffee
; 座標(Position)
DrawString = -245, 00, "X: %+.1f", pos_X
DrawString = -245, 10, "Y: %+.1f", pos_Y
DrawString = -245, 20, "Z: %+.1f", pos_Z
DrawString = -190, 00, "[%+.2f]",  motion_X
DrawString = -190, 10, "[%+.2f]",  motion_Y
DrawString = -190, 20, "[%+.2f]",  motion_Z

; 耐久値(HP)
; HPが20%を超えている場合は白(0xFFffffff)、HPが20%以下の場合は赤(0xFFDF0408)
Color = hp_rto>0.2? 0xFFffffff: 0xFFDF0408
DrawTexture = hud, 184, 115, 64,20, 128,64, 128,20
DrawString  = 190,    117, "%3.0f", HP_PER
DrawString  = 190+26, 117, "/ 100", HP_PER
DrawRect    = 186, 127, hp_rto*60, 6

Color = 0xFF58ffee
If = free_look==1
	DrawString = -90, 130, "FREE LOOK"
Endif

If = cam_mode==1
	DrawString = 30, 50, "NIGHT VISION"
Endif
If = cam_mode==2
	DrawString = 30, 50, "THERMAL VISION"
Endif

If = auto_pilot==1
	DrawString = 50, 0, "Auto Pilot"
Endif

DrawString = -240, 130, "%s",  WPN_NAME