// creator  : weidu.exe (version 23600)
// argument : FAMIL3.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~FAMIL3~

IF ~  !InPartySlot(LastTalkedToBy,0)
~ THEN BEGIN 0 // from:
  SAY #31575 /* ~The small creature looks at you with suspicion, and after a moment's inspection, it turns and gives you full view of its rear while it strolls to <CHARNAME>.~ */
  IF ~~ THEN DO ~MoveToObject(Player1)
~ EXIT
END

IF ~  InPartySlot(LastTalkedToBy,0)
~ THEN BEGIN 1 // from:
  SAY #31576 /* ~The familiar sighs, its nose twitching slightly with curiosity as it looks up with dark eyes. "What is it now, <PRO_MANWOMAN>? I am hungry. I wish to be petted and fed."~ */
  IF ~  !InventoryFull(Player1)
Alignment(Player1,MASK_LAWFUL)
~ THEN REPLY #31578 /* ~Come here. I want to pick you up and put you in my pack where it's a bit safer.~ */ GOTO 2
  IF ~~ THEN REPLY #31579 /* ~*pet the familiar*~ */ GOTO 3
  IF ~~ THEN REPLY #31580 /* ~How are you? Everything okay down there?~ */ GOTO 4
  IF ~  !InventoryFull(Player1)
Alignment(Player1,MASK_LCNEUTRAL)
~ THEN REPLY #31578 /* ~Come here. I want to pick you up and put you in my pack where it's a bit safer.~ */ GOTO 12
  IF ~  !InventoryFull(Player1)
Alignment(Player1,MASK_CHAOTIC)
~ THEN REPLY #31578 /* ~Come here. I want to pick you up and put you in my pack where it's a bit safer.~ */ GOTO 13
  IF ~~ THEN REPLY #31581 /* ~Give me anything you have pickpocketed, will you?~ */ GOTO 14
  IF ~~ THEN REPLY #31582 /* ~Perhaps later. Let's just keep going.~ */ GOTO 11
END

IF ~~ THEN BEGIN 2 // from: 3.0 1.0
  SAY #31583 /* ~The familiar eyes your pack, and then reluctantly crawls inside. "Very well. It is better that you carry me. Do not bump me around so much this time."~ */
  IF ~~ THEN DO ~GivePartyAllEquipment()
GiveItemCreate("FAMFER",Player1,0,0,0)
DestroySelf()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 1.1
  SAY #31584 /* ~"Aahhhh..." The familiar half-closes its eyes with contentment, a pleased smile creeping across its face. "Yes, this is good. Food would also be nice."~ */
  IF ~  !InventoryFull(Player1)
Alignment(Player1,MASK_LAWFUL)
~ THEN REPLY #31578 /* ~Come here. I want to pick you up and put you in my pack where it's a bit safer.~ */ GOTO 2
  IF ~~ THEN REPLY #31580 /* ~How are you? Everything okay down there?~ */ GOTO 4
  IF ~  !InventoryFull(Player1)
Alignment(Player1,MASK_LCNEUTRAL)
~ THEN REPLY #31578 /* ~Come here. I want to pick you up and put you in my pack where it's a bit safer.~ */ GOTO 12
  IF ~  !InventoryFull(Player1)
Alignment(Player1,MASK_CHAOTIC)
~ THEN REPLY #31578 /* ~Come here. I want to pick you up and put you in my pack where it's a bit safer.~ */ GOTO 13
  IF ~~ THEN REPLY #31581 /* ~Give me anything you have pickpocketed, will you?~ */ GOTO 18
  IF ~~ THEN REPLY #31585 /* ~Let's just keep going, then.~ */ GOTO 11
END

IF ~~ THEN BEGIN 4 // from: 3.1 1.2
  SAY #31586 /* ~It looks up with dark eyes, seemingly content to just be near you. It sighs and looks away briefly. "We are connected, you and I. If you are well, so am I."~ */
  IF ~  HPPercentLT(Myself,65)
!HPPercentLT(Myself,35)
~ THEN GOTO 5
  IF ~  HPPercentLT(Myself,35)
~ THEN GOTO 6
  IF ~  !HPPercentLT(Myself,65)
