RedM Script - RicX Business - Lumber Mill - RedEM:RP & VORP & QBR Script
The client.lua, server.lua files and logic are locked by CFX Escrow System
This Lumber Mill script provides a lot of features for RedM servers. The Business can be purchased and managed by a player, however other players can do different jobs at the Mill.
Once the Business purchased, the owner can do several things while managing it.
Owner Options:
- Sell or Cancel Sale - Owner can set a sell price for the Business and can sell it to other players
- Change the Map Icon and the Icon Color
- Change the Business Name
- Set Prices for Selling and Buying items in Mill Shop
- Change prices for using Mill work stations for players
- Buy Upgrades and make the Mill more successful
- Take products from storage to player inventory
- Put products from Mill storage to delivery storage (cant be removed from delivery storage)
- Deposit or Withdraw Money (Money is important in the Mill’s Bank, everything is paid from there)
- Hire NPC Workers or Specialists
- Fire NPC Workers and Specialists
- Change NPC Workers’ stations
- Check Information of Mill
Players can do different things at the Lumber Mill (if they have enough money to use the work stations)
Player Worker Options:
- Chop woodlog into firewood
- Plane woodlog into wood plank
- Saw woodlog into small woodlog
- Saw wood plank into small wood plank
- Finishing Delivery Jobs (if the delivery storage have enough item)
Players can also Sell or Buy products at the Lumber Mill shop
NPC Workers
The owner can hire different type of workers to give them jobs at the Mill. These workers have different skills and types, and their work depends on these highly. The workers needs more than 0% food and moral in order to work. If a worker is not in the correct station, it will not produce any product as well.
Skills: smart, dumb, lazy, hardworker, leader, leader 2, thief
Skills will change the final amount of the product they produce or they can increase the moral of workers
Types: Lumberjack, Saw Worker, Wood Chopper, Plank Maker, Special Saw Worker
Lumberjack: These workers will take care of forests of Mill, if the worker’s station is one of the forest. If the forest is growing, the workers will make its condition better. If the forest is fully grown, the lumberjacks will start cutting the trees.
Saw Worker: This worker type will convert woodlog into small woodlog, if the Mill storage has the product
Wood Chopper: Workers will convert woodlog into firewood, if the Mill storage has the product
Plank Maker: Workers will convert woodlog into wood plank, if the Mill storage has the product
Special Saw Worker: These workers will convert wood planks into small wood planks, if the Mill storage has the product
NPC Specialist
The owner can hire specialists too, and these workers will help in growing the Business. The specialists have different skills as well, they can open different features, give bonuses to the Business and they keep the conditions of Mill well, depending on their skill type.
Specialist Skills:
Accountant
The Accountant will make extra money on delivery jobs for Business.
Accountant 2
The Accountant 2 will make the workers payments to cost less
Loader
The Loader will unlock the Delivery Jobs features, and other players will be able to take jobs (if the delivery storage have enough product for delivery job)
Worker Trainer
The Worker trainer will have a chance to give extra item when NPC workers produces something
Worker Trainer 2
The Worker Trainer 2 will make the workers payments to cost less
Gardener
Gardener will keep the area clean and cuts the grass, and that is important for moral
Cleaner
The Cleaner will keep the toilet clean, so the moral will not decrease
Cook
The Cook can convert Mill’s supply into food, and that is important for moral
Supplier
The Supplier can convert Mill’s money into supply, and that is important for food
Delivery Jobs
Once the Mill has the Loader Specialist, the delivery jobs will be available for all players. They can transport different products with Logging Wagon from Lumber Mill to another place. After the wagon is loaded up for the delivery, it can be stolen and sold to Criminal Trader (hidden, but can change the position of the Criminal Trader in config easily)
Forests
There are 4 Forests belonging to the Lumber Mill, and the NPC workers can work in each of them. Each forest has 4 different states, planting, growing, fully grown and harvested. The workers will work on the forest and it will change the status once it can be changed. There will be visual changes for different states of forest as well, and the NPC workers will do different things in different forest’s states.
Upgrades
Owner of the Lumber Mill can upgrade different things.
Tent Upgrade: each upgrade will increase the maximum amount of NPC workers+specialists to hire
Storage Upgrade: Each upgrade will increase the maximum amount of stored product
Camp Upgrade: The camp upgrades will give different bonus on converting supply into food with Cook Specialist
Station Upgrade: Each upgrade will increase the maximum amount of workers and specialist in Hire Menu (the amount will be still random, be the better Station has the Mill, the more workers will appear to Hire)
1. Features
- Easy to configure and use
- Features for working players and owner player
- Management system with lot of options
- Delivery Jobs, criminals can steal delivery wagons and sell it
2. Dependecies
2.1 RedEM:RP
dataview_lua
redemrp
redemrp_menu_base
2.2 VORP
dataview_lua
vorp
redemrp_menu_base
2.3 QBR
dataview_lua
qbr
redemrp_menu_base
3. How to Install
- Make sure the server is connected to the keymaster account which has the package access
- Put ricx_biz_lumbermill into server-data/resources/
- In server.cfg add “ensure ricx_biz_lumbermill” after dependencies
- Import the SQL
- Add the items to inventory
- Start the server
Files:
client.lua - LOCKED BY CFX Escrow System
server.lua - LOCKED BY CFX Escrow System
config.lua
item_func.lua - for changing the inventory item logic if needed
fxmanifest.lua
not.js - for notification
ricx_biz_lumbermill.sql - for Database
The client.lua, server.lua files and logic are locked by CFX Escrow System
Code is accessible | No |
Subscription-based | Yes |
Lines (approximately) | 6k+ |
Requirements | redemrp & vorp & qbr |
Support | Yes |