mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-08 02:18: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.
41 lines
794 B
Text
41 lines
794 B
Text
#4501
|
|
player entering room -> tell story~
|
|
0 g 100
|
|
~
|
|
if %actor.is_pc%
|
|
wait 1
|
|
say Can you help us, %actor.name%?
|
|
wait 1
|
|
say An evil ogre holds us all hostage and blocks the road to help.
|
|
say If you slay it I'll give you all the coins we can spare.
|
|
wait 1 s
|
|
say Bring me the ears as proof.
|
|
end
|
|
~
|
|
#4502
|
|
player kills ogre -> load ears~
|
|
0 f 100
|
|
~
|
|
* load the ears
|
|
%load% obj 4512
|
|
~
|
|
#4503
|
|
player gives ears -> reward player~
|
|
0 j 100
|
|
~
|
|
* check if this was indeed the ears
|
|
if %object.vnum%==4512
|
|
wait 1
|
|
say Thank you, %actor.name%
|
|
%send% %actor% %self.name% gives you 30 gold pieces.
|
|
%echoaround% %actor% %actor.name% is rewarded for his valor.
|
|
nop %actor.gold(30)%
|
|
wait 5
|
|
junk ears
|
|
else
|
|
* this wasn't the ears - don't accept it
|
|
say I don't want that - bring me the ears!
|
|
return 0
|
|
end
|
|
~
|
|
$~
|