Installation

SQL

CREATE TABLE IF NOT EXISTS fishing_traps (
    id INT AUTO_INCREMENT PRIMARY KEY,
    citizenid VARCHAR(50) NOT NULL,
    coords LONGTEXT NOT NULL,
    placed_at INT NOT NULL,
    last_loot_gen INT NOT NULL DEFAULT 0
);

CREATE TABLE IF NOT EXISTS fishing_trap_items (
    id INT AUTO_INCREMENT PRIMARY KEY,
    trap_id INT NOT NULL,
    item VARCHAR(50) NOT NULL,
    amount INT NOT NULL,
    UNIQUE KEY unique_trap_item (trap_id, item)
);

Items

    ['fishing_rod'] = {
        label = 'Fishing Rod',
        weight = 100,
        stack = false,
        close = true,
        description = "",
        client = {
            export = 'tropic-fishing.useRod'
        }
    },
    
    ['fishtrap'] = {
        label = 'Fish Trap',
        weight = 500,
        weight = 100,
            stack = false,
            close = true,
            description = "",
        client = {
            export = 'tropic-fishing.useTrap'
        }
    },
    
    ["fish"] = {
            label = "Fish",
            weight = 100,
            stack = false,
            close = true,
            description = "",
    },
    
    ["killerwhale"] = {
            label = "Killer Whale",
            weight = 100,
            stack = false,
            close = true,
            description = "",
    },
    
    ["humpbackwhale"] = {
            label = "Humpback Whale",
            weight = 100,
            stack = false,
            close = true,
            description = "",
    },
    
    ["shark"] = {
            label = "Shark",
            weight = 100,
            stack = false,
            close = true,
            description = "",
    },
    
    ["hammershark"] = {
            label = "Hammerhead Shark",
            weight = 100,
            stack = false,
            close = true,
            description = "",
    },
    
    ["dolphin"] = {
            label = "Dolphin",
            weight = 100,
            stack = false,
            close = true,
            description = "",
    },
    
    ["stingray"] = {
            label = "Stingray",
            weight = 10,
            stack = true,
            close = false,
    },
    
    ["crab"] = {
            label = "Crab",
            weight = 10,
            stack = true,
            close = false,
    },
    
    ["turtle"] = {
            label = "Turtle",
            weight = 10,
            stack = true,
            close = false,
    },

Make sure to add the item images that are included in the download

Enjoy! You can let us know if theres any issues or if you have any questions herearrow-up-right

Last updated