RandomNum(4,1)
~ THEN GOTO 7
  IF ~  !HPPercentLT(Myself,65)
RandomNum(4,2)
~ THEN GOTO 8
  IF ~  !HPPercentLT(Myself,65)
RandomNum(4,3)
~ THEN GOTO 9
  IF ~  !HPPercentLT(Myself,65)
RandomNum(4,4)
~ THEN GOTO 10
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #31587 /* ~"But I myself have a few insignificant injuries. I am strengthened because you are stronger than I. If you could treat my wounds, it would please me."~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from: 4.1
  SAY #31588 /* ~"But I myself am hurt very badly. I bleed, <PRO_MANWOMAN>. I may survive, or I may not... we shall see."~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 4.2
  SAY #31589 /* ~"But since you ask, I am possessed of a craving for food. Procure some for me and I shall allow you to pet me for a while longer."~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from: 4.3
  SAY #31590 /* ~"But I think you are a good enough traveling companion. I am pleased with the progress we make. Perhaps I shall remain with you for some time to come, we shall see."~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9 // from: 4.4
  SAY #31591 /* ~The small animal seems to ponder saying something else, but eventually its attention drifts and it finds something more interesting than you elsewhere. Walking away, it presents its tail and bum to you.~ */
  IF ~~ THEN DO ~RunAwayFromNoLeaveArea(LastTalkedToBy,10)
~ EXIT
END

IF ~~ THEN BEGIN 10 // from: 4.5
  SAY #31592 /* ~"But all is well enough, <PRO_MANWOMAN>. Why? Are you not well? You will not sicken and die on me, <PRO_MANWOMAN>, would you? If you did it would sadden me, for a while."~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 11 // from: 3.5 1.6
  SAY #31593 /* ~The familiar sighs and turns its eyes disinterestedly to the path before you. "I would prefer to choose our path myself, but you'll no doubt want to be stubborn."~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 12 // from: 3.2 1.3
  SAY #31594 /* ~The familiar eyes your pack for a moment, and then reluctantly crawls inside. "Very well. It is better that you carry me. Do not bump me around so much, this time, however."~ */
  IF ~~ THEN DO ~GivePartyAllEquipment()
GiveItemCreate("FAMRAB",Player1,0,0,0)
DestroySelf()
~ EXIT
END

IF ~~ THEN BEGIN 13 // from: 3.3 1.4
  SAY #31595 /* ~The familiar eyes your pack for a moment, and then reluctantly crawls inside. "Very well. It is better that you carry me. Do not bump me around so much, this time, however."~ */
  IF ~~ THEN DO ~GivePartyAllEquipment()
GiveItemCreate("FAMCAT",Player1,0,0,0)
DestroySelf()
~ EXIT
END

IF ~~ THEN BEGIN 14 // from: 1.5
  SAY #31596 /* ~The familiar eyes you suspiciously. "But when I take things they belong to me."~ */
  IF ~~ THEN REPLY #31597 /* ~Never mind that. Hand it over.~ */ GOTO 15
  IF ~~ THEN REPLY #31598 /* ~Pretty please? I'll feed you and pet you...~ */ GOTO 16
  IF ~~ THEN REPLY #31599 /* ~Oh, never mind, then.~ */ GOTO 17
END

IF ~~ THEN BEGIN 15 // from: 14.0
  SAY #31600 /* ~The small animal rolls its eyes and sighs petulantly. "Fine. But you are very cruel to me, you know."~ */
  IF ~~ THEN DO ~GivePartyAllEquipment()
~ EXIT
END

IF ~~ THEN BEGIN 16 // from: 14.1
  SAY #31601 /* ~The small animal twitches its tail, pondering. "Well... perhaps. But I would not put it past you not to keep your word." *sigh* "Oh, very well. It amuses me when you beg."~ */
  IF ~~ THEN DO ~GivePartyAllEquipment()
~ EXIT
END

IF ~~ THEN BEGIN 17 // from: 14.2
  SAY #31602 /* ~"As it should be. I earned it, after all."~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 18 // from: 3.4
  SAY #31603 /* ~*sigh* "Very well. Although next time don't expect such cooperation just from a few seconds of petting."~ */
  IF ~~ THEN DO ~GivePartyAllEquipment()
~ EXIT
END
