/* 
 * Script decompiled by jagdecs2 v3.2
 * Decompiler opts:
 * --------------
 * t1LocalAnalyzer:true
 * t2LocalAnalyzer:true
 * beautifier:true
 * --------------
 * Made by mgi125 ;)
 */


void script_4692(int a0,int a1) {
	int v5;
	object v6;
	int v7 = 36110359;
	int v9 = -1;
	object v4 = "";
	object v0 = "";
	int v8 = 0;
	int v2 = 0;
	object v3 = "";
	int v1 = 0;
	switch (a0) {
		case 36110346:
			v5 = 1;
			v6 = "Nothing breaks for 30 seconds.";
			break;
		case 36110372:
			v5 = 2;
			v6 = "Kill twice as many trolls when repairing things.";
			break;
		case 36110386:
			v5 = 3;
			v6 = "Fix twice as fast and counter-acts troll magic run energy effects.";
			break;
		case 36110400:
			v5 = 4;
			v6 = "Broken things don't hurt gatehouse health for 30 seconds.";
			break;
		default:
			cs2method_10467(1, v7);
			return;
	}
	cs2method_10026(36110365, idx17mapData('i', 's', 3855, v5));
	cs2method_10026(36110366, v6);
	cs2method_10026(36110367, "Cost: " + (string)cs2method_10379(idx17mapData('i', 'i', 3856, v5)));
	int v10 = idx17mapData('i', 'i', 3857, v5);
	if (v10 == 50) {
		v3 = "30 sec";
	}
	if (v10 == 100) {
		v3 = "1 min";
	}
	cs2method_10026(36110368, "Cooldown: " + (string)v3);
	cs2method_10520(3552566, a0);
	cs2method_10112(cs2method_10191(v7), a1, 0, 0, v7);
	cs2method_10467(0, v7);
	return;
}
