73 if (old_transport && old_transport != op) {
76 "You must exit %s before you can board %s.",
77 "You must exit %s before you can board %s.",
94 "You disembark from %s.",
"You disembark from %s.",
97 applier->
map = old_transport->
map;
98 applier->
x = old_transport->
x;
99 applier->
y = old_transport->
y;
101 old_transport->
contr = NULL;
111 for (inv = old_transport->
inv; inv; inv = inv->
below)
120 "%s has disembarked. You are now the captain of %s",
121 "%s has disembarked. You are now the captain of %s",
122 applier->
name, name_old);
137 "The %s is unable to hold your weight!",
138 "The %s is unable to hold your weight!",
144 if (op->
env == applier) {
151 "You cannot drop the %s in a shop to use it.",
152 "You cannot drop the %s in a shop to use it.",
159 "You need to drop the %s to use it.",
160 "You need to drop the %s to use it.",
167 for (inv = op->
inv; inv; inv = inv->
below)
178 "The %s does not have space for any more people",
179 "The %s does not have space for any more people",
189 "The %s's captain is currently %s",
190 "The %s's captain is currently %s",
194 "You're the %s's captain",
195 "You're the %s's captain",
207 if (ox != op->
x || oy != op->
y) {
235 base_speed = atof(kv);
242 if (op->
speed < 0.10)
int is_in_shop(object *ob)
const char * get_ob_key_value(const object *op, const char *const key)
static method_ret transport_type_apply(ob_methods *context, object *op, object *applier, int aflags)
signed long sum_weight(object *op)
void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *new_format, const char *old_format,...)
#define MSG_TYPE_APPLY_UNAPPLY
void remove_ob(object *op)
object * drop_object(object *op, object *tmp, uint32 nrof)
int find_animation(const char *name)
void register_apply(int ob_type, apply_func method)
object * insert_ob_in_ob(object *op, object *where)
object * insert_ob_in_map(object *op, mapstruct *m, object *originator, int flag)
void esrv_map_scroll(socket_struct *ns, int dx, int dy)
#define MSG_TYPE_APPLY_SUCCESS
int transport_can_hold(const object *transport, const object *op, int nrof)
#define MSG_TYPE_APPLY_ERROR
void register_process(int ob_type, process_func method)
void query_name(const object *op, char *buf, size_t size)
void init_type_transport(void)
unsigned find_face(const char *name, unsigned error)
static method_ret transport_type_process(ob_methods *context, object *op)