F.A.Q
Setup
Set Config.Locale to the desired locale code:
1Config.Locale = 'en'1Config.ENABLE_DUI = falseTank interactions remain available via target/TextUI, but the animated fill indicator is hidden.
Mechanics
Config.DELETE_OLD_DAYS deletes tanks whose level and health have not changed for that many days, checked at resource start. By default only empty tanks go, set by Config.DELETE_OPTIONS. To turn it off:
1Config.DELETE_OLD_DAYS = falseTanks with a liquid type listed in Config.RainyFillableTypes fill during rain. The amount per cycle is set by rainFillAmount on each container type. A connected player reports the weather, so tanks do not fill while the server is empty. Disable globally with:
1Config.EnableRainCollection = falseTanks lose health by decayRate every minute. At 0 the tank is broken: by default players can still take liquid with 50% spilled, but cannot fill it until it is repaired. repairItems on each container type sets the items that restore health. Tanks built as base pieces do not decay.
Yes. A player can dismantle an empty tank to get the item back. A broken tank can be dismantled with liquid inside when AllowDismantleWhenBroken is on, and that liquid is lost. Inside an Outpost base, only the player who placed it and the base holders can. Fixed tanks from Config.FixedTanks cannot be dismantled.
Jerry Cans
Jerry cans store dynamic fluid amounts via item metadata. Define accepted liquid types and capacity per item in Config.JerryCans. The inventory system must support item metadata for this feature.
Updates
- Download latest from CFX Portal
- Backup
shared/config.luaandserver/config_server.lua - Replace all files except config
- Restart the resource
Database migrations run automatically on startup. Tank data (position, health, liquid level) is preserved.