Jump to content

[Papyrus] How can I check if the PC is a thane and/or homeowner?


Recommended Posts

Posted

So I am Thane of Whiterun and own Breezehome, but somehow no factions show up that determine this. (I finished the College Quest and have a College of WInterhold Faction Rank of 6 and a College Grandmaster Faction, but somehow nothing that seems to be related to Whiterun or the Whiterun Thane. 

Is there any way to check if the player is a thane in a certain hold? And or is owner of a home in certain hold? (other than checking for they key in inventory :P)

Thank you. 

 

 

Posted (edited)

Look at thish option in jail dialog topic. I think you need condition function for thane quest stage

 

 

777.png

 

This is CK condition function but for papyrus you need all Thane quests as parameters and then just check if quest stage you need is done.

Edited by TRX_Trixter
Posted

I haven't tested this, but if you look at the "FavorJarlsMakeFriendsScript"

Spoiler

;Thane's get out of jail conditions
; 0 = not a thane yet
; 1 = Thane, has not used his get out of jail card
; 2 = Thane, has used his get out of jail card
Int Property ReachImpGetOutofJail Auto Conditional
Int Property ReachSonsGetOutofJail Auto Conditional
Int Property RiftImpGetoutofJail Auto Conditional
Int Property RiftSonsGetOutofJail Auto Conditional
Int Property HaafingarImpGetOutofJail Auto Conditional
Int Property HaafingarSonsGetOutofJail Auto Conditional
Int Property WhiterunImpGetOutofJail Auto Conditional
Int Property WhiterunSonsGetOutofJail Auto Conditional
Int Property EastmarchImpGetOutofJail Auto Conditional
Int Property EastmarchSonsGetOutofJail Auto Conditional
Int Property HjaalmarchImpGetOutofJail Auto Conditional
Int Property HjaalmarchSonsGetOutofJail Auto Conditional
Int Property PaleImpGetOutofJail Auto Conditional
Int Property PaleSonsGetOutofJail Auto Conditional
Int Property WinterholdImpGetOutofJail Auto Conditional
Int Property WinterholdSonsGetOutofJail Auto Conditional
Int Property FalkreathImpGetOutofJail Auto Conditional
Int Property FalkreathSonsGetOutofJail Auto Conditional

You could check both imp & sons properties for a specific hold and if either is over 0 then the player is a thane.

Posted
8 minutes ago, TRX_Trixter said:

Look at thish option in jail dialog branch. I think you need condition function for thane quest stage

 

777.png

 

ah, makes sense to check quest stages, thx. 

 

3 minutes ago, Yinkle said:

I haven't tested this, but if you look at the "FavorJarlsMakeFriendsScript"

  Hide contents

;Thane's get out of jail conditions
; 0 = not a thane yet
; 1 = Thane, has not used his get out of jail card
; 2 = Thane, has used his get out of jail card
Int Property ReachImpGetOutofJail Auto Conditional
Int Property ReachSonsGetOutofJail Auto Conditional
Int Property RiftImpGetoutofJail Auto Conditional
Int Property RiftSonsGetOutofJail Auto Conditional
Int Property HaafingarImpGetOutofJail Auto Conditional
Int Property HaafingarSonsGetOutofJail Auto Conditional
Int Property WhiterunImpGetOutofJail Auto Conditional
Int Property WhiterunSonsGetOutofJail Auto Conditional
Int Property EastmarchImpGetOutofJail Auto Conditional
Int Property EastmarchSonsGetOutofJail Auto Conditional
Int Property HjaalmarchImpGetOutofJail Auto Conditional
Int Property HjaalmarchSonsGetOutofJail Auto Conditional
Int Property PaleImpGetOutofJail Auto Conditional
Int Property PaleSonsGetOutofJail Auto Conditional
Int Property WinterholdImpGetOutofJail Auto Conditional
Int Property WinterholdSonsGetOutofJail Auto Conditional
Int Property FalkreathImpGetOutofJail Auto Conditional
Int Property FalkreathSonsGetOutofJail Auto Conditional

You could check both imp & sons properties for a specific hold and if either is over 0 then the player is a thane.

 

oh, nice, even smoother than quest stages or at least faster to write with all the holds in mind. 
thank you. 

 

 

Posted
3 hours ago, Yinkle said:

I haven't tested this, but if you look at the "FavorJarlsMakeFriendsScript"

  Reveal hidden contents

;Thane's get out of jail conditions
; 0 = not a thane yet
; 1 = Thane, has not used his get out of jail card
; 2 = Thane, has used his get out of jail card
Int Property ReachImpGetOutofJail Auto Conditional
Int Property ReachSonsGetOutofJail Auto Conditional
Int Property RiftImpGetoutofJail Auto Conditional
Int Property RiftSonsGetOutofJail Auto Conditional
Int Property HaafingarImpGetOutofJail Auto Conditional
Int Property HaafingarSonsGetOutofJail Auto Conditional
Int Property WhiterunImpGetOutofJail Auto Conditional
Int Property WhiterunSonsGetOutofJail Auto Conditional
Int Property EastmarchImpGetOutofJail Auto Conditional
Int Property EastmarchSonsGetOutofJail Auto Conditional
Int Property HjaalmarchImpGetOutofJail Auto Conditional
Int Property HjaalmarchSonsGetOutofJail Auto Conditional
Int Property PaleImpGetOutofJail Auto Conditional
Int Property PaleSonsGetOutofJail Auto Conditional
Int Property WinterholdImpGetOutofJail Auto Conditional
Int Property WinterholdSonsGetOutofJail Auto Conditional
Int Property FalkreathImpGetOutofJail Auto Conditional
Int Property FalkreathSonsGetOutofJail Auto Conditional

You could check both imp & sons properties for a specific hold and if either is over 0 then the player is a thane.

 

I have tested this and it works as advertized.

 

Home ownership look at the quest HousePurchase.

Posted
7 hours ago, pfB6cs said:

 

I have tested this and it works as advertized.

 

Home ownership look at the quest HousePurchase.

 

great! thank you! 

Posted

@Nymra If you need to dynamically check for thaneship status based on the player's current location and given context of pre/post civil war, I did setup a quest-based tracker for Licenses. Feel free to open up my plugin and check it out. How it works is that I offload all Thane-related conditions into Quest Ref Alias fill conditions. That way, I can determine thaneship by the fill of a quest alias.

Posted
9 minutes ago, Nuascura said:

@Nymra If you need to dynamically check for thaneship status based on the player's current location and given context of pre/post civil war, I did setup a quest-based tracker for Licenses. Feel free to open up my plugin and check it out. How it works is that I offload all Thane-related conditions into Quest Ref Alias fill conditions. That way, I can determine thaneship by the fill of a quest alias.

 

thank you. sounds like an elegant solution. I ll check it out and see which variant works best for me. I only need a single check for that when entering a city. 

Posted

image.png.592d81ca6961740f0aef5fd9cc1b8639.png

 

Since you started this topic, I've been thinking of how to better optimize my quest conditions.

How about this? Rather than directly check against thaneship properties via the vanilla-used dialogue conditions, maybe an alternative and indirect method is to check that the relationship rank is >= 3.

 

Under quest alias tab:
Location Alias with LocTypeHold and IsInSameCurrentLocAsRef(Player, LocTypeHold)

Ref Alias with JobJarlFaction, Relationship Rank with player >= 3, in current Loc Alias, and editor loc in Loc Alias

 

We want to grab a Jarl in the same Hold as us but also to have been placed in said Hold from the CK editor. When the player is a thane, their relationship rank is set to 3 with the Hold's Jarl.

 

Posted
2 hours ago, Nuascura said:

relationship rank

 

That is not a good way because some mods change the relationship rank simply having sex. Then, the player can have relationship rank 5 without be thane.

Posted (edited)
1 hour ago, alex77r4 said:

some mods change the relationship rank

That is true. But I’d also say it depends on what exactly you’re using this Thaneship detection for and if you don’t need a “true” Thaneship detection.

 

Vanilla relationship ranks are supposed to be set via vanilla and logical events; it wouldn’t make sense to have rank 4 but then lowered to rank 3 just by getting Thaneship.

 

On the other hand, if you’re playing mostly modded events, getting relationship rank as Thaneship offers players an alternate way to access “Thaneship privileges” within your mod rather than through the vanilla FavorJarlsMakeFriends quests. Using relationship rank also separates "favor" from "thaneship", so you'd be able to revoke privileges that way.

 

So that’s why I’m actually testing using both methods for two different purposes within Licenses. It’s a lot more performant than running native checks for one Hold guard per quest alias. Having said that, I’m still looking for a better way to check Thaneship.

Edited by Nuascura
Posted (edited)
22 minutes ago, Nuascura said:

I’m still looking for a better way to check Thaneship.

 

The best way, of course, is check the quest stages.

Each hold have their own quest to be thane. The player must request that mission form the jarl and the final reward of the quest is be thane.

Then, the most secure, easy and simply way to know if the player is thane of the hold is check the stage of the corresponding quest.

 

Any other way is to complicate your life by taking turns that may not be exact, such as checking the relationship rank.

Edited by alex77r4
Posted (edited)
56 minutes ago, alex77r4 said:

The best way, of course, is check the quest stages.

Each hold have their own quest to be thane. The player must request that mission form the jarl and the final reward of the quest is be thane.

Then, the most secure, easy and simply way to know if the player is thane of the hold is check the stage of the corresponding quest.

 

Any other way is to complicate your life by taking turns that may not be exact, such as checking the relationship rank.

I was just going to leave the topic on relationship rank to you, but your reply if taken point-blank will mislead anyone who stumbles here looking for help checking for thaneship.

 

There are two complications to checking via quest stages:

Firstly, Whiterun thaneship is collected two ways: mid-war, via Dragon Rising; post-Season Unending or post-war, via the per-Hold thane quest.

Secondly, the player will lose their Thaneship after the Civil War, and regaining it requires talking to the new Jarl. The regain process doesn't normally require completing any quests, but said process for the Rift and Whiterun (as mentioned) function differently compared to all other Holds.

 

The definite method we have thus far is not to check quest stages; it is not secure. The better method is via the FavorJarlsMakeFriendsScript that Yinkle also mentioned. Checking quest stages will unnecessarily complicate the process, especially for native/CK condition function usage.

Via Papyrus, it is

Bool IsReachThane 
IsReachThane = (ReachImpGetOutofJail + ReachSonsGetOutofJail) as bool ; collective

Actor ClosestGuard
IsReachThane = (ClosestGuard.IsInFaction(CWImperialFaction) && ReachImpGetOutofJail) \
|| (ClosestGuard.IsInFaction(CWSonsFaction) && ReachSonsGetOutofJail) ; singular

 

Thaneship is not an actual variable or title in terms of game mechanics outside quest stages. There is also no true singular property representing Thaneship. Functionally, when actualized, it is specifically the Get Out Of Jail Free card. Both the leveled item and follower are not rescinded, nor is the relevant quest "un-completed".

Edited by Nuascura
Posted (edited)

I take a detailed look to this theme and i confirm, for now, that the best and simple way is check the stages of the favor quest.

 

On 2/19/2025 at 4:31 PM, Nuascura said:

There are two complications to checking via quest stages:

Firstly, Whiterun thaneship is collected two ways: mid-war, via Dragon Rising; post-Season Unending or post-war, via the per-Hold thane quest.

Yes, but all that is indifferent. All that are previous mission to allow you buy Brezehome because the only way to be thane in Whiterun is, exactly, buy Brezehome.

The quest Favor253 have the dialog: "I name you Thane of Witherun" and when the stage of Favor253 is 25 you are thane of Whiterun.

 

On 2/19/2025 at 4:31 PM, Nuascura said:

Secondly, the player will lose their Thaneship after the Civil War, and regaining it requires talking to the new Jarl. The regain process doesn't normally require completing any quests, but said process for the Rift and Whiterun (as mentioned) function differently compared to all other Holds.

How? Where section of the UESP wiki say that? What section of code make that? When and how can happen that?

 

-----------------------

 

The final requirement to be thane of each hold is buy a house in the hold and say to the Jarl that you have buyed the house. That are all the favor quest:

Spoiler

image.png.f4882c378e52c71e398661976c0c7565.png

 

The previous requirements are make some favors in some holds, located in FavorJarlsMakeFriends, and some special missions in Witherun and Riften.

Spoiler

image.png.376f3fd345ec61ee594e23e1cc14280f.png

 

But after you have buyed the house the thane title is never removed because you never lost the access to your houses and, of course, the stage of the Favor quest is never changed in any way. At least, i can't find the section of code in the civil war that make that. Can you show it?

Edited by alex77r4
Posted
57 minutes ago, alex77r4 said:

But after you have buyed the house the thane title is never removed because you never lost the access to your houses and, of course, the stage of the Favor quest is never changed in any way. At least, i can't find the section of code in the civil war that make that. Can you show it?

The non-hearthfire house purchase is only a pre-req for Thaneship. It has nothing to do with Thaneship directly as a proof of its title, whether in code or in gameplay. The Jarl dialogue literally says as much.

 

57 minutes ago, alex77r4 said:

How? Where section of the UESP wiki say that? What section of code make that? When and how can happen that?

https://en.uesp.net/wiki/Skyrim:Thane

The "Notes" section. I would just leave it at that - it says it there in plain English - but I can spare a little time to support myself on my own.

 

Again, Thaneship isn't linked to an explicit variable or property. It only manifests as the Get Out of Jail Card. You have CK open, so I'm sure you can also look at the script for the same quest you screenshot-ed.

 

Function GetOutofJailCard(Actor JarlRef)
	;Modify the quest variable for the Jarl's appropriate Hold and Civil War Faction
	If(JarlRef.GetCrimeFaction() == CrimeFactionReach)
; 		Debug.Trace("Player is now Thane of the Reach")
		If (JarlRef.IsInFaction(GovImperial) == True)
; 			Debug.Trace("Player has get out of jail card with Imperial Guards of the Reach")
			ReachImpGetOutofJail = 1
		Else
; 			Debug.Trace("Player has get out of jail card with Stormcloak Guards of the Reach")
			ReachSonsGetOutofJail = 1
		EndIf

 

The function can only be run once per Jarl actor, and only for one Free Pass card at a time.

 

If you can understand that Thaneship is really just "EastmarchImpGetOutofJail", for example, I think you can also see why the player can lose it. There is no section of code that directly removes "Thaneship". It is under dialogue conditions, because each free pass is associated with a CW faction.

Spoiler

image.png.5f6183b5158125e02703d4b9466a0854.png

 

With the time I have right now, I can't exactly find how the quest interacts with jarl changes when the quest is already stopped/shutdown. But the Quest Data tab for Favor250 clearly indicates it is called on Location Change story event, and that the quest is not set to Run Once. In the event of a Jarl change, quest stages will certainly change, through which it rises to 20 if given completed reqs prior to Jarl change. At that point, the Favor quests will be given another opportunity to call FavorJarlsMakeFriendsScript.GetOutOfJailCard() to grant a pass for the new CW faction.

Posted (edited)
2 hours ago, Nuascura said:

...

 

Yes and no. As you can read in the Wiki the Benefits of Being a Thane are:

1 - Grants you a personal housecarl follower (if available). 
2 - Grants you a symbolic weapon of the city.
3 - Guards will forgive any bounty of less than 2000 gold (once per hold).

 

Can you lost yours "Benefits" in any way? NO

1 - You never lost your housecarl. You can recruit it as follower and dismiss it but they never stop be your housecarl.

2 - You can sell the weapon or drop it but nobody go to remove that weapon from your inventory.

3 - You can use that Benefit ONCE per hold, then technically you lost it after use it.

 

The notes in the the UESP Wiki say :

If the jarl that named you thane is replaced through the events of the Civil War or via Season Unending, you will lose the title, though you can regain it by speaking to the new jarl.

 

For now i not saying the wiki is bad but i cant find HOW that is made, what section of code made that. Seems that you know how works the scripts in Skyrim:

Spoiler

The variables -hold-GetOutofJail are defined inside the script FavorJarlsMakeFriendsScript assigned to the quest FavorJarlsMakeFriends marked as "Start Game Enabled"

That variables, of course, start with a value of 0 (cero) when we start the game and change to 1 when we get the thane title and change to 2 when we use our "Benefit" over a guard to make them forgive the crime.

 

If none other script change the value of that properties the only way to put them again in 0 is "stop and start" the quest FavorJarlsMakeFriends, or make a ResetQuest.

But that cause the lost of ALL -hold-GetOutofJail values and reset ALL the MakeFriendCount in ALL the holds.

Of course, that not have any sense because not make you lost you Thane title ONLY on the holds with new jarl, as the UESP Wiky say.

 

Then, what section of code make that? Can be bad the Wiki?

 

--------------------

 

2 hours ago, Nuascura said:

Again, Thaneship isn't linked to an explicit variable or property. It only manifests as the Get Out of Jail Card.

I disagree again. The thane title is gained making the Favor quest. That Quest was specifically designed to be Thane of each hold.

If you want to be thane of the hold you must make that quest. We not have other way. 

 

2 hours ago, Nuascura said:

If you can understand that Thaneship is really just "EastmarchImpGetOutofJail",

No, that is only a derived benefit of be thane. In the same way, own the house in each old is a previous benefit obtained before be named Thane.

Edited by alex77r4
Posted

Well... what condition you should check depends on what you're going to do with it.

 

I will point out that the FavorJarlsMakeFriendsScript does record separately your thaneship in each hold per-CW-faction, using the value 2 to mark that you are thane but have used up the get-out-of-jail-free-card.  Guard dialogues refer to those variables when deciding whether to address you as thane, "My Thane.", "Good to see you Thane.", "I hope you are finding the city in proper order, Thane.".

 

You "loose" thaneship when the CW events cause the jarl who thaned you to be ousted and replaced by another.  I you haven't used your get-out-of-jail-free-card, you loose it and have to re-do the thaneship dialogue to recover it, though admitedly the process is easier since you have already complied with all the requirements.

 

You don't really loose thaneship... you're still thane to the ousted jarl, but that does not seem to impact on anything in the game past the old jarl's dialogue that still recognizes your elevated relationship rank.

Posted (edited)
44 minutes ago, pfB6cs said:

You "loose" thaneship when the CW events cause the jarl who thaned you to be ousted and replaced by another.  I you haven't used your get-out-of-jail-free-card, you loose it and have to re-do the thaneship dialogue to recover it, though admitedly the process is easier since you have already complied with all the requirements.

 

You don't really loose thaneship... you're still thane to the ousted jarl, but that does not seem to impact on anything in the game past the old jarl's dialogue that still recognizes your elevated relationship rank.

Again, yes and no.

 

Really we never lost the thane title. You get the thane title making the favor quest and none section of the code change the stage of that quest.

Then, one time you have make the favor quest you are thane forever and nobody remove your thane title.

 

Additionally, as thane benefit you get a GetOutofJailCard that can be used once against the guards but is valid only with the guards that actually control the hold (Storm Cloak or Imperial) because the guards dialog condition is different depending of the faction.

 

What is making the Civil War is change the faction that control the hold, from Storm Cloak to Imperial or reversal, and that change the faction of the guards.

Then, if the hold was controlled before by the opposite faction the GetOutofJailCard is not valid and you must talk to the jarl to get another JailCard with the correct faction.

When the function FavorJarlsMakeFriendsScript.GetOutofJailCard() is executed again you get the opposite GetOutofJailCard.

But i'm unable to locate what exact dialog make that. 

 

Then, the wiki is correct but, IMO, is bad redacted because, really, we never lost the thane title playing the CW. We only lost the GetOutofJailCard.

Edited by alex77r4
Posted (edited)
6 hours ago, pfB6cs said:

By the gods, you are right.  The guards' dialogue only checks the favor quest stages. It's only the get out of jail card that gets annulled when you switch jarls.

Were you perhaps referring to a specific set of guard dialogue separate to any we've discussed? Only the FavorJarlsMakeFriends umbrella is referenced by a guard crime quest, not any of the individual Favor quests. And, when FJMF is referenced, it's related to its script properties, not its quest stages.

Spoiler

image.png.dbb256b82a047970edf7e7f9998d1793.png

 

8 hours ago, alex77r4 said:

When the function FavorJarlsMakeFriendsScript.GetOutofJailCard() is executed again you get the opposite GetOutofJailCard.

But i'm unable to locate what exact dialog make that. 

This is called via Quest Stage 25. As per the screenshot you sent, attached below your sentence, "The final requirement to be thane of each hold is buy a house in the hold and say to the Jarl that you have buyed the house. That are all the favor quest:". This is a screenshot of the associated quest fragment.

Spoiler

image.png.fde622ad234f25c22ec1863da06442a7.png

 

To again repeat myself from my previous comments: This individual Favor quests are attached to a Story event manager, Location Change. The quest can start up again when you re-enter a Hold after an extended period of time. The player must advance through all dialogue and relevant stages to run Stage 25 again - that includes making the new Jarl re-anoint the player as Thane.

 

I think I see the misunderstanding here. Please understand I won't and don't intend to belittle or otherwise offend anyone. But, for the sake of anyone who needs help, I strongly believe this issue is verging on one related to nuance in language than it is on code and gameplay progression. And the issue is not at all technically complicated.

 

You ask "Can be bad the wiki". I'd say I agree with the way the UESP wiki has worded it. Consider, that I'm not the one who wrote the page, but I can clearly see its effects in the CK. Consider from Yinkle's comment above:

;Thane's get out of jail conditions
; 0 = not a thane yet
; 1 = Thane, has not used his get out of jail card
; 2 = Thane, has used his get out of jail card

There's a good reason Bethesda chose to increment the related props to 2 rather than reset to 0, even when no dialogue conditions check for a condition of 2. Following the logic of casting int as bool, non-zeros 1 and 2 always define the player as a Thane. 0 is strictly that the player is not a Thane. As such, the former two values return a TRUE for player Thaneship while the latter returns FALSE. If a Hold changes hands the first time, the player loses this card. But when the Hold reverts, the player doesn't lose their Thaneship, and their card simply reverts to an integer 1 again.

 

14 hours ago, alex77r4 said:

If none other script change the value of that properties the only way to put them again in 0 is "stop and start" the quest FavorJarlsMakeFriends, or make a ResetQuest.

But that cause the lost of ALL -hold-GetOutofJail values and reset ALL the MakeFriendCount in ALL the holds.

Of course, that not have any sense because not make you lost you Thane title ONLY on the holds with new jarl, as the UESP Wiky say.

This is beyond the point. FJMF never restarts, and nothing I or UESP wiki has said implies such a thing. The reason is precisely laid out in your own latest reply so... kindly, I'm not exactly sure why you wrote this. Thaneship Jail props are always locked-in and never retreats to a non-zero value after the fact.

 

Further Analysis:

Spoiler

Now, you can and have argued that GetOutOfJail is only a privilege/benefit and not an actual indicator, just as I already said for the follower/housecarl and weapon. If we disregard the function of these script props, it returns us to the crux of the issue: we distinguish and differentiate the benefit of a title from the title itself. The fact that you hold benefits does not mean you are truly the Thane. These are malleable concepts that change depending on where you are in the game quests. It is a fundamental mistake to associate the two as mutually dependent. As such, discussing whether or not you lose your benefits is irrelevant. Your house is always yours, even before you gain Thaneship, so that object we can ignore. Your Housecarl is a gift bestowed to you and does not indicate you are a Thane strictly in gameplay terms. Your weapon, as you mentioned, can be sold - it, too, is a gift. So, put another way: anything tangible that the Jarl gives you are gifts, not benefits. Again, these gifts are separate from the title of Thaneship, so discussing them and saying "Can you lost yours "Benefits" in any way? NO" has no genuine meaning. In a restatement, two of what you mentioned are gifts and do not align with your remaining bullet point on the Get Out of Jail pass which, as you can see above in the code snippet, is multifaceted beyond the concept of a gift.

 

Thus, we return to square one, which is to ask: What exactly defines or accurately represents the title of Thaneship? Bear in mind that I was also asking you and others who saw this thread for a better method than what I'd been using for my mod, Licenses. I was trying to be in a receptive position. But in either case, we are so far left with two options: quest stages and the Get Out of Jail Card. But we have to cross out the former because its stages change based on Location Event and the Civil War. The simple fact that you have to re-engage a Jarl and initiate stage 25 renders it Null for our purposes. That leaves us with the latter.

 

Checking other properties beyond the Jail pass is totally fine. Please understand that. It's along the lines of why I'm preferring to check Jarl relationship rank to allow for more gameplay possibilities. Per my past replies, I'm in fact using a dual method now for both a fake and true value of Thaneship. But, if we only want to check the true value of a Thaneship, we have to consider not just what the title is but also what the title consistently provides. The proof and provision being synonymous. You would consider quest stage as proof, and jail pass as provision. I've already shown you that the assumed proof is unreliable. But let's state that I'm wrong and focus solely on provision. How do we actuate a title and derive a truly intrinsic benefit from the title in the absence of a stable proof? There is only one intrinsic property we've discussed, through the Jail pass. All other properties you've mentioned are extrinsic.

 

Edited by Nuascura
Compressed paragraphs
Posted

I would use the relevant "favor" quest stage to check thane status.  "Favor250", etc. For Whiterun, it would be "MQ104" stage 160.

 

For house ownership, I only know the five city houses. They can be checked as follows:

 

HousePurchaseScript Property HousePurchase Auto

If HousePurchase.WhiterunHouseVar >= 1
[...]

ElseIf HousePurchase.SolitudeHouseVar >= 1

[...]

ElseIf HousePurchase.RiftenHouseVar >= 1

[...]

ElseIf HousePurchase.MarkarthHouseVar >= 1

[...]

ElseIf HousePurchase.WindhelmHouseVar >= 1

[...]

Posted

Honestly, I'm just going to sum the thread up so far, stop hogging all the attention and thread space, and stop my replies from hereon because I recognize long-paragraphs are detrimental to our online attention spans.

 

It's much easier to just lock-in a thaneship prop than check for true thaneship, especially since the CK's sequential condition function check is limiting. That former method would be the Favor 250 etc., both MQ104 and Favor 253 for Whiterun, and FreeformRiftenThane for Riften. Another papyrus alternative would be adding the jail int props and cast as bool. Just be aware straight checks don't constitute a retrieval of true Thaneship unless additional conditions are considered.

Posted
5 hours ago, Nuascura said:

Thus, we return to square one, which is to ask: What exactly defines or accurately represents the title of Thaneship? Bear in mind that I was also asking you and others who saw this thread for a better method than what I'd been using for my mod, Licenses. I was trying to be in a receptive position. But in either case, we are so far left with two options: quest stages and the Get Out of Jail Card. But we have to cross out the former because its stages change based on Location Event and the Civil War. The simple fact that you have to re-engage a Jarl and initiate stage 25 renders it Null for our purposes. That leaves us with the latter.

 

Congratulations. Seems that ALL your problems are related to a principal conceptual error. Seems that you not know how work the Story Manager.

 

First of all, take a look to the CK wiki Story manager an search the words "stop" or restart. You not find it.

The Story Manager only START any of the favor quest when the Change Location Event is fired.

Never stop a quest and never re-start a quest. Is designed ONLY to start quest.

Of course, if the exact quest has already been started is not started again and, of course, is not re-started.

Then, theirs stages never can be changed by the Story Manager.

 

Additionally, you can open your game and start a New Game with alternate start. While you are inside the prison, open the console and type sqs favor25x.

You can see how ALL the favor quest stages are in 0. But if you load an advanced game, i'm level 59 now, open the console again and type sqs favor25x you see the stage of each quest in their corresponding state.

 

The Favor25x quest determine if you have make the Thane Quest in each hold. When that quest have stage 200 you are thane forever.

When the quest is completed their stage remain in 200 forever. Then, you are thane forever.

None section of the code change or re-start the favor quest. That is not made while the CW. That is never made.

 

-------------

 

Finally, as you say, this going to far. A simple question like: How can I check if the PC is a thane? Generate a tremendous discussion when the solution is very easy:

The corresponding Favor quest have stage 200? Yes, you are thane. NO, you are NOT thane. That is all.

Posted (edited)
4 hours ago, Gristle said:

I would use the relevant "favor" quest stage to check thane status.  "Favor250", etc. For Whiterun, it would be "MQ104" stage 160.

 

Yes but you not need mix the MQxxx quest. Is true that in the stage 160 of MQ104 the dialog of the jarl named you thane but that seems to by an error in the dialog because that dialog not give you any of the thane benefits. Only allow you to buy brezehome from the steward.

 

Buy the house and say it to the jarl was that give you the real thane title (that say the jarl when you talk to it) and the benefits (Housecalr, Weapon, Jail Card, Key of the house...) And, of course, that exact quest is Favor253 = Thane of WhiteRun.

 

I think the only thane not included in the Favor Quest is Riften and you must check if the stage of FreeFormRiftenThane quest is 200.

Edited by alex77r4
Posted
6 hours ago, alex77r4 said:

 

Yes but you not need mix the MQxxx quest. Is true that in the stage 160 of MQ104 the dialog of the jarl named you thane but that seems to by an error in the dialog because that dialog not give you any of the thane benefits. Only allow you to buy brezehome from the steward.

 

Buy the house and say it to the jarl was that give you the real thane title (that say the jarl when you talk to it) and the benefits (Housecalr, Weapon, Jail Card, Key of the house...) And, of course, that exact quest is Favor253 = Thane of WhiteRun.

 

I think the only thane not included in the Favor Quest is Riften and you must check if the stage of FreeFormRiftenThane quest is 200.

Makes sense. Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...