Forced to marry Fruella?

Discussion in 'The Temple of Elemental Evil' started by Hal900x, Apr 1, 2011.

Remove all ads!
  1. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    We could probably make it so that none of them will marry you if you're already married. Thing is, who's to say that different party members aren't married to different NPCs? I don't know that there's a way to keep track of who's married to whom, aside from the party leader.
     
  2. cezmail

    cezmail Gorboth's Rider

    Joined:
    Dec 28, 2007
    Messages:
    1,029
    Likes Received:
    0
    Well as a twisted maverick I saw leave things as they are. If a character wants to have a harem, why not allow it. :)
     
  3. J'allan UlDragos

    J'allan UlDragos Dragon Warrior

    Joined:
    Feb 13, 2009
    Messages:
    285
    Likes Received:
    2
    Maybe you could tie the script to a ring item exchanged between both characters? If the character has the item, they can't marry someone else... make it one of those hard coded items like a familiar which can't be dropped, or sold.

    Just an idea ...
     
  4. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    IIRC, the leadet_get() function actually returns the PC who recruited the NPC. If so, it may be possible to check prior marriage :)

    Edit: whipped something up.
    Code:
    
    def is_married( obj , who_is_spouse__option = -1):
    	# DESCRIPTION:
    	#   This function determines whether obj is married to a party NPC.
    	#	Optionally, it also returns the spouse's name ID. (If there is more than 1 spouse, it returns 999)
    	# Inputs:
    	#     obj - should be a PC's object handle
    	#     who_is_spouse__option - by default is -1
    	#          if you wish to return the name ID of the spouse (instead of 0 or 1), change this variable to something else
    	#          e.g. if obj is married to Fruella, it will return her name ID - 8067
    	#          if obj is married to more than one person, it will return 999 :)
    	# Example usage in dialogue:
    	#      {11}{Sorry ma'am, I'm already married.}{}{1}{is_married(pc, 1) != 0 and is_married(pc, 1) != 8067 and is_married(pc, 1) != 999}{20}{}
    	#      {12}{I would never betray my beloved Fruella!}{}{1}{is_married(pc, 1) == 8067}{40}{}
    	#	   {13}{I'm gonna fuck all y'all! Yeehaw!}{}{1}{is_married(pc, 1) == 999}{60}{}
    	marriage_array = []
    	for npc in game.party:
    		if npc.leader_get() == obj and npc.name in [8015, 8020, 8057, 8067]:
    			# 8015 - Meleny
    			# 8020 - Bertram
    			# 8057 - Bertram (straight version)
    			# 8067 - Fruella
    			marriage_array+= [npc.name,]
    
    	if len(marriage_array) == 0:
    		return 0
    	elif who_is_spouse__option == -1:
    		return 1
    	elif len(marriage_array) == 1:
    		return marriage_array[0]
    	else:
    		return 999
    	return 0
    
    Note that it can't detect marriage to a non-party NPC (e.g. if you let Meleny stay at home, or Lazslo).
     
    Last edited: Apr 7, 2011
  5. Rocktoy

    Rocktoy Established Member

    Joined:
    Oct 16, 2010
    Messages:
    355
    Likes Received:
    0
    No objections there with the first. But with the second I just don't think it is plausible that the NPCs would agree with the sharing, beeing so different in kind. ;)
     
  6. cezmail

    cezmail Gorboth's Rider

    Joined:
    Dec 28, 2007
    Messages:
    1,029
    Likes Received:
    0
    As they are your love slaves, they should not complain at all. :D
     
  7. Rocktoy

    Rocktoy Established Member

    Joined:
    Oct 16, 2010
    Messages:
    355
    Likes Received:
    0
    Something tells me that Fruella would not just look kindly and say "whatever you want, love" when you introduce Meleny as your second wife or Bertram as your third... :poke: "love slave"; you must have been listening too much Manowar... :evilgrin:
     
  8. cezmail

    cezmail Gorboth's Rider

    Joined:
    Dec 28, 2007
    Messages:
    1,029
    Likes Received:
    0
    Ok , so you MIGHT have to use a "Dominate" or "Charm" to win her over first. Or better yet, just "Silence" her and all should be nice and quiet on the home front :)
     
  9. justl

    justl Member

    Joined:
    Feb 25, 2022
    Messages:
    17
    Likes Received:
    0
    Hi,

    short solution for the ones who want to get the xp but not the Fruella:

    search for 00069spinster.dlg in the game directory \ToEE\data\dlg folder:

    1. first make a copy of the file, just in case
    2. open it with notepad++

    3. change all pc.follower_atmax()}{150} to pc.follower_atmax()}{100}
    and all {pc.follower_add( npc ); game.quests[12].state = qs_completed} to {game.quests[12].state = qs_completed}

    this way you can end the quest and also do the others (carpenter and cupid) too

    justl
     
  10. hammyh

    hammyh Established Member

    Joined:
    Apr 24, 2013
    Messages:
    331
    Likes Received:
    65
    You could simply use the console to give your party xp and avoid messing with the scripts. Also, Iirc there is a mod or option that gives all the initial fedex xp, such that you don't have to bother with these quests and still get the benefits.

    Edit: It is a script that exists in temple+ and can be run from the console:

    Sitra:
     
    Last edited: Feb 27, 2022
Our Host!