forked from MarseyWorld/MarseyWorld
increase vamp award duration from 1 day to 2 days (but dont advertise that this time)
parent
4f491d5ef7
commit
282762bef8
|
@ -1278,7 +1278,7 @@ HOUSE_AWARDS = {
|
|||
"Vampire": {
|
||||
"kind": "Vampire",
|
||||
"title": "Bite",
|
||||
"description": "Turns the recipient into a vampire for 24 hours.",
|
||||
"description": "Turns the recipient into a vampire for 2 days.",
|
||||
"icon": "fas fa-bat",
|
||||
"color": "text-gray",
|
||||
"price": 400,
|
||||
|
|
|
@ -344,8 +344,8 @@ def award_thing(v, thing_type, id):
|
|||
thing.body_html = sanitize(body, limit_pings=5)
|
||||
g.db.add(thing)
|
||||
elif "Vampire" in kind and kind == v.house:
|
||||
if author.bite: author.bite += 86400
|
||||
else: author.bite = int(time.time()) + 86400
|
||||
if author.bite: author.bite += 172800
|
||||
else: author.bite = int(time.time()) + 172800
|
||||
|
||||
if not author.old_house:
|
||||
author.old_house = author.house
|
||||
|
|
Loading…
Reference in New Issue