but that can be optional since it's an overkill
Anyways, How can I rertrieve the inventory? I can't seem to find anything in ActoryInventory
and showing only the '.combat' properties seems lacking...
Moderator: Moderator
Code: Select all
	for inven_id, inven in pairs(actor.inven) do
		for item, o in ipairs(inven) do
			
		end
	end
Code: Select all
  [Tome 4.00 @ www.te4.org Character Dump]
Sex              : Male         STR:  14
Race             : Hobbit       DEX:  29
Class            : Slinger      MAG:  10
Level            : 6            WIL:  10
Exp              : 49%          CUN:  20
Gold             : 8783.550000  CON:   12
Attack(Main Hand):  39          Life             :     170/170
Damage(Main Hand):   4          Stamina          :     115/115
APR   (Main Hand):   0          
Crit  (Main Hand):   5%         
Speed (Main Hand): 0.80         
  [Character Equipment]
 In main hand
a) rough leather sling
 In off hand
 On fingers
a) copper ring of dexterity (+2)
b) copper ring of defense (5 def, 0 armor)
 Around neck
a) copper amulet of cunning (+2)
 Light source
a) bright brass lantern of clear sight
 Main armor
a) rough leather armour of nature resistance (1 def, 2 armor)
 On head
 On hands
 On feet
a) pair of rough leather boots (0 def, 1 armor)
 Tool
 Quiver
a) 196 iron shot (8.5-10.2 power, 1 apr)
  [Character Inventory]
a) Blood of Life
b) acid-proof potion of lesser healing
c) giant potion of greater healing
d) 2 giant potion of lesser healing
e) 2 potion of cure poison
f) 13 potion of lesser healing
g) potion of lesser mana
h) potion of see invisible
i) potion of slime mold juice
j) 2 long scroll of identify
k) 14 scroll of identify
l) 5 scroll of light
m) scroll of magic mapping
n) 20 scroll of phase door
o) scroll of teleportation
p) elm staff
q) shimmering linen robe of lightning resistance (0 def, 0 armor)
r) 184 iron shot (8.5-10.2 power, 1 apr)
s) citrine
Fatigue          : 7%           Spellpower:   10
Armor            : 3            Spell Crit:    5%
Class            : 14.65        Spell Speed:   1
Class            : 14.65        
Physical Resist:   7
Spell Resist:      5
Mental Resist:     8
Nature Resist:  10%
Number of NPC killed: 116
Most killed NPC: giant brown mouse (9)