diff options
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/debug-look.txt | 8 | ||||
-rw-r--r-- | npc/commands/debug-quest.txt | 8 | ||||
-rw-r--r-- | npc/commands/debug-skill.txt | 4 | ||||
-rw-r--r-- | npc/commands/debug.txt | 8 | ||||
-rw-r--r-- | npc/commands/motd.txt | 14 | ||||
-rw-r--r-- | npc/commands/scheduled-broadcasts.txt | 10 |
6 files changed, 26 insertions, 26 deletions
diff --git a/npc/commands/debug-look.txt b/npc/commands/debug-look.txt index 3c4640c5..ef12e83e 100644 --- a/npc/commands/debug-look.txt +++ b/npc/commands/debug-look.txt @@ -1,6 +1,6 @@ function script BarberDebug { - function setGender { + function setGender { //clear; //setnpcdialogtitle l("Appearance Debug - Sex Change"); //mes l("Please choose the desired gender:"); @@ -18,7 +18,7 @@ function script BarberDebug { closedialog; changecharsex; } - function setStyle { + function setStyle { clear; setnpcdialogtitle l("Appearance Debug - Barber"); mes l("Hair style") + ": " + getlook (LOOK_HAIR); @@ -28,7 +28,7 @@ function script BarberDebug { setlook LOOK_HAIR, max(1, min(0xFF, .@h)); return; } - function setColor { + function setColor { clear; setnpcdialogtitle l("Appearance Debug - Barber"); mes l("Hair color") + ": " + getlook (LOOK_HAIR_COLOR); @@ -38,7 +38,7 @@ function script BarberDebug { setlook LOOK_HAIR_COLOR, max(0, min(0xFF, .@h)); return; } - function setRace { + function setRace { clear; setnpcdialogtitle l("Appearance Debug - Race"); mes l("Race") + ": " + Class; diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt index a37b09bf..041879d2 100644 --- a/npc/commands/debug-quest.txt +++ b/npc/commands/debug-quest.txt @@ -1,7 +1,7 @@ function script GlobalQuestDebug { - function qDebugShip { - function qDebugGugli { + function qDebugShip { + function qDebugGugli { do { clear; @@ -60,7 +60,7 @@ function script GlobalQuestDebug { } while (1); } - function qDebugArtis { + function qDebugArtis { do { clear; @@ -90,7 +90,7 @@ function script GlobalQuestDebug { } while (1); } - function qDebugGeneral { + function qDebugGeneral { do { clear; diff --git a/npc/commands/debug-skill.txt b/npc/commands/debug-skill.txt index 187c4009..f4a55a50 100644 --- a/npc/commands/debug-skill.txt +++ b/npc/commands/debug-skill.txt @@ -1,8 +1,8 @@ function script GlobalSkillDebug { - function modifySkill { + function modifySkill { - function setSkill { + function setSkill { clear; mes l("Enter desired skill level:"); input .@y; diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt index b768542b..83387d26 100644 --- a/npc/commands/debug.txt +++ b/npc/commands/debug.txt @@ -1,6 +1,6 @@ function script GlobalDebugMenu { - function resetAll { - function doReset { + function resetAll { + function doReset { resetstatus; resetskill; resetlvl 1; @@ -35,7 +35,7 @@ function script GlobalDebugMenu { return; } - function changeLevel { + function changeLevel { clear; setnpcdialogtitle l("Debug - Change level"); mes l("To change your base level, use this command:"); @@ -60,7 +60,7 @@ function script GlobalDebugMenu { next; return; } - function changeStats { + function changeStats { clear; setnpcdialogtitle l("Debug - Change stats"); mes l("To change your stats, use these commands:"); diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt index 98a63e87..0e2f5134 100644 --- a/npc/commands/motd.txt +++ b/npc/commands/motd.txt @@ -25,12 +25,12 @@ function script displayMOTD { function script MOTDConfig { - function toggleMOTD { + function toggleMOTD { $MOTD_Disabled = !($MOTD_Disabled); // FIXME: log to GM log } - function addNewLine { + function addNewLine { clear; mes l("Please enter the new line."); input .@s$; @@ -44,9 +44,9 @@ function script MOTDConfig { } } - function modifyLine { + function modifyLine { - function removeLine { + function removeLine { .@l = getarg(0); deletearray $MOTD_Messages$[.@l], 1; // remove and shift mes l("Line @@ has been removed.", .@l); @@ -54,21 +54,21 @@ function script MOTDConfig { // FIXME: log to GM log } - function moveUp { + function moveUp { .@l = getarg(0); .@top$ = $MOTD_Messages$[.@l - 1]; $MOTD_Messages$[.@l - 1] = $MOTD_Messages$[.@l]; $MOTD_Messages$[.@l] = .@top$; } - function moveDown { + function moveDown { .@l = getarg(0); .@bottom$ = $MOTD_Messages$[.@l + 1]; $MOTD_Messages$[.@l + 1] = $MOTD_Messages$[.@l]; $MOTD_Messages$[.@l] = .@bottom$; } - function editLine { + function editLine { .@l = getarg(0); clear; mes l("Old line:"); diff --git a/npc/commands/scheduled-broadcasts.txt b/npc/commands/scheduled-broadcasts.txt index 51f1f6a6..370da41a 100644 --- a/npc/commands/scheduled-broadcasts.txt +++ b/npc/commands/scheduled-broadcasts.txt @@ -1,6 +1,6 @@ function script StoneBoard { - function setMessage { + function setMessage { do { clear; @@ -17,7 +17,7 @@ function script StoneBoard { } while (1); } - function setInterval { + function setInterval { clear; mes l("Please select the interval:"); next; @@ -33,7 +33,7 @@ function script StoneBoard { return @menuret; } - function setMaxRep { + function setMaxRep { if (getarg(0,0) == 0) { return 0; @@ -53,7 +53,7 @@ function script StoneBoard { return @menuret; } - function setOnLogin { + function setOnLogin { if (getarg(0,0) == 0) { return 1; @@ -68,7 +68,7 @@ function script StoneBoard { return (@menu - 1); } - function newBroadcast { + function newBroadcast { do { setnpcdialogtitle l("Scheduled broadcasts - Create new"); |