Script Function: Q592
From Ultima Online: The Second Age
function string Q592(int num, string name, string terrain) { string Q58D = "A "; concat(Q58D, name); concat(Q58D, " can not be created here."); if (num == (0x00 - 0x09)) { Q58D = "A "; concat(Q58D, name); concat(Q58D, " can not be created here. A living creature is blocking the "); concat(Q58D, name); concat(Q58D, "."); return (Q58D); } if (num == (0x00 - 0x05)) { Q58D = "A "; concat(Q58D, name); concat(Q58D, " can not be created here. Either something is blocking the "); concat(Q58D, name); concat(Q58D, " or part of the "); concat(Q58D, name); concat(Q58D, " would not be on "); concat(Q58D, terrain); concat(Q58D, "."); return (Q58D); } if (num <= (0x00 - 0x02)) { Q58D = "An internal error occured. Please notify a game master that you received this message." ); return (Q58D); } if (num == (0x00 - 0x01)) { Q58D = "A "; concat(Q58D, name); concat(Q58D, " can not be created here."); return (Q58D); } if (num == 0x00) { Q58D = "A "; concat(Q58D, name); concat(Q58D, " can not be created here. Either something is blocking the "); concat(Q58D, name); concat(Q58D, " or part of the "); concat(Q58D, name); concat(Q58D, " would not be on "); concat(Q58D, terrain); concat(Q58D, "."); return (Q58D); } if (num > 0x00) { Q58D = ""; return (Q58D); } return (Q58D); }