Kartik Scripts

Vendors & Contracts

๐Ÿช Vendors

Three kinds of vendor buy what you bring in. Each has a blip and a ped (Config.Vendors.blips, peds), and pays its own share of an item's base price:

VendorPeltsMeatPartsWhole carcass
Butcherร— 0.60ร— 1.00ร— 0.50ร— 1.00
Trapperร— 1.00ร— 0.40ร— 1.00ร— 0.70
KitchenDoesn't buyร— 1.25ร— 0.40ร— 0.85

Kitchens only buy meat of Config.Vendors.restaurantMinQuality (Good) or better.

The final price is: base price ร— vendor share ร— grade ร— freshness ร— your rank bonus. See Pelt Quality and Reputation.

๐Ÿ“ Locations

VendorWhere
ButchersValentine, Rhodes, Saint Denis, Blackwater, Strawberry, Tumbleweed, Annesburg
TrappersSaint Denis, Riggs Station, Tumbleweed Trading Post
KitchensLe Bonne Table (Saint Denis), Smithfield Kitchen (Valentine)

Add, move or remove vendors in Config.Vendors.locations. Each entry has an id, a type (butcher, trapper or restaurant), a label, coords and a ped model.


๐Ÿ“œ Contract boards

Every vendor has a board with Config.Contracts.perGiver contracts (4). Boards refresh every refresh minutes (30). A hunter can hold maxActive contracts (3) at once.

KindWhat it asks for
MeatAn amount of a meat item, often fresh
PeltPelts of one species at a minimum grade
PartAntlers, claws, fat, hearts and so on
CarcassA whole animal, carried on your shoulder or on your horse
TrophyAny trophy or legendary pelt
  • Butchers post meat, fat and carcass work.
  • Kitchens post fresh meat, birds and hearts, with quality demands.
  • Trappers post pelts, parts and trophies.

Each contract has a rank. Harder contracts unlock as your reputation grows, and every board always has entry level work. Contracts pay cash and reputation, and run out after a set time.

Deliver to the vendor who gave you the contract. Abandoning one costs abandonXp reputation (10).

Contract templates are in shared/contracts.lua: who gives them (givers), the rank, the item or species, the amount, fresh and quality demands, the reward and how long it lasts. Admins can refresh every board with huntboards.


๐Ÿ›’ The trapper shop

Trappers also sell supplies and weapons, locked by rank (Config.Shop):

RankSuppliesWeapons
1Curing Salt, Herbivore Bait, Small Game BaitHunting Knife, Bow
2Cover Scent, SnareVarmint Rifle
3Tanning Kit, Predator Bait
4Cage TrapImproved Bow
5Rolling Block Rifle
7Elephant Rifle

On RSG, weapons are inventory items (weapon_bow and so on) with a serial. On VORP, they are created with vorp_inventory:createWeapon.

On this page