Files
d2go/cmd/txttocode/txt/rareprefix.txt
elb 120c2ba144 Prefix,Suffix,LevelReq Socketed items on bases, bodyloc, Merc equipment (#74)
* Prefix,Suffix, Socketed with base, bodyloc, Merc equipment

Will add better description later:

Item that has socketed items now display their linked runes/jewels/gems in accurate order

Rare prefix, rare suffix id
Magic prefix1,2,3  magic suffix1,2,3
Prefix1 also used to tell wich runeword it is
Spirit 20635, cta 20519 , infinity 20566 see : getlocalestring.txt

Mercenary equipment now displaying in inventory list . Also has custom location : mercenary instead of equipped

Bodyloc :
	// Body locations
	LocNone              LocationType = "none"
	LocHead              LocationType = "head"
	LocNeck              LocationType = "neck"
	LocTorso             LocationType = "torso"
	LocLeftArm           LocationType = "left_arm"
	LocRightArm          LocationType = "right_arm"
	LocLeftRing          LocationType = "left_ring"
	LocRightRing         LocationType = "right_ring"
	LocBelt              LocationType = "belt"
	LocFeet              LocationType = "feet"
	LocGloves            LocationType = "gloves"
	LocLeftArmSecondary  LocationType = "left_arm_secondary"
	LocRightArmSecondary LocationType = "right_arm_secondary"

	Note that if you begin game on secondary slot it will be left_arm  then primary will be  left_arm_secondary (inversed):  With pr 62 (activeweaponslot) we will be able to solve this potential issue.

* small optimization

* Socketed items to base from pointer

new helper functions.
AutoAffix offset.

* remove helpers fnc, flag isEquipped to HasBeenEquipped

* Runewords names mapped

* helper function not needed

* Optimization

* adjust pre-allocations

* readd removed itemloc comment

* Addex prefix/suffix to rules .nip

new structure:
[Type], [Quality],[Class], [Name], [Flag], [Color], [Prefix], [Suffix]  #  Stats

Exemple : [name] == ring && [quality] == rare && [suffix] == 174 #

Any magic ring with suffix 'of The Apprentice'  ( 10 faster cast rate)

Will be useful for trophy items with fool/cruel  [prefix] == 1416 [prefix] == 1273

* LevelReq + Affixes mapping rare/magic/base/runewords. Nip parser LevelReq

* Unique and set items mapping + LevelReq
2025-02-16 23:02:03 +02:00

48 lines
1.4 KiB
Plaintext

name version itype1 itype2 itype3 itype4 itype5 itype6 itype7 etype1 etype2 etype3 etype4
Beast 0 armo weap misc
Eagle 0 armo weap misc
Raven 0 armo weap misc
Viper 0 armo weap misc
Ghoul 0 armo weap misc
Skull 0 armo weap misc
Blood 0 armo weap misc
Dread 0 armo weap misc
Doom 0 armo weap misc
Grim 0 armo weap misc
Bone 0 armo weap misc
Death 0 armo weap misc
Shadow 0 armo weap misc
Storm 0 armo weap misc
Rune 0 armo weap misc
Plague 0 armo weap misc
Stone 0 armo weap misc
Wraith 0 armo weap misc
Spirit 0 armo rod
Storm 0 armo weap
Demon 0 armo weap
Cruel 0 armo weap
Empyrion 0 rod
Bramble 0 armo weap
Pain 0 armo weap
Loath 0 armo weap
Glyph 0 armo weap
Imp 0 armo weap
Fiend 0 armo weap
Hailstone 0 armo weap
Gale 0 armo weap
Dire 0 armo weap
Soul 0 armo weap
Brimstone 0 armo weap
Corpse 0 armo weap
Carrion 0 armo weap
Holocaust 0 tors helm shld swor axe
Havoc 0 armo weap misc
Bitter 0 armo weap misc
Entropy 0 ring amul
Chaos 0 ring amul
Order 0 ring amul scep
Rule 0 rod
Warp 0
Rift 0
Corruption 0 ring amul