Same name fix.
Posted: Tue Sep 27, 2011 4:53 am
I was trying to think up a way to fix a major problem in clok, items, containers, corpses etc with the exact same name. Say you are holding two containers in your hand and you want to look at the container in your left hand? Here are some ideas:
Original - containers
Original - corpses
Of course I have no idea how difficult this would be to code and if it could be coded what errors the aftermath would bring.
Original - containers
Possible fix (numbers only appear when you have more than 1 item showing of the same name)
You are holding a backpack in your right hand and a backpack in your left hand.
You are wearing a shadowy black hood, a black herb neckpouch, a blood talisman, a black oilcloth satchel, a black many-pocketed canvas backpack, a black rune-etched robe, a black and gold signet ring, a polished bloodstone band, a leather utility belt, a black canvas pouch, a gray canvas pouch, a leather haft-frog carrying an ice-barbed rusted scythe, some black loose cotton trousers and a pair of bronze-toed leather shoes.
You are holding a backpack(1) in your right hand and a backpack(2) in your left hand.
You are wearing a shadowy black hood, a black herb neckpouch, a blood talisman, a black oilcloth satchel, a black many-pocketed canvas backpack, a black rune-etched robe, a black and gold signet ring, a polished bloodstone band, a leather utility belt, a black canvas pouch, a gray canvas pouch, a leather haft-frog carrying an ice-barbed rusted scythe, some black loose cotton trousers and a pair of bronze-toed leather shoes.
Original - corpses
Possible fix (numbers only appear when you have more than 1 corpse showing with same name)
[Forest, Bowtruckle Preserve] (OutWldFrDt)
Coniferous trees dominate the area. Tall mountains rise abruptly to the south. A prominent sign has been posted in a small central clearing, while a path can be seen leading up into the mountains to the south.
The area is mostly quiet.
You also notice the corpse of a large bowtruckle scarab, the corpse of a large bowtruckle scarab, the corpse of a large bowtruckle scarab, the corpse of a large bowtruckle scarab, the corpse of a large bowtruckle scarab and the corpse of a large bowtruckle scarab.
Also here: your Hyra spear sister (guarding you).
Obvious paths: north (Pl), west (Fr), northwest (Pl), northeast (Pl, Fr), east (Fr), southeast (Fr).
I think that's enough examples to bring across the point. This could work with just about everything, items dropped on the floor, multiple critters (I know there is a targeting system for that), tacos etc.
[Forest, Bowtruckle Preserve] (OutWldFrDt)
Coniferous trees dominate the area. Tall mountains rise abruptly to the south. A prominent sign has been posted in a small central clearing, while a path can be seen leading up into the mountains to the south.
The area is mostly quiet.
You also notice the corpse of a large bowtruckle scarab(1), the corpse of a large bowtruckle scarab(2), the corpse of a large bowtruckle scarab(3), the corpse of a large bowtruckle scarab(4), the corpse of a large bowtruckle scarab(5) and the corpse of a large bowtruckle scarab(6).
Also here: your Hyra spear sister (guarding you).
Obvious paths: north (Pl), west (Fr), northwest (Pl), northeast (Pl, Fr), east (Fr), southeast (Fr).
Of course I have no idea how difficult this would be to code and if it could be coded what errors the aftermath would bring.