LordoftheMoo
New member
I've done a bit of searching on here (and online in general) but I think my case is a little too narrow to find easily. I'm trying to add the ability to repair a block that currently cannot be, and it's easy to do by directly editing the blocks.xml, but I would prefer to pull it out into a modlet so upgrades are painless.
I tried using append to add the line to the block but that failed. I then stared at it a bit and tried splitting out the class and then using set to add the property, but I realized I didn't know how to set both the material and the count in a single line.
Anyone know what would be the right syntax to use for this scenario? Seems like it should be really simple, but I'm stumped.
I tried using append to add the line to the block but that failed. I then stared at it a bit and tried splitting out the class and then using set to add the property, but I realized I didn't know how to set both the material and the count in a single line.
Anyone know what would be the right syntax to use for this scenario? Seems like it should be really simple, but I'm stumped.
