-
jduartedj
- Posts: 599
- Joined: Sat Dec 19, 2009 12:18 am
- Location: Lisbon
-
Contact:
#1
Post
by jduartedj » Fri Jan 21, 2011 3:18 pm
ok so all the following lines work OK:
Code: Select all
player:target_Object(112958,nil,true) -- actually Gets Fresh Eggs
inventory:itemTotalCount("Fresh Egg") -- == 'my actual number of eggs'
RoMScript("TEXT('112958_name')") -- == "Fresh Egg"
the next one doesn't, instead return 0, which is wrong
Code: Select all
inventory:itemTotalCount(112958) -- == 0 ??????????????
my question... why?
-
Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
#2
Post
by Administrator » Fri Jan 21, 2011 3:23 pm
It looks like the item ID is actually
204795. The node (the thing you harvest) will have a different ID.
-
jduartedj
- Posts: 599
- Joined: Sat Dec 19, 2009 12:18 am
- Location: Lisbon
-
Contact:
#3
Post
by jduartedj » Fri Jan 21, 2011 3:33 pm
AAHHHHHHH, oh i see! should have seen that one coming ....
Thanks!
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], crazzy and 19 guests