feat: make charDir customizable
This commit is contained in:
parent
ddc1933b40
commit
50eb613a53
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ function Gizmo:applyProperties()
|
|||
self.needButton = self.properties.needButton
|
||||
self.charId = self.properties.charId or 1
|
||||
self.charset = self.properties.charset or nil
|
||||
self.charDir = self.properties.charDir or "down"
|
||||
self.cantTurn = self.properties.cantTurn or self.cantTurn
|
||||
if (self.properties.event ~= nil) then
|
||||
local data = require("datas.gamedata.events." .. self.properties.event)
|
||||
|
|
Loading…
Reference in a new issue