Advertisement
EditorRUS

Bleeding fix

Sep 26th, 2012
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. if(CUT)
  2. if (damage > 3 && prob(50))
  3. src.status |= ORGAN_BLEEDING
  4. var/list/size_names = list("cut", "deep cut", "flesh wound", "gaping wound", "big gaping wound", "massive wound")
  5. wound_name = size_names[size]
  6. if(wound_descs["[update_time]"])
  7. var/list/update_next = wound_descs["[update_time]"]
  8. update_next += wound_name
  9. else
  10. if (next_wound_update > update_time)
  11. next_wound_update = update_time
  12. wound_descs["[update_time]"] = list(wound_name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement