Oblivion Game Data

Select game:

Search:

Select a record type:

JbariScript (0x000a79ea)

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

short armor


Begin OnDeath

if ( GetStage TrainingLightArmor >= 10 ) && ( GetStage TrainingLightArmor < 100 )
	SetStage TrainingLightArmor 200
endif

End



Begin Gamemode

if ( armor == 0 )
	if ( GetStage TrainingLightArmor == 20 )
		if ( player.getitemcount elvencuirass > 1 )
			set armor to 1
		elseif ( player.getitemcount elvencuirass == 1 )
			if ( player.getequipped elvencuirass == 0 )
				set armor to 1
			endif
		endif
	endif
elseif ( armor == 1 )
	if ( player.getitemcount elvencuirass == 1 )
		if ( player.getequipped elvencuirass == 1 )
			set armor to 0
		endif
	elseif ( player.getitemcount elvencuirass < 1 )
		set armor to 0
	endif
endif

End

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