Befriend Petting ![code/datums/elements/befriend_petting.dm 9](git.png)
Element which makes a mob befriend you if you pet it enough.
Vars | |
befriend_chance | Chance of success per interaction. |
---|---|
tamed_reaction | Message to print if we gain a friend. String %SOURCE% and %TARGET% are replaced by names if present. |
Procs | |
on_click | If it's a nice touch make friends |
Var Details
befriend_chance ![code/datums/elements/befriend_petting.dm 13](git.png)
Chance of success per interaction.
tamed_reaction ![code/datums/elements/befriend_petting.dm 17](git.png)
Message to print if we gain a friend. String %SOURCE% and %TARGET% are replaced by names if present.
Proc Details
on_click
If it's a nice touch make friends