/datum/component/flock_protection
Raise COMSIG_FLOCK_ATTACK on common sources of damage (projectiles, items, fists, etc.)
Vars | |
report_attack | Do we get mad if someone hits it with something? |
---|---|
report_proj | Do we get mad if someone shoots it? |
report_thrown | Do we get mad if someone throws something at it? |
report_unarmed | Do we get mad if someone punches it? |
Procs | |
handle_attackby | Protect against being hit by something. |
handle_attackhand | Protect against punches/kicks/etc. |
handle_hitby_proj | Protect against someone shooting the parent. |
handle_hitby_thrown | Protect against someone chucking stuff at the parent. |
Var Details
report_attack
Do we get mad if someone hits it with something?
report_proj
Do we get mad if someone shoots it?
report_thrown
Do we get mad if someone throws something at it?
report_unarmed
Do we get mad if someone punches it?
Proc Details
handle_attackby
Protect against being hit by something.
handle_attackhand
Protect against punches/kicks/etc.
handle_hitby_proj
Protect against someone shooting the parent.
handle_hitby_thrown
Protect against someone chucking stuff at the parent.