Skip to content

Commit

Permalink
files update~
Browse files Browse the repository at this point in the history
  • Loading branch information
Taromatibot committed Mar 10, 2023
1 parent b73e870 commit 1a6f021
Show file tree
Hide file tree
Showing 8 changed files with 41,665 additions and 41,516 deletions.
47 changes: 47 additions & 0 deletions Taromati2/ghost/master/dic/aya/base/path_def.dic
Original file line number Diff line number Diff line change
@@ -1,4 +1,51 @@
//by steve02081504
/*
N..,,,.N
.,,,,,,,,,.
...,,,,,,,,,....
.......,..,?.....
+, ?:...=. +.~..?..:
...I,...?I?,++..~7,~
+,,7II:.?II~=+=,,??:~
II.=$$$?~7?=NDZN=,?I~=
7?.:$+8DI,7,OOI?::+$~7
?I::7=ZD.=...I7I:++$:$
?77,+7?,.. ..=:=?$$$:
7+~7$$:...,=I~?+$
887~7D ??..,IZ8 8
N OZO$O..7NOD
8ZZZO$8=.Z$Z8
D8OOOZ8ZOZZZO
Z88D8O8N8O8N
8ZOD8OO8OZZ
8OZODOZ8Z8ZD
NZZO88ZDZZO8N~O
Z$ZZZND8OZZOO,:
ODN88~DD8ZZO878OD
O8D,.,..,.OO88OZ8ON
?OO8.,.D: .=O 8ZZDD8O
NZO88=,O,:, ND8O8DOD8
8$$8O7+88DOZ8NOO8ID
Z=~NZ8ZDZZZZ,D
N88D 8ND
NNN DDDN
N88D D88D
88D ND8D
N8DN D8DN
D88N N88D
N88D D88
N88D D88N
88D N88N
D8D D8D
.ONN ND 8NDN D
ZZZ88OD DDZZO8N
IZOD,: N:8OZ,
ZZO8OO 8ZZZ8
$ZZZZOD8N ZO.DZD
88OO88N~: O$Z$OD
N... ,8 ?NDDD,
8N
*/
//
#globaldefine SHIORI_NAME aya
#globaldefine _DIC_DIRS_ 'dic'
Expand Down
20 changes: 20 additions & 0 deletions Taromati2/ghost/master/dic/aya/master/file.dic
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,23 @@ InVM{
else
1
}
GETSIZEUNIT{
_table=('B','KB','MB','GB','TB','PB','EB','ZB','YB')
_size=_argv[0]
_i=0
while _size>1024{
_size/=1024
_i++
}
_table[_i]
}
UNITSIZE{
_table=('B','KB','MB','GB','TB','PB','EB','ZB','YB')
_size=_argv[0]
_i=0
while _size>1024{
_size/=1024
_i++
}
_size+_table[_i]
}
43 changes: 43 additions & 0 deletions Taromati2/ghost/master/dic/aya/master/shiori.dic
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
/*
,?I7II=,
III777777777777
7I777777777777777777
=77777777777777777I7777
777777777777777777777+777:
7I77I777777I77777II7777=777?
~777777777777777777+77777=777,
7=77=77I7777?=I77+I7+7777+=77?
77777=7I+7777+I7I77+=I=7777+III+
7=777=7++?777+I=~=~:==:?77??=II=
7=77I=I=??II7++?~+=??~=~77I7=+7?:
:II7II~+==??I7+=+~=~+~==~I7II=~+?:
?+77+?~==~==I?==?? ,,,,~:I7??=~=+=
?~I7I?~~ ,,,:?~+77I:,:,+?77?++==I~
+~I7I+~~?~:+~I=I7777+,,?~77+=+=~I
+~?II+~?77+,?7+77777II77=I7++=~=
+~??7==~II77I7I77777II??II?+?~=~
=~+~+I+~~~?II77I==7777?~?I+~?
~,=+=~~~:=~+7777II=?++?==:~
~,?=~,::,,II7=77II??+~,? :::::,::::; ,:,,:::
~ +=:~:=,77~,+III,?:::=~, :, :, ::, ::
:~~~~::77,~ 777=~:~~~~:: ,, :,, ,:
~~~:::~7:,~::7:~ ,~~::~~~ : ::, :,
,~~:: 7::~~,:?7: :::::,, ,, ,:, , , ,,, ,::,:,,: ,
: , =:~~~,::,: :,,,,:, : :::::, ::,:, ::, ,:::,,,:, ::::,, :: , ,, :
,::,,,::~:: ,, , ::::, , ,: ::, :: ,, ,: :, ,: :, , ,
::,, ,::~~~,,,,, :,:,, , ,, ,, ,, :: , ,: , : ,, ,, :: , :
:::?:,,,,: ,,,,:,:, ?I,, ,:,::: ,, ,::, ,, : , ,:,,:: :: , ,:::,,,
?,:,,~,,::::::: :,, =+, , ,
+I, ::~,,:::::,,,,,,?=
,,?I7::~~~:::::,,,:7?I,:
::: +I::::::,::,7+II7~,::~
:: ,,::::::::::,,, ,:::,:~,
=:, :,::::::::~,,,:,,:::::, +
,,,::,:::::::~:,,,:: :,,::,,:
,,,,::,,:::::~:,,,,:: ,:,,:,,=
,:::: :,:::~~::,,,:~:,~,::,: ~
:::::,: ,,:~:, ,, ,,:~,:::,I
:+:,~ ::::~ ::~:: :,,:~ ~:7
:I::,,,~:~ ::~::,::,:~:~:
*/

//------------------------------------------------------------------------------
//以下のdefineは基本的に弄らないで下さい
//------------------------------------------------------------------------------
Expand Down
24 changes: 15 additions & 9 deletions Taromati2/ghost/master/dic/system/event_response.dic
Original file line number Diff line number Diff line change
Expand Up @@ -1225,20 +1225,26 @@ ClearNetworkStatusVar{
OnURLQuery{
if shortcut==1{
temp=reference0
"\![excute,http-get,%(reference0),--param-charset=UTF-8,--file=url.html,--timeout=50,--async=OnLoadUrlTitle]"
}elseif RE_GREP(reference0,'.nar$'){
"\![execute,install,url,%(reference0),nar]"
}else{
"\![excute,http-get,%(reference0),--param-charset=UTF-8,--file=VAR_PATH/url.html,--timeout=50,--async=OnLoadUrlTitle]"
return
}
elseif reference3=='unknown' || !reference3{
"\0\s[6]未知URL,请使用下载器下载\n\n[half]\_qURL:%(reference0)\_q\n"
--
"\q[◇打开URL,OnUrlOpen,%(reference0)]\n/
\q[◇复制URL,OnCopy,%(reference0)]\n/
\q[◇无用,Cancel]\n/
}
else{
"\0\s[0]自URL:%(reference0)\n/
下载并安装%(reference3)?\n/
\q[◇确认,script:""\![execute,install,%(reference0)]""]\n/
"
}
--
"\q[◇打开URL,OnUrlOpen,%(reference0)]\n/
\q[◇复制URL,OnCopy,%(reference0)]\n/
\q[◇无用,Cancel]\n/
"
}
OnLoadUrlTitle{
_file='VAR_PATH\\url.html'
_file='VAR_PATH/url.html'
_title=''
_charset=''
_url=temp
Expand Down
60 changes: 45 additions & 15 deletions Taromati2/ghost/master/dic/system/menu.dic
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ SubMenu{
'\q[◇播放音乐,OnMusicPlayer] \_l[100,-]\q[◇魔法时钟,OnAnalogClock]\n/
\q[◇闹钟,OnAlarmMenu] \_l[100,-]\q[◇课程表,OnClassTable] \n/
\q[◇记事本,Onnotebook] \_l[100,-]\q[◇截屏,OnScreenShot]\n/
\q[◇更换壁纸,OnWallPaper] \_l[100,-]\q[◇清空垃圾箱,TrashClean]\n/
\q[◇更换壁纸,OnWallPaper] \_l[100,-]\q[◇清空垃圾箱,OnTrashClean]\n/
\q[◇英汉互查字典,dictionary] \_l[100,-]\q[◇日历,OnCalendar]\n/
\q[◇天气预报,OnCheckWeather] \_l[100,-]\q[◇日程提醒,OnAgenda]\n/
\q[◇IP查询,OnCheckIp] \_l[100,-]\q[◇计算器,OnCalculator]\n/
Expand Down Expand Up @@ -1044,41 +1044,73 @@ OnOpenMasterMenu{
'\![open,file,ghost\master]'
}
//---- ごみ箱を空に ---------------------------------------------------------------------------------------------------
Select.TrashClean{
OnTrashClean
Init.RecycleBinStatus{
RecycleBinStatus.Succees = 0
RecycleBinStatus.FileNum = 0
RecycleBinStatus.TotalSize = 0
}
UpdateRecycleBinStatus{
RecycleBinStatus.FileNum = reference0
RecycleBinStatus.TotalSize = reference1
}
OnRecycleBinStatusUpdate.Talk{
_NumDiff = reference2
_SizeDiff = reference3
if _NumDiff > 9 || _SizeDiff > 1024*1024*1024*2
"\0\s[0]嗯\w8,有%(_NumDiff)个文件\w9,共%(UNITSIZE(_SizeDiff))被添加到了回收站。"
elseif _NumDiff > 0{
if RecycleBinStatus.FileNum > 720
"\0\s[8]嗯.\w8\w8.\w8.\n/
回收站里现在已经有%(RecycleBinStatus.FileNum)个文件了哦?"
elseif RecycleBinStatus.TotalSize > 1024*1024*1024*2
"\0\s[8]嗯.\w8\w8.\w8.\n/
回收站里现在已经有%(UNITSIZE(RecycleBinStatus.TotalSize))的文件了哦?"
}
elseif _NumDiff < 0 && RecycleBinStatus.TotalSize
'\0\s[26]需要我帮忙吗?'
}
OnRecycleBinStatusUpdate{
RecycleBinStatus.Succees = reference4
UpdateRecycleBinStatus

_t=OnRecycleBinStatusUpdate.Talk
if _t
_t+'\n/
\q[◇清空回收站,OnTrashClean]\n/
\q[◇无用,Cancel]\n/
'
}
OnTrashClean{
DiscordCustomSet.CustomDetail('打扫卫生')
--
_gomicheck = CALLSAORI('gomi', '-n')
if _gomicheck == 0{
if RecycleBinStatus.FileNum == 0{
if nurturance.Moeness>200||nurturance.Darkness>200||nurturance.Moeness>nurturance.Darkness{
'\0\s[0]接受任务!!\w9\s[-1]\b[-1]\w9\w9\w9\w9\w9\w9\s[0]\c嗯,啊勒,无法确定敌人?\w9\n好像敌人已经被歼灭了哦~'
'\0\s[0]接受任务!!\w9\s[-1]\b[-1]\w9\w9\w9\w9\w9\w9\s[0]\c\w8\s[20]嗯,啊勒,无法确定敌人?\w9\n好像敌人已经被歼灭了哦~'
'\0\s[0]嗯。\n那么,橘花去消灭敌人!!\w9\s[-1]\b[-1]\w9\w9\w9\w9\w9\w9\s[0]\c目标、无法确认。\w9\w9\s[3]\n有点可惜呢。\w9\1\s[10]………'
}
else{
'\0\s[0]任务接受。\w9\s[-1]\b[-1]\w9\w9\w9\w9\w9\w9\s[0]\c目标、无法确认。\w9\n好像已经空了呢。'
'\0\s[0]好的。\n那么、请稍微等一下。\w9\s[-1]\b[-1]\w9\w9\w9\w9\w9\w9\s[0]\c目标、无法确认。\w9\w9\s[3]\n有点可惜呢。\w9\1\s[10]………'
}
}
elseif _gomicheck > 0{
trashnum=_gomicheck
elseif RecycleBinStatus.Succees{
'\0\s[0]任务接受。\w9\s[-1]\b[-1]\w9\w9\w9'
'\0\s[0]好的。\n那么、请稍微等一下。\w9\s[-1]\b[-1]\w9\w9\w9'
--
if !silent
'\![sound,play,SOUND_PATH\shot.wav]'
--
'\![raise,OnTrashClean_s]'
'\![execute,emptyrecyclebin]'
}
else{
'\1\s[10]不…把自己像垃圾一样的丢掉吧。\w9\0\s[8]………'
}
}
OnTrashClean_s{
_gomisute = CALLSAORI('gomi', '-ef')
if _gomisute {
_t=MIN(kikkamoodmax,LOG(nurturance.Darkness*trashnum,2.718281)*kikkamood)
OnRecycleBinEmpty{
UpdateRecycleBinStatus
if reference4 {
_trashnum = -reference2
_t=MIN(kikkamoodmax,LOG(nurturance.Darkness*_trashnum,2.718281)*kikkamood)
if _t<=0
_t=kikkamoodmax
kikkamood=MIN(kikkamoodmax,_t+kikkamood)
Expand All @@ -1098,8 +1130,6 @@ OnTrashClean_s{
'\w9\w9\0\s[3]抱歉、失败了。'
'\w9\w9\0\s[3]意料外的状况发生。\w9\n抱歉。'
}
--
ERASEVAR('trashnum')
}
//更换壁纸
//----------------------------------------------------------------
Expand Down
Binary file modified ssp/ssp.dbg
Binary file not shown.
Binary file modified ssp/ssp.exe
Binary file not shown.
Loading

0 comments on commit 1a6f021

Please sign in to comment.