ok not sure what is causeing this but I cannot lift anything out of the treasure chests. have to steal it. oh also this is for runuo2.0 rc1.
any help would be appreciated
containers in 2.0 dont allow things to be simply lifted out of them by default.
You can change this for all basecontainers (that includes treasure chests and most other containers ) by making this change to the basecontainer constructor in container.cs
CODE |
public BaseContainer( int itemID ) : base( itemID ) { // allow items to be lifted instead of stolen from containers by default LiftOverride = true; }
|
If you just wanted to change the behavior for treasure chests, go into the scripts for them and add the same line to their constructors instead.
thanks. ran across this and thought it was odd that with treasure map chests you could lift out but not regular treasure chests.
thanks its working great now.