Jump to content

Sarsante

Members
  • Posts

    39
  • Joined

Sarsante's Achievements

Scavenger

Scavenger (2/15)

0

Reputation

  1. so its also impossible to add a name for a new item different than what you actually name it in items.xml?
  2. Is it possible to add something to localization.txt? maybe like <append xpath=""> NEWITEMDesc,items,Tool,KgNone,random description.,,,,, </append> Ive another doubt although it's not a xpath one, but which property I add to give my new item a nickname? property DescriptionKey is the description tab text, which works when I manually edit localization. But I cant figure it out how to change the name, it shows the raw name in-game. Thanks
  3. thanks man! I thought Ive tried that, but maybe it didnt work because of a typo or something edit: I guess I had a '/' at the end, to indicate its not inside recipe, who knows cant recall.
  4. Is it possible to use append to add one node after an existing one? I managed to do what I want using insertafter, but Im curious after I failed with append. original <recipe name="woodFrameBlock" count="1"> <ingredient name="resourceWood" count="2"/> </recipe> lets say I want add another ingredient after wood. I feel it's possible to use append, but Im failing to point the right path I guess <append xpath="/recipes/recipe[@name='woodFrameBlock']/@recipe"> <ingredient name="resourceNail" count="1"/> </append> This will add the code inside recipe node, so its not what I want. If I change to @ingredient, it will add to the wood node. so I tried /ingredient/ without @, because its not inside any of the existing nodes, but it doesnt work.
×
×
  • Create New...