;*2-8 051-098  45B6123-6728345

_unit = _this select 0

;領収年の下一桁
#No4
?norandnum: Exit
_nrand = random(100)
?_nrand > 90: _unit setObjectTexture [6, "\JASDF_F15\F15\No\9.paa"], goto "No5"
?_nrand > 80: _unit setObjectTexture [6, "\JASDF_F15\F15\No\8.paa"], goto "No5"
?_nrand > 70: _unit setObjectTexture [6, "\JASDF_F15\F15\No\7.paa"], goto "No5"
?_nrand > 60: _unit setObjectTexture [6, "\JASDF_F15\F15\No\6.paa"], goto "No5"
?_nrand > 50: _unit setObjectTexture [6, "\JASDF_F15\F15\No\5.paa"], goto "No5"
?_nrand > 40: _unit setObjectTexture [6, "\JASDF_F15\F15\No\4.paa"], goto "No5"
?_nrand > 30: _unit setObjectTexture [6, "\JASDF_F15\F15\No\3.paa"], goto "No5"
?_nrand > 20: _unit setObjectTexture [6, "\JASDF_F15\F15\No\2.paa"], goto "No5"
?_nrand > 10: _unit setObjectTexture [6, "\JASDF_F15\F15\No\1.paa"], goto "No5"
?_nrand >  0: _unit setObjectTexture [6, "\JASDF_F15\F15\No\0.paa"], goto "No5"

;登録順位
#No5
_unit setObjectTexture [7, "\JASDF_F15\F15\No\2.paa"], goto "NoB"

#NoB
_unit setObjectTexture [2, "\JASDF_F15\F15\No\-.paa"], goto "No6"

;航空機の機種
#No6
_unit setObjectTexture [8, "\JASDF_F15\F15\No\8.paa"], goto "No1"

;製造番号
#No1
_unit setObjectTexture [3, "\JASDF_F15\F15\No\0.paa"], goto "No2"

#No2
?norandnum: Exit
_nrand = random(100)
?_nrand > 80: _unit setObjectTexture [4, "\JASDF_F15\F15\No\9.paa"], goto "No3b"
?_nrand > 60: _unit setObjectTexture [4, "\JASDF_F15\F15\No\8.paa"], goto "No3"
?_nrand > 40: _unit setObjectTexture [4, "\JASDF_F15\F15\No\7.paa"], goto "No3"
?_nrand > 20: _unit setObjectTexture [4, "\JASDF_F15\F15\No\6.paa"], goto "No3"
?_nrand >  0: _unit setObjectTexture [4, "\JASDF_F15\F15\No\5.paa"], goto "No3a"

#No3
?norandnum: Exit
_nrand = random(100)
?_nrand > 90: _unit setObjectTexture [5, "\JASDF_F15\F15\No\9.paa"], goto "end"
?_nrand > 80: _unit setObjectTexture [5, "\JASDF_F15\F15\No\8.paa"], goto "end"
?_nrand > 70: _unit setObjectTexture [5, "\JASDF_F15\F15\No\7.paa"], goto "end"
?_nrand > 60: _unit setObjectTexture [5, "\JASDF_F15\F15\No\6.paa"], goto "end"
?_nrand > 50: _unit setObjectTexture [5, "\JASDF_F15\F15\No\5.paa"], goto "end"
?_nrand > 40: _unit setObjectTexture [5, "\JASDF_F15\F15\No\4.paa"], goto "end"
?_nrand > 30: _unit setObjectTexture [5, "\JASDF_F15\F15\No\3.paa"], goto "end"
?_nrand > 20: _unit setObjectTexture [5, "\JASDF_F15\F15\No\2.paa"], goto "end"
?_nrand > 10: _unit setObjectTexture [5, "\JASDF_F15\F15\No\1.paa"], goto "end"
?_nrand >  0: _unit setObjectTexture [5, "\JASDF_F15\F15\No\0.paa"], goto "end"

#No3a
?norandnum: Exit
_nrand = random(100)
?_nrand > 89: _unit setObjectTexture [5, "\JASDF_F15\F15\No\9.paa"], goto "end"
?_nrand > 78: _unit setObjectTexture [5, "\JASDF_F15\F15\No\8.paa"], goto "end"
?_nrand > 67: _unit setObjectTexture [5, "\JASDF_F15\F15\No\7.paa"], goto "end"
?_nrand > 56: _unit setObjectTexture [5, "\JASDF_F15\F15\No\6.paa"], goto "end"
?_nrand > 44: _unit setObjectTexture [5, "\JASDF_F15\F15\No\5.paa"], goto "end"
?_nrand > 33: _unit setObjectTexture [5, "\JASDF_F15\F15\No\4.paa"], goto "end"
?_nrand > 22: _unit setObjectTexture [5, "\JASDF_F15\F15\No\3.paa"], goto "end"
?_nrand > 11: _unit setObjectTexture [5, "\JASDF_F15\F15\No\2.paa"], goto "end"
?_nrand >  0: _unit setObjectTexture [5, "\JASDF_F15\F15\No\1.paa"], goto "end"

#No3b
?norandnum: Exit
_nrand = random(100)
?_nrand > 89: _unit setObjectTexture [5, "\JASDF_F15\F15\No\8.paa"], goto "end"
?_nrand > 78: _unit setObjectTexture [5, "\JASDF_F15\F15\No\7.paa"], goto "end"
?_nrand > 67: _unit setObjectTexture [5, "\JASDF_F15\F15\No\6.paa"], goto "end"
?_nrand > 56: _unit setObjectTexture [5, "\JASDF_F15\F15\No\5.paa"], goto "end"
?_nrand > 44: _unit setObjectTexture [5, "\JASDF_F15\F15\No\4.paa"], goto "end"
?_nrand > 33: _unit setObjectTexture [5, "\JASDF_F15\F15\No\3.paa"], goto "end"
?_nrand > 22: _unit setObjectTexture [5, "\JASDF_F15\F15\No\2.paa"], goto "end"
?_nrand > 11: _unit setObjectTexture [5, "\JASDF_F15\F15\No\1.paa"], goto "end"
?_nrand >  0: _unit setObjectTexture [5, "\JASDF_F15\F15\No\0.paa"], goto "end"

#end