mob/New()
..()
new /obj/ore (src)
obj/ore
name = "ore"
mob/Stat()
statpanel("Contents","Contents",contents)
Simply trying to show somebody on the forums how to make an items stackable, I ran into a problem. I boiled my very small and simple program down to this. Now, I know I havn't messed with statpanels for awhile, but shouldn't there be an ore object in my stat panel?
There isn't. I really want somebody to tell me why.
-LoW
ID:261590
![]() Aug 8 2002, 10:12 am
|
|
There is only suppose to be 2 arguments with statpanel(), not 3. First part is name and second is the value.
|
Lord of Water wrote:
mob/New() Because, contrary to the documentation, this form of stat() and the corresponding form of statpanel() don't work: stat(text1,list2) But this one does: stat(list1) Lummox JR |
the line "statpanel(contents)" in substitute for "statpanel("Contents","Contents",contents)" yields absolutly nothing. Any other ideas?
|
statpanel("Contents","Contents",contents)
should be
mob/Stat()
statpanel("Contents",contents)