wikia information
2 posters
Page 1 of 1
wikia information
HI
Is it possible to add information in wikia plug in?
I think it will be fine to can read the time need to collect residence. It s important to choose because for somme mission we need to collect lots of time residence to have spécifics object. Personnaly, i use specifics neigborhoods to put in 5 min house collecting.
Is it possible to add information in wikia plug in?
I think it will be fine to can read the time need to collect residence. It s important to choose because for somme mission we need to collect lots of time residence to have spécifics object. Personnaly, i use specifics neigborhoods to put in 5 min house collecting.
asproef- Posts : 164
Points : 262
Join date : 2011-10-14
Re: wikia information
I modify for your request.
If you want to find 5min, search 0.0833333 hours by CTRL-F.
Plugins/wikia/Class/wikia.php
line about 100
line about 200. delete comment out.
modify function showTag line about 230
If you want to find 5min, search 0.0833333 hours by CTRL-F.
Plugins/wikia/Class/wikia.php
line about 100
- Code:
// Load Etc tag value
$i = 0;
foreach($item as $tag => $value)
{
$s_tag = strval($tag);
if ($s_tag == "keyword")
{
$this->item[$name]->tag->keyword[$i] = strval($value);
$i++;
} else {
$this->item[$name]->tag->$s_tag = strval($value);
}
}
// Load Random Modifier Tables
line about 200. delete comment out.
- Code:
$this->PushForm('<span class="Inf">');
$this->showAttr($value->attr);
$this->PushForm('</span>');
$this->PushForm('<span class="Inf">');
$this->showTag($value->tag,$type);
$this->PushForm('</span>');
$this->showRMT($value->RMT);
modify function showTag line about 230
- Code:
function showTag($obj,$type)
{
switch($type)
{
case 'business':
break;
case 'decoration':
break;
case 'landmark':
break;
case 'residence':
if (isset($obj->cost)) $this->PushForm(sprintf('Coin : %s',$obj->cost).'<br/>');
if (isset($obj->cash)) $this->PushForm(sprintf('Cash : %s',$obj->cash).'<br/>');
$this->PushForm(sprintf('Size : %dx%d',$obj->sizeX,$obj->sizeY).' <br/>');
$this->PushForm(sprintf('Grow : %g',$obj->growTime/1.043478261*24).' hours <br/>');
$this->PushForm(sprintf('Population : %d0 / %d0',$obj->populationBase,$obj->populationMax).'<br/>');
foreach ((array)$obj->keyword as $key)
{
$this->PushForm(sprintf('Keyword : %s',$key).'<br/>');
}
break;
}
/*
$this->PushForm(sprintf('Buy : %s x %s',$obj->name).'<br/>');
$this->PushForm(sprintf('Sell : %s',$obj->code).'<br/>');
$this->PushForm(sprintf('Size : %s',$obj->giftable).'<br/>');
$this->PushForm(sprintf('Buy : %s',$obj->buyable).'<br/>');
$this->PushForm(sprintf('Place : %s',$obj->placeable).'<br/>');
*/
}
Kazu- Posts : 10
Points : 8
Join date : 2011-10-23
Similar topics
» plug in wikia 3b.. does not appear
» Just downloaed bot. need help
» more new items in multi-and Wikia
» Just downloaed bot. need help
» more new items in multi-and Wikia
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Mon Apr 20, 2015 1:52 pm by ertyanna
» expansions cityville hack new 12/12/15
Sat Feb 14, 2015 9:52 pm by nico
» Biohazard Problem Expansion
Sat Nov 08, 2014 3:12 pm by CV FO LIFE
» CAN SOMEONE HELP ME?
Sat Nov 08, 2014 3:09 pm by CV FO LIFE
» hello friends i have new update of cv bot project devil 1.10 update (2.01)
Sat Nov 01, 2014 12:59 pm by Blue Angel
» [Resolved] codebase-php Error
Sun Oct 12, 2014 7:22 am by nico
» -_- Which bot is now working ????
Thu Oct 09, 2014 7:06 pm by lobobpf6
» bot 1.2 does nt work
Sun Aug 10, 2014 1:00 am by nathaliafariass
» COMO FUNCIONA
Sun Aug 10, 2014 12:38 am by nathaliafariass