Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fireundubh committed May 7, 2022
1 parent 4d4ee0a commit d5836da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@ Papyrus extensions by fireundubh specifically for Master of Disguise SSE
```papyrus
; Returns whether `akActor` is a member of each faction in `akFactions` (does not evaluate faction rank)
Bool[] Function GetFactionStates(Actor akActor, FormList akFactions) Global Native
; Returns armor items equipped in each slot and each weapon equipped in either hand when `abLeftWeapon` or
; `abRightWeapon` are True (Note: Return values are in array order and can be None)
Form[] Function GetWornEquipment(Actor akActor, Bool abWeaponL, Bool abWeaponR) Global Native
```

## Misc. Functions

```papyrus
; Returns whether disguise can activate based on map of mutually exclusive faction indices
Bool Function CanDisguiseActivate(Int aiFactionIndex, Bool[] akFactionStates) Global Native
; Returns index to `akPlayerRace` in `argRaces` after checking if `akPlayerRace` is mapped to `aiFactionIndex`
Int Function LookupRaceWeightIndex(Int aiFactionIndex, Race akPlayerRace, Race[] argRaces) Global Native
```

0 comments on commit d5836da

Please sign in to comment.