mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
21 lines
522 B
Ruby
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
|