Reply to Re: Mkbul's code error thread
If you don't have an account, just leave the password field blank.
Line 82, the choice is on the same line as the bracket:
After saying "you don't have enough money" it will take the gold and give him the sword anyway...
Lay it out roughly like this:
And by the way, I tried your other script with walking through the water... I just made a blank D-Mod, added the graphics from FIAT, made a river with two lines of benches at the edge (inner line with the water script and outer line just changing &splashing to 0) and it works fine! The only change I made was taking out the externals.
if (&junk < 1)
{ choice_start();After saying "you don't have enough money" it will take the gold and give him the sword anyway...
Lay it out roughly like this:
choice_start();
"longsword"
"clawsword"
"nothing"
if (&result == 1)
{
if (&junk < 1)
{
//say not enough space
goto skip;
}
if (&gold < 400)
{
//say not enough gold
goto skip;
}
//take gold and give dink the sword here
}
if (&result == 2)
{
//same as longsword
}
skip:
unfreeze(1);And by the way, I tried your other script with walking through the water... I just made a blank D-Mod, added the graphics from FIAT, made a river with two lines of benches at the edge (inner line with the water script and outer line just changing &splashing to 0) and it works fine! The only change I made was taking out the externals.







