castle24
icon = 'castle.dmi'
icon_state="24"
density = 1
name = "Castle"
Enter()
if(usr.stars==10)
usr.castlep=1
usr<<"congrulations you are know able to enter my castle."
icon_state="28"
castle25
icon = 'castle.dmi'
icon_state="25"
density = 1
name = "Castle"
Enter()
if(usr.stars==10)
usr.castlep=1
usr<<"congrulations you are know able to enter my castle."
icon_state="29"
castle26
icon = 'castle.dmi'
icon_state="26"
density = 1
name = "Castle"
Enter()
if(usr.stars==10)
usr.castlep=1
usr<<"congrulations you are know able to enter my castle."
icon_state="27"
Problem description:
the problem is i dont get how to make it so that when somen enters one of those icons the other icons change icon states i tried this but gave me errors.dont worry about spacing.
castle24
icon = 'castle.dmi'
icon_state="24"
density = 1
name = "Castle"
if(usr.castlep=1)
icon_state="28"
Enter()
if(usr.stars==10)
usr.castlep=1
usr<<"congrulations you are know able to enter my castle."
icon_state="28"
castle25
icon = 'castle.dmi'
icon_state="25"
density = 1
name = "Castle"
if(usr.castlep=1)
icon_state="29"
Enter()
if(usr.stars==10)
usr.castlep=1
usr<<"congrulations you are know able to enter my castle."
icon_state="29"