bs_crafting
craft kuyrukları, istasyonlar, yemek pişirme, toplama, çiftçilik ve tuzaklar.
resources/[beyond]/bs_crafting/ içindeki Lua kaynaklarından üretildi. 49 kayıt. Açıklama sütunu koddaki satırın üstündeki yorumdur, bu yüzden boşsa henüz kimse yazmamıştır.
Dışa aktarımlar
Section titled “Dışa aktarımlar”Aynı taraftan exports.bs_crafting:Name(...) ile çağırın.
| Ad | Taraf | Nerede | Açıklama |
|---|---|---|---|
Context | client | client/cl_main.lua:73 | |
OpenContext | client | client/cl_main.lua:72 | bs_recycler ve diğerleri kendi makine görünümlerini aynı sekmede gösterir. |
OpenCraft | client | client/cl_main.lua:70 | |
ConfigExt | server | server/sv_admin.lua:59 | |
RecipeFor | server | server/sv_main.lua:635 | Bir eşyayı üreten tarifin maliyeti, recycler için (bulunan ilk tarif, elle yapılan tercih edilir). |
Recipes | server | server/sv_main.lua:633 | |
SkillLevel | server | server/sv_main.lua:642 | |
StationDefs | server | server/sv_main.lua:625 | bs_building’in RegisterPlaceable’ı için istasyon tanımları. |
Callback’ler
Section titled “Callback’ler”Sunucu callback’leri istemciden BSB.Await(name, timeoutMs, ...) ile çağrılır. İstemci callback’leri sunucudan BSB.AwaitClient(src, name, timeoutMs, ...) ile çağrılır.
| Ad | Yön | Nerede | Açıklama |
|---|---|---|---|
crafting:cancel | client -> server | server/sv_main.lua:496 | |
crafting:crops | client -> server | server/sv_world.lua:372 | Yakındaki tarlalar için ekin aşamaları, istemciler çizebilsin diye. |
crafting:dismantleFinish | client -> server | server/sv_world.lua:156 | |
crafting:dismantleStart | client -> server | server/sv_world.lua:145 | |
crafting:farm | client -> server | server/sv_world.lua:333 | |
crafting:forageFinish | client -> server | server/sv_world.lua:93 | |
crafting:forageStart | client -> server | server/sv_world.lua:82 | |
crafting:hand | client -> server | server/sv_main.lua:441 | |
crafting:nearStations | client -> server | server/sv_main.lua:548 | Oyuncunun yakınındaki istasyonlar, istemcinin etkileşim bölgeleri için. |
crafting:openStorage | client -> server | server/sv_main.lua:540 | |
crafting:pickupTrap | client -> server | server/sv_world.lua:279 | |
crafting:placeTrap | client -> server | server/sv_world.lua:205 | |
crafting:queue | client -> server | server/sv_main.lua:449 | |
crafting:salvageFinish | client -> server | server/sv_world.lua:116 | |
crafting:salvageStart | client -> server | server/sv_world.lua:108 | |
crafting:skinFinish | client -> server | server/sv_world.lua:63 | |
crafting:skinStart | client -> server | server/sv_world.lua:51 | |
crafting:state | client -> server | server/sv_main.lua:397 | |
crafting:take | client -> server | server/sv_main.lua:527 |
Olaylar
Section titled “Olaylar”“net”, işleyicinin RegisterNetEvent ile kaydedildiği, yani diğer tarafın tetikleyebildiği anlamına gelir. “local” yalnızca AddEventHandler’dır (aynı taraf veya oyun olayları).
| Ad | Taraf | Tür | Nerede | Açıklama |
|---|---|---|---|---|
bs:building:pieceRemoved | server | local | server/sv_main.lua:564 | Sökülen bir istasyon kuyruğunu, sıraya koyan kişiye geri verir. |
bs:crafting:alarm | client | net | client/cl_world.lua:220 | |
bs:crafting:farmChanged | client | net | client/cl_world.lua:274 | |
bs:crafting:forage | client | local | client/cl_world.lua:63 | |
bs:crafting:openStation | client | net | client/cl_main.lua:168 | |
bs:crafting:openStorage | client | net | client/cl_main.lua:179 | |
bs:crafting:pickupTrap | client | local | client/cl_world.lua:135 | |
bs:crafting:placeTrap | client | net | client/cl_world.lua:144 | |
bs:crafting:salvage | client | local | client/cl_world.lua:70 | |
bs:crafting:skinAnimal | client | local | client/cl_world.lua:45 | |
bs:crafting:skinZombie | client | local | client/cl_world.lua:31 | Zombi cesetleri: bs_zombies bu seçeneği args.zid ile “Search body” yanına ekler. |
bs:crafting:stewBonus | client | net | client/cl_main.lua:223 | |
bs:crafting:trapHit | server | net | server/sv_world.lua:247 | Bir istemci bir şeyin tuzağa bastığını gördü. |
bs:crafting:trapped | client | net | client/cl_world.lua:197 | |
bs:crafting:traps | client | net | client/cl_world.lua:121 | |
bs:crafting:trapSnap | client | net | client/cl_world.lua:212 | |
bs:crafting:useItem | server | local | server/sv_world.lua:173 | |
bs:hook:player:spawned | server | local | server/sv_main.lua:594 | Bekleyen iadeler spawn olunca ödenir. |
bs:ui:closed | client | local | client/cl_main.lua:75 | |
onResourceStart | server | local | server/sv_admin.lua:96 | |
onResourceStop | client | local | client/cl_main.lua:217 | |
playerDropped | server | local | server/sv_main.lua:580 | Elle işler çıkışta iade edilir, böylece craft ortasında hiçbir şey kaybolmaz. |
Komutlar
Section titled “Komutlar”Yok.
bs19.org · Privacy · Terms · Cookie settings
Cookies and outside content
The site only needs two essential cookies to keep you logged in and protect forms. Videos and streams from YouTube and Twitch load from their servers, which can set their own cookies, so they stay off until you say yes. Nothing is pre-ticked and you can change your mind any time with "Cookie settings" at the bottom of every page. Details.
Questions about the server, the framework or the site? A real person reads this, usually within a day.