horse: generate with 2026-02-10 global db
This commit is contained in:
@@ -161,6 +161,8 @@ pub type saddle
|
||||
Senior-Spring-Triple-Crown-Alt2
|
||||
Tenno-Sweep-Alt1
|
||||
Tenno-Sho-Spring-Alt1
|
||||
Classic-Triple-Crown-Alt2
|
||||
Satsuki-Sho-Alt1
|
||||
|
||||
// Get the saddle ID for a saddle.
|
||||
pub fun saddle-id(s: saddle): saddle-id
|
||||
@@ -318,6 +320,8 @@ pub fun saddle-id(s: saddle): saddle-id
|
||||
Senior-Spring-Triple-Crown-Alt2 -> Saddle-id(151)
|
||||
Tenno-Sweep-Alt1 -> Saddle-id(152)
|
||||
Tenno-Sho-Spring-Alt1 -> Saddle-id(153)
|
||||
Classic-Triple-Crown-Alt2 -> Saddle-id(154)
|
||||
Satsuki-Sho-Alt1 -> Saddle-id(155)
|
||||
|
||||
// List of all saddles in ID order for easy iterating.
|
||||
pub val all = [
|
||||
@@ -474,6 +478,8 @@ pub val all = [
|
||||
Senior-Spring-Triple-Crown-Alt2,
|
||||
Tenno-Sweep-Alt1,
|
||||
Tenno-Sho-Spring-Alt1,
|
||||
Classic-Triple-Crown-Alt2,
|
||||
Satsuki-Sho-Alt1,
|
||||
]
|
||||
|
||||
// Get the name for a saddle.
|
||||
@@ -634,6 +640,8 @@ pub fun show(s: saddle-id): string
|
||||
151 -> "Senior Spring Triple Crown" ++ " (Alternate 2)"
|
||||
152 -> "Tenno Sweep" ++ " (Alternate 1)"
|
||||
153 -> "Tenno Sho (Spring)" ++ " (Alternate 1)"
|
||||
154 -> "Classic Triple Crown" ++ " (Alternate 2)"
|
||||
155 -> "Satsuki Sho" ++ " (Alternate 1)"
|
||||
x -> "saddle " ++ x.show
|
||||
|
||||
// Get the list of races that entitle a horse to a saddle.
|
||||
@@ -793,6 +801,8 @@ pub fun races(s: saddle-id): list<race-id>
|
||||
151 -> [Race-id(100301), Race-id(102701), Race-id(101201), ]
|
||||
152 -> [Race-id(102701), Race-id(101601), ]
|
||||
153 -> [Race-id(102701), ]
|
||||
154 -> [Race-id(102801), Race-id(101001), Race-id(101501), ]
|
||||
155 -> [Race-id(102801), ]
|
||||
_ -> []
|
||||
|
||||
// Get a saddle's type.
|
||||
@@ -952,6 +962,8 @@ pub fun saddle-type(s: saddle-id): saddle-type
|
||||
151 -> Honor
|
||||
152 -> Honor
|
||||
153 -> G1-Win
|
||||
154 -> Honor
|
||||
155 -> G1-Win
|
||||
_ -> Honor
|
||||
|
||||
// Get the primary ID for a saddle.
|
||||
@@ -968,4 +980,6 @@ pub fun primary(s: saddle-id): saddle-id
|
||||
151 -> Saddle-id(4)
|
||||
152 -> Saddle-id(5)
|
||||
153 -> Saddle-id(13)
|
||||
154 -> Saddle-id(1)
|
||||
155 -> Saddle-id(18)
|
||||
_ -> s
|
||||
|
||||
Reference in New Issue
Block a user