yojimbos_law

underwater phyla

Jul 17th, 2018
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. > ash boolean is_that_phylum; foreach i in $phyla[]{is_that_phylum = false; foreach j in $locations[]{foreach k in j.get_location_monsters(){ if(k.phylum == i && j.environment == "underwater"){ is_that_phylum = true;}}}if(is_that_phylum){print(i+" exists under the sea");}}
  2.  
  3. dude exists under the sea
  4. fish exists under the sea
  5. horror exists under the sea
  6. mer-kin exists under the sea
  7. plant exists under the sea
  8. undead exists under the sea
  9. Returned: void
Advertisement
Add Comment
Please, Sign In to add comment