mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-07-22 15:47:00 +00:00
11 lines
261 B
Ruby
11 lines
261 B
Ruby
class Hat < Outfit
|
|
attr_accessor :type
|
|
def initialize(id,name,description='',price=0,tags=[], store_locations = [], contest_condition=[])
|
|
super
|
|
@type = :HAT
|
|
end
|
|
|
|
def trainer_sprite_path()
|
|
return getTrainerSpriteHatFilename(self.id)
|
|
end
|
|
end |