User:Darth Sensitive/Sandbox
From The Urban Dead Wiki
Jump to navigationJump to search
Main | Talk | Sandbox | Talk Archive | Contributions | Nav | Sig |
My Sandbox!
You've found my sandbox. This is my place to play, but I guess you can too. There's a shovel and bucket over there.
Things I've ganked from elsewhere. (Probably Uncyclopedia)
[65,45]
Following is some pseudocode that I think would handle the problem.
if (itemFound == pistol)
{
- if (pistolAmmo > 0 && dropPistolIfEmpty == 1)
- Drop pistol
- else if (dropPistolIfLoaded == 1)
- Drop pistol
}