bs_crafting
kolejki craftingu, stacje, gotowanie, zbieranie, uprawa i pułapki.
Wygenerowano ze źródeł Lua w resources/[beyond]/bs_crafting/. Wpisów: 49. Kolumna opisu to komentarz nad linią w kodzie, więc jeśli jest pusta, nikt jeszcze go nie napisał.
Eksporty
Dział zatytułowany „Eksporty”Wywołuj przez exports.bs_crafting:Name(...) z tej samej strony.
| Nazwa | Strona | Gdzie | Opis |
|---|---|---|---|
Context | client | client/cl_main.lua:73 | |
OpenContext | client | client/cl_main.lua:72 | bs_recycler i inne pokazują własny widok maszyny w tej samej zakładce. |
OpenCraft | client | client/cl_main.lua:70 | |
ConfigExt | server | server/sv_admin.lua:59 | |
RecipeFor | server | server/sv_main.lua:635 | Koszt receptury, która tworzy przedmiot, dla recyclera (pierwsza znaleziona receptura, preferowana ręczna). |
Recipes | server | server/sv_main.lua:633 | |
SkillLevel | server | server/sv_main.lua:642 | |
StationDefs | server | server/sv_main.lua:625 | Definicje stacji dla RegisterPlaceable z bs_building. |
Callbacki
Dział zatytułowany „Callbacki”Callbacki serwera są wywoływane z klienta przez BSB.Await(name, timeoutMs, ...). Callbacki klienta są wywoływane z serwera przez BSB.AwaitClient(src, name, timeoutMs, ...).
| Nazwa | Kierunek | Gdzie | Opis |
|---|---|---|---|
crafting:cancel | client -> server | server/sv_main.lua:496 | |
crafting:crops | client -> server | server/sv_world.lua:372 | Etapy upraw dla pobliskich grządek, żeby klienci mogli je rysować. |
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 | Stacje w pobliżu gracza, dla stref interakcji klienta. |
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 |
Zdarzenia
Dział zatytułowany „Zdarzenia”„net” oznacza, że handler jest zarejestrowany przez RegisterNetEvent, więc druga strona może go wywołać. „local” to tylko AddEventHandler (ta sama strona lub zdarzenia gry).
| Nazwa | Strona | Typ | Gdzie | Opis |
|---|---|---|---|---|
bs:building:pieceRemoved | server | local | server/sv_main.lua:564 | Rozebrana stacja zwraca kolejkę temu, kto ją ustawił. |
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 | Zwłoki zombie: bs_zombies dodaje tę opcję obok “Search body” z args.zid. |
bs:crafting:stewBonus | client | net | client/cl_main.lua:223 | |
bs:crafting:trapHit | server | net | server/sv_world.lua:247 | Klient zobaczył, jak coś wchodzi na pułapkę. |
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 | Oczekujące zwroty są wypłacane przy spawnie. |
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 | Zadania ręczne są zwracane przy wylogowaniu, żeby nic nie przepadło w trakcie craftu. |
Komendy
Dział zatytułowany „Komendy”Brak.
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.