mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-12 23:44:58 +00:00
6.6 update
This commit is contained in:
12
Data/Scripts/050_Outfits/wrappers/Hairstyle.rb
Normal file
12
Data/Scripts/050_Outfits/wrappers/Hairstyle.rb
Normal 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
|
||||
Reference in New Issue
Block a user