TBA data file whitespace cleanups. (#66)

This just converts the few DOS text files still in here to standard text files (line-endings),
removes all the trailing spaces on lines, removes all the trailing blank lines, and replaces
all the tabs (except in .zon files, where they seem to be common) with expanded spaces.

It's easy to confirm this is actually a non-change, except for whitespace:
* `git show -w` shows this commit as only removing 8 trailing blank lines.

This should make no difference to tbaMUD itself, but it will make working on these files,
especially with scripts and automated tools, much easier.

This is the base change for a set of other changes I will put up once/if this merges,
without this, the others are just too complicated to wrangle.
This commit is contained in:
Steaphan Greene
2019-11-18 09:53:47 -08:00
committed by wyld-sw
parent 9856fca4e3
commit c59c321d5d
874 changed files with 33218 additions and 33226 deletions

View File

@@ -131,7 +131,7 @@ if %cmd.mudcommand% == close && eye /= %arg% && %arg%
%echoaround% %actor% %actor.name% suddenly appears in a haze of mist.
%send% %actor% You close the eye.
wait 1 s
%send% %actor% A hazy mist swirls up and around you, blurring your vision for a second before clearing away.
%send% %actor% A hazy mist swirls up and around you, blurring your vision for a second before clearing away.
wait 1 s
%force% %actor% look
%purge% %self%
@@ -205,12 +205,12 @@ if %object.vnum% == 11807
eval num %num% + 1
if %actor.varexists(zn118_birddone)%
eval num %num% + 1
if %actor.varexists(zn118_ridleydone)%
if %actor.varexists(zn118_ridleydone)%
eval num %num% + 1
if %actor.varexists(zn118_knifedone)%
eval num %num% + 1
if %actor.varexists(zn118_tunneldone)%
eval num %num% + 1
eval num %num% + 1
if %actor.varexists(zn118_ruthdone)%
eval num %num% + 1
if %actor.varexists(zn118_thindone)%
@@ -1137,7 +1137,7 @@ if %arg.mudcommand% == north || %arg.mudcommand% == east || %arg.mudcommand% ==
%force% %actor% take arrow quiver
end
*
* Checks for the first item in inventory that is one of the
* Checks for the first item in inventory that is one of the
* specified arrows and sets its vnum as the one to be used.
*
eval inv %actor.inventory%
@@ -1183,9 +1183,9 @@ if %arg.mudcommand% == north || %arg.mudcommand% == east || %arg.mudcommand% ==
*
set dice %random.3%
eval finaldam ((%dice% * %dam%) + %bonus%)
%echo% Hits for total of %finaldam%.
%echo% Hits for total of %finaldam%.
*
* If the actor has an arrow in inventory, and there are
* If the actor has an arrow in inventory, and there are
* people in the room specified, one of three random things
* happens - Actor shoots but misses, Actor shoots and damages,
* Actor shoots, damages, but loses the arrow.
@@ -1529,21 +1529,21 @@ if %speech% == start
eval z %1%
eval 1 %3%
eval 3 %z%
break
case 2
emote swaps the third cup with the second cup.
eval z %2%
eval 2 %3%
eval 3 %z%
break
case 3
emote switches the second cup with the first cup.
eval z %2%
eval 2 %1%
eval 1 %z%
break
case 4
emote slides the first cup to third place.
@@ -1551,21 +1551,21 @@ if %speech% == start
eval 1 %2%
eval 2 %3%
eval 3 %z%
break
case 5
emote moves the second cup to the third position.
eval z %2%
eval 2 %3%
eval 3 %z%
break
case 6
emote moves the second cup into first place.
eval z %2%
eval 2 %1%
eval 1 %z%
break
case 7
emote moves the third cup into the first position.
@@ -1573,11 +1573,11 @@ if %speech% == start
eval 3 %2%
eval 2 %1%
eval 1 %z%
break
default
%echo% Something is broken, please report.
break
done
eval tries %tries% - 1
@@ -1743,7 +1743,7 @@ if %cmd.mudcommand% == look || %cmd.mudcommand% == examine
set align with a dark tinge of evil
else
set align with a purity of goodness
end
end
if %actor.class% == Cleric
set class healer
elseif %actor.class% == Warrior
@@ -2027,7 +2027,7 @@ elseif %object.vnum% == 11807
wait 2 s
nop %actor.exp(10000)%
give journal %actor.name%
drop journal
drop journal
rdelete zn118_ruthwrite %actor.id%
set zn118_ruthdone 1
remote zn118_ruthdone %actor.id%
@@ -2598,7 +2598,7 @@ elseif %object.vnum% == 11807
wait 2 s
nop %actor.exp(10000)%
give journal %actor.name%
drop journal
drop journal
rdelete zn118_scarredwrite %actor.id%
set zn118_scarreddone 1
remote zn118_scarreddone %actor.id%
@@ -2675,7 +2675,7 @@ if %self.name% /= %arg%
else
%send% %actor% . - - - - - - - - - - - - - - - - - - - - - - -
end
%send% %actor% .
%send% %actor% .
if %actor.varexists(zn118_ridleydone)% || %actor.varexists(zn118_gravedone)% || %actor.varexists(zn118_gravequest)%
%send% %actor% . Riddles to speak what couldn't be said
%send% %actor% . uncover the truth within
@@ -2688,7 +2688,7 @@ if %self.name% /= %arg%
else
%send% %actor% . - - - - - - - - - - - - - - - - - - - - - - -
end
%send% %actor% .
%send% %actor% .
if %actor.varexists(zn118_tunneldone)% || %actor.varexists(zn118_gravedone)% || %actor.varexists(zn118_gravequest)%
%send% %actor% . The mind offers the chance for desperate escapes,
%send% %actor% . any place other than here.
@@ -2701,59 +2701,59 @@ if %self.name% /= %arg%
else
%send% %actor% . - - - - - - - - - - - - - - - - - - - - - - -
end
%send% %actor% .
%send% %actor% .
if %actor.varexists(zn118_thindone)% || %actor.varexists(zn118_gravedone)% || %actor.varexists(zn118_gravequest)%
%send% %actor% . Surrender means giving up all that you are,
%send% %actor% . forfeit if you cannot pay.
else
%send% %actor% . - - - - - - - - - - - - - - - - - - - - - - -
end
end
if %actor.varexists(zn118_mutedone)% || %actor.varexists(zn118_gravedone)% || %actor.varexists(zn118_gravequest)%
%send% %actor% . Silence is screaming its rage to the void,
%send% %actor% . run inside if you can't run away.
else
%send% %actor% . - - - - - - - - - - - - - - - - - - - - - - -
end
%send% %actor% .
%send% %actor% .
if %actor.varexists(zn118_runningdone)% || %actor.varexists(zn118_gravedone)% || %actor.varexists(zn118_gravequest)%
%send% %actor% . I showed you with actions,
%send% %actor% . and with words between words.
else
%send% %actor% . - - - - - - - - - - - - - - - - - - - - - - -
end
end
if %actor.varexists(zn118_angrydone)% || %actor.varexists(zn118_gravedone)% || %actor.varexists(zn118_gravequest)%
%send% %actor% . I lashed out and fought you,
%send% %actor% . as a creature that hurts.
else
%send% %actor% . - - - - - - - - - - - - - - - - - - - - - - -
end
%send% %actor% .
%send% %actor% .
if %actor.varexists(zn118_blinddone)% || %actor.varexists(zn118_gravedone)% || %actor.varexists(zn118_gravequest)%
%send% %actor% . How to show you a monster where you saw a man?
%send% %actor% . Tell you I hated the one that you loved?
else
%send% %actor% . - - - - - - - - - - - - - - - - - - - - - - -
end
end
if %actor.varexists(zn118_weepingdone)% || %actor.varexists(zn118_gravedone)% || %actor.varexists(zn118_gravequest)%
%send% %actor% . How to deny whose eyes I see in the mirror?
%send% %actor% . Disown what I'm bound to with blood.
else
%send% %actor% . - - - - - - - - - - - - - - - - - - - - - - -
end
%send% %actor% .
%send% %actor% .
if %actor.varexists(zn118_scarreddone)% || %actor.varexists(zn118_gravedone)% || %actor.varexists(zn118_gravequest)%
%send% %actor% . Ah time, the great healer, will pale the scars,
%send% %actor% . my book sealed and returned to its shelf.
else
%send% %actor% . - - - - - - - - - - - - - - - - - - - - - - -
end
end
if %actor.varexists(zn118_gravedone)%
%send% %actor% . The ghosts shall be buried, I choose to forget,
%send% %actor% . and learn to forgive myself.
else
%send% %actor% . - - - - - - - - - - - - - - - - - - - - - - -
end
%send% %actor% .
%send% %actor% .
else
return 0
end