#146 holiday_flag to mirror expansion_flag

Closed
opened 3 years ago by image · 1 comments
image commented 3 years ago

Since LUA doesn't play nice with native int64 (need to do either lua user data or trickery).. going to have holidays handled in their own column.

0 = Default All Holidays

1 = No Holidays (DO NOT SET SPAWNS/TRANSPORTERS TO THIS HOLIDAY_FLAG VALUE)

2 = Erollisi Day

4 = Brew Day

8 = Chronoportal Phenomenon

16 = Bristlebane Day

32 = Beast'r Eggstravaganza

64 = Oceansfull Festival

128 = Scorched Sky

256 = Tinkerfest

512 = Nights of the Dead

1024 = Heroes' Festival

2048 = Dragons Attack!

4096 = Frostfell

8192 = City Festival

16384 = Moonlight Enchantments

32768 = Summer Celebration Fireworks

65536 = ???
Since LUA doesn't play nice with native int64 (need to do either lua user data or trickery).. going to have holidays handled in their own column. ``` 0 = Default All Holidays 1 = No Holidays (DO NOT SET SPAWNS/TRANSPORTERS TO THIS HOLIDAY_FLAG VALUE) 2 = Erollisi Day 4 = Brew Day 8 = Chronoportal Phenomenon 16 = Bristlebane Day 32 = Beast'r Eggstravaganza 64 = Oceansfull Festival 128 = Scorched Sky 256 = Tinkerfest 512 = Nights of the Dead 1024 = Heroes' Festival 2048 = Dragons Attack! 4096 = Frostfell 8192 = City Festival 16384 = Moonlight Enchantments 32768 = Summer Celebration Fireworks 65536 = ??? ```
image commented 3 years ago
Collaborator
alter table transporters add column holiday_flag int(10) unsigned not null default 0;
alter table spawn add column holiday_flag int(10) unsigned not null default 0;
``` alter table transporters add column holiday_flag int(10) unsigned not null default 0; alter table spawn add column holiday_flag int(10) unsigned not null default 0; ```
image referenced this issue from a commit 3 years ago
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.