Last pissed time

From EDukeWiki
Jump to navigation Jump to search

last_pissed_time is a countdown timer which is set to 5720 (190.6 seconds) whenever the player uses a toilet. If last_pissed_time's value is 0, sound #28 (DUKE_URINATE) is played. At this point, last_pissed_time is reset to 5720, transporter_hold is set to 58, holster_weapon is set to 1, weapon_pos is set to -1, and the player's extra is increased by 1/10th of the MAXPLAYERHEALTH value.