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
|
||||||||||||||||||
statpanel("Contents","Contents",contents)
should be
mob/Stat()
statpanel("Contents",contents)