mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 10:43:40 +00:00
edit krynn.php
This commit is contained in:
parent
8190ad724e
commit
5b804ab5c1
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Name: Dragonlance Krynn locales
|
||||
* Description: Set a random locale from the Dragonlance Realm of Krynn when posting. Based on the krynn frindica addon by Mike Macgirvin and Tony Baldwin
|
||||
* Description: Set a random locale from the Dragonlance Realm of Krynn when posting. Based on the planets frindica addon by Mike Macgirvin and Tony Baldwin
|
||||
* Version: 1.0
|
||||
* Planets Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
|
||||
* Planets Author: Tony Baldwin <https://free-haven.org/profile/tony>
|
||||
|
@ -95,7 +95,7 @@ function krynn_post_hook($a, &$item) {
|
|||
*
|
||||
*/
|
||||
|
||||
$krynn = array('Ansalon','Abanasinia','Solace','Haven','Gateway','Qualinost','Ankatavaka','Pax Tharkas','Ergoth','Newsea','Straights of Schallsea','Plains of Dust','Tarsis','Barren Hills','Que Shu','Citadel of Light','Solinari','Hedge Maze','Tower of High Sorcery','Inn of the Last Home','Last Heroes Tomb','Academy of Sorcery','Gods Row','Temple of Majere','Temple of Kiri-Jolith','Temple of Mishakal','Temple of Zeboim,','The Trough','Sad Town','Xak Tsaroth','Zhaman','Skullcap',);
|
||||
$krynn = array('Ansalon','Abanasinia','Solace','Haven','Gateway','Qualinost','Ankatavaka','Pax Tharkas','Ergoth','Newsea','Straights of Schallsea','Plains of Dust','Tarsis','Barren Hills','Que Shu','Citadel of Light','Solinari','Hedge Maze','Tower of High Sorcery','Inn of the Last Home','Last Heroes Tomb','Academy of Sorcery','Gods Row','Temple of Majere','Temple of Kiri-Jolith','Temple of Mishakal','Temple of Zeboim,','The Trough','Sad Town','Xak Tsaroth','Zhaman','Skullcap','Saifhum','Karthay','Mithas','Kothas','Silver Dragon Mountain','Silvanesti');
|
||||
|
||||
$planet = array_rand($krynn,1);
|
||||
$item['location'] = $krynn[$planet];
|
||||
|
|
Loading…
Reference in a new issue