Skip to content

Latest commit

 

History

History
108 lines (65 loc) · 3.8 KB

README.md

File metadata and controls

108 lines (65 loc) · 3.8 KB

Potato Or Not

Latest Release Download Count Forge Installs Foundry Core Compatible Version Latest Version


Fantasy Computerworks Logo

A module made by Fantasy Computerworks.

Other works by us:

  • Fantasy Calendar - The best calendar creator and management app on the internet
  • Sequencer - Wow your players by playing visual effects on the canvas
  • Item Piles - Drag & drop items into the scene to drop item piles that you can then easily pick up
  • Tagger - Tag objects in the scene and retrieve them with a powerful API
  • Token Ease - Make your tokens feel good to move around on the board

Like what we've done? Buy us a coffee!

Buy Me a Coffee at ko-fi.com


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

Hooks

PotatoOrNot

Called when the module has been instantiated - use this when calling the methods below


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