forked from MarseyWorld/MarseyWorld
buff vamp house award
parent
7102d4744f
commit
71f3a2c24c
|
@ -800,10 +800,10 @@ HOUSE_AWARDS = {
|
||||||
"Vampire": {
|
"Vampire": {
|
||||||
"kind": "Vampire",
|
"kind": "Vampire",
|
||||||
"title": "Bite",
|
"title": "Bite",
|
||||||
"description": "Turns the recipient into a vampire for 24 hours.",
|
"description": "Turns the recipient into a vampire for 3 days.",
|
||||||
"icon": "fas fa-bat",
|
"icon": "fas fa-bat",
|
||||||
"color": "text-gray",
|
"color": "text-gray",
|
||||||
"price": 777
|
"price": 400
|
||||||
},
|
},
|
||||||
"Racist": {
|
"Racist": {
|
||||||
"kind": "Racist",
|
"kind": "Racist",
|
||||||
|
|
|
@ -355,8 +355,8 @@ def award_thing(v, thing_type, id):
|
||||||
thing.body_html = sanitize(body, limit_pings=5, marsified=True)
|
thing.body_html = sanitize(body, limit_pings=5, marsified=True)
|
||||||
g.db.add(thing)
|
g.db.add(thing)
|
||||||
elif "Vampire" in kind and kind == v.house:
|
elif "Vampire" in kind and kind == v.house:
|
||||||
if author.bite: author.bite += 86400
|
if author.bite: author.bite += 259200
|
||||||
else: author.bite = int(time.time()) + 86400
|
else: author.bite = int(time.time()) + 259200
|
||||||
author.old_house = author.house
|
author.old_house = author.house
|
||||||
author.house = 'Vampire'
|
author.house = 'Vampire'
|
||||||
elif "Racist" in kind and kind == v.house:
|
elif "Racist" in kind and kind == v.house:
|
||||||
|
|
Loading…
Reference in New Issue