--- deliantra/server/ext/shop_ring.ext 2008/07/14 16:42:49 1.2 +++ deliantra/server/ext/shop_ring.ext 2018/11/18 15:19:48 1.4 @@ -7,14 +7,15 @@ my $o = cf::object::new 'ring'; $o->flag (cf::FLAG_IDENTIFIED, 1); $o->flag (cf::FLAG_UNPAID, 1); - $o->set_animation (cf::rndm $o->num_animations); + $o->set_anim_frame (cf::rndm $o->anim_frames); $o->insert_ob_in_map_at ($ob->map, undef, cf::INS_ABOVE_FLOOR_ONLY, $ob->x, $ob->y); cf::override; 1 - }; + } +; cf::object::attachment "amulet_adornment_shop", on_reset => sub { @@ -29,4 +30,5 @@ cf::override; 1 - }; + } +;