Files
infinitefusion-e18/Data/Scripts/011_Data/002_Hardcoded data/014_PBFieldWeather.rb

21 lines
522 B
Ruby

begin
module PBFieldWeather
None = 0 # None must be 0 (preset RMXP weather)
Rain = 1 # Rain must be 1 (preset RMXP weather)
Storm = 2 # Storm must be 2 (preset RMXP weather)
Snow = 3 # Snow must be 3 (preset RMXP weather)
Blizzard = 4
Sandstorm = 5
HeavyRain = 6
Sun = Sunny = 7
Fog = 8
def PBFieldWeather.maxValue; return 8; end
end
rescue Exception
if $!.is_a?(SystemExit) || "#{$!.class}"=="Reset"
raise $!
end
end