RX Fishing Boats & Traps
Both live in config_world.lua.
Boats
A fishmonger with a dock close by rents out a canoe, a rowboat, or a pirogue, one at a time per angler. The boat is spawned by the server at the dock, handed back there, and removed when its time is up, so none are left lying around.
A boat that sinks, is wrecked, or goes missing ends the rental at once and costs its lost fee. The counter also has a Report it lost button for a boat stuck somewhere, so nobody waits out the clock for a boat they no longer have.
Config.Boats = {
enabled = true,
rentMinutes = 20,
dockRange = 80.0,
returnRange = 40.0,
warnMinutes = 2,
graceSeconds = 90,
models = {
{ key = 'canoe', model = 'canoe', price = 3.00, lostFee = 6.00, seats = 1, label = { en = 'Canoe' } },
{ key = 'rowboat', model = 'rowboat', price = 5.00, lostFee = 10.00, seats = 2, label = { en = 'Rowboat' } },
{ key = 'pirogue', model = 'pirogue', price = 6.00, lostFee = 12.00, seats = 2, label = { en = 'Pirogue' } }
},
bonus = { sizeBias = 0.15, rareLuck = 0.10 },
boatModels = { 'canoe', 'canoeTreeTrunk', 'rowboat', 'rowboatSwamp', 'rowboatSwamp02', 'pirogue', 'pirogue2', 'skiff', 'keelboat' }
}| Setting | Default | Behaviour |
|---|---|---|
rentMinutes | 20 | How long a rental lasts. |
dockRange | 80.0 | Metres: a fishmonger rents from a dock this close to him. |
returnRange | 40.0 | Metres: a boat this close to its dock can be handed back. |
warnMinutes | 2 | Warning before the time is up. |
graceSeconds | 90 | Extra time for anyone still aboard when the rental ends. |
models | Canoe, rowboat, pirogue | Rentable boats with their price, lost fee, and seats. lostFee = 0 charges nothing. |
bonus | 0.15 size, 0.10 rare | Fishing from any boat reaches open water: bigger and rarer fish. The cast card says so. |
boatModels | Stock boats | What counts as a boat for the open water bonus, rented or not. |
Docks are placed on the water from the admin panel.
Traps
A crawfish trap and a fish trap. Using one sets it in the shallow water in front of the angler, baited with the first bait they carry, from the bank or standing in the shallows; not from a pier, a bridge, or a boat. It fills while nobody is around. The owner empties it for crawfish or small fish (into a keepnet when they carry one) and some XP, and it baits itself again from the satchel. Picking it up returns the item. Traps survive a restart.
Config.Traps = {
enabled = true,
perPlayer = 4,
steal = false,
expireHours = 48,
reach = 1.2,
baits = { 'cheese', 'bread', 'corn', 'worm', 'cricket' },
xp = 5,
kinds = {
{
key = 'crawfish', item = 'rx_trap_crawfish', model = 'p_basketcreel01x', minutes = 30, price = 4.00,
label = { en = 'Crawfish Trap' },
catch = { item = 'p_crawdad01x', amount = { 3, 6 } },
habitats = { 'river', 'swamp', 'creek', 'lake', 'pond' }
},
{
key = 'fish', item = 'rx_trap_fish', model = 'p_basketfish01x', minutes = 45, price = 6.00,
label = { en = 'Fish Trap' },
catch = { species = { 'bluegill', 'perch', 'rockbass', 'redfinpickerel', 'bullheadcatfish' }, amount = { 1, 3 } },
habitats = { 'river', 'swamp', 'creek', 'lake', 'pond' }
}
}
}| Setting | Default | Behaviour |
|---|---|---|
perPlayer | 4 | Traps one angler may have set. |
steal | false | true lets anyone empty a full trap; only the owner can pick it up. |
expireHours | 48 | A trap its owner has not visited for this long falls apart. |
reach | 1.2 | Metres the angler’s feet may be above the water to set one. |
baits | Five baits | Baits a trap takes, in order of preference. |
xp | 5 | XP per trap emptied. |
Trap kinds
| Field | Behaviour |
|---|---|
item, model | Inventory item and the prop placed in the water. |
minutes | How long it takes to fill. |
price | Fishmonger price; 0 means not sold. |
catch | An item for crawfish, or a species list for fish, with an amount range. |
habitats | Waters it can be set in. |
Crawfish from the trap are also the crawfish bait, so a crawfish trap keeps an angler stocked for the species that prefer it.