diff --git a/apps/scim/lua/dice.lua b/apps/scim/lua/dice.lua index 7c2fafa..204c4c5 100644 --- a/apps/scim/lua/dice.lua +++ b/apps/scim/lua/dice.lua @@ -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 diff --git a/apps/scim/rc b/apps/scim/rc index adc8594..4120127 100644 --- a/apps/scim/rc +++ b/apps/scim/rc @@ -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" "" +nmap "fi" ":format \"#\"" +nmap "B" "Vir"