yojimbos_law

for printing all monsters in adventure.php

Sep 7th, 2017
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. ash foreach i in $locations[]{
  2. string snarfblat = group_string(i.to_url(),"\\d+")[0][0];
  3. if( snarfblat.length() > 0){
  4. print("snarfblat of "+i+" is "+snarfblat+" which has deez monsters:");
  5. foreach j,k in i.appearance_rates(){
  6. if(k>0 & j != $monster[none]){
  7. print(j+" (ID = "+j.id+" )");
  8. }
  9. }
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment