百科目录
节日灯
一串五颜六色的电灯。可以挂在周围,渲染特别的节日气氛。
类名
XmasLights
- 分类
- 装备
- 重量
- 150 克
- 背包占用
- 1×3 3 格
- 耐久度
- 40
- 刷新地图
- 切尔纳鲁斯, 利沃尼亚, 萨哈尔
属性
兼容性
按配置中的槽位和列表匹配。游戏脚本还会额外禁止少数组合。
刷新位置
作为战利品刷新于切尔纳鲁斯, 利沃尼亚, 萨哈尔:城镇, 村庄。
| 切尔纳鲁斯 | 利沃尼亚 | 萨哈尔 | |
|---|---|---|---|
| 目标数量 | 60 | 15 | 9 |
| 最低数量 | 40 | 5 | 6 |
| 存在时间 | 4 小时 | 4 小时 | 4 小时 |
| 补充时间 | 0 | 0 | 0 |
| 填充量 | · | · | · |
| 战利品类别 | 工具 | 工具 | 工具 |
| 地点 | 城镇 村庄 | 城镇 | 城镇 |
| 等级 | · | · | · |
目标数量是经济系统在地图上保持的数量,最低数量是开始补充的阈值。存在时间是无人触碰的物品被清理前保留的时间。
types.xml
各地图任务文件中的原版条目。粘贴到你的任务 db/types.xml 即可恢复默认值。
types.xml · 切尔纳鲁斯
<type name="XmasLights">
<nominal>60</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>40</min>
<quantmin>-1</quantmin>
<quantmax>-1</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"/>
<usage name="Village"/>
</type>
types.xml · 利沃尼亚
<type name="XmasLights">
<nominal>15</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>5</min>
<quantmin>-1</quantmin>
<quantmax>-1</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="XmasLights">
<nominal>9</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>6</min>
<quantmin>-1</quantmin>
<quantmax>-1</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>
制作
配方读取自游戏脚本。部分配方在代码中有额外条件,已标记为“部分”。
配置
- 类名
XmasLights- 配置根类
CfgVehicles- 继承自
Inventory_Base›Static›All- 模型
\dz\gear\camping\christmas_lights.p3d- 定义位置
Addons/gear_camping.pbo::config.bin- 背包槽位
Lights

