- UID
- 78075
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
发表于 2014-10-24 21:23:39
|
显示全部楼层
想讓量子壓縮機能壓電容將參數改成
//Increases all types of cargos
string@ str_vCargo1 = "vFuelStore", str_vCargo2 = "vAmmoStore", str_vCargo3 = "vCargoStore", str_vCargo4 = "vEcoStore", str_vCargo5 = "vShipBay", str_vCargo6 = "vCharge";
void increaseCargoSpace(subSystem@ subSys, const string@ name, float CompressorSize, float ImprovementFactor) {
const string@ cargoVar = null;
for(uint i = 0; i < 5; ++i) {
switch(i) {
case 0: @cargoVar = @str_vCargo1; break;
case 1: @cargoVar = @str_vCargo2; break;
case 2: @cargoVar = @str_vCargo3; break;
case 3: @cargoVar = @str_vCargo4; break;
case 4: @cargoVar = @str_vCargo5; break;
case 5: @cargoVar = @str_vCargo6; break;
}
不過似乎無效阿... |
|