0 of 0

File information

Last updated

Original upload

Created by

S3ctor

Uploaded by

magicaldave

Virus scan

Safe to use

Tags for this mod

About this mod

Replacement for the `openmw.self` module with better ergonomics and performance.

Requirements
Permissions and credits
Mirrors
Donations
s3lf is a replacement for OpenMW’s built-in `self` module. It contains all the same contents but saves some footguns in the API and makes certain calls more precise on your behalf, alongside being easier to introspect. This mod should be installed purely as a dependency of others, as it adds nothing on its own except an interface which other scripts may make use of. For scripters, refer to the documentation to learn about how to use s3lf.

The motivation here is to make the OpenMW API more approachable by making some api calls shorter and more efficient than before. Where previously you would use:
self.type.stats.dynamic.health(self).currentto check an NPC's health, now you simply do: 
s3lf.health.current
Additionally, `s3lf` saves memory usage by optimizing many of these API calls on your behalf.

This mod does not add any features of its own but rather is a tool for other scripters to build off of.