here is the coding of mine i have
mob
SpacePod
icon = 'raditzsagaturfs.dmi'
icon_state = "pod"
verb
GotoNamek()
set src in oview(1)
set category = "Travel"
usr.loc=locate(109,18,3)
sleep(500)
usr.loc=locate(76,82,5)
verb
GotoEarth()
set src in oview(1)
set category = "Travel"
usr.loc=locate(128,17,3)
sleep(500)
usr.loc=locate(128,38,1)
So how could i go about this?
Another one is ive got some clothes but while the player is wearing the clothes has a gravity training feature so how can i this is what i have done so far
saiyanarmor
name = "Saiya-jin Armor"
icon = 'saiyanarmor.dmi'
worn = 0
verb
Wear()
set category = "Inventory"
if(src.worn == 1)
src.worn = 0
usr.overlays -= 'saiyanarmor.dmi'
usr << "You remove the [src.name]."
Gravity()
set category = "Training"
set src in oview(1)
var/howmuch = input("How much gravity would you like? (Note, it is suggested to be atleast 1000 powerlevel before gravity training.)") as num|null
if(howmuch < 0)
usr << "<b>Thats not possible."
if(howmuch == 1||howmuch == 0)
usr.grav = 0
usr << "<b>You turn off the gravity...."
if(howmuch > 1 && howmuch <= 10000)
if(usr.grav >= 1)
usr << "<b>Please set the gravity to 0."
if(usr.grav == 0||usr.grav == null)
usr << "<b>You hear the machine turn on..."
usr.grav = howmuch
sleep(20)
usr.playergravity()
if(howmuch > 10000)
usr << "<b>The gravitron cannot withstand more than 10000x gravity."
When i do that i get these errors
objs.dm:1778:error:set :invalid proc definition
objs.dm:1779:error:howmuch :invalid proc definition
objs.dm:1780:error:if :invalid proc definition
objs.dm:1781:error::invalid proc definition
objs.dm:1783:error::invalid proc definition
objs.dm:1786:error::invalid proc definition
objs.dm:1794:error::invalid proc definition
on lines 1778 to 1794 is
Gravity()
set category = "Training"
set src in oview(1)
var/howmuch = input("How much gravity would you like? (Note, it is suggested to be atleast 1000 powerlevel before gravity training.)") as num|null
if(howmuch < 0)
usr << "<b>Thats not possible."
if(howmuch == 1||howmuch == 0)
usr.grav = 0
usr << "<b>You turn off the gravity...."
if(howmuch > 1 && howmuch <= 10000)
if(usr.grav >= 1)
usr << "<b>Please set the gravity to 0."
if(usr.grav == 0||usr.grav == null)
usr << "<b>You hear the machine turn on..."
usr.grav = howmuch
sleep(20)
usr.playergravity()
if(howmuch > 10000)
usr << "<b>The gravitron cannot withstand more than 10000x gravity."
So can you help me so i can fix that too please
I'm not sure what your looking for exactly, but if you mean setting the spacespod so that only guild members can use it try this: