Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:RemiLib
(view source)
Revision as of 16:14, 15 June 2016
168 bytes added
,
8 years ago
no edit summary
Line 54:
Line 54:
-- Hashes a seed if given, if not just returns a hash based on current time.
-- Hashes a seed if given, if not just returns a hash based on current time.
function p.timeHash(seed)
function p.timeHash(seed)
+
-- lmfao this function wasn't a hash at all because it would never
+
-- return the same thing twice.
+
math.random.randomseed(p.hashString("Amatsukaze-chan is best"))
+
local randomizer = 0
local randomizer = 0
Remi Scarlet
2,922
edits