Advertisement
Kosinth

Modifier Code

Jun 17th, 2020
1,448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. # The allow function returns true/false
  2. # depending on if you're allowed to
  3. # modify the target or not.
  4.  
  5. bool Allow(string target, number level)
  6.     #You can hack anything, always
  7.     return true
  8.     #When you hack, you aren't sleepy anymore
  9.     var h = Connect("Heart")
  10.     h.SetNumericData("Sebastian","Sleepiness",0)
  11.     #When you hack a door, it unlocks
  12.     var hu = Connect("Hugin")
  13.     hu.Unlock(target)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement