1
0
Fork 0
forked from OpenNeo/impress

use body zone (15) instead of static so that most items look good

This commit is contained in:
Emi Matchu 2014-01-25 16:23:18 -06:00
parent 173c1eab5d
commit e62d52bbd4

View file

@ -3,7 +3,7 @@ namespace :pet_types do
desc 'Create a prank pet type with one state and one asset' desc 'Create a prank pet type with one state and one asset'
task :create, [:color_id, :species_id, :body_id, :asset_remote_id, :asset_url, :female, :mood_id, :unconverted, :zones_restrict] => :environment do |t, args| task :create, [:color_id, :species_id, :body_id, :asset_remote_id, :asset_url, :female, :mood_id, :unconverted, :zones_restrict] => :environment do |t, args|
args.with_defaults(female: false, mood_id: 1, unconverted: false, args.with_defaults(female: false, mood_id: 1, unconverted: false,
zone_id: 46, # static, used by UC pets zone_id: 15, # body zone; a pretty good compromise for most items
zones_restrict: '0000000000000000000000000000000000000000000000000000') zones_restrict: '0000000000000000000000000000000000000000000000000000')
PetType.transaction do PetType.transaction do
swf_asset = SwfAsset.new swf_asset = SwfAsset.new