Login
User Name:

Password:



Register

Forgot your password?
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
SWRFUSS 1.4
Author: Various
Submitted by: Samson
Users Online
AhrefsBot, Elwood

Members: 1
Guests: 37
Stats
Files
Topics
Posts
Members
Newest Member
488
3,789
19,632
596
Elwood

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » General » Building » Checking time of worn object.
Forum Rules | Mark all | Recent Posts

Checking time of worn object.
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Oct 24, 2009 9:56 am   
Go to the top of the page
Go to the bottom of the page

Lucif
Fledgling
GroupMembers
Posts10
JoinedSep 13, 2009

 
Hello, first I write what I want to do:
I have object "Crown of Pain" given by some quest mob, and I want it to be worn about a week after which quest is completed.
Now is the question ;-) - is there any way to check whether this item has been worn for a week?
Item cannot be drop etc.
So my mobprog need to check how long it has been worn
I'm using LOP1.38.

Post is unread #2 Oct 24, 2009 10:08 am   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,914
JoinedJul 26, 2005

 
Well there isnt anything that lets it know when the object was put on so it has no way to know when the week is up. You said that it is an object that you want them to have to wear for 1 week and I assume after that time you want it to vanish off them? or just allow it then to be removed dropped etc...

Well there are of course lots of different things you could go about doing code wise to make it work, anyway it goes you will need to add some timer for when the object was worn and then compare it later to see when it should be allowed to be removed. etc...

Post is unread #3 Oct 24, 2009 11:57 am   Last edited Oct 24, 2009 12:31 pm by Lucif
Go to the top of the page
Go to the bottom of the page

Lucif
Fledgling
GroupMembers
Posts10
JoinedSep 13, 2009

 
Ok thanks Remcon. I'll think later about some changes in player files so maybe I put there something...
All my job is to tweak quest :-D

Pages:<< prev 1 next >>