Easter Egg plugin.
About:
Easter Egg (secret command) features.
If input of players command matches secret command then turn on switch.
Easter Egg on, watching players input.
Plugin Commands:
# entry new secret commands
EasterEgg create keyId commands
[keyId: secret commands id]
[commands: secret commands]
# update secret commands
EasterEgg update keyId commands
[keyId: secret commands id]
[commands: secret commands]
# delete secret commands
EasterEgg delete keyId
[keyId: secret commands id]
# delete all secret commands
EasterEgg delete all
# start watching players input
EasterEgg on keyId switchId retryLimit
[keyId: secret commands id]
[switchId: secret command complete when turn on switch]
[retryLimit(optional): miss input retry limit (default: Infinity ) ]
# stop players input watch
EasterEgg off
# watching status code into variable
EasterEgg status variableId
[varableId: into variables id]
# running when trun on switch
EasterEgg isRunning switchId
# player now input secret command when turn on switch
EasterEgg isInput switchId
[switchId: turn on switch id]
[switchId: turn on switch id]
# input secret commands complete when turn on switch
EasterEgg isComplete switchId
[switchId: turn on switch id]
Format:
Secret commands usable key names "up down left right ok cancel"
ex) "EasterEgg create 1 up up down down left right"
Example:
Add this common event.
And this event.
1) Start Event
2) Input up down up down left right
3) Trun on switch 1
4) Call common event "Play SE: sound1"
Note:
Does nothing if input miss. Because that's the secret command.
Player can not know state of secret command.
Can register multiple secret commands. But, only one can be call at once.
Terms of Use
MIT License
Plugin download
here
本贴来自国际rpgmaker官方论坛作者:saronpasu处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/easter-egg-secret-command-plugin.50838/