mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-13 18:38:11 +02:00
Added rotation to plots.. Only does stuff for functional plants.
This commit is contained in:
1 parent
75e4f31ccd
commit
132aba0b9a
14 files changed
+1244
-197
No files matched your search
@@ -205,6 +205,15 @@ function ValidateAdminPlant(
|
||||
);
|
||||
}
|
||||
|
||||
if (
|
||||
Plant.DirectionalSprites !== undefined &&
|
||||
typeof Plant.DirectionalSprites !== "boolean"
|
||||
) {
|
||||
throw new Error(
|
||||
"Directional sprites must be On or Off."
|
||||
);
|
||||
}
|
||||
|
||||
if (Plant.ShopPlant === true) {
|
||||
ValidateAdminInteger(
|
||||
Number(Plant.BaseCost),
|
||||
|
||||
Reference in new issue
Block a user