Giter Site home page Giter Site logo

wayne930242 / foundryvtt-potatoornot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fantasycalendar/foundryvtt-potatoornot

0.0 1.0 0.0 2.66 MB

Is your computer a potato?

License: GNU General Public License v3.0

JavaScript 77.92% HTML 22.08%

foundryvtt-potatoornot's Introduction

Potato Or Not

made with Sam saying Po-Ta-Toes 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

foundryvtt-potatoornot's People

Contributors

haxxer avatar honzonebro avatar mclemente avatar nicetsy avatar wayne930242 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.