forked from MarseyWorld/MarseyWorld
add gigapin award
parent
9d825cc376
commit
5ea8c48be8
|
@ -624,12 +624,12 @@ class User(Base):
|
|||
@property
|
||||
@lazy
|
||||
def awards_content_effect(self):
|
||||
return [x for x in self.user_awards if x['cosmetic'] or x['kind'] in {"pin", "unpin"}]
|
||||
return [x for x in self.user_awards if x['cosmetic'] or x['kind'] in {"pin", "gigapin", "unpin"}]
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def awards_author_effect(self):
|
||||
return [x for x in self.user_awards if not x['cosmetic'] and x['kind'] not in {"pin", "unpin"}]
|
||||
return [x for x in self.user_awards if not x['cosmetic'] and x['kind'] not in {"pin", "gigapin", "unpin"}]
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
|
|
@ -791,7 +791,7 @@ AWARDS = {
|
|||
"description": "Pins a post for 12 hour or a comment for 72 hours.",
|
||||
"icon": "fas fa-thumbtack fa-rotate--45",
|
||||
"color": "text-danger",
|
||||
"price": 14000,
|
||||
"price": 13500,
|
||||
"deflectable": False,
|
||||
"cosmetic": False,
|
||||
"ghost": True,
|
||||
|
|
Loading…
Reference in New Issue