mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-06 17:38:49 +01:00
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.
50 lines
1.3 KiB
Text
50 lines
1.3 KiB
Text
#24700
|
|
Demilich - 24712~
|
|
0 k 5
|
|
~
|
|
if %actor.is_pc%
|
|
if %actor.level% > %self.level%
|
|
%send% %actor% %self.name% tried to capture your soul.
|
|
%echoaround% %actor% %self.name% gives %actor.name% an icy cold stare.
|
|
else
|
|
%send% %actor% %self.name% sucks you into one of his gems.
|
|
%echoaround% %actor% %actor.name% disappears into one of %self.name%'s eyes.
|
|
%send% %actor% Your soul is trapped within the demilich.
|
|
%send% %actor% Slowly you feel your life-force drain away...
|
|
%teleport% %actor% 0
|
|
* once we can modify hit/mana/move this should be set to 1/0/0
|
|
end
|
|
end
|
|
~
|
|
#24701
|
|
Ghoul Bite - 24705~
|
|
0 k 5
|
|
~
|
|
if %actor.is_pc%
|
|
%send% %actor% %self.name% bites you.
|
|
%echoaround% %actor% %self.name% bites %actor.name%.
|
|
dg_cast 'poison' %actor%
|
|
end
|
|
~
|
|
#24702
|
|
Priest Align - 24703~
|
|
0 b 100
|
|
~
|
|
set actor %random.char%
|
|
if %actor.is_pc%
|
|
if %actor.fighting%
|
|
say You are commiting blasphemy!
|
|
if %actor.align% > 300
|
|
say You, %actor.name%, follow the True Path and are blessed.
|
|
dg_cast 'bless' %actor%
|
|
elseif %actor.align% > -300
|
|
say it is not too late for you to mend your ways.
|
|
else
|
|
emote grins and says, 'You, %actor.name%, are truly wretched.'
|
|
say Blasphemy! %actor.name%, your presence will stain this temple no more!
|
|
kill %actor.name%
|
|
end
|
|
end
|
|
end
|
|
~
|
|
$~
|