> For the complete documentation index, see [llms.txt](https://tgiann.gitbook.io/tgiann/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tgiann.gitbook.io/tgiann/scripts/tgiann-npc-guide/configs/configtips.lua.md). Agents can also search and read this documentation through its [MCP server](https://tgiann.gitbook.io/tgiann/~gitbook/mcp).

# configTips.lua

The stories every NPC can tell, keyed by the NPC `id` from `config.lua`. One story is told per visit. The story `id` is saved per player and doubles as the audio file name, so keep it unique and stable.

```lua
-- Stories per NPC, keyed by the NPC `id` from configs/config.lua. One story per visit.
-- `id` must be unique inside the NPC and stable (saved per player). Keep each text under ~400 characters.
-- title / text accept a plain string or a language table { tr = "...", en = "..." }.
-- The `id` is also the audio file name: sounds/<npc>/<lang>-<id>.ogg (see generator/generate.bat).
-- Edit the texts to match your server, then run generator/generate.bat --force --clean to rebuild the voices.
---@type table<string, GuideTip[]>
config.npcGuideTips = {}

-- ============================================================
-- Legal side: the old man downtown.
-- ============================================================
config.npcGuideTips.elder = {
    {
        id = "start",
        title = { tr = "İlk adım", en = "First steps" },
        text = {
            tr = "Cebin boşsa önce İş Merkezine uğra evlat. Orada kimseye sormadan başlayabileceğin işler var, kurye, çöpçü, taksi. Bir vardiya kısa sürer, aracı teslim edince paran elinde. Başta az verirler ama devam ettikçe artar. Bazı işler belge ister, ona da ayrıca bakarız.",
            en = "If your pockets are empty, kid, start at the Job Center. There is work there nobody asks questions about, courier, garbage, taxi. A shift is short and you get paid when you hand the vehicle back. The pay is small at first, but it grows the longer you stick with it. Some jobs want a permit, we will get to that.",
        },
    },
    {
        id = "licence",
        title = { tr = "Belgeler", en = "Papers" },
        text = {
            tr = "Bu şehirde direksiyona geçmek için belge lazım. Sürücü kursuna gidip sınava gireceksin, kamyon, tekne, helikopter gibi şeyler için ayrı belge var. Belgelerin süresi dolar, ara sıra kontrol et. Belgesiz yakalanırsan hem cezayı ödersin hem de o kadar yol boşa gider.",
            en = "You need papers to drive in this city. Go to the driving school and take the test, and trucks, boats and helicopters each want their own license. Papers expire, so check them now and then. Get caught without one and you pay the fine and lose the trip.",
        },
    },
    {
        id = "gathering",
        title = { tr = "Doğanın işi", en = "Working the land" },
        text = {
            tr = "Kalabalıktan hoşlanmıyorsan doğaya git evlat. İskelede balık tutarsın, dağda avlanırsın, tarlada ekip biçersin. Takımı marketten alacaksın, ürünü de alıcıya götüreceksin. Sabır ister ama kimse başında durmaz, kendi saatinde çalışırsın.",
            en = "If you do not like crowds, kid, go out to the land. Fish at the pier, hunt in the hills, plant and harvest in the fields. You buy the gear from the store and carry the goods to the buyer. It takes patience, but nobody stands over you, you work your own hours.",
        },
    },
    {
        id = "business",
        title = { tr = "Kendi dükkanın", en = "Your own place" },
        text = {
            tr = "Biraz para biriktirince kendi dükkanını alabilirsin. Lokanta, market, benzinlik, hepsi satılık. Malı sen alırsın, fiyatı sen koyarsın, istersen yanına adam da alırsın. Rafı boş bırakma, müşteri bir kere gitti mi kolay geri gelmez.",
            en = "Once you have saved a little, you can buy a place of your own. A diner, a store, a gas station, they are all for sale. You buy the stock, you set the prices, and you can hire people if you like. Never leave the shelves empty, a customer who walks out does not come back easily.",
        },
    },
    {
        id = "mechanic",
        title = { tr = "Tamirci ve çekici", en = "Mechanics and tow trucks" },
        text = {
            tr = "Araban bozulunca tamirciye git, motoru düzeltir, boyasını yapar, istersen daha hızlı hale getirir. Yolda kaldıysan çekici çağır, seni dükkana götürür. Çekicilik de bir iş bu arada, şehirde terk edilmiş araçları toplayıp para kazanırsın.",
            en = "When your car breaks down, see a mechanic. He fixes the engine, paints it, and makes it faster if you want. If you are stuck on the road, call a tow truck and they haul you to the shop. Towing is a job too, by the way, you collect abandoned cars around the city and get paid for it.",
        },
    },
    {
        id = "skills",
        title = { tr = "Ustalaşmak", en = "Getting good" },
        text = {
            tr = "Bu şehirde ne yaparsan yap, yaptıkça ustalaşırsın. Çok koşan daha uzun koşar, çok süren daha iyi sürer, çok çalışan daha çok kazanır. Kimse sana ilk gün usta muamelesi yapmaz. Bir işe sarıl ve bırakma, aradaki farkı birkaç hafta sonra görürsün.",
            en = "Whatever you do in this city, you get better by doing it. Run a lot and you run longer, drive a lot and you drive better, work a lot and you earn more. Nobody treats you like a master on day one. Pick a trade and stick with it, you will see the difference in a few weeks.",
        },
    },
    {
        id = "bank",
        title = { tr = "Banka ve faturalar", en = "The bank and the bills" },
        text = {
            tr = "Parayı cebinde taşıma evlat, bankaya yatır. Bankamatik her köşede var, kartını da unutma. Hastane, tamirci, ceza, hepsi fatura keser ve faturalar birikir. Ödemezsen hesabın kilitlenir, o zaman iş bulmak da zorlaşır.",
            en = "Do not carry your money around, kid, put it in the bank. There is a cash machine on every corner, and do not forget your card. The hospital, the mechanic, the fines, they all send bills, and bills pile up. Leave them unpaid and your account gets locked, then even finding work gets hard.",
        },
    },
    {
        id = "home",
        title = { tr = "Bir çatı", en = "A roof" },
        text = {
            tr = "Yatacak yerin yoksa motelden oda tut, ucuzdur, eşyanı koyacak bir dolabı da olur. Paran artınca emlakçıya git, ev al. Evin garajı, kasası, gardırobu olur. Ev sahibi olmak bu şehirde bir şeydir, sana bakış değişir.",
            en = "If you have nowhere to sleep, rent a motel room, it is cheap and it has a locker for your things. When the money comes in, see the estate agent and buy a house. A house has a garage, a safe, a wardrobe. Owning a home means something in this city, people look at you differently.",
        },
    },
    {
        id = "vehicle",
        title = { tr = "Arabana bak", en = "Look after your car" },
        text = {
            tr = "Arabayı sokakta bırakırsan çekilir, otoparktan ücret ödeyip alırsın. Garaja koy, ne kaybolur ne çizilir. Yakıtı bitmeden doldur, benzinlik gece de açık. Arada oto yıkamaya sok, kirli arabaya ne polis iyi bakar ne müşteri.",
            en = "Leave your car on the street and it gets towed, then you pay the impound to get it back. Put it in a garage, nothing gets lost or scratched. Fill the tank before it runs dry, the gas station is open at night. Run it through the car wash now and then, nobody trusts a dirty car, not the police, not the customers.",
        },
    },
    {
        id = "friend",
        title = { tr = "Köprü altındaki arkadaşım", en = "My friend under the bridge" },
        text = {
            tr = "Sana anlattıklarımın hepsi temiz iş evlat. Ama bu şehrin bir de öteki yüzü var. Köprünün altında eski bir arkadaşım oturur, gençken bu şehri iyi tanıyan biriydi. Benim adımı söyle, sana öbür tarafı anlatır. Ama unutma, o yol hızlı kazandırır, hızlı da kaybettirir.",
            en = "Everything I told you is honest work, kid. But this city has another face. An old friend of mine sits under the bridge, he knew this city well when he was young. Give him my name and he will tell you about the other side. But remember, that road pays fast and takes fast.",
        },
    },
}

-- ============================================================
-- Illegal side: the retired robber under the bridge.
-- ============================================================
config.npcGuideTips.outlaw = {
    {
        id = "queue",
        title = { tr = "İşler sırayla", en = "Jobs go in turns" },
        text = {
            tr = "Bu şehirde soygun kafana göre olmaz. Her iş için sıra vardır, sıraya girersin, sıra sana gelince haber gelir. Şehirde yeterince polis yoksa iş açılmaz, bekleyeceksin. Sırayı kaçırırsan başa dönersin, telefonu elinden bırakma.",
            en = "You do not rob whatever you like in this city. Every job has a queue, you get in line and you get word when it is your turn. If there are not enough cops in town the job does not open, you wait. Miss your turn and you go back to the start, so keep your phone close.",
        },
    },
    {
        id = "escape",
        title = { tr = "Kaçmak bir sanattır", en = "Escaping is an art" },
        text = {
            tr = "İçeri girmek kolay, çıkmak zor. Kaçış arabanı önceden park et, mümkünse ikinci bir araba daha. Dar sokaklara gir, plakayı sök, rengi değiştir. Bir süre ortalıkta görünmezsen polis peşini bırakır. Eve dümdüz gitme, kapıda seni beklerler.",
            en = "Getting in is easy, getting out is hard. Park your escape car ahead of time, and a second one if you can. Take the narrow streets, pull the plate, change the color. Stay out of sight for a while and the cops let go. Never drive straight home, they will be waiting at the door.",
        },
    },
    {
        id = "weapons",
        title = { tr = "İşine göre alet", en = "The right tool" },
        text = {
            tr = "Küçük işte büyük silah taşıyan aptaldır. Market için tabanca yeter, bankada daha ağır şeyler ister. Silahı da mermiyi de temiz kaynaktan al, kayıtlı silahla soygun yapan ilk sorguda yanar. Kullanmadığın silahı üstünde taşıma, sokak araması bitirir seni.",
            en = "Carrying a big gun to a small job is stupid. A pistol is enough for a store, a bank wants heavier things. Buy your guns and your ammo from clean sources, rob with a registered gun and you burn at the first interrogation. Do not carry what you do not use, a street search ends you.",
        },
    },
    {
        id = "laylow",
        title = { tr = "Ortalığı yatıştır", en = "Laying low" },
        text = {
            tr = "Bir iş bitince hemen ikinciye koşma. Soyulan yer bir süre kapanır, polis de tetikte olur. O arada malı sat, parayı temizle, silahı sakla. Aynı yeri üst üste vuran adamı herkes tanır, tanınan adam uzun yaşamaz.",
            en = "When a job is done, do not run to the next one. The place you hit stays closed for a while and the cops are on edge. Use that time to sell the goods, clean the money, hide the gun. Everyone knows the guy who hits the same place twice, and a known guy does not last long.",
        },
    },
    {
        id = "caught",
        title = { tr = "Yakalanırsan", en = "If you get caught" },
        text = {
            tr = "Yakalanırsan sus. Kimin adını verirsen ver, ceza aynı. Hapiste sayaç dolar, kamu hizmetinde çöp toplarsın, ikisi de bir gün biter. Üstündeki her şeyi alırlar, o yüzden değerli şeyi işe giderken taşıma. Kaçmayı dene ama yakalanırsan süre uzar.",
            en = "If they catch you, keep quiet. Whatever names you give, the sentence stays the same. In jail the clock runs down, in community service you pick up trash, both end one day. They take everything you carry, so do not bring anything valuable to a job. Try to escape if you want, but get caught and the time doubles.",
        },
    },
    {
        id = "record",
        title = { tr = "Sabıka", en = "A record" },
        text = {
            tr = "Her yakalanış kayda geçer. Sabıkan kabardıkça temiz iş kapıları kapanır, belge alamazsın, hastane bile sana farklı bakar. Yaralanırsan resmi doktora gitme, kayıtsız çalışan biri var, biraz pahalıdır ama soru sormaz.",
            en = "Every arrest goes on record. The thicker your file, the more honest doors close, no permits, even the hospital looks at you differently. If you get hurt, do not go to the official doctor, there is a guy who works off the books, a little pricey but he asks no questions.",
        },
    },
    {
        id = "materials",
        title = { tr = "Malzeme nereden", en = "Where the scrap comes from" },
        text = {
            tr = "Hiçbir şey hazır gelmez. Terk edilmiş araçları sök, hurdalığı karıştır, eski elektroniği parçala. Çıkan vida, kablo, metal işin temeli. Kimse sana anahtar teslim silah vermez, kendin yapacaksın ya da yapana malzeme taşıyacaksın.",
            en = "Nothing comes ready made. Strip abandoned cars, dig through the scrapyard, break down old electronics. The screws, wires and metal you get are the base of everything. Nobody hands you a finished gun, you build it yourself or you carry parts to the one who does.",
        },
    },
    {
        id = "workbench",
        title = { tr = "Tezgahlar", en = "The workbenches" },
        text = {
            tr = "Şehrin kuytularında tezgahlar var. Malzemeyi götürürsün, tarifi biliyorsan aleti yaparsın. Maymuncuk, kesici, plaka, hepsi orada çıkar. Tarifleri yaşlılardan öğrenirsin ya da parayla alırsın. Tezgahın yerini kimseye söyleme, ortak tezgah çabuk yanar.",
            en = "There are workbenches hidden around the city. Bring the materials, and if you know the recipe you build the tool. Lockpicks, cutters, plates, they all come from there. You learn the recipes from the old timers or you buy them. Never tell anyone where your bench is, a shared bench burns fast.",
        },
    },
    {
        id = "corner",
        title = { tr = "Köşe ve paket", en = "The corner and the package" },
        text = {
            tr = "Küçük paraya köşede satış yaparsın, yoldan geçen alır, arada biri polisi arar. Daha büyük paraya paket dağıtırsın, sana adres verirler, teslim edersin. Aynı köşede uzun durma, aynı adresi iki kere alma. Sokak seni hatırladığı gün bitersin.",
            en = "For small money you sell on the corner, people walking by buy, and now and then someone calls the cops. For bigger money you run packages, they give you an address, you deliver. Do not stay on one corner too long, do not take the same address twice. The day the street remembers you, you are done.",
        },
    },
    {
        id = "moneywash",
        title = { tr = "Kirli para", en = "Dirty money" },
        text = {
            tr = "Soygundan çıkan para kirlidir, bankaya yatıramazsın, dükkanda harcayamazsın. Bir yer var, komisyon kesip temizler. Komisyon yüksek gelirse bil ki yakalanınca hepsini alıyorlar. Kirli parayı üstünde gezdirme, temizle, sonra bankaya koy.",
            en = "The money from a job is dirty, you cannot bank it, you cannot spend it in a store. There is a place that takes a cut and cleans it. If the cut feels high, remember they take all of it when you get caught. Do not walk around with dirty money, clean it, then put it in the bank.",
        },
    },
}
```
