PCs can not place items into a container
Posted: Mon Dec 02, 2013 4:11 am
Containers set by Xuri's World Builder do not have the weightmax flag attached (don't know why).
I added the following to the "set.js" to add weightmax manually:
Changing the value says it is a "success", but the value is not set. Do I have the syntax right?
I'm going to look for "tweak" in the JS and see how it is run, weightmax is listed; however, you CAN NOT adjust the value. It is stuck at 0.
Any thoughts?
I added the following to the "set.js" to add weightmax manually:
Code: Select all
case "WEIGHTMAX":
ourItem.weightmax = nVal;
okMsg( socket );
break;Changing the value says it is a "success", but the value is not set. Do I have the syntax right?
I'm going to look for "tweak" in the JS and see how it is run, weightmax is listed; however, you CAN NOT adjust the value. It is stuck at 0.
Any thoughts?