!---------------------------------------------------------------------------- !************************************** CUSTOM "IT'S TOO FAR AWAY" RESPONSES !---------------------------------------------------------------------------- routine PrintText18(val1,val2) { select val1 !------ GENERAL case 1 { !Usage: (18,1,obj) print "Wooden rails block "; The(val2); "." } case 2 { !Usage: (18,2,obj) - the chain won't reach. print CThe(upward_chain); " won't reach to "; The(val2); "." } !------ SPECIFIC case port_wing, starboard_wing { !Usage: (18,obj,1) if CheckReach(self) { if (mast.misc #1) { PrintMessage(18,1,val1) !Wooden rails block the wing. } else { "The wing extends from the edge of the barge, over the "; if (val1 = port_wing): "port "; else: "starboard "; "side. You can only reach the slot in the ridged lip, low to the deck, where it is clamped in place." } } } }