This commit is contained in:
parent
47e68ae106
commit
ab9555996d
|
|
@ -374,6 +374,23 @@ static int GoDungeon(uint32_t v)
|
|||
return 1;
|
||||
}
|
||||
|
||||
//ťŘłÇ
|
||||
static int GoTown(uint32_t v)
|
||||
{
|
||||
int num = SQGetTop(v);
|
||||
if (num == 1)
|
||||
{
|
||||
_SendpacksType(*_SendClass, 0, 0x2D);
|
||||
_SendPacks();
|
||||
SQPushBool(v, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
SQPushBool(v, false);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
//Ldofile
|
||||
static int LDofile(uint32_t v)
|
||||
{
|
||||
|
|
@ -936,6 +953,7 @@ void squirrel::R_Register_Nut()
|
|||
RegisterNutApi(L"L_sq_GivePlayerItem", GivePlayerItem);
|
||||
RegisterNutApi(L"L_sq_GivePlayerEqu", GivePlayerEqu);
|
||||
RegisterNutApi(L"L_sq_GoDungeon", GoDungeon);
|
||||
RegisterNutApi(L"L_sq_GoTown", GoTown);
|
||||
RegisterNutApi(L"L_sq_Dofile", LDofile);
|
||||
RegisterNutApi(L"L_cout", Lcout);
|
||||
RegisterNutApi(L"L_NewWindows", NewWindows);
|
||||
|
|
|
|||
Loading…
Reference in New Issue