@@ -35,7 +35,7 @@ class Scenario{
|
||||
$data = $this->data;
|
||||
|
||||
$this->nations = [];
|
||||
$this->nations[0] = new Scenario\Nation(0, '재야', '#ffffff', 0, 0);
|
||||
$this->nations[0] = new Scenario\Nation(0, '재야', '#000000', 0, 0);
|
||||
foreach (Util::array_get($data['nation'],[]) as $idx=>$rawNation) {
|
||||
list($name, $color, $gold, $rice, $infoText, $tech, $type, $nationLevel, $cities) = $rawNation;
|
||||
$nationID = $idx+1;
|
||||
|
||||
@@ -84,7 +84,7 @@ class NPC{
|
||||
|
||||
$db = DB::db();
|
||||
|
||||
if($age == \sammo\GameConst::$adultAge && $month == 1){//FIXME: 14가 어디서 튀어나왔나?
|
||||
if($age == \sammo\GameConst::$adultAge && $month == 1){
|
||||
\sammo\pushWorldHistory(["<C>●</>1월:<Y>$name</>(이)가 성인이 되어 <S>등장</>했습니다."], $year, $month);
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ class Nation{
|
||||
public function __construct(
|
||||
int $id = null,
|
||||
string $name = '국가',
|
||||
string $color = '#ffffff',
|
||||
string $color = '#000000',
|
||||
int $gold = 0,
|
||||
int $rice = 2000,
|
||||
string $infoText = '국가 설명',
|
||||
|
||||
Reference in New Issue
Block a user