Keeps the repo root clean - only README.md visible on landing page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
461 B
C#
18 lines
461 B
C#
var offers = new (string Identifier, int PriceThreshold)[] {
|
|
("hween_c22_taintedlamp", 9)
|
|
};
|
|
|
|
while (Run) {
|
|
foreach (var offer in offers) {
|
|
var info = FurniData[offer.Identifier];
|
|
var mpOffer = SearchMarketplace(info.Name)
|
|
.OfKind(offer.Identifier)
|
|
.FirstOrDefault();
|
|
if (mpOffer != null) {
|
|
if (mpOffer.Price <= offer.PriceThreshold) {
|
|
Send(Out.MarketplaceBuyOffer, (int)mpOffer.Id);
|
|
}
|
|
}
|
|
Delay(400);
|
|
}
|
|
} |