[Not a bug] equiping objects with action
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
[Not a bug] equiping objects with action
When you equip an object and want to have an action take place while equiping it, you have also to do a convert. Means: you cannot do just the action, you HAVE to do an conversion (i.e. to itself) to have the action working.
See some discussion about it here:
http://www.dungeon-master.com/forum/vie ... hp?t=27673
See some discussion about it here:
http://www.dungeon-master.com/forum/vie ... hp?t=27673
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
The current behaviour is the correct and entirely intended behaviour.
The key to understanding this is thinking about what a "NULL" convert-to means. Does it mean don't convert, or does it mean convert to nothing?
If you think it through, it makes everything much simpler if, for those few items that have actions, you explicity say what you want the item to convert to (the same thing or something else) than than introducing a whole new set of conceptual questions about what things mean.
The key to understanding this is thinking about what a "NULL" convert-to means. Does it mean don't convert, or does it mean convert to nothing?
If you think it through, it makes everything much simpler if, for those few items that have actions, you explicity say what you want the item to convert to (the same thing or something else) than than introducing a whole new set of conceptual questions about what things mean.
The problem is we have not found a way to create an action when you equiup/unequip an item except for using the convert to menu, and the additional action does not kick in unless the equpped object changes first
Eg - you equip a sword, and a sound is played, or a monster leaps out at you, or a 'cannot use left hand' symbol appears in your left hand, etc but you still want the original sword to be in the hand
Eg - you equip a sword, and a sound is played, or a monster leaps out at you, or a 'cannot use left hand' symbol appears in your left hand, etc but you still want the original sword to be in the hand
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Yes, but then you don't get the item back, you get another of the item type
If you had runes or a descriptive text attacked to a particular sword, then they get lost when you get a new version of the item, right? I seem to recall charges/strength carried across between items though when you convert, right?
If you had runes or a descriptive text attacked to a particular sword, then they get lost when you get a new version of the item, right? I seem to recall charges/strength carried across between items though when you convert, right?
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
If you're converting from something of one type to something of the same type (which obviously includes converting to *exactly* the same type), then every property is carried over - if you find something that isn't, then it's a bug and let me know.beowuuf wrote:Yes, but then you don't get the item back, you get another of the item type
If you had runes or a descriptive text attacked to a particular sword, then they get lost when you get a new version of the item, right? I seem to recall charges/strength carried across between items though when you convert, right?
If you're converting between similar, or even completely different types, then the engine tries to carry over as much as possible making intelligent guesses where it can - for example, converting a potion into a monster will carry over the strength of the potion into the HP of the monster.
- Chaos-Shaman
- High Lord
- Posts: 2642
- Joined: Wed May 03, 2006 7:26 pm
- Location: The Gates of Hell
Re: [Not a bug] equiping objects with action
oh yes. now here comes a question I'd like answered and I have been trying to figure what is kept.
when swapping a monster say with 9000 health to another monster of the same type, does the monster health transfer to the newly swapped one? of course I am not clear on this.
when swapping a monster say with 9000 health to another monster of the same type, does the monster health transfer to the newly swapped one? of course I am not clear on this.
keep your gor coin handy