store restocking
Posted: Fri Feb 18, 2011 12:15 pm
I think there is a bug in these lines
Output from my game:
Code: Select all
if self.last_filled and p and self.last_filled >= p.level - s.restock_every then
print("[STORE] not restocking yet [player level]", p.level, s.restock_every, self.last_filled)
return false
end
The no-restocking condition is almost always true.[STORE] not restocking yet [player level] 24 5 809136