Fixed construction merchant lad
This commit is contained in:
@@ -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++
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user