Leaky Ring Javascript Docs

This is not a guide to use Leaky Ring. This is a documentation on for customizing Leaky Ring.

Under Construction

Style

flood.info

flood.info

Default:

🪣

Description: The emoji of the icon on the bottom right.

flood.drainSound

 flood.drainSound 

Default: https://melonking.net/audio/ui/flush.mp3

Description: Sound when you bilge the flood.

flood.drainTooSoonSound

flood.drainTooSoonSound

Default: https://melonking.net/audio/ui/clunk.mp3

Description: Sound when you bilge the flood too soon.

flood.includeInfo

flood.includeInfo

Default: false

Description: Returns a list of all sites who are flooded.

flood.msg.rising

flood.msg.rising

Default: The water level is rising…

flood.msg.falling

flood.msg.falling

Default: The water level is falling…

flood.disableInFrames

flood.disableInFrames

Default: false

Description: Stop the script running in frames

Messages

disableMessages

disableMessages

Default: false

Description: Hides the info message.

flood.msg.toosoon

flood.msg.toosoon

Default: “Its too soon to bilge again!…”

flood.msg.one

flood.msg.one

Default: “This page has a harmless leak.”

flood.msg.two

flood.msg.two

Default: “It looks like the page has a bad leak!”

flood.msg.three

flood.msg.three

Default: “Goodness, this page has a major leak!”

flood.msg.four

flood.msg.four

Default: “Oh my, there's flood on this page!”

flood.msg.five

flood.msg.five

Default: “The page is deep under water!”

flood.msg.six

flood.msg.six

Default: “This page is totaly submerged!”

The Flood

flood.updateSpeed

Do not change it to anything lower then 5000.
flood.updateSpeed

Default: 5000

Description: The update speed for the draining/filling animation.

flood.renderSpeed

flood.renderSpeed

Default: 70

flood.maxLevel

Please don't edit this!
 flood.maxLevel 

Default: 100

Description: Limit amount of percentage in a flood.

flood.bilgeDelay

Please don't edit this! That's cheating!!
 flood.bilgeDelay 

Default: 10000

Description: Cooldown for how much water

flood.level

flood.level

Default: 0

Description: The percentage of the flood.

Server/Maintenance

flood.serverURL

Do not edit this, Unless you wanna self-host your own leaky ring server
flood.serverURL

Default: https://brain.melonking.net

Description: Used to get the leaky ring data.

flood.ringPage

Please do not remove this! For giving credit to melon only, this link leads back to his page all about the leaky ring! :^[
flood.ringPage

Default: https://melonking.net/free/software/flood.html

Description: For leading back to the original source of the leaky ring. (By clicking on the bucket)

flood.ringTarget

flood.serverURL

Default: _blank

flood.updateLoop

flood.updateLoop

Default: undefined

flood.renderLoop

flood.renderLoop

Default: undefined

flood.lastBilge

flood.lastBilge

Default: 0

Description: Tells you your last pages bilge.

flood.logicLevel

flood.logicLevel

Default: 0

flood.changeStep

flood.changeStep

Default: 0