Migrate a reorganizes bunch of files from PIF

This commit is contained in:
chardub
2025-04-24 19:46:52 -04:00
parent 682323e255
commit 95ef337de8
90 changed files with 31218 additions and 28195 deletions

View File

@@ -0,0 +1,19 @@
class Outfit
attr_accessor :id
attr_accessor :name
attr_accessor :description
attr_accessor :tags
attr_accessor :price
def initialize(id, name, description = '',price=0, tags = [])
@id = id
@name = name
@description = description
@tags = tags
@price = price
end
def trainer_sprite_path()
return nil
end
end

View File

@@ -0,0 +1,11 @@
class Clothes < Outfit
attr_accessor :type
def initialize(id, name, description = '',price=0, tags = [])
super
@type = :CLOTHES
end
def trainer_sprite_path()
return getTrainerSpriteOutfitFilename(self.id)
end
end

View File

@@ -0,0 +1,12 @@
class Hairstyle < Outfit
attr_accessor :type
def initialize(id, name, description = '',price=0, tags = [])
super
@type = :HAIR
end
def trainer_sprite_path()
return getTrainerSpriteHairFilename(self.id)
end
end

View File

@@ -0,0 +1,11 @@
class Hat < Outfit
attr_accessor :type
def initialize(id,name,description='',price=0,tags=[])
super
@type = :HAT
end
def trainer_sprite_path()
return getTrainerSpriteHatFilename(self.id)
end
end