YearAdd()
set category = "Admin"
switch(input("Are you sure you want to add a year?") in list("Yes","Cancel"))
if("Yes")
Year+=1
for(var/mob/M in world)
M.age += 1
M.Log_Year=Year
if(M.age>=14)
if(M.gender=="female")
M.icon='Human_Female_Tan.dmi'
if(M.gender=="male")
M.icon='human_male_tan.dmi'
Problem description:
This is a portion of how aging works but when a year is added by an admin. I found out that because of the ''in world'' part it doesn't age you while you're offline but that's what im aiming to have happen.
Can someone offer me any help on how i would do this?
Or if admin interaction is the only way to age, you'd need to make it so the admin can pick from a list of saves, and modify the age within them manually -- if the person is offline when trying to change their age.