forked from 2009Scape/Server
Fixed construction merchant lad
This commit is contained in:
parent
2140509311
commit
f065ce2687
3 changed files with 5 additions and 1 deletions
|
|
@ -6081,7 +6081,7 @@
|
|||
},
|
||||
{
|
||||
"npc_id": "4250",
|
||||
"loc_data": "{3302,3492,0,1,3}"
|
||||
"loc_data": "{3302,3492,0,1,6}"
|
||||
},
|
||||
{
|
||||
"npc_id": "4251",
|
||||
|
|
|
|||
|
|
@ -255,6 +255,7 @@ NPCConfigParser {
|
|||
"aggressive",
|
||||
"poisonous",
|
||||
"poison_immune",
|
||||
"facing_booth",
|
||||
"water_npc"-> configs.put(it.key.toString(), it.value.toString().toBoolean())
|
||||
else -> SystemLogger.logWarn("Unhandled key for npc config: ${it.key.toString()}")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,6 +31,9 @@ class NPCSpawner {
|
|||
npc.isWalks = tokens[3].trim { it <= ' ' } == "1"
|
||||
npc.direction = Direction.values()[Integer.valueOf(tokens[4].trim { it <= ' ' })]
|
||||
npc.setAttribute("spawned:npc", true)
|
||||
if(npc.definition.getConfiguration("facing_booth",false)){
|
||||
npc.setAttribute("facing_booth",true)
|
||||
}
|
||||
npc.init()
|
||||
count++
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue