integrated new resource system into gui and faction