Adding Elemental Resistances to Status screen....

Hello everyone,

I am trying to make a simple script where by the status screen will also show the players elemental resistances (you know from items and what not)

but I am having some trouble. I have made the scene but I am not sure where to go next. How do I get it to show in the status menu next to the "stats" (i.e agi, attk) table?

I am guessing i have to draw a list but I can't find how or where.

My understanding/what I think bits do have comments # after them.

I would also like to point out that as it is, this script isn't showing anything in game.

Please keep in mind that I am learning this from the Script call collection, slip into ruby tutorials and looking at similar scripts.

Code:
class Window_Base < Window #As far as I know this calls up a window class Window_Status < Window_Selectable #This tells it that its the                                         #Status Window I want to effect	def draw_actor_resistance(actor, x, y, element)#shows resistance        element_resist = actor.element_rate(element_id)#this is the amount?end  endend

Original thread: https://forums.rpgmakerweb.com/threads/adding-elemental-resistances-to-status-screen.40219/