wasvendel_moonshine
wasvendel scripts
wasvendel_moonshine
wasvendel scripts
wasvendel_moonshine.wasvendel_moonshine folder into your server's resources directory.item.sql into your database to register the drink items.server.cfg after your framework core.Import item.sql to register the moonshine drink items in your inventory system.
Edit config.lua to configure distiller tiers, recipes, transport routes, shops, and drink effects.
| Export | Signature | Description |
|---|---|---|
WasvendelMoonGetDrinkItemTags | (itemName) -> table | nil | Returns crafting tags for a drink item. |
| Event | Payload | Description |
|---|---|---|
wasvendel_moonshine:client:syncAllDistillers | data | Syncs all distillers. |
wasvendel_moonshine:client:updateState | state | Updates the distiller state. |
wasvendel_moonshine:client:cookingTick | data | Sends a cooking progress tick. |
wasvendel_moonshine:client:batchComplete | data | Notifies that a batch has finished. |
wasvendel_moonshine:client:explode | data | Triggers a distiller explosion. |
wasvendel_moonshine:client:notify | msg | Sends a notification. |
wasvendel_moonshine:client:startPlacement | tier | Starts distiller placement mode. |
| Event | Payload | Description |
|---|---|---|
wasvendel_moonshine:client:transportBeginPickup | None | Starts the transport mission pickup phase. |
wasvendel_moonshine:client:transportDeliveryDone | None | Notifies that the delivery is complete. |
wasvendel_moonshine:client:rangerAlert | bdata | Sends a law enforcement alert. |
| Event | Payload | Description |
|---|---|---|
wasvendel_moonshine:client:applyDrinkProfile | payload | Applies a drink effect profile. |
| Event | Payload | Description |
|---|---|---|
wasvendel_moonshine:client:shopOpen | data | Opens the ingredient shop. |
wasvendel_moonshine:client:shopRefresh | data | Refreshes the shop stock. |
| Event | Payload | Description |
|---|---|---|
wasvendel_moonshine:server:placeDistiller | tier, coords, heading | Places a distiller. |
wasvendel_moonshine:server:pickupDistiller | distId | Picks up a distiller. |
wasvendel_moonshine:server:openUI | distId, openMode | Opens the distiller UI. |
wasvendel_moonshine:server:startCooking | distId, recipeKey | Starts cooking. |
wasvendel_moonshine:server:startBottling | distId, recipeKey, sizeKey, quantity | Starts bottling. |
wasvendel_moonshine:server:startTransport | distId, selection | Starts a transport mission. |
wasvendel_moonshine:server:shopBuy | shopId, itemName, qty, ingameHour | Purchases items from a shop. |