mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
DblClick() is the proc which determines what proc will be called when you click on the screen. (Single clicking also calls this proc btw, in case you're confused.) So DblClick() is the proc which then calls attack_hand(), attack_ai(), attack_paw(), attackby(), afterattack() and the hand_h(), hand_ai() and simmilar proc for when you're restrained. In case you noticed one common proc missing, attack() is called in a mob's attackby() proc, which originates from here. So the cascade for that is Click() > DblClick() > attackby() > attack() git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2251 316c924e-a436-60f5-8080-3fe189b3f50e