mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-24 04:21:44 +01:00
Undo apparent accidental @-color replaces in upstream TBA files. (#62)
I am guessing some script or tool used upstream is doing an unsafe search-and-replace for '@' with TAB, and accidentally changing these. They seem to have been creeping into the repo for years. I produced this fix commit automatically with: sed -i 's|\t\([bcdgmnoruwyBCDGMRWY]\)|@\1|g' tba/*/*.* ...and then a few files' changes had to be undone. I looked through all of the rest, and they look like correct fixes. I also ran all the other letters, and they only make incorrect "fixes".
This commit is contained in:
@@ -1323,7 +1323,7 @@ if %cmd.mudcommand% == examine
|
||||
set txt[21] RAPIO
|
||||
set word %%txt[%max%]%%
|
||||
eval word %word%
|
||||
%send% %actor% Your eyes scan the glowing walls and alight upon the word C%word% n.
|
||||
%send% %actor% Your eyes scan the glowing walls and alight upon the word @C%word%@n.
|
||||
if !%actor.varexists(zn118_blinddone)%
|
||||
set zn118_blindquest %word%
|
||||
remote zn118_blindquest %actor.id%
|
||||
@@ -1648,21 +1648,21 @@ end
|
||||
mob does not load if already present~
|
||||
0 k 100
|
||||
~
|
||||
c* This sets the vnum of the mob you are checking for, and loading/not loading n
|
||||
@c* This sets the vnum of the mob you are checking for, and loading/not loading@n
|
||||
set mobvnum 42500
|
||||
c* This tells the trigger to keep checking for people until there are none. n
|
||||
@c* This tells the trigger to keep checking for people until there are none.@n
|
||||
set here %self.room.people%
|
||||
while %here%
|
||||
set others %here.next_in_room%
|
||||
c* If the mob is in the room, the isthere variable is set. n
|
||||
@c* If the mob is in the room, the isthere variable is set.@n
|
||||
if %here.vnum% == %mobvnum%
|
||||
set mobid %here%
|
||||
set isthere 1
|
||||
end
|
||||
set here %others%
|
||||
done
|
||||
c* If the mob is not in the room (variable is not set) n
|
||||
c* The mob will load. n
|
||||
@c* If the mob is not in the room (variable is not set)@n
|
||||
@c* The mob will load.@n
|
||||
if !%isthere%
|
||||
%load% mob %mobvnum%
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user