Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2130864721
Clearly, if not allowed - I'll take it down, but I'm using it at my table and figured other people might get some use out of it.
on load math.randomseed(os.time())
on roll math.randomseed(math.random(1,9999999999))
That way you get new seeds each time that are not based on the time.
Its because of where the seed generation happens on roll.
You need to take math.randomseed(os.time()) out of the roll function
Current location
--Roll function. Displays roller, then does the random rolls
function roll(o,c)
printThis("((Roll by " .. Player[c].steam_name.."))", c)
math.randomseed(os.time())
local modTotal = 0
Better Location
(Very Top)
function onload(saved_data)
math.randomseed(os.time())
if saved_data ~= nil and saved_data ~= "" then
memory = JSON.decode(saved_data)
I love this thing but the non random nature was pissing me off. If you click too quickly it still will give you duplicates but if you wait at least 1 second between clicks it now does it randomly instead of going 1, 11, 2, 12, 3, 13, 4, 14,...
example: I would like rename d6 to black dice
and where can i change the result of d6 to: if 1,2,3 then 2, and elseif 4,5 then 1, and else 3
I'd love it if you added me to steam so we can talk through some ideas.
Well done and thank you for the time and effort you've put into this essential addition to many hours of fun.
May I suggest an addition, for the sake of larger parties and chat clarity?
If feasible, printing the name of often used Memory Buttons would further help (ie. WHO > WHAT > RESULT on the same line; such as Melee ATK or Wisdom ST).
Or, similarly to using the Name field, we could use the Description field for a more spacious print out, allowing more flavour and flexibility, visually (RP friendly, no / higher character cap, improved readability / syntax, etc.)
This suggestion only comes from being in a larger-than-average party with active voice and text chat, where rolls may get lost, or need explaining or repeating. Hmm... perhaps a 'Repeat Last Result' button may also be handy as a refresher or spamming a great roll! Thanks for reading.