sc-im dice should result in strings for more flexible formatting and more handy key bindings
This commit is contained in:
parent
62ad80d349
commit
2d5c3c6330
|
@ -91,5 +91,5 @@ function sc_rollres(c, r)
|
|||
math.randomseed(seed)
|
||||
log("Setting Seed: " .. tostring(seed))
|
||||
local sum = sc_parserollstr(sc.lgetstr(c, r))
|
||||
sc.lsetnum(c + 1, r, sum)
|
||||
sc.lsetstr(c + 1, r, tostring(sum))
|
||||
end
|
||||
|
|
|
@ -11,3 +11,5 @@ color "type=STRG fg=WHITE bg=BLACK bold=0 dim=1"
|
|||
color "type=NUMB fg=YELLOW bg=BLACK bold=0 dim=1"
|
||||
|
||||
nmap "J" "<C-j>"
|
||||
nmap "fi" ":format \"#\"<cr>"
|
||||
nmap "B" "Vir"
|
||||
|
|
Reference in a new issue