reduce CC minimum from 100 TS to 0
parent
af52afb408
commit
e8b28dc3b3
|
@ -1135,7 +1135,6 @@ class User(Base):
|
|||
if self.is_permabanned: return False
|
||||
|
||||
if self.admin_level >= PERMS['VIEW_RESTRICTED_HOLES']: return True
|
||||
if self.truescore >= TRUESCORE_RESTRICTED_HOLES_MINIMUM: return True
|
||||
|
||||
return None
|
||||
|
||||
|
@ -1146,6 +1145,7 @@ class User(Base):
|
|||
if self.can_see_restricted_holes != None:
|
||||
return self.can_see_restricted_holes
|
||||
|
||||
if self.truescore >= TRUESCORE_CHUDRAMA_MINIMUM: return True
|
||||
if self.chud: return True
|
||||
if self.patron: return True
|
||||
return False
|
||||
|
@ -1158,6 +1158,8 @@ class User(Base):
|
|||
if self.can_see_restricted_holes != None:
|
||||
return self.can_see_restricted_holes
|
||||
|
||||
if self.truescore >= TRUESCORE_CC_MINIMUM: return True
|
||||
|
||||
return False
|
||||
|
||||
@property
|
||||
|
|
|
@ -539,7 +539,8 @@ COSMETIC_AWARD_COIN_AWARD_PCT = 0.50
|
|||
TRUESCORE_CHAT_MINIMUM = 0
|
||||
TRUESCORE_GHOST_MINIMUM = 0
|
||||
TRUESCORE_DONATE_MINIMUM = 1
|
||||
TRUESCORE_RESTRICTED_HOLES_MINIMUM = 100
|
||||
TRUESCORE_CC_MINIMUM = 0
|
||||
TRUESCORE_CHUDRAMA_MINIMUM = 100
|
||||
|
||||
LOGGEDIN_ACTIVE_TIME = 15 * 60
|
||||
PFP_DEFAULT_MARSEY = True
|
||||
|
|
Loading…
Reference in New Issue