mob/proc
Guild()
if (src.Level >= 75)
new/mob/ll/verb/Guild_Create
new/mob/ll/verb/Quit_Guild
new/mob/ll/verb/Guild_Who
alert("You have now unlocked The Guild Verbs")
Problem description:its not giveing me my verbs idk why
ID:262631
Sep 30 2005, 3:01 pm
|
|
Code:
mob/proc Problem description:its not giveing me my verbs idk why |
In response to Unknown Person
|
|
mob/proc/LevelUp() mob/proc/Guild() its still not adding them for some reason mob/ll/verb/Guild_Create()//create a verb for people to create there own guild |
In response to National Guardsmen
|
|
How are you calling the Guild() proc? Show me the snippet where the Guild() proc is called.
~~> Dragon Lord |
In response to Unknown Person
|
|
mob/proc/LevelUp() theres were im calling it im callingit in lvl up |
In response to National Guardsmen
|
|
Well, are you level 75 or above?
It would be good to delete all those instances of "Guild()" and make one instance aligned with the if() statements. Also, if you're adding multiple verbs out of a same type path, use src.verbs+=typesof(/mob/ll/verb) |
In response to National Guardsmen
|
|
mob/proc/LevelUp() I want this known, that all of these different switch statements and excess BS isn't needed. Why can't you just set a var at creation time that determines this? Not to mention this looks very sloppy. |
In another note, you had hidden usr abuse. The first argument for alert() defaults to usr.
~~> Dragon Lord