ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/shop_ring.ext
(Generate patch)

Comparing deliantra/server/ext/shop_ring.ext (file contents):
Revision 1.3 by root, Tue May 4 21:45:42 2010 UTC vs.
Revision 1.4 by root, Sun Nov 18 15:19:48 2018 UTC

5 my ($ob) = @_; 5 my ($ob) = @_;
6 6
7 my $o = cf::object::new 'ring'; 7 my $o = cf::object::new 'ring';
8 $o->flag (cf::FLAG_IDENTIFIED, 1); 8 $o->flag (cf::FLAG_IDENTIFIED, 1);
9 $o->flag (cf::FLAG_UNPAID, 1); 9 $o->flag (cf::FLAG_UNPAID, 1);
10 $o->set_animation (cf::rndm $o->num_animations); 10 $o->set_anim_frame (cf::rndm $o->anim_frames);
11 11
12 $o->insert_ob_in_map_at ($ob->map, undef, cf::INS_ABOVE_FLOOR_ONLY, $ob->x, $ob->y); 12 $o->insert_ob_in_map_at ($ob->map, undef, cf::INS_ABOVE_FLOOR_ONLY, $ob->x, $ob->y);
13 13
14 cf::override; 14 cf::override;
15 15

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines