📄 pieroom.py
字号:
import BetterMUD
import data.logics.logic
class pieroom( data.logics.logic.logic ):
def Run( self, action, arg1, arg2, arg3, arg4, data ):
if action == "getitem":
item = BetterMUD.item( arg2 )
if item.TemplateID() == 2:
self.mud.AddActionRelative( 5000, "vision", self.me, 0, 0, 0, "The Baker puts a new pie into the oven!" )
self.mud.AddActionRelative( 1200000, "spawnitem", 2, self.me, 0, 0, "" )
self.mud.AddActionRelative( 1200001, "vision", self.me, 0, 0, 0, "A freshly baked Pie pops out of the oven!" )
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -