File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -240,6 +240,7 @@ def build(self):
240
240
beds = self ._beds ,
241
241
owner = self ._owner ,
242
242
owner_sex = self ._owner_sex ,
243
+ paid_until = self ._paid_until ,
243
244
transfer_recipient = self ._transfer_recipient ,
244
245
transfer_price = self ._transfer_price ,
245
246
transfer_date = self ._transfer_date ,
Original file line number Diff line number Diff line change 24
24
id_regex = re .compile (r"house_(\d+)\." )
25
25
bed_regex = re .compile (r"This (?P<type>\w+) can have up to (?P<beds>[\d-]+) bed" )
26
26
info_regex = (
27
- re .compile (r"The house has a size of (?P<size>\d+) square meters?. "
28
- r"The monthly rent is (?P<rent>\d+k? ) gold and will be debited to the bank account on (?P<world>\w+)." )
27
+ re .compile (r"The (?: house|guildhall) has a size of (?P<size>\d+) square meters?. "
28
+ r"The monthly rent is (?P<rent>\d+k+ ) gold and will be debited to the bank account on (?P<world>\w+)." )
29
29
)
30
30
31
- rented_regex = re .compile (r"The house has been rented by (?P<owner>[^.]+)\."
31
+ rented_regex = re .compile (r"The (?: house|guildhall) has been rented by (?P<owner>[^.]+)\."
32
32
r" (?P<pronoun>\w+) has paid the rent until (?P<paid_until>[^.]+)\." )
33
33
transfer_regex = re .compile (r"\w+ will move out on (?P<transfer_date>[^(]+)\([^)]+\)(?: and (?P<verb>wants to|will)"
34
- r" pass the house to (?P<transferee>[\w\s]+) for (?P<transfer_price>\d+) gold coin)?" )
34
+ r" pass the (?:house|guildhall) to (?P<transferee>[\w\s]+) for "
35
+ r"(?P<transfer_price>\d+) gold coin)?" )
35
36
moving_regex = re .compile (r"\w+ will move out on (?P<move_date>[^(]+)" )
36
37
bid_regex = (
37
38
re .compile (r"The highest bid so far is (?P<highest_bid>\d+) gold and has been submitted by (?P<bidder>[^.]+)" )
You can’t perform that action at this time.
0 commit comments