Oblivion Game Data

Select game:

Search:

Select a record type:

TGGrayCowlScript (0x0003a82b)

  • Record Type: SCPT
  • Editor ID: TGGrayCowlScript
  • Form ID: 0x0003a82b
  • Source File: Oblivion.noSI.esm.mod
  • Patch Status: This is the default version of this FormID, but it has previously been modified. Other versions are:
Parameter Value
SCTX
ScriptName TGGrayCowlScript

Float GFCrimeGold
Float GFInfamy
Float GFFame

Float PCCrimeGold
Float PlayerInfamy
Float PlayerFame

Float TempCrime

Begin OnEquip Player
	Set TempCrime to GetGameSetting iCrimeGoldAttackMin
	If GFCrimeGold < TempCrime
	 	Set GFCrimeGold to TempCrime
	EndIf
	Set PCCrimeGold to Player.GetCrimeGold
	Player.SetCrimeGold GFCrimeGold	

	Set PlayerFame to GetPCFame
	SetPCFame GFFame

	If GFInfamy < 100
		Set GFInfamy to 100
	EndIf
	Set PlayerInfamy to GetPCInfamy
	SetPCInfamy GFInfamy

End

Begin OnUnequip Player
	Set GFCrimeGold to Player.GetCrimeGold
	Player.SetCrimeGold PCCrimeGold

	Set GFFame to GetPCFame
	SetPCFame PlayerFame

	Set GFInfamy to GetPCInfamy
	SetPCInfamy PlayerInfamy
End


Database last updated 11/02/2011
SCPT records last updated 10/31/2011