Daxx
Member
Hi guys, I'm looking into how to adjust some settings for the High Seas Galleon ship holds.
The server runs ServUO and latest repo.
A couple of issues I have with it currently 1) the gump is too small in classic, and 2) containers within it hold too little (400)
From what I can tell the file to adjust is GalleonHold.cs
For Issue 1)
At line 33:
public override int DefaultGumpID => 0x4C;
Containers.cfg seems to lay out the setting for all the different container gumps.
It is hard to tell which is which though and I was struggling to find SmallCrate, MediumCrate, and LargeCrate in the repo to pull the GumpID since these have a large container gump when enabled in the client settings and a look that would be appropriate for a ship hold.
For issue 2)
At line 30 :
public override bool IsDecoContainer => false;
What would changing this to "=> true" actually do? I tried finding "IsDecoContainer" elsewhere to determine what it actually does. The only other reference that I could find to it was in Container.cs but again with no description of what it does.
I'm wondering if it is the setting to enable containers within to act as if in a secured container in a house or in the bank with a larger weight limit.
Also could this change affect other functionality?
If I'm totally on the wrong path could someone please point me to the correct one.
Any help would be appreciated!
The server runs ServUO and latest repo.
A couple of issues I have with it currently 1) the gump is too small in classic, and 2) containers within it hold too little (400)
From what I can tell the file to adjust is GalleonHold.cs
For Issue 1)
At line 33:
public override int DefaultGumpID => 0x4C;
Containers.cfg seems to lay out the setting for all the different container gumps.
It is hard to tell which is which though and I was struggling to find SmallCrate, MediumCrate, and LargeCrate in the repo to pull the GumpID since these have a large container gump when enabled in the client settings and a look that would be appropriate for a ship hold.
For issue 2)
At line 30 :
public override bool IsDecoContainer => false;
What would changing this to "=> true" actually do? I tried finding "IsDecoContainer" elsewhere to determine what it actually does. The only other reference that I could find to it was in Container.cs but again with no description of what it does.
I'm wondering if it is the setting to enable containers within to act as if in a secured container in a house or in the bank with a larger weight limit.
Also could this change affect other functionality?
If I'm totally on the wrong path could someone please point me to the correct one.
Any help would be appreciated!
