百科目录
打火机
装满液化气的简单塑料打火机。当然,它能用来点燃东西。
类名
PetrolLighter
- 分类
- 装备
- 重量
- 50 克
- 背包占用
- 1×1 1 格
- 耐久度
- 20
- 刷新地图
- 切尔纳鲁斯, 利沃尼亚, 萨哈尔
属性
- 装满时重量
- 70 克
- 数量
- 20 毫升
刷新位置
作为战利品刷新于切尔纳鲁斯, 利沃尼亚, 萨哈尔:城镇, 村庄。
| 切尔纳鲁斯 | 利沃尼亚 | 萨哈尔 | |
|---|---|---|---|
| 目标数量 | 50 | 20 | 60 |
| 最低数量 | 30 | 12 | 52 |
| 存在时间 | 4 小时 | 4 小时 | 4 小时 |
| 补充时间 | 0 | 0 | 0 |
| 填充量 | 20–100% | 20–100% | 20–100% |
| 战利品类别 | 工具 | 工具 | 工具 |
| 地点 | 城镇 | 村庄 | · |
| 等级 | · | · | 等级 1 等级 2 |
目标数量是经济系统在地图上保持的数量,最低数量是开始补充的阈值。存在时间是无人触碰的物品被清理前保留的时间。
types.xml
各地图任务文件中的原版条目。粘贴到你的任务 db/types.xml 即可恢复默认值。
types.xml · 切尔纳鲁斯
<type name="PetrolLighter">
<nominal>50</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>30</min>
<quantmin>20</quantmin>
<quantmax>100</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="tools"/>
<tag name="shelves"/>
<usage name="Town"/>
</type>
types.xml · 利沃尼亚
<type name="PetrolLighter">
<nominal>20</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>12</min>
<quantmin>20</quantmin>
<quantmax>100</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="tools"/>
<tag name="shelves"/>
<usage name="Village"/>
</type>
types.xml · 萨哈尔
<type name="PetrolLighter">
<nominal>60</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>52</min>
<quantmin>20</quantmin>
<quantmax>100</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="tools"/>
<tag name="shelves"/>
<value name="Tier1"/>
<value name="Tier2"/>
</type>
配置
- 类名
PetrolLighter- 配置根类
CfgVehicles- 继承自
Inventory_Base›Static›All- 模型
\dz\gear\cooking\petrol_lighter.p3d- 定义位置
Addons/gear_cooking.pbo::config.bin

