Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i = 1,table.maxn(beings) do
- if beings[i] then
- OnCreate()
- self:add_property("sanity", true)
- end
- create_seq_function(being_prototype.OnAction, function(self)
- if self:is_visible()
- then player.sanity= player.sanity - 5, self.sanity=false
- end
- )
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment