@@ -938,6 +938,91 @@ local noisy = {
938938 desc_nodes [# desc_nodes + 1 ] = chip_ui
939939 end ,
940940 init = function (self )
941+
942+ local randtext = {
943+ " A" ,
944+ " B" ,
945+ " C" ,
946+ " D" ,
947+ " E" ,
948+ " F" ,
949+ " G" ,
950+ " H" ,
951+ " I" ,
952+ " J" ,
953+ " K" ,
954+ " L" ,
955+ " M" ,
956+ " N" ,
957+ " O" ,
958+ " P" ,
959+ " Q" ,
960+ " R" ,
961+ " S" ,
962+ " T" ,
963+ " U" ,
964+ " V" ,
965+ " W" ,
966+ " X" ,
967+ " Y" ,
968+ " Z" ,
969+ " " ,
970+ " a" ,
971+ " b" ,
972+ " c" ,
973+ " d" ,
974+ " e" ,
975+ " f" ,
976+ " g" ,
977+ " h" ,
978+ " i" ,
979+ " j" ,
980+ " k" ,
981+ " l" ,
982+ " m" ,
983+ " n" ,
984+ " o" ,
985+ " p" ,
986+ " q" ,
987+ " r" ,
988+ " s" ,
989+ " t" ,
990+ " u" ,
991+ " v" ,
992+ " w" ,
993+ " x" ,
994+ " y" ,
995+ " z" ,
996+ " 0" ,
997+ " 1" ,
998+ " 2" ,
999+ " 3" ,
1000+ " 4" ,
1001+ " 5" ,
1002+ " 6" ,
1003+ " 7" ,
1004+ " 8" ,
1005+ " 9" ,
1006+ " +" ,
1007+ " -" ,
1008+ " ?" ,
1009+ " !" ,
1010+ " $" ,
1011+ " %" ,
1012+ " [" ,
1013+ " ]" ,
1014+ " (" ,
1015+ " )" ,
1016+ }
1017+
1018+ local function obfuscatedtext (length )
1019+ local str = " "
1020+ for i = 1 , length do
1021+ str = str .. randtext [math.random (# randtext )]
1022+ end
1023+ return str
1024+ end
1025+
9411026 AurinkoAddons .cry_noisy = function (card , hand , instant , amount )
9421027 local modc = pseudorandom (" cry_noisy_chips_aurinko" , noisy_stats .min .chips , noisy_stats .max .chips )
9431028 local modm = pseudorandom (" cry_noisy_mult_aurinko" , noisy_stats .min .mult , noisy_stats .max .mult )
@@ -961,7 +1046,7 @@ local noisy = {
9611046 }))
9621047 update_hand_text (
9631048 { delay = 0 },
964- { chips = (amount > to_big (0 ) and " +" or " -" ) .. number_format (math.abs (modc )), StatusText = true }
1049+ { chips = (to_big ( amount ) > to_big (0 ) and " +" or " -" ) .. number_format (math.abs (modc )), StatusText = true }
9651050 )
9661051 update_hand_text ({ delay = 1.3 }, { chips = G .GAME .hands [hand ].chips })
9671052 for i = 1 , math.random (2 , 4 ) do
@@ -981,7 +1066,7 @@ local noisy = {
9811066 }))
9821067 update_hand_text (
9831068 { delay = 0 },
984- { mult = (amount > to_big (0 ) and " +" or " -" ) .. number_format (math.abs (modm )), StatusText = true }
1069+ { mult = (to_big ( amount ) > to_big (0 ) and " +" or " -" ) .. number_format (math.abs (modm )), StatusText = true }
9851070 )
9861071 update_hand_text ({ delay = 1.3 }, { mult = G .GAME .hands [hand ].mult })
9871072 elseif hand == G .handlist [# G .handlist ] then
0 commit comments