| Version0.12.34現在の情報です |
ソース
data:extend({
{
type = "recipe",
name = "iron-wire",
enabled = "true",
ingredients =
{
{"iron-stick",1},
},
result_count=2,
result = "iron-wire"
},
{
type = "recipe",
name = "fence",
enabled = "false",
ingredients =
{
{"iron-stick",2},
{"iron-wire",6}
},
result = "fence"
}
})
解説
- type
recipeはこれがレシピであることを表す - name
内部名称 - enabled
trueはワールド作成時にレシピが有効であることを表す
falseはワールド作成時にレシピが無効であることを表す- 技術での解除はTechnorogyの作り方の項目で解説します
- ingredients
素材を指定する
この場合は{"iron-stick",2},{"iron-wire",6}はiron-stickが2つとiron-wireが6つ必要ということ - result
何ができるのか