From 3573495fde36128c0391c948da68315dd614a13a Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Tue, 9 Aug 2016 01:31:30 +0200 Subject: [PATCH] refactoring --- core.lua | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/core.lua b/core.lua index 895699d..0c3d700 100644 --- a/core.lua +++ b/core.lua @@ -413,18 +413,4 @@ end function public.min_bid_increment(current_bid) return max(1, floor(current_bid / 100) * 5) -end - -function public.price_level_color(pct) - if pct > 135 then - return 1.0,0.0,0.0 -- red - elseif pct > 110 then - return 1.0,0.6,0.1 -- orange - elseif pct > 80 then - return 1.0,1.0,0.0 -- yellow - elseif pct > 50 then - return 0.1,1.0,0.1 -- green - else - return 0.2,0.6,1.0 -- blue - end end \ No newline at end of file