View source for Module:Dry calc
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
function expr(x)
x = tostring(x)
x = x:gsub(",", ".")
local expr_good, expr_val = pcall(mw.ext.ParserFunctions.expr, x)
if expr_good then
return tonumber(expr_val)
end
return nil
end
function flavourText(x, obtained)
local flavourTexts = {
{ -1, 1, "You are some sort of sentient water being you're so not-dry. How'd you even do this?" },
{ 1, 10, "You're a higher % water than a watermelon.", "Or you would be if you had gotten any drops. But you didn't." },
{ 10, 20, "Only ironmen can be this lucky.", "But you got no drops, so I guess you're not an ironman." },
{ 20, 30, "🥄 Spooned 🥄", "j/k you got no drops" },
{ 30, 40, "Your friends will be jealous.", "...If you got any drops." },
{ 40, 49, "You're quite the lucker aren't you.", "Or not, since you got no drops." },
000
1:0
Templates used on this page:
- Template:DependencyList (view source)
- Template:Documentation (view source)
- Template:Extension DPL (view source)
- Template:No documentation (view source)
- Template:PageType (view source)
- Calculator:Dry calc (view source)
- Module:Array (view source)
- Module:DPLlua (view source)
- Module:DependencyList (view source)
- Module:Documentation (view source)
- Module:Dry calc (view source)
- Module:Dry calc/doc (view source)
- Module:Paramtest (view source)
- Module:Tooltip (view source)
- Module:Yesno (view source)
Return to Module:Dry calc.