diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-11 10:56:32 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-11 10:56:32 -0300 |
commit | d2c4027ec84c886436833d2da898d8d8d74a29d2 (patch) | |
tree | 26746ac547d250526b137d9219d6dfce830fec17 /db | |
parent | 713fb10129b502ae9559b9e62cf08593663ff93c (diff) | |
download | serverdata-jesusalva/housekeeping1.tar.gz serverdata-jesusalva/housekeeping1.tar.bz2 serverdata-jesusalva/housekeeping1.tar.xz serverdata-jesusalva/housekeeping1.zip |
Add season constants so if a script is written changing based on season,jesusalva/housekeeping1
we don't end up with unreadable `if (season_direction() == DOWN)`
And have much better `if (season_direction() == WINTER)`.
PS. Both versions work.
Diffstat (limited to 'db')
-rw-r--r-- | db/constants.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf index 2c6c4429..1dcca8cb 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -3939,6 +3939,12 @@ constants_db: { RIGHT: 6 DOWNRIGHT: 7 + comment__: "seasons" + WINTER: 0 + SPRING: 1 + SUMMER: 2 + AUTUMN: 3 + comment__: "speechflags" S_FIRST_BLANK_LINE: 1 S_LAST_BLANK_LINE: 2 |