day_phase
来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· 代码 · 共 73 行
TXT
73 行
## The definition of day phase# Format:# length length of the phase in seconds# time_msg msg sent to outdoors user at phase starts# desc_msg desc looked during the period before next phase# event_fun the function is called in NATURE_D at the phase starts## Phase starts at 0:00 every day## Note the length of a phase is in minutes of a day.## The two lines defines the data format in 2 lines as## field1:field2:field3....# format1:format2:format3....#length:time_msg:desc_msg:event_fun:outcolor%d:%s:%s:%s:%s# The following lines are data, each non-blank line will fill in each field# in each record sequently.240东方的天空中开始出现一丝微曦。%s东方的天空已逐渐发白event_dawnHIB120太阳从东方的地平线升起了。一片红红的朝霞。%s太阳刚从东方的地平线升起event_sunriseHIR180太阳已经高高地挂在东方的天空中。%s太阳正高挂在东方的天空中event_morningHIY180已经是正午了,太阳从你正上方照耀著大地。%s现在是正午时分,太阳高挂在你的头顶正上方event_noonHIW180太阳开始从西方的天空中慢慢西沉。%s太阳正高挂在西方的天空中event_afternoonWHT180傍晚了,太阳的馀晖将西方的天空映成一片火红。%s一轮火红的夕阳正徘徊在西方的地平线上event_eveningRED120夜晚降临了。%s夜幕笼罩著大地event_nightCYN240已经是午夜了。%s夜幕低垂,满天繁星event_midnightBLU
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?