forked from rDrama/rDrama
add fallback award so I dont get fucked by aevann asking me to change something for a site that has 3 active users
parent
c35c852b90
commit
030710e5db
|
@ -6077,7 +6077,7 @@ g {
|
||||||
.fa-spider-web:before{content:"\f719"}
|
.fa-spider-web:before{content:"\f719"}
|
||||||
.fa-coffin-cross:before{content:"\e051"}
|
.fa-coffin-cross:before{content:"\e051"}
|
||||||
.fa-face-sleeping:before{content:"\e38d"}
|
.fa-face-sleeping:before{content:"\e38d"}
|
||||||
|
.fa-block-question:before{content:"\e3dd"}
|
||||||
|
|
||||||
.pronouns {
|
.pronouns {
|
||||||
font-size: 9px;
|
font-size: 9px;
|
||||||
|
|
|
@ -35,7 +35,8 @@ class AwardRelationship(Base):
|
||||||
@lazy
|
@lazy
|
||||||
def type(self):
|
def type(self):
|
||||||
if self.kind in AWARDS: return AWARDS[self.kind]
|
if self.kind in AWARDS: return AWARDS[self.kind]
|
||||||
else: return HOUSE_AWARDS[self.kind]
|
elif self.kind in HOUSE_AWARDS: return HOUSE_AWARDS[self.kind]
|
||||||
|
else: return AWARDS["fallback"]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
|
|
|
@ -688,6 +688,16 @@ COLORS = {'ff66ac','805ad5','62ca56','38a169','80ffff','2a96f3','eb4963','ff0000
|
||||||
BAN_EVASION_DOMAIN = 'rdrama.life'
|
BAN_EVASION_DOMAIN = 'rdrama.life'
|
||||||
|
|
||||||
AWARDS = {
|
AWARDS = {
|
||||||
|
"fallback": {
|
||||||
|
"kind": "fallback",
|
||||||
|
"title": "Unknown",
|
||||||
|
"description": "",
|
||||||
|
"icon": "fas fa-block-question",
|
||||||
|
"color": "text-white",
|
||||||
|
"price": 0,
|
||||||
|
"deflectable": False,
|
||||||
|
"cosmetic": False
|
||||||
|
},
|
||||||
### Deprecated
|
### Deprecated
|
||||||
"ghost": {
|
"ghost": {
|
||||||
"kind": "ghost",
|
"kind": "ghost",
|
||||||
|
@ -1343,7 +1353,7 @@ AWARDS['unpin']['ghost'] = True
|
||||||
|
|
||||||
# Disable unused awards, and site-specific award inclusion/exclusion.
|
# Disable unused awards, and site-specific award inclusion/exclusion.
|
||||||
AWARDS_DISABLED = [
|
AWARDS_DISABLED = [
|
||||||
'ghost', 'nword', 'lootbox', # Generic
|
'fallback', 'ghost', 'nword', 'lootbox', # Generic
|
||||||
'snow', 'gingerbread', 'lights', 'candycane', 'fireplace', 'grinch', # Fistmas
|
'snow', 'gingerbread', 'lights', 'candycane', 'fireplace', 'grinch', # Fistmas
|
||||||
'haunt', 'upsidedown', 'stab', 'spiders', 'fog', # Homoween '21
|
'haunt', 'upsidedown', 'stab', 'spiders', 'fog', # Homoween '21
|
||||||
'jumpscare', 'hw-bite', 'hw-vax', 'hw-grinch', 'flashlight', # Homoween '22
|
'jumpscare', 'hw-bite', 'hw-vax', 'hw-grinch', 'flashlight', # Homoween '22
|
||||||
|
|
Loading…
Reference in New Issue