pleins de trucs
This commit is contained in:
40
scripts/data/actors/naatikata.lua
Normal file
40
scripts/data/actors/naatikata.lua
Normal file
@@ -0,0 +1,40 @@
|
||||
local actor, super = Class(Actor, "naatikata")
|
||||
|
||||
function actor:init()
|
||||
super.init(self)
|
||||
|
||||
-- Display name (optional)
|
||||
self.name = "Naatikata"
|
||||
|
||||
-- Width and height for this actor, used to determine its center
|
||||
self.width = 41
|
||||
self.height = 50
|
||||
|
||||
-- Hitbox for this actor in the overworld (optional, uses width and height by default)
|
||||
self.hitbox = {5, 25, 30, 25}
|
||||
|
||||
-- A table that defines where the Soul should be placed on this actor if they are a player.
|
||||
-- First value is x, second value is y.
|
||||
self.soul_offset = {10, 24}
|
||||
|
||||
-- Color for this actor used in outline areas (optional, defaults to red)
|
||||
self.color = {0, 1, 1}
|
||||
|
||||
-- Path to this actor's sprites (defaults to "")
|
||||
self.path = "party/naatikata"
|
||||
-- This actor's default sprite or animation, relative to the path (defaults to "")
|
||||
self.default = "walk"
|
||||
|
||||
-- Sound to play when this actor speaks (optional)
|
||||
self.voice = nil
|
||||
-- Path to this actor's portrait for dialogue (optional)
|
||||
self.portrait_path = nil
|
||||
-- Offset position for this actor's portrait (optional)
|
||||
self.portrait_offset = nil
|
||||
|
||||
-- Whether this actor as a follower will blush when close to the player
|
||||
self.can_blush = false
|
||||
end
|
||||
|
||||
|
||||
return actor
|
||||
Reference in New Issue
Block a user