You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
send_to_char("You don't see that vehicle here.\r\n", ch);
2325
-
return;
2326
-
}
2327
2323
2328
-
FAILURE_CASE(found_veh == veh, "You can't push it into itself.");
2329
-
FAILURE_CASE(!found_veh->seating[0] && !(repair_vehicle_seating(found_veh) && found_veh->seating[0]), "There's nowhere to push it into.");
2330
-
FAILURE_CASE(found_veh->load - found_veh->usedload < calculate_vehicle_entry_load(veh), "There is not enough room in there for that.");
2324
+
FAILURE_CASE_PRINTF(!(veh = get_veh_list(buf, ch->in_room->vehicles, ch)), "You don't see a vehicle named '%s' here.", buf);
2325
+
FAILURE_CASE_PRINTF(!(found_veh = get_veh_list(buf1, ch->in_room->vehicles, ch)), "You don't see a vehicle named '%s' to push %s into.", buf1, GET_VEH_NAME(veh));
2326
+
2327
+
FAILURE_CASE_PRINTF(found_veh == veh, "You can't push %s into itself.", GET_VEH_NAME(veh));
2328
+
FAILURE_CASE_PRINTF(!found_veh->seating[0] && !(repair_vehicle_seating(found_veh) && found_veh->seating[0]), "There's not enough seating for you in %s.", GET_VEH_NAME(found_veh));
2329
+
FAILURE_CASE_PRINTF(found_veh->load - found_veh->usedload < calculate_vehicle_entry_load(veh), "There is not enough room in %s for that.", GET_VEH_NAME(found_veh));
2331
2330
FAILURE_CASE(found_veh->locked, "You can't push it into a locked vehicle.");
2332
-
FAILURE_CASE(veh->locked && veh->damage < VEH_DAM_THRESHOLD_DESTROYED, "The wheels seem to be locked.");
2331
+
FAILURE_CASE_PRINTF(veh->locked && veh->damage < VEH_DAM_THRESHOLD_DESTROYED, "The wheels on %s seem to be locked.", GET_VEH_NAME(veh));
2333
2332
FAILURE_CASE(found_veh->damage >= VEH_DAM_THRESHOLD_DESTROYED, "You can't push anything into a destroyed vehicle.");
2334
2333
2335
2334
strlcpy(buf2, GET_VEH_NAME(veh), sizeof(buf2));
@@ -2452,6 +2451,29 @@ ACMD(do_vehicle_osay) {
2452
2451
send_to_char(ch, "You say ^mOOCly^n, \"%s^n\".\r\n", capitalize(argument));
if (previous_armor_penalty && !get_armor_penalty_grade(ch))
3953
3953
send_to_char("You can move freely again.\r\n", ch);
3954
3954
@@ -4243,7 +4243,7 @@ ACMD(do_activate)
4243
4243
do_wear(ch, tmp_arg, 0, 0);
4244
4244
} elseif (worn) {
4245
4245
send_to_char(ch, "%s hasn't been bonded yet, so you need to ^WREMOVE^n it and ^WBOND^n it, then ^WWEAR^n it again. Trying that now...\r\n", CAP(GET_OBJ_NAME(obj)));
0 commit comments