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

@@ -8,7 +8,7 @@ Running the Elevator~
* apartment really needed an elevator.
* Thanks to Axanon for letting me look at his really nice elevator triggers.
* Be prepared for errors, use at your own risk.
* Any errors are mine, any people named in this trigger are blameless!
* Any errors are mine, any people named in this trigger are blameless!
*
* Parnassus' Special Anti-Freeze Formula
if %cmd.mudcommand% == nohassle
@@ -25,7 +25,7 @@ end
* commented line using CURFL instead of the one using ORDINAL .
* add additional floors along with %zone% and room number of the linking room.
* (Also add mention of button and display in the linking room. Set up door to the
* elevator, flagged as 2 - Pickproof door.)
* elevator, flagged as 2 - Pickproof door.)
set zone 653
set maxfl 4
set totfl 5
@@ -53,7 +53,7 @@ elseif %eleroom% == %Floor3%
set Curex %Floor3%
elseif %eleroom% == %Floor4%
set CurFl 4
set Curex %Floor4%
set Curex %Floor4%
elseif %eleroom% == %Floor0%
set CurFl 0
set Curex %Floor0%
@@ -66,7 +66,7 @@ if %cmd% == push
else
** Thanks to Kyle for figuring out how to make this part work.
eval text %%self.%elevdoor%(bits)%%
if %text.contains(LOCKED)% && !%text.contains(PICKPROOF)%
if %text.contains(LOCKED)% && !%text.contains(PICKPROOF)%
%send% %actor% The elevator is already in motion. Please be patient.
halt
end
@@ -97,7 +97,7 @@ if %cmd% == push
if !%text.contains(CLOSED)%
%send% %actor% The elevator is already here.
halt
elseif %text.contains(LOCKED)% && !%text.contains(PICKPROOF)%
elseif %text.contains(LOCKED)% && !%text.contains(PICKPROOF)%
%send% %actor% The elevator is already in use. Please wait and try again.
halt
end
@@ -131,7 +131,7 @@ if %cmd% == push
elseif %targfl% < %Curfl%
set dir down
eval length %Curfl% - %targfl%
else
else
set dir nowhere
set length 0
end
@@ -169,9 +169,9 @@ if %cmd% == push
set ordinal 2nd
elseif %Curfl% == 3
set ordinal 3rd
elseif %Curfl% > 3
elseif %Curfl% > 3
set ordinal %Curfl%th
end
end
wait 15
%at% %Elevat% %echo% @g *DING!*@n
%at% %Elevat% %echo% You have reached the %ordinal% floor.
@@ -226,7 +226,7 @@ elseif %cmd.mudcommand% == look
else
eval text %%self.%elevdoor%(bits)%%
end
if %text.contains(LOCKED)% && !%text.contains(PICKPROOF)%
if %text.contains(LOCKED)% && !%text.contains(PICKPROOF)%
%send% %actor% Numbers flash across the display. The elevator is on the move.
halt
end