SSTrihan

HorrorVale farming amendment

Feb 8th, 2023
1,387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.27 KB | Source Code | 0 0
  1. module TLB
  2.   FARMING_SWITCH = 30
  3. end
  4.  
  5. class Window_KeyItem < Window_ItemList
  6.   alias :tlb_ff_include? :include?
  7.   def include?(item)
  8.     if $game_switches[TLB::FARMING_SWITCH]
  9.       item && item.note =~ /<seed>/i
  10.     else
  11.       tlb_ff_include?(item)
  12.     end
  13.   end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment