-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.php
82 lines (54 loc) · 3.89 KB
/
settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
//SMF Membergroup IDs allowed to administrate. 1 is the default red Administrator group. You may wish to create a group specifically to give users access to RMRKMon's admin area.
$pcfg['admin_groups'] = array(1, 999);
//An extra password, used for potentially catastrophic actions such as wiping the database.
$admin_password = 'pokebutts';
//Please keep the database in the same folder. Nothing secret in it anyway.
$pcfg['sqlite_db'] = 'pokemans.sqlite3';
//URL Info. Since we're rebels, keep the trailing slashes on dirs/ - THESE MUST BE CORRECT!
$baseurl = 'http://127.0.0.1/jessi/pokemon/'; //Where RMRKMon resides - should be a subfolder named pokemon from your SMF installation
$smf_scripturl = 'http://127.0.0.1/jessi/index.php'; //SMF's index.php location
$smf_baseurl = 'http://127.0.0.1/jessi/'; //SMF's folder
//The following 2 values, if set, will direct users to your site's IRC channel. Otherwise, leave them as null.
$pcfg['irc_url'] = 'http://rmrk.net/?action=chat';
$pcfg['irc_title'] = 'RMRK IRC Chat #rmrk @ irc.rmrk.net';
//At the moment, only controls error reporting. You may wish to switch to false in production.
$pcfg['devmode'] = true;
//This should be the final ID of whatever generation of pokemon you want currently enabled. So for example, if you only wish your users to catch Generation 1&2 pokemon, you'd put 251 here. At the moment, this just reflects pokemon's available status on pokemon pages. chance.php controls what pokemon can be encountered. A pokemon with 0 chance won't be found.
$pcfg['pokemon_highest_enabled'] = 649;
//Encountering / Capture settings.
//The time in seconds since last capturing that a user cannot encounter any more pokemon. Default is 1800, or 30 mins.
$pcfg['encounter_cooldown_block'] = 1800;
//Time in seconds since last capture that encounters have a 50% chance to cancel. Should be higher than block.
$pcfg['encounter_cooldown_half'] = 3600;
//A day of the week, if any, where pokemon have extra chance to be shiny. Must be a Capitalised 3 letter style day. Mon, Tue etc. Change to anything else to disable this feature.
$pcfg['shiny_day'] = "Sun";
//The default success rate on capturing pokemon, assuming no cooldown is in place.
$pcfg['capture_chance_default'] = 95;
//The following numbers should increase as you get closer to the cooldown end, which is 8 hours. Each represents the chance in that particular timeframe.
$pcfg['capture_chance_1min'] = 1;
$pcfg['capture_chance_2mins'] = 5;
$pcfg['capture_chance_15mins'] = 15;
$pcfg['capture_chance_30mins'] = 33;
$pcfg['capture_chance_2hours'] = 45;
$pcfg['capture_chance_4hours'] = 65;
$pcfg['capture_chance_6hours'] = 75;
$pcfg['capture_chance_8hours'] = 85;
//A special capture chance in the case of shiny encounters. Don't be too mean.
$pcfg['capture_chance_shiny'] = 95;
//Trading settings
//The maximum number of pokemon a user can offer up in a trade
$pcfg['trade_multi_limit'] = 10;
//The board ID (if any) on the forum dedicated to trading. null if you don't have a dedicated trading forum.
$pcfg['trade_forum'] = null;
//The maximum concurrent trades a user may have going on at once
$pcfg['trade_simultaneous_limit'] = 5;
//Versions are analagous to Red/Blue, Gold/Silver and so on. The pokemon are split the same way. A user who can encounter a bellsprout will never encounter an Oddish.
$pcfg['version1'] = 'Tyrian';
$pcfg['version2'] = 'Liseran';
$pcfg['color1'] = '#66023C';
$pcfg['color2'] = '#7851A9';
//Yeah.. just ignore these.
$warning_symbol = '<span style="color:yellow;border-bottom:2px solid yellow;letter-spacing:-5px;">/</span><span style="border-bottom: 2px solid yellow;letter-spacing:-6px;">!</span><span style="color:yellow;border-bottom:2px solid yellow;">\</span>';
$info_symbol = '<span style="color:#4DB7D4;letter-spacing:-1px;">(</span><span style="border-bottom: 2px solid #4DB7D4;border-top: 2px solid #4DB7D4;letter-spacing:-1px;">?</span><span style="color:#4DB7D4;">)</span>';
?>