1) When a proc is called using New() or under a verb, what is the thing that comes before the proc's name divided by the "."?
src.proc()
The src here. What does it do? Is it the one executing the code?
2) What is in the parenthesis of a proc when it is called?
proc(usr)
Is it what the proc affects?
3) If I'm calling a proc, how do I target with it? I can do it with a verb but now with a proc.
mob/proc/attackp(mob/m)//attack proc
m.hp-=10//how do i write decrease hp here so that it targets?
mob/verb/attack(mob/t)//target
src.attackp(t) //is that how I do it?
How do I make the proc target what the verb targets and decrease hp for example?
4) What are all the ways to declare a variable?
I know these ways:
mob/var/thevar
var/variable
mob/verb/anything()
var/mob/declvar// declaring variable under a verb
for(var/mob/x in list)
I may have forgotten one or two to add here.
tmp
I had one more question but I don't now how to express it. I will ask it here if I remember but answers would be really appreciated.