//Kuldahar: Gives  Rod and/or Pulse Ammo (only if not previously gained)
//Add to Oswald's dialogues


EXTEND_BOTTOM ~11OSWALD~ 82 83

IF ~ !PartyHasItem("%bigmetalrod%")
     Global("d2HasBigMetalRod","GLOBAL",0)
   ~ REPLY @20801 GOTO OswaldGivesRod

IF ~ PartyHasItem("%bigmetalrod%")
     !PartyHasItem("%pulse%")
     !PartyHasItem("%prototype%")
     Global("d2HasPulseAmmo","GLOBAL",0)
   ~ REPLY @20802 GOTO OswaldGivesPulse

END


APPEND ~11OSWALD~

IF ~~ BEGIN OswaldGivesRod
  SAY @20811  // Oswald says stuff
    = @20812
  IF ~~ DO ~ SetGlobal("d2HasBigMetalRod","GLOBAL",1)
             GiveItemCreate("%bigmetalrod%",LastTalkedToBy,0,0,0) 
           ~ EXIT
END

IF ~~ BEGIN OswaldGivesPulse
  SAY @20813  // Oswald says stuff
    = @20814
  IF ~~ DO ~ SetGlobal("d2HasPulseAmmo","GLOBAL",1)
             GiveItemCreate("%pulse%",LastTalkedToBy,0,0,0) 
           ~ JOURNAL @20002 EXIT
END

END