… | |
… | |
134 | $who->message ("The shopkeeper says: Sorry, you can't sell money here.", cf::NDI_BROWN); |
134 | $who->message ("The shopkeeper says: Sorry, you can't sell money here.", cf::NDI_BROWN); |
135 | $what->insert_ob_in_ob ($who); |
135 | $what->insert_ob_in_ob ($who); |
136 | return 1; |
136 | return 1; |
137 | } |
137 | } |
138 | |
138 | |
139 | unless ($what->get_flag (cf::FLAG_IDENTIFIED)) { |
139 | if (!$what->get_flag (cf::FLAG_IDENTIFIED) && $what->need_identify) { |
140 | $who->message ("The shopkeeper says: Sorry, you can't sell unidentified stuff here.", cf::NDI_BROWN); |
140 | $who->message ("The shopkeeper says: Sorry, you can't sell unidentified stuff here.", cf::NDI_BROWN); |
141 | $what->insert_ob_in_ob ($who); |
141 | $what->insert_ob_in_ob ($who); |
142 | return 1; |
142 | return 1; |
143 | } |
143 | } |
144 | |
144 | |