Aletes:
http://www.sliceofscifi.com/wp-content/uploads/2008/08/stargate.jpg
Sag bloß du kennst das Teil nicht. Oder hat dich das "stargeyt" verwirrt? xP
Jedenfalls ist es ein Portal, den es in der s2ext mod gibt, aber nichts macht.
on:use { sleep; }
on:use { if (getplayervalue(4)>5) { 	$player_tiredness=getplayervalue(4); 	$sleeptime=$player_tiredness*0.1; 		if (int($sleeptime)>$sleeptime){ 			$sleeptime_hours=$sleeptime-1; 			$sleeptime_hours=int($sleeptime_hours); 			$sleeptime_minutes=$sleeptime-$sleeptime_hours; 			$sleeptime_minutes=$sleeptime_minutes*60; 		} else { 			$sleeptime_hours=int($sleeptime); 			$sleeptime_minutes=$sleeptime-$sleeptime_hours; 			$sleeptime_minutes=$sleeptime_minutes*60; 		} 	flash 0, 0, 0, 0.01; 	$hunger=$player_tiredness*0.5; 	$thirst=$player_tiredness*0.4; 	$tiredness=$player_tiredness-5; 	consume 0, -$hunger, -$thirst, $tiredness; 	play "sleep.wav"; 	$minute=minute(); 	$wakeuptime_minute=$minute+$sleeptime_minutes; 	setminute $wakeuptime_minute; 	$hour=hour(); 	$wakeuptime_hour=$hour+$sleeptime_hours; 	sethour $wakeuptime_hour; 		if ($wakeuptime_hour>24) { 			$day=day(); 			$wakeuptime_day=$day+1; 			setday $wakeuptime_day; 			autosave; 		} 	} else { 		speech "negative"; 		msg "Ich bin nicht müde genug,",3; 		msg "um einschlafen zu können!",3; 	} }
on:use { if (getplayervalue(4)>5) { 	$player_tiredness=getplayervalue(4); 	$sleeptime=$player_tiredness*0.1; 		if (int($sleeptime)>$sleeptime){ 			$sleeptime_hours=$sleeptime-1; 			$sleeptime_hours=int($sleeptime_hours); 			$sleeptime_minutes=$sleeptime-$sleeptime_hours; 			$sleeptime_minutes=$sleeptime_minutes*60; 		} else { 			$sleeptime_hours=int($sleeptime); 			$sleeptime_minutes=$sleeptime-$sleeptime_hours; 			$sleeptime_minutes=$sleeptime_minutes*60; 		} 	flash 0, 0, 0, 0.01; 	$hunger=$player_tiredness*0.5; 	$thirst=$player_tiredness*0.4; 	$tiredness=$player_tiredness-5; 	consume 0, -$hunger, -$thirst, $tiredness; 	play "sleep.wav"; 	[b]event "sleep", "global";[/b] 	$minute=minute(); 	$wakeuptime_minute=$minute+$sleeptime_minutes; 	setminute $wakeuptime_minute; 	$hour=hour(); 	$wakeuptime_hour=$hour+$sleeptime_hours; 	sethour $wakeuptime_hour; 		if ($wakeuptime_hour>24) { 			$day=day(); 			$wakeuptime_day=$day+1; 			setday $wakeuptime_day; 			[b]event "changeday", "global";[/b] 			autosave; 		} 	} else { 		speech "negative"; 		msg "Ich bin nicht müde genug,",3; 		msg "um einschlafen zu können!",3; 	} }
on:use { 	local "$own_class", "$own_id"; 	$own_class=currentclass(); 	$own_id=currentid(); 	loop("object", 1) { 		$searched_id=loop_id(); 		if(inrange("object", $own_id, 100, "object", $searched_id)==1) { 			msg "$own_id, $searched_id", 3, 8000; 			msg "A"; 			$buildingsite_distance=distance("object", $own_id, "object", $searched_id); 			msg "$buildingsite_distance"; 		}else{ 			msg "B"; 		} 	} }
on:start { 	event "toggle"; 	$notuseable==0; }
on:use { 	event "toggle" , "object", ID; }
on:use 	{ 	event "toggle", "object", [id]; 	}
on:start { diary "(name)" ,"(Quelle)" } on:trigger (ID) { showentry "(name)" ,SFX stoptrigger (ID) } // ich hab auch schon versucht: on:start { diary "(name)" ,"(Quelle)" } on:trigger { showentry "(name)" ,SFX stoptriggers }
stoptrigger ID;