mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-10-11 22:29:54 +00:00
Add New Quest State for Mushroom Quest (#8475)
This commit is contained in:
+2
-1
@@ -367,8 +367,9 @@ void TalkToWitch(Player &player, Towner & /*witch*/)
|
||||
}
|
||||
}
|
||||
if (Quests[Q_MUSHROOM]._qvar1 >= QS_MUSHGIVEN) {
|
||||
if (HasInventoryItemWithId(player, IDI_BRAIN)) {
|
||||
if (HasInventoryItemWithId(player, IDI_BRAIN) && Quests[Q_MUSHROOM]._qvar2 != TEXT_MUSH11) {
|
||||
Quests[Q_MUSHROOM]._qmsg = TEXT_MUSH11;
|
||||
Quests[Q_MUSHROOM]._qvar2 = TEXT_MUSH11;
|
||||
NetSendCmdQuest(true, Quests[Q_MUSHROOM]);
|
||||
InitQTextMsg(TEXT_MUSH11);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user