Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, DotBot

Members: 0
Guests: 7
Stats
Files
Topics
Posts
Members
Newest Member
481
3,735
19,370
618
Micheal64X
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » ITEM_WORN in olc.h and act_wi...
Forum Rules | Mark all | Recent Posts

ITEM_WORN in olc.h and act_wiz.c
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Mar 15, 2004, 3:12 am
Go to the top of the page
Go to the bottom of the page

Snowleaf

GroupMembers
Posts12
JoinedApr 13, 2003

When was this changed? I was using ITEM_WORN as an item type for clothing which didn't offer any AC value and yet could still be worn under/over armor for roleplaying purposes. I'm not sure if this was even the correct use for that item type or not but it seemed to work for my purposes.

So if I want to restore item_worn into 1.62 do I just change ITEM_unused3 back to ITEM_WORN or maybe ITEM_CLOTHING in my case in olc.h and change UNUSED3 in build.c to clothing?

       
Post is unread #2 Mar 15, 2004, 4:45 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

ITEM_WORN had been removed along with a few other things that appeared to no longer be used by the Smaug code. build.c in the stock packages still shows that to coorespond to the _worn slot, which was their way of saying it's not used. The slot can be put back if need be, and in thinking about it, ITEM_CLOTHING makes perfect sense, so it will probably make its way back into the next release using that name.

So to put it back in the meantime, you'd just do what you've already described. Change it in olc.h and build.c and it should work from there.
       
Pages:<< prev 1 next >>