Advertisement
Guest User

Untitled

a guest
Nov 12th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. security = {
  2.  
  3. validGuards = {
  4. "a baleful apostate";
  5. "a flail-wielding knight"
  6. };
  7.  
  8. guards = guards;
  9. }
  10.  
  11. function guardCapture()
  12. echo("WE HAVE FIRED")
  13. local _items = gmcp.Char.Items.List.items
  14. for k,v in pairs(_items) do
  15. if table.contains(security.validGuards, v.name) then
  16. table.insert(security.guards, 1, v.name)
  17. end
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement