blue/green tent no decay?

Here you can post threads specific to the current release of the core (099)

Moderator: POL Developer

Post Reply
RusseL
Forum Regular
Posts: 350
Joined: Fri Feb 20, 2009 8:30 pm

blue/green tent no decay?

Post by RusseL » Mon May 16, 2011 1:03 am

item dropped on the ground inside blue/green tent
item becomes "no decay"
how can i fix that?

xeon
Forum Regular
Posts: 333
Joined: Fri Oct 31, 2008 3:18 am
Location: Italy
Contact:

Re: blue/green tent no decay?

Post by xeon » Mon May 16, 2011 5:38 am

Is the tent owned? Is it a house?
Scripter Xeon | Zulu Hotel Italia 7th Age | www.zhi.it
Image

RusseL
Forum Regular
Posts: 350
Joined: Fri Feb 20, 2009 8:30 pm

Re: blue/green tent no decay?

Post by RusseL » Mon May 16, 2011 6:05 am

xeon wrote:Is the tent owned? Is it a house?
yes

xeon
Forum Regular
Posts: 333
Joined: Fri Oct 31, 2008 3:18 am
Location: Italy
Contact:

Re: blue/green tent no decay?

Post by xeon » Mon May 16, 2011 11:12 pm

There is a parameter in pol.cfg that controls if items decay in private houses
Scripter Xeon | Zulu Hotel Italia 7th Age | www.zhi.it
Image

RusseL
Forum Regular
Posts: 350
Joined: Fri Feb 20, 2009 8:30 pm

Re: blue/green tent no decay?

Post by RusseL » Mon May 16, 2011 11:49 pm


User avatar
CWO
POL Expert
Posts: 1142
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA
Contact:

Re: blue/green tent no decay?

Post by CWO » Tue May 17, 2011 10:44 am

Actually, its itemdesc.cfg DecaysOnMultis.

RusseL
Forum Regular
Posts: 350
Joined: Fri Feb 20, 2009 8:30 pm

Re: blue/green tent no decay?

Post by RusseL » Tue May 17, 2011 10:52 am

but that item will be decaying in all of multis

item should be decayed only when is lying on the ground in the tent

xeon
Forum Regular
Posts: 333
Joined: Fri Oct 31, 2008 3:18 am
Location: Italy
Contact:

Re: blue/green tent no decay?

Post by xeon » Mon May 23, 2011 11:12 pm

Then you have to do a control script of some kind for that house type that do that job for you, I think.
Scripter Xeon | Zulu Hotel Italia 7th Age | www.zhi.it
Image

Yukiko
Distro Developer
Posts: 2525
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: blue/green tent no decay?

Post by Yukiko » Sun May 29, 2011 1:06 am

I believe the server applies the same rules to the ground in a tent the same way it does to the floor in a house or the deck of a ship. I know that because it's ground tiles you would expect things to decay on it but the server doesn't make a distinction between ground tiles and floor tiles. Every server I've used or played on acted the same way. I suppose you could write a control script that checks to see if the item is on a ground tile and if so then allow decay. Personally I'd let it stay as it is. From an RP perspective you should be able to leave things in a tent and not have them decay I would think. Anyway, that last bit was opinion and should not be taken for anything else : )
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

Tomi
POL Developer
Posts: 475
Joined: Tue Feb 21, 2006 5:08 pm

Re: blue/green tent no decay?

Post by Tomi » Fri Oct 28, 2011 1:26 am

start checking with item.multi if it gives you multiRef or 0 as return value.
if it gives the multiRef its controlled by DecaysOnMultis ( if you are using the core decayer )
if it doesnt give it should decay as all other normal items. There is also the CanDecay syshook but it doesnt help you with this much

Post Reply