by
RudgerWolvram
» 15 Feb 2015, 03:03
So I'm toying around with trying to make a keep into a warehouse like container. I updated the obects_types table for keeps to mirror the properties of a warehouse (iscontainer, maxcontsize, length, etc).
However, for the life of me I cannot locate where in skill_types.xml that allows a client to have the "Open" option.
There are 2 open actions in the xml file, 1 for bags, etc.
The other for unmovable and movable objects.
So what appears to be happening is they have hardcoded the parent ID's for containers like chest,barrels,etc and warehouses into the client so the client always knows it can "open" those types of objects.
I tried creating another open ability with a high ID (so i didn't step on something) but that just broke things (which i expected as i created a conflict of actions).
So, has anyone ever done this and got it working without changing the parentID of the various keeps to that of "Storage" instead of "Fortificational Buildings"?