cutter wrote:
Second, find every blocker in the game (well, that's rather simple question of recursive grep).
Third, write the new messages.
Simple as that, doesn't require any real coding skill as what you essentially are doing is just a simple "replace this with that" operation.
hrrm... if you can find it easily with a recursive grep you can easily write a script which does the following:
1. Identify the blocker line.
2. Add the line "As you try to sneak by, the guard farts in your general direction and you die" (with various sneak detecting params or whatever)
Now, this has the problem of ALL blockers giving the same message. I suggest 2 solutions to this problem:
1. Replace it with a random line from a collection of ubiquitous gotcha! lines.
2. Perhaps you could get the blocking line from step 1 and add an "as you try to sneak by" prefix to it.
Cheers,
Odo
Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.