if ( ch->levelflux < 6 )
{
if (quest_table[i].vnum == 2 )
{
ch->pcdata->questpoints -= quest_table[i].cost;
ch->levelflux++;
printf_to_char( ch, "Your level flux has been raised to %d!\n\r", ch->levelflux );
return;
}
return; // <- THIS IS WRONG! Delete.
}
Okay, so Thud! is based on ShadowStorm… and I'm having a problem. I created the quest items. Since the quest code sets all the stats, I just made blank items with name, long and short desc, with the extra flag 'quest' since 'quest buy' checks for that, but for some reason when you 'quest buy <item>', nothing happens. At all. It's like you entered a blank line. I've double and triple checked the hard-coded vnums, and figured "okay.. maybe the questmaster mobile just needs to be in the same area file as the quest items.", so I created a new quest hall room, linked it to the east of hassan, but I created the room in my questitem area, and created a questmaster mobile in that area, and added it to the room's resets.
Still.. nada. Same problem. There's nothing in the logs, and the buy command looks just fine.
Below is the part of 'quest buy' that deals with items. I've even tried disabling the extra flag 'quest' because it looks like the part of 'quest buy' that deals with items in the table tries to set the flag itself, and still nothing.
Any ideas?