Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local can_pass, type = r.detect()
- if can_pass then
- if type == "solid" -- if this is reached, we already know can_pass is true
- print("Tree has grown") -- etc
- else if type == "passable" then
- print("hasn't grown yet") -- etc
- end
- else
- print("no sapling in place") -- etc
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement