Page 1 of 1

I cant place this modded item

Posted: Sat Mar 02, 2013 4:24 pm
by ficolas

Code: Select all

[
  {
    "type": "container",
    "name": "underground-mining-drill",
    "flags": ["placeable-neutral", "player-creation"],
    "collision-box": [[-1.4, -1.4], [1.4, 1.4]],
    "selection-box": [[-1.5, -1.5], [1.5, 1.5]],
    "minable": { "mining-time": 1, "result": "underground-mining-drill" },
    "max-health": 200,
    "inventory-size": 4,
    "picture":
    {
      "filename": "entity/underground-mining-drill/underground-mining-drill.png",
      "width": 96,
      "height": 96,
      "priority": "extra-high"
  }
  }
]
I dont know why, but I cant place it :S
When in the edit mode, it is placeable, but when playing, it is not

Re: I cant place this modded item

Posted: Sat Mar 02, 2013 5:36 pm
by kovarex
What about the definition of the corresponding item, does it have "place-result" property?

Re: I cant place this modded item

Posted: Sat Mar 02, 2013 5:41 pm
by ficolas
no, I forgot...

FAIL

sorry for sumbiting stupid errors

Re: I cant place this modded item

Posted: Mon Mar 04, 2013 11:26 am
by kovarex
No question is stupid now, the documentation is very poor and in the process of creation.