brenoepics / morningstar

An open-source Arcturus Community Fork.
GNU General Public License v3.0
3 stars 2 forks source link

New campaign calendar system - [closed] #1511

Closed brenoepics closed 1 year ago

brenoepics commented 2 years ago

In GitLab by @brenoepic on Feb 21, 2022, 19:27

Merges new-calendar -> dev

What was fixed or added?

Example campaign:

productname must exist in productdata or swf won't show the furni you got

%% variables were added because some rewards may not have a defined value for example: habbo gives twice as many duckets to hc users so if it was duckets_200 it would be wrong because the hc user received 400.

-- ----------------------------
-- Records of calendar_campaigns
-- ----------------------------
INSERT INTO `calendar_campaigns` VALUES ('1', 'xmas15', '', '2022-02-09 16:49:13', '31', '1', '1');

-- ----------------------------
-- Records of calendar_rewards
-- ----------------------------
INSERT INTO `calendar_rewards` VALUES ('144', '1', '%credits%credit_prize_14', 'client_static/advent_extras_coins.png', '1', '0', '0', '0', '', '0', null, '0');
INSERT INTO `calendar_rewards` VALUES ('145', '1', '%credits%credit_prize_14', 'client_static/advent_extras_coins.png', '2', '0', '0', '0', '', '0', null, '0');
INSERT INTO `calendar_rewards` VALUES ('143', '1', 'duckets_%pixels%', 'client_static/advent_extras_ducket.png', '0', '200', '0', '0', '', '0', null, '0');
INSERT INTO `calendar_rewards` VALUES ('142', '1', 'duckets_%pixels%', 'client_static/advent_extras_ducket.png', '0', '100', '0', '0', '', '0', null, '0');
INSERT INTO `calendar_rewards` VALUES ('146', '1', '%item%', '', '0', '0', '0', '0', '', '3030', null, '0');
INSERT INTO `calendar_rewards` VALUES ('147', '1', 'val_hSeat_3', '', '0', '0', '0', '0', '', '3388', null, '0');
INSERT INTO `calendar_rewards` VALUES ('148', '1', '%item%', '', '0', '0', '0', '0', '', '3371', null, '0');
INSERT INTO `calendar_rewards` VALUES ('149', '1', '%item%', '', '0', '0', '0', '0', '', '10481', null, '0');
INSERT INTO `calendar_rewards` VALUES ('150', '1', '%item%', '', '0', '0', '0', '0', '', '11259', null, '0');
INSERT INTO `calendar_rewards` VALUES ('151', '1', '%item%', '', '0', '0', '0', '0', '', '4432', null, '0');
INSERT INTO `calendar_rewards` VALUES ('152', '1', '%item%', '', '0', '0', '0', '0', '', '44480', null, '0');
INSERT INTO `calendar_rewards` VALUES ('153', '1', '%item%', '', '0', '0', '0', '0', '', '9951', null, '0');
INSERT INTO `calendar_rewards` VALUES ('154', '1', '%item%', '', '0', '0', '0', '0', '', '4926', null, '0');
INSERT INTO `calendar_rewards` VALUES ('155', '1', '%subscription_type%_VIP_%subscription_days%_DAYS', 'client_static/advent_extras_hc.png', '0', '0', '0', '0', '', '0', 'HABBO_CLUB', '3');
INSERT INTO `calendar_rewards` VALUES ('1', '1', '%subscription_type%_VIP_%subscription_days%_DAY', 'client_static/advent_extras_hc.png', '0', '0', '0', '0', '', '0', 'HABBO_CLUB', '1');
INSERT INTO `calendar_rewards` VALUES ('3', '1', 'xmas_c19_unicornfigure2', '', '0', '0', '0', '0', '', '10929', null, '0');