VCORE Ecosystem StudioFrameworkServerClipr
VCORE Studio›Products›Vcore Framework›Resources
Documentation
Docs/Resources/Base/drugtables
Base Resource

Vcore-drugtables

Native VCORE rewrite of the table-processing and medicine-run resource. The existing drugtable interaction type in VCore Base/coregame/config.lua already places vretmltableb and fires drugstable:openTable; this resource retains that compatibility event and uses the rebuilt Core menu, prompt, notification and progress systems. The server owns ingredient removal, table locks, distance validation, minimum completion time, durability, contamination, rewards and delivery assignments. Every batch and courier lifecycle is sent to the central VCORE logger. Configuration is deliberately retained even when an item is absent. The resource reports missing shared definitions on startup so the item list can be completed without losing recipes.

Resource folder: drugtablesv1.0.0VCore FrameworkGameplay systems

Introduction

Native VCORE rewrite of the table-processing and medicine-run resource. The existing drugtable interaction type in VCore Base/coregame/config.lua already places vretmltableb and fires drugstable:openTable; this resource retains that compatibility event and uses the rebuilt Core menu, prompt, notification and progress systems. The server owns ingredient removal, table locks, distance validation, minimum completion time, durability, contamination, rewards and delivery assignments. Every batch and courier lifecycle is sent to the central VCORE logger. Configuration is deliberately retained even when an item is absent. The resource reports missing shared definitions on startup so the item list can be completed without losing recipes.

2Client Lua
2Server Lua
0Exports
9Events
0SQL tables

No manifest UI page detected.

Dependencies & References

ResourceTypePackage status
coreManifest dependencyIncluded in Base
core_gameManifest dependencyIncluded in Base
inventoryManifest dependencyIncluded in Base
vcore_minigamesManifest dependencyIncluded in Base
gangsReferenced resourceIncluded in Base
logsReferenced resourceIncluded in Base

Cross-resource export calls

ResourceFunctions called
coregetCoreObject
core_gameGetClosestInteractionObject, GetInteractionObject, SetInteractionObjectMetadata
gangsIsCSNInAGang
inventoryGetItemAmount, SetItemDescriptionFormatter
logsLog
vcore_minigamesStart

Installation / Start Order

Install the resource with its required dependencies, then enable it in your resource start order.

server.cfg
ensure drugtables

Configuration

Config files

  • config.lua

Top-level config keys

ActionCooldownFailedBatchRefundInteractionDistanceMedRunsProcessesRepairServerDistanceSkillGameSkillSettingsTableItemTableType

Events, Exports & Callbacks

Exports

No exports are documented for this resource.

Callbacks

Server callbacks5
  • drugtables:server:completeMedDrop
  • drugtables:server:getTable
  • drugtables:server:startBatch
  • drugtables:server:startMedRun
  • drugtables:server:startService

Registered network events

Client registered events6
  • core:resetUi
  • drugstable:openTable
  • drugtables:client:medAssigned
  • drugtables:client:medEnded
  • drugtables:client:medWaiting
  • drugtables:client:openTable
Server registered events3
  • drugtables:server:cancelMedRun
  • drugtables:server:finishBatch
  • drugtables:server:finishService

Commands

No commands were detected.

Database / SQL

This resource does not include a resource-local SQL file.

This resource does not define its own CREATE TABLE statements.

Vcore also includes the consolidated VCORE_INSTALL.sql.

Source Layout

AreaFiles
Client Lua2
Server Lua2
Other/shared Lua2
JavaScript0
HTML0
CSS0
SQL0

Troubleshooting

  • Confirm all manifest dependencies are started before drugtables.
  • Confirm the resource is enabled in the correct start order.
  • If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
  • If the UI fails, verify the resource's NUI files and ui_page when one is declared.