游戏达人
![Rank: 7](static/image/common/star_level3.gif) ![Rank: 7](static/image/common/star_level2.gif) ![Rank: 7](static/image/common/star_level1.gif)
- 贡献度
- 80
- 金元
- 18917
- 积分
- 2222
- 精华
- 1
- 注册时间
- 2010-11-27
|
祗緗簡單妳﹏ 发表于 2013-7-12 09:16 ![](static/image/common/back.gif)
麻烦告诉下老奶奶的魔法书是哪个文件?
制作魔法书是在老奶奶的人物文件中加入了一段制作配方,位置在游戏目录\data\scripts\prefabs\wickerbottom.lua文件内的下列内容:
local booktab = {str = STRINGS.TABS.BOOKS, sort=999, icon = "tab_book.tex"}
inst.components.builder:AddRecipeTab(booktab)
Recipe("book_birds", {Ingredient("papyrus", 2), Ingredient("bird_egg", 2)}, booktab, 0)
Recipe("book_gardening", {Ingredient("papyrus", 2), Ingredient("seeds", 1), Ingredient("poop", 1)}, booktab, 1)
Recipe("book_sleep", {Ingredient("papyrus", 2), Ingredient("nightmarefuel", 2)}, booktab, 2)
Recipe("book_brimstone", {Ingredient("papyrus", 2), Ingredient("redgem", 1)}, booktab, 3)
Recipe("book_tentacles", {Ingredient("papyrus", 2), Ingredient("tentaclespots", 1)}, booktab, 4),
修改魔法书的功能在游戏目录\data\scripts\prefabs\books.lua文件中修改
|
|