Oblivion Game Data

Select game:

Search:

Select a record type:

MSFinScript (0x0007c6c5)

  • Record Type: SCPT
  • Editor ID: MSFinScript
  • Form ID: 0x0007c6c5
  • Source File: Oblivion.noSI.esm.mod
  • Patch Status: FormID has not been modified.
Parameter Value
SCTX
Scriptname MSFinScript

short DisplayCase
short Doonce
short KudEiGo
short KurdanGo
short Doonce1
short Doonce2
short Doonce3
short CleanUp

begin gamemode

;Pale Pass put things in display cases post-quest

if ( GetStage MS12 >= 150 ) && ( DisplayCase == 0 )
	MS12Orders02Ref.Enable
	MS12MadstoneAfterRef.Enable
	set DisplayCase to 1
endif

;Put Tears in Display cases after MS37

if ( GetStage MS37 == 100 ) && ( Player.GetInCell LeyawiinMagesGuild == 0 ) && ( Doonce == 0 )
	MS37TearAfterRef.Enable
	Set Doonce to 1
endif

;Remove SCPF after MS51

if ( GetStage MS51 >= 100 ) && ( Player.GetInCell ChorrolCastle == 0 ) && ( Doonce1 == 0 )
	SetCellPublicFlag ChorrolCastlePrivateQuarters 0
	SetCellPublicFlag ChorrolCastlePrivateQuarters02 0
	SetCellPublicFlag ChorrolCastleTowerBL 0
	SetCellPublicFlag ChorrolCastleTowerBL2 0
	SetCellPublicFlag ChorrolCastleTowerBR 0
	SetCellPublicFlag ChorrolCastleTowerFL 0
	SetCellPublicFlag ChorrolCastleTowerFR 0
	SetCellPublicFlag ChorrolCastleTowerR1 0
	SetCellPublicFlag ChorrolCastleTowerR2 0
	SetCellPublicFlag ChorrolCastleWallTowerNE 0
	SetCellPublicFlag ChorrolCastleWallTowerNW 0
	SetCellPublicFlag ChorrolCastleWallTowerSE 0
	SetCellPublicFlag ChorrolCastleWallTowerSW 0
	set Doonce1 to 1
endif

;Remove SCPF after MS05

if ( GetStage MS05 >= 100 ) && ( Player.GetInCell BravilHenantiersHouse == 0 ) && ( Doonce2 == 0 )
	SetCellPublicFlag BravilHenantiersHouse 0
	set Doonce2 to 1
endif

;Remove SCPF after MS08

if ( GetStage MS08 >= 100 ) && ( Player.GetInCell BravilAleronLochesHouse == 0 ) && ( Doonce3 == 0 )
	SetCellPublicFlag BravilAleronLochesHouse 0
	set Doonce3 to 1
endif

;This cleans up the mess at the house after Player leaves

if ( GetStage MS04 >= 100 )
	if ( Player.GetInCell GwedenFarm == 0 ) && ( CleanUp == 0 )
		MaelonaGuardRef.Disable
		GoganGuardRef.Disable
		FaustinaRef.Disable
		SignyRef.Disable
		TsarrinaRef.Disable
		MS04GwedenDoorRef.Lock 100
		set CleanUp to 1
	endif
endif

end

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