Skip to content

Commit a80e0e0

Browse files
committed
add helper function
1 parent 90058b3 commit a80e0e0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/misc.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,3 +1030,10 @@ function Cryptid.get_circus_description()
10301030
end
10311031
return desc
10321032
end
1033+
1034+
function Cryptid.add_circus_rarity(rarity, dontreload)
1035+
Cryptid.circus_rarities[rarity.rarity] = rarity
1036+
if not dontreload then
1037+
Cryptid.reload_localization()
1038+
end
1039+
end

0 commit comments

Comments
 (0)