I have a question. I know Vikings of Midgard is supposed to be the
"Tutorial" game for U*, but I was talking to TMC, and he mentioned
something rather important: The plotscripts in that game are horrible.
They work, but they look horrible, and teach nothing but bad habits.
Things like this snippet:
script,die in battle,begin
variable(i)
if(check tag(tag:DO NOT DIE)==OFF)
then,begin
(show textbox (596),wait for key (anykey),fade screen out
(0,0,0),game over,end)
else,begin
for(i,0,3) do,begin
if (get hero stat(i,stat:HP,current stat) <= 0)
then (set hero stat(i,stat:HP,1))
end
end
end
Although it works, there are some serious issues. Note that the "then,
begin" of the if is on a new line, and the actual content of the block
is on a third line, and is surrounded by parenthesis. Also note that
at the end of the if block is an additional "end", which was likely
added to compensate for the error that popped up when the extra
"begin" was added.
If anyone is expected to learn tricks from them, and especially if its
going to be included in the official distribution, these scripts
really need to be cleaned up, reformatted, indented, and deWTFed.
--
Mike Caron
Tale of the Cave
http://taleofthecave.com
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org