異星工廠修改檔案隱藏武器解鎖方法,彈藥
- 單機圖文攻略
- 關注:1.52W次
彈藥:
X:Factoriodatabaseprototypesitem
查詢如下字串
name = "railgun-dart",
找到如下段落
{
type = "ammo",
name = "railgun-dart",
icon = "__base__/graphics/icons/railgun-ammo.png",
flags = {"goes-to-main-inventory"},
ammo_type =
{
category = "railgun",
target_type = "direction",
action =
{
type = "line",(彈藥效果型別
range = 25,(距離,附圖中距離為128
width = 0.5,(寬度,為傷害實際寬度,不是效果寬度,附圖中距離為32
source_effects =
{
type = "create-entity",
entity_name = "railgun-beam"(彈藥實體
},
action_delivery =
{
type = "instant",(造成傷害的方式
target_effects =
{
type = "damage",
damage = { amount = 100, type="physical"}(傷害數值與型別
}
}
}
},
magazine_size = 5,(每發彈夾彈藥數量
subgroup = "ammo",
order = "c[railgun]",
stack_size = 200(堆疊數量
}
- 文章版權屬於文章作者所有,轉載請註明 https://ygyxz.com/zh-tw/twdj/j2ll5q.html