服务器工具启动器服务器列表百科 登录 Discord 聊天 下载
百科目录

油桶

用来贮存大量物料和各种液体的油桶。随着时间的推移,可用来集水或制作一些东西。

类名 Barrel_Green
重量
10 千克
背包占用
10×15 150 格
容量
10×15 150 格
耐久度
1 300
刷新地图
切尔纳鲁斯, 利沃尼亚, 萨哈尔
4 个变体

属性

装满时重量
210 千克
容积
200 000 毫升
修理工具

兼容性

可安装到

按配置中的槽位和列表匹配。游戏脚本还会额外禁止少数组合。

刷新位置

作为战利品刷新于切尔纳鲁斯, 利沃尼亚, 萨哈尔:工业, 农场。

切尔纳鲁斯利沃尼亚萨哈尔
目标数量 40 40 23
最低数量 20 20 18
存在时间 45 天 45 天 45 天
补充时间 0 0 0
填充量 · · ·
战利品类别 工具 容器 容器
地点 工业 农场 工业 农场 工业 农场
等级 · · ·

目标数量是经济系统在地图上保持的数量,最低数量是开始补充的阈值。存在时间是无人触碰的物品被清理前保留的时间。

types.xml

各地图任务文件中的原版条目。粘贴到你的任务 db/types.xml 即可恢复默认值。

types.xml · 切尔纳鲁斯
<type name="Barrel_Green">
    <nominal>40</nominal>
    <lifetime>3888000</lifetime>
    <restock>0</restock>
    <min>20</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="1" count_in_hoarder="0" count_in_map="1" count_in_player="1" crafted="0" deloot="0"/>
    <category name="tools"/>
    <tag name="floor"/>
    <usage name="Industrial"/>
    <usage name="Farm"/>
</type>
types.xml · 利沃尼亚
<type name="Barrel_Green">
    <nominal>40</nominal>
    <lifetime>3888000</lifetime>
    <restock>0</restock>
    <min>20</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="1" count_in_hoarder="0" count_in_map="1" count_in_player="1" crafted="0" deloot="0"/>
    <category name="containers"/>
    <tag name="ground"/>
    <usage name="Industrial"/>
    <usage name="Farm"/>
</type>
types.xml · 萨哈尔
<type name="Barrel_Green">
    <nominal>23</nominal>
    <lifetime>3888000</lifetime>
    <restock>0</restock>
    <min>18</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="1" count_in_hoarder="0" count_in_map="1" count_in_player="1" crafted="0" deloot="0"/>
    <category name="containers"/>
    <tag name="ground"/>
    <usage name="Industrial"/>
    <usage name="Farm"/>
</type>
cfgspawnabletypes.xml · 切尔纳鲁斯, 利沃尼亚, 萨哈尔
<type name="Barrel_Green">
    <hoarder/>
</type>

制作

配方读取自游戏脚本。部分配方在代码中有额外条件,已标记为“部分”。

变体

同一物品的其他颜色或版本。每个变体都有自己的类名和战利品设置。

配置

类名
Barrel_Green
配置根类
CfgVehicles
继承自
Barrel_ColorBase › Container_Base › Inventory_Base › Static › All
模型
\dz\gear\containers\55galDrum.p3d
定义位置
Addons/gear_containers.pbo::config.bin
背包槽位
Truck_01_Barrel1, Truck_01_Barrel2, Truck_01_Barrel3, Truck_01_Barrel4