Guest User

Untitled

a guest
Jan 21st, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. -- salve applying function --
  2. function doApply(salve,part)
  3. if not states.applying and gmcp.Char.Vitals.salve == "1" then
  4. send("apply "..salve.." to "..part)
  5. states.applying = "1"
  6. tempTimer( 2, [[states.applying = nil]] )
  7. end
  8. end
  9.  
  10. -- poultice pressing function --
  11. function doPress(poultice,part)
  12. if not states.applying and gmcp.Char.Vitals.salve == "1" then
  13. send("press "..poultice.." to "..part)
  14. states.applying = "1"
  15. tempTimer( 2, [[states.applying = nil]] )
  16. end
  17. end
Add Comment
Please, Sign In to add comment