mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
release 6.2
This commit is contained in:
15
Data/Scripts/050_Outfits/wrappers/001_Outfit.rb
Normal file
15
Data/Scripts/050_Outfits/wrappers/001_Outfit.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
end
|
||||
5
Data/Scripts/050_Outfits/wrappers/Clothes.rb
Normal file
5
Data/Scripts/050_Outfits/wrappers/Clothes.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class Clothes < Outfit
|
||||
def initialize(id, name, description = '',price=0, tags = [])
|
||||
super
|
||||
end
|
||||
end
|
||||
5
Data/Scripts/050_Outfits/wrappers/Hairstyle.rb
Normal file
5
Data/Scripts/050_Outfits/wrappers/Hairstyle.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class Hairstyle < Outfit
|
||||
def initialize(id, name, description = '',price=0, tags = [])
|
||||
super
|
||||
end
|
||||
end
|
||||
5
Data/Scripts/050_Outfits/wrappers/Hat.rb
Normal file
5
Data/Scripts/050_Outfits/wrappers/Hat.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class Hat < Outfit
|
||||
def initialize(id,name,description='',price=0,tags=[])
|
||||
super
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user