Trading mod: shops as data and the trade window

This commit is contained in:
cthangover committed 2026-10-23 09:30:05 +03:00
commit 89ee23f1e6
19 files changed
+1595

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
mod_trading_name = Trading
mod_trading_desc = Merchants' shops: what they sell, what they buy back and at which price ("Kind": "shop" data), and a trade window of two inventories, the merchant's goods and the player's bag. Money is an ordinary item, the gold coin.
trading/item/coin/name = Gold coin
trading/item/coin/desc = Common coin. Merchants take and pay nothing else.
trading/ui/merchant_goods = Merchant's goods
trading/ui/your_bag = Your bag
trading/ui/hint = Pick goods on the left to buy or an item on the right to sell. Esc closes.
trading/ui/select = Pick goods of the merchant or an item in your bag.
trading/ui/badge_merchant = Merchant's
trading/ui/badge_yours = Yours
trading/ui/unit_price = Price
trading/ui/wallet = Wallet
trading/ui/you_have = You have
trading/ui/not_bought = The merchant does not buy this.
trading/ui/no_money = Not enough coins.
trading/ui/nothing_to_sell = Nothing to sell.
trading/ui/quantity = Quantity
trading/ui/all = All
trading/ui/total = Total: {0} coins
trading/ui/buy = Buy
trading/ui/sell = Sell
trading/ui/bought = Bought: {0} ×{1} for {2} coins
trading/ui/sold = Sold: {0} ×{1} for {2} coins
trading/ui/deal_failed = The deal did not go through.
trading/ui/price_tag = {0} c
+25
View File
@@ -0,0 +1,25 @@
mod_trading_name = Торговля
mod_trading_desc = Лавки торговцев: что продают, что скупают и почём (данные «Kind»: «shop»), и окно торговли из двух инвентарей — товары торговца и сумка игрока. Деньги — обычный предмет, золотая монета.
trading/item/coin/name = Золотая монета
trading/item/coin/desc = Ходовая монета. Торговцы берут и платят только ею.
trading/ui/merchant_goods = Товары торговца
trading/ui/your_bag = Ваша сумка
trading/ui/hint = Выберите товар слева, чтобы купить, или вещь справа, чтобы продать. Esc — закрыть.
trading/ui/select = Выберите товар у торговца или вещь в своей сумке.
trading/ui/badge_merchant = У торговца
trading/ui/badge_yours = Ваше
trading/ui/unit_price = Цена
trading/ui/wallet = В кошельке
trading/ui/you_have = У вас
trading/ui/not_bought = Торговец это не покупает.
trading/ui/no_money = Не хватает монет.
trading/ui/nothing_to_sell = Продавать нечего.
trading/ui/quantity = Количество
trading/ui/all = Все
trading/ui/total = Итого: {0} мон.
trading/ui/buy = Купить
trading/ui/sell = Продать
trading/ui/bought = Куплено: {0} ×{1} за {2} мон.
trading/ui/sold = Продано: {0} ×{1} за {2} мон.
trading/ui/deal_failed = Сделка не состоялась.
trading/ui/price_tag = {0} мон.