Category
You're no bot and a page you've created got automatically deleted? Add your name to FreewarWiki:NoSpamUser |
Editing Autorouter.css
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The system administrator who locked it offered this explanation: Aufgrund eines Server Umzugs ist das Wiki aktuel im readonly Modus
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 121: | Line 121: | ||
// Zusaetzliche Kanten stehen im assoziativen Array "edges": | // Zusaetzliche Kanten stehen im assoziativen Array "edges": | ||
// | // | ||
− | // edges["von-x|von-y"] = Array("nach-x|nach-y| | + | // edges["von-x|von-y"] = Array("nach-x|nach-y|beschreibung|tools", ...) |
// | // | ||
// Zauberkugeln werden grundsaetzlich nur im 1. Schritt eingesetzt | // Zauberkugeln werden grundsaetzlich nur im 1. Schritt eingesetzt | ||
// | // | ||
− | // edges["teleport"] = Array("nach-x|nach-y| | + | // edges["teleport"] = Array("nach-x|nach-y|beschreibung|tools", ...) |
// | // | ||
// wobei "tools" ein Bitfeld ist, das die Hilfsmittel/Bedingungen | // wobei "tools" ein Bitfeld ist, das die Hilfsmittel/Bedingungen | ||
Line 345: | Line 345: | ||
// Namen der Hilfsmittel | // Namen der Hilfsmittel | ||
− | var | + | var teleport_mittel = { |
0 : "", | 0 : "", | ||
1 : "Portals", | 1 : "Portals", | ||
Line 389: | Line 389: | ||
elements = solution.split(";"); | elements = solution.split(";"); | ||
if (elements[0] != 0) { | if (elements[0] != 0) { | ||
− | string = " | + | string = "require: "; |
comma = 0; | comma = 0; | ||
for(j = 0; j < 16; j++) { | for(j = 0; j < 16; j++) { | ||
Line 583: | Line 583: | ||
} | } | ||
− | // sucht die nachbarn eines feldes. gibt u.u. auch | + | // sucht die nachbarn eines feldes. gibt u.u. auch nichtbegehbare |
// felder (bergfelder usw.) zurueck. | // felder (bergfelder usw.) zurueck. | ||
− | function | + | function finde_nachbarn(f, bits) |
{ | { | ||
var k = f.split("|"), x = Array(), y = Array(), neighbours = Array(); | var k = f.split("|"), x = Array(), y = Array(), neighbours = Array(); |