ID:175648
 
What is the point of putting
..()
I never use it... and my code works just fine every time i compile and run.
..() resets all the defaults of the parent of where you put it.

Example. If i set a mob's density to 0 and then I put ..()

It would give the mob it's defualt density of 1 since mobs are usually dense.
In response to Unowuero
Unowuero wrote:
..() resets all the defaults of the parent of where you put it.

Example. If i set a mob's density to 0 and then I put ..()

It would give the mob it's defualt density of 1 since mobs are usually dense.

Not quite. Not at all, infact.

..() calls the parent procedure.

Example:

mob/proc/Desc(mob/M)
M << src.desc

mob/player/Desc(mob/M)
..()
M << src.biography

This shows the desc of a mob examining another mob. If the mob being examined is a player, it first calls the parent procedure(..()), which shows src.desc , and then it shows them a biography.