Weather Wishes
Posted: Wed Jan 26, 2022 9:38 pm
I like to beable to get the weather in the npc speech like we do region name
I was thinking we should beale to get the say the chance of rain in ccode.
.chanceofrain
.chanceofsnow
.chanceofheat
.chanceofstorm
.maxtemp
.mintemp
.windmax
.windmin
.lightmin
.lightmax
this could be a read onlys o my npc can say this
I was thinking we should beale to get the say the chance of rain in ccode.
.chanceofrain
.chanceofsnow
.chanceofheat
.chanceofstorm
.maxtemp
.mintemp
.windmax
.windmin
.lightmin
.lightmax
this could be a read onlys o my npc can say this
Code: Select all
var mint = npc.mintemp;
var maxt = npc.maxtemp;
var temp = mint + maxt;
if(temp == 50)
{
npcspeech.textmsg("well looks like the tempture today will be" + temp.toString() + "so looks like you will need you coats as it will be getting
pretty nasty.")
}