fix: 연구 커맨드에 금쌀 표기 없음

This commit is contained in:
2025-01-23 17:20:10 +00:00
parent be8f1fff96
commit dcbefa1a96
9 changed files with 90 additions and 0 deletions
@@ -34,6 +34,16 @@ class event_극병연구 extends Command\NationCommand{
];
}
public function getCommandDetailTitle():string{
$name = $this->getName();
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
$amount = number_format($this->env['develcost'] * 5);
$reqTurn = $this->getPreReqTurn()+1;
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
}
public function getPreReqTurn():int{
return 23;
}
@@ -34,6 +34,16 @@ class event_대검병연구 extends Command\NationCommand{
];
}
public function getCommandDetailTitle():string{
$name = $this->getName();
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
$amount = number_format($this->env['develcost'] * 5);
$reqTurn = $this->getPreReqTurn()+1;
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
}
public function getPreReqTurn():int{
return 11;
}
@@ -34,6 +34,16 @@ class event_무희연구 extends Command\NationCommand{
];
}
public function getCommandDetailTitle():string{
$name = $this->getName();
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
$amount = number_format($this->env['develcost'] * 5);
$reqTurn = $this->getPreReqTurn()+1;
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
}
public function getPreReqTurn():int{
return 23;
}
@@ -34,6 +34,16 @@ class event_산저병연구 extends Command\NationCommand{
];
}
public function getCommandDetailTitle():string{
$name = $this->getName();
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
$amount = number_format($this->env['develcost'] * 5);
$reqTurn = $this->getPreReqTurn()+1;
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
}
public function getPreReqTurn():int{
return 11;
}
@@ -34,6 +34,16 @@ class event_상병연구 extends Command\NationCommand{
];
}
public function getCommandDetailTitle():string{
$name = $this->getName();
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
$amount = number_format($this->env['develcost'] * 5);
$reqTurn = $this->getPreReqTurn()+1;
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
}
public function getPreReqTurn():int{
return 23;
}
@@ -34,6 +34,16 @@ class event_원융노병연구 extends Command\NationCommand{
];
}
public function getCommandDetailTitle():string{
$name = $this->getName();
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
$amount = number_format($this->env['develcost'] * 5);
$reqTurn = $this->getPreReqTurn()+1;
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
}
public function getPreReqTurn():int{
return 23;
}
@@ -34,6 +34,16 @@ class event_음귀병연구 extends Command\NationCommand{
];
}
public function getCommandDetailTitle():string{
$name = $this->getName();
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
$amount = number_format($this->env['develcost'] * 5);
$reqTurn = $this->getPreReqTurn()+1;
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
}
public function getPreReqTurn():int{
return 11;
}
@@ -33,6 +33,16 @@ class event_화륜차연구 extends Command\NationCommand{
ConstraintHelper::ReqNationAuxValue(static::$auxType->value, 0, "<", 1, "{$name}가 이미 완료되었습니다."),
];
}
public function getCommandDetailTitle():string{
$name = $this->getName();
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
$amount = number_format($this->env['develcost'] * 5);
$reqTurn = $this->getPreReqTurn()+1;
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
}
public function getPreReqTurn():int{
return 23;
@@ -34,6 +34,16 @@ class event_화시병연구 extends Command\NationCommand{
];
}
public function getCommandDetailTitle():string{
$name = $this->getName();
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
$amount = number_format($this->env['develcost'] * 5);
$reqTurn = $this->getPreReqTurn()+1;
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
}
public function getPreReqTurn():int{
return 11;
}