-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
增加了地点 打谷场 增加了NPC 老鼠 老村长的任务 修改为捕杀4只老鼠
- Loading branch information
Showing
5 changed files
with
40 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name":"打谷场", | ||
"desc":"位于小村落南部地势较高的一处平地,被村民们用作打谷场,晾晒着各种收获,因此也招来山里的老鼠光顾,老鼠活动的痕迹简直随处可见。", | ||
"exits": { | ||
"north" : "xinshoucun/cunzhongyang" | ||
}, | ||
"objs" : { | ||
"xinshoucun/npc/rat" : 6 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
var fm = require('framework'); | ||
|
||
var boar = fm.extend(function() { | ||
if (!(this instanceof boar)) | ||
return new boar(); | ||
|
||
this.name = "野猪"; | ||
this.desc = "" | ||
}, fm.NPC); | ||
this.desc = ""; | ||
}, fm.ANIMAL); | ||
|
||
module.exports = boar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
var fm = require('framework'); | ||
|
||
var rat = fm.extend(function() { | ||
if (!(this instanceof rat)) | ||
return new rat(); | ||
|
||
this.name = "硕鼠"; | ||
this.desc = "肥肥胖胖的,个头超过了兔子,哪里还像一只老鼠。"; | ||
|
||
this.str = 1; | ||
this.con = 1; | ||
this.cor = 1; | ||
|
||
this.setup_char(); | ||
}, fm.ANIMAL); | ||
|
||
module.exports = rat; |