Skip to content

fredbogg/FoundryVTT-PotatoOrNot

 
 

Repository files navigation

Potato Or Not

made with 🥔 by Adam Oresten


Samwise Gamgee Saying Po-Ta-Toes

Is your computer a potato? Is your players' computers potatoes? Are they scared of navigating interfaces?

Presenting, Potato Or Not!

This modules provides a quick way to prompt your players how fast their computer is, and set their graphics settings accordingly.

The Dialog


API Documentation

Constants

PotatoOrNot.quality

Sets the graphic quality of the client and update settings associated with that quality level

Param Type Range
quality number 0-2

Functions

PotatoOrNot.showDialog

Locally prompts the dialogue

Returns FormApplication


PotatoOrNot.getSetting

Gets the value of a setting of a module at a quality level

Param Type
quality_level number
module string
setting string

Returns * on success


PotatoOrNot.addSetting

Adds a setting to be applied on a quality level - can be forced to be applied immediately (if quality level matches)

Param Type
quality_level number
module string
setting string
value *
force bool

Returns bool on success


PotatoOrNot.removeSetting

Removes a setting from a quality level

Param Type
quality_level number
module string
setting string

Returns bool on success

About

Is your computer a potato?

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 77.9%
  • HTML 22.1%