Jump to content

Survey Charges

Not a Bug 1.1.2


Hi can someone please help me with survey charges.

I did the following

CraftMenu
 

 },
  "SurveyCharge": {
    "Name": "Survey Charge",
    "Image": "surveycharge.png",
    "SkinID": 0,
    "Category": "construction",
    "Tier": 2,
    "ResearchCost": 100,
    "Resources": {
      "gunpowder": 30,
      "cloth": 5,
      "metal.fragments": 10,
      "lowgradefuel": 20
    }


Then in placeanything I did this
 

 },
  "Survey Charge": {
    "BaseItem": "surveycharge",
    "SkinID": 1975934948,
    "Prefab": "assets/prefabs/tools/surveycharge/survey_charge.prefab",
    "NeedsTCAuth": false,
    "CanBePickedUp": true,
    "AdjustHeight": 0.0
  }


I can research it and when I select craft nothing happens after a few clicks the resources get subtracted but no item in inventory.

Edited by cobusbo
code tags

Share this comment


Link to comment

Hey,  for survey charge you dont need PlaceAnything and since survey charge its not "place-able" entity it wouldnt work even if you wanted to use it for something.

I suppose you just want people let craft survey charges so they can place quarries. 
In that case just do this in you craft menu data file, I tried it on my server and its working.

"surveycharge": {
    "Name": "Survey Charge",
    "Image": "surveycharge.png",
    "SkinID": 0,
    "Category": "construction",
    "Tier": 2,
    "ResearchCost": 100,
    "Resources": {
      "gunpowder": 30,
      "cloth": 5,
      "metal.fragments": 10,
      "lowgradefuel": 20
    }
}, 

 

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.5k

Files Sold

Total number of files sold.

1.6m

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.