からテキストをBufferedReader
取得しましたが、特定の文字列で特定の値を取得する必要があります。
これはテキストです:
aimtolerance = 1024;
model = Araarrow;
name = Bow and Arrows;
range = 450;
reloadtime = 3;
soundhitclass = arrow;
type = Ballistic;
waterexplosionclass = small water explosion;
weaponvelocity = 750;
default = 213;
fort = 0.25;
factory = 0.25;
stalwart = 0.25;
mechanical = 0.5;
naval = 0.5;
default=と;の間の正確な数を取得する必要があり ます。
これは「213」です