Jump to content

npc support?

Closed 1.0.0 1.0.1

MissPriss

hmm not sure but it is written in covalence so the

Quote

bonemarket

command might work on the npc 🙂

Pls let me know if that is working otherwise ill ask the codefling cew for some help with that but in theory that should allready work

Share this comment


Link to comment

Hmmm. I think I may be doing something wrong then. So I'm using Human NPC and NPC tp to run the command. The npc will interact with me, yet the bonemarket menu does not come up. Here is my bit of code for the npc that I want to run the bonemarket. 

 

{
  "NpcTP": {
    "6116152832": {
      "NpcName": "<color=#ffff00>Boneguy</color> : ",
      "SpawnFile": null,
      "Cooldown": 0,
      "CanUse": true,
      "useUI": false,
      "Cost": 0.0,
      "permission": "npctp.default",
      "useItem": false,
      "UseCommand": true,
      "useMessage": false,
      "MessageNpc": "none",
      "EnableDead": false,
      "DeadOnPlayer": false,
      "DeadCmd": "jail.send",
      "DeadArgs": "5",
      "OpenDoor": false,
      "DoorLocX": 0.0,
      "DoorLocY": 0.0,
      "DoorLocZ": 0.0,
      "DoorId": 0,
      "NoPermKill": false,
      "KillSleep": false,
      "Commands": {
        "bonemarket": {
          "Command": "bonemarket",
          "Arrangements": "",
          "OnPlayer": true
        }
      },
      "Items": {}
    }
  }
}

 

Share this comment


Link to comment

ok got some help with it and made it work

- set up as normal (no command needed to add)
- BoneMarket will takeover when you interact with the npc.
- Added some cfg settings
 

  "NPC Vendor settings": {
    "Use NPC shop": true,
    "NPC Id's": [
      "2745013248"
    ]
  },



adding some more checks but its working 🙂

320020359_npcshop.thumb.png.eb19a0b9d86c9fb44d62b4cf0509095b.png

Edited by Krungh Crow

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.5k

Customers

Total customers served.

78.6k

Files Sold

Total number of files sold.

1.5m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.