All pastes #446333 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-18 12:49 UTC
rendered paste body
	for (new temp = 1; temp < PROP_AMOUNT; temp++)
	{
		if(temp == 1) {
			Prop[temp] = 1;
 			propcost[temp] = 80000;
		}
		if(temp == 2) {
			Prop[temp] = 2;
 			propcost[temp] = 110000;
		}
		if(temp == 3) {
			Prop[temp] = 3;
 			propcost[temp] = 160000;
		}
		if(temp == 4) {
			Prop[temp] = 4;
 			propcost[temp] = 160000;
		}
		if(temp == 5) {
			Prop[temp] = 5;
 			propcost[temp] = 110000;
		}
		if(temp == 6) {
			Prop[temp] = 6;
 			propcost[temp] = 425000;
		}
		if(temp == 7) {
			Prop[temp] = 7;
 			propcost[temp] = 190000;
		}
		if(temp == 8) {
			Prop[temp] = 8;
 			propcost[temp] = 220000;
		}
		if(temp == 9) {
			Prop[temp] = 9;
 			propcost[temp] = 160000;
		}
		if(temp == 10) {
			Prop[temp] = 10;
 			propcost[temp] = 80000;
		}
		if(temp == 11) {
			Prop[temp] = 11;
 			propcost[temp] = 120000;
		}
		if(temp == 12) {
			Prop[temp] = 12;
 			propcost[temp] = 350000;
		}
		if(temp == 13) {
			Prop[temp] = 13;
 			propcost[temp] = 110000;
		}
		if(temp == 14) {
			Prop[temp] = 14;
 			propcost[temp] = 280000;
		}
		if(temp == 15) {
			Prop[temp] = 15;
 			propcost[temp] = 280000;
		}
		if(temp == 16) {
			Prop[temp] = 16;
 			propcost[temp] = 60000;
		}
		if(temp == 17) {
			Prop[temp] = 17;
 			propcost[temp] = 220000;
		}
		if(temp == 18) {
			Prop[temp] = 18;
 			propcost[temp] = 190000;
		}
		if(temp == 19) {
			Prop[temp] = 19;
 			propcost[temp] = 320000;
		}
		if(temp == 20) {
			Prop[temp] = 20;
 			propcost[temp] = 110000;
		}
		if(temp == 21) {
			Prop[temp] = 21;
 			propcost[temp] = 80000;
		}
		if(temp == 22) {
			Prop[temp] = 22;
 			propcost[temp] = 110000;
		}
		if(temp == 23) {
			Prop[temp] = 23;
 			propcost[temp] = 70000;
		}
		if(temp == 24) {
			Prop[temp] = 24;
 			propcost[temp] = 220000;
		}
		if(temp == 25) {
			Prop[temp] = 25;
 			propcost[temp] = 220000;
		}
		if(temp == 26) {
			Prop[temp] = 26;
 			propcost[temp] = 320000;
		}
		if(temp == 27) {
			Prop[temp] = 27;
 			propcost[temp] = 70000;
		}
		if(temp == 28) {
			Prop[temp] = 28;
 			propcost[temp] = 190000;
		}
		if(temp == 29) {
			Prop[temp] = 29;
 			propcost[temp] = 60000;
		}
		if(temp == 30) {
			Prop[temp] = 30;
 			propcost[temp] = 60000;
		}
		if(temp == 31) {
			Prop[temp] = 31;
 			propcost[temp] = 220000;
		}
		new tmpname[PROP_AMOUNT];
		format(tmpname,sizeof(tmpname),"%d",temp);
		if (!dini_Exists(tmpname)) {
    	    	dini_Create(tmpname);
				dini_Set(tmpname, "owner", "server");
				dini_IntSet(tmpname, "propcost", propcost[temp]);
				dini_IntSet(tmpname, "bought", 0);
    	}
	}