中级玩家
 
- 贡献度
- 4
- 金元
- 1016
- 积分
- 118
- 精华
- 0
- 注册时间
- 2016-10-24
|
下载一个notepad++ 软件。
找出工厂里面各类工具的名字。 用英文版进入,然后里面各类工具的英文名就找到了~~记录下来
打开notepad,ctrl+f 查找; 选择文件查找,定位到 prototypes 文件夹
绝大部分内容都是在prototypes 文件夹里面的, 查找 想修改的 工具。
例如查找 small-lamp 。 找出一堆来, 然后双击 name = "small-lamp", 这种。 就可以定位到 小灯的各类资料了。 有定义数据的,也有定义制造材料的等等
type = "lamp",
name = "small-lamp",
icon = "__base__/graphics/icons/small-lamp.png",
flags = {"placeable-neutral", "player-creation"},
minable = {hardness = 0.2, mining_time = 0.5, result = "small-lamp"},
max_health = 100, 血量
corpse = "small-remnants",
collision_box = {{-0.15, -0.15}, {0.15, 0.15}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
energy_source =
{
type = "electric",
usage_priority = "secondary-input"
},
energy_usage_per_tick = "5KW", 能耗
light = {intensity = 0.9, size = 250, color = {r=1.0, g=1.0, b=1.0}},
light_when_colored = {intensity = 1, size = 6, color = {r=1.0, g=1.0, b=1.0}},
glow_size = 6, 不知道啥,可以百度看看
glow_color_intensity = 0.135, 不知道啥,可以百度看看
picture_off =
{
filename = "__base__/graphics/entity/small-lamp/light-off.png", 这种png的不用理,都是贴图
priority = "high",
width = 67,
height = 58,
frame_count = 1,
axially_symmetrical = false,
direction_count = 1,
shift = {-0.015625, 0.15625},
},
picture_on =
{
filename = "__base__/graphics/entity/small-lamp/light-on-patch.png",
priority = "high",
width = 62,
height = 62,
frame_count = 1,
axially_symmetrical = false,
direction_count = 1,
shift = {-0.03125, -0.03125},
},
signal_to_color_mapping =
{
{type="virtual", name="signal-red", color={r=1,g=0,b=0}},
{type="virtual", name="signal-green", color={r=0,g=1,b=0}},
{type="virtual", name="signal-blue", color={r=0,g=0,b=1}},
{type="virtual", name="signal-yellow", color={r=1,g=1,b=0}},
{type="virtual", name="signal-pink", color={r=1,g=0,b=1}},
{type="virtual", name="signal-cyan", color={r=0,g=1,b=1}},
},
circuit_wire_connection_point =
{
shadow =
{
red = {0.734375, 0.578125},
green = {0.609375, 0.640625},
},
wire =
{
red = {0.40625, 0.34375},
green = {0.40625, 0.5},
}
},
circuit_connector_sprites = get_circuit_connector_sprites({0.1875, 0.28125}, {0.1875, 0.28125}, 18),
circuit_wire_max_distance = 7.5 照射范围
},
|
评分
-
1
查看全部评分
-
|