world
proc
year()
global.month += 1
if(global.month>=13)
global.year += 1
global.month = 0
world<< "<font size=3><font color=green>It is now year [year] Month [month]"
for(var/mob/M in world)
if(M.client)
if(!M.dead)
//M.page += 1
M.pagem += global.month - M.pagem
if(M.pagem>=13)
M.page += 1
M.pagem = 0
//M.age = global.year-M.byear
M.agem += global.month - M.agem
if(M.agem>=13)
M.age+=1
M.agem=0
if(M.dead)
M.page = M.dyear
M<<"You are now [M.page].[M.pagem] years old.(Spiritually: [M.age].[M.agem] years old) "
//M.overlays -= 'halo.dmi'
//M.overlays -= 'halo.dmi'
//M.loc = locate(97,79,2)
//M.safe = 0
//M.dead = 0
//world<<"<font size=2><font color=red>There will be a Chuunin exam in 10 minutes - Go to the Chuunin room theres one in the middle of all the villages(not leaf)..."
//global.year += 1
sleep(10)
if(prob(10))
world<<"The moon comes out." // put a waether proc here after u make one
spawn(10) year()
Problem description:
okay so the months change but the years wont change or add to it