[MUD-Dev] Equipment Fit
Holly Sommer
hsommer at micro.ti.com
Wed Sep 2 09:24:31 CEST 1998
I realized this would make a good subject matter for the listserve, right
after I posted it, so here goes (from rgma):
bensar wrote:
> Anyhow, it looks like they have equipment size by race and a resize
> command.
Yeah this is NiMUDs influence in Orin's early programming experiences
showing up :)
> I think Holly was thinking of a new system where ones own
> equipment would personalize itself over time to the character that
> wore it.
> Holly, is this what you were thinking in terms of implemenation?
Sorta. The "fit" is related to size, if you have eq sizes in place,
but wouldn't be dependent upon having an eq size system in place.
Lemme splain...
In NiMUD, you've got ARMOR_ANY, ARMOR_MINUTE, ARMOR_SMALL,
ARMOR_PETITE, ARMOR_AVERAGE, ARMOR_MEDIUM, ARMOR_LARGE,
ARMOR_HUGE, ARMOR_TITANIC and ARMOR_GARGANTUAN. Eq which is
within 3 sizes of the player (player sizes are determined by
race) will be wearable. That's the extent of it, from NiM's POV
as of version 1.6
What I'm talking about is something like: OK, you have two
humans, who are of "average" size. They each buy a pair of
Boots of Stealth. Typical "new shoe fit." The BOS do their job
as advertised, granting relatively stealthy movement. However,
as they are used more, they fit Bubba's feet more perfectly,
and Boffo's shoes fit him more perfectly. Well, one day a few
months later, Bubba and Boffo meet up and decide to get some
Japanese dinner (being old friends and whatnot).
As is the custom, they remove their shoes when they enter the
building. After dinner, they each grab each others' shoes.
Bubba's in a hurry, so he's tugging them on as he hops out the
door. Boffo is full from dinner, so is lounging around, feeling
bloated and doesn't put his (Bubba's!) right back on.
A few blocks down the road, Bubba notices his boots don't feel
quite right. He stops and wiggles his does. Hmmmm... footprint
in the boot is weird. *ding* Light goes on. He trots back to
the restaurant and exchanges boots with Boffo. Ahhh, much better.
In this case, comfortable Boots of Stealth are more effective
Boots of Stealth.
The same principle could be applied to weapons. A well-used
sword's hilt will start to fit the hand of its owner (from grip)
Flowing things like capes might not have as much of a physical
effect from the "fit" option, but most everything else would.
>From a pseudo-code viewpoint, it would be pretty simple.
Set up a field on wearable items for char *owner and one for
int fit. Initial fit (brand-new) would be 0.
Bubba buys BOS... BOS->fit = 0; BOS->owner = "Bubba";
Every MUDday the boots are worn BOS->fit += 1;
Bubba wears the boots for about a month (BOS->fit == 30)
Someone (Ackbar) steals the boots and puts them on;
strcmp(BOS->owner, "Ackbar") returns negative, so the
boots have a "fit" of -30 for Ackbar. Each MUDday that
Ackbar wears the boots, so, BOS->fit += 1;
BOS->owner would still be "Bubba" until they reach 0.
You could even determine at which points the eq loses some
of its effectiveness (protection, special effects, etc.)
based on fit. Furthermore, you could determine a positive
fit point beyond which the item will never "fit" another
person (and even tie it into materials if you like - leather
is more pliable than wood, so leather shoes might eventually
conform to anyone's feet, given enough time, whereas
wooden clogs will probably only fit one person, once the
mold is seet).
The possibilities are becoming more apparent, just as I
type here :) Kinda neat.
<Ackbar, after stealing the boots, Day 1>
You slip your feet into a pair of Boots of Stealth.
They don't feel all that comfortable.
[effectiveness of boots lowered by 25%]
<Ackbar, after stealing the boots, Day 10>
You slip your feet into a pair of Boots of Stealth.
They feel vaguely uncomfortable.
[effectiveness of boots lowered by 10%]
<Acbkar, after stealing the boots, Day 30>
You slip your feet into a pair of Boots of Stealth.
[BOS->fit == 0 now, so nothing to "notice about fit"]
<Ackbar, after stealing the boots, Day 60>
You slip your feet into a pair of Boots of Stealth.
They feel pretty comfortable.
[BOS->fit == 30 now, and BOS->owner == "Ackbar"]
<Ackbar, after stealing the boots, Day 120>
You slip your feet into a pair of Boots of Sealth.
[BOS->fit == 90 now, quite comfy, maybe more effective
+5% bonus on sneak, since they feel more and more like
a second skin to Ackbar now]
Of course, you'd cap off any bonuses :)
Anyhow, there are my "more complex" ramblings on the idea
of personalized, dynamic "fit" of eq :)
-Holly, likes it
More information about the mud-dev-archive
mailing list