Prevent GM from picking up holiday controller

This commit is contained in:
AconiteGodOfSWG
2020-11-09 03:00:28 -05:00
parent 5255139cc5
commit 5f349274fb

View File

@@ -159,6 +159,13 @@ public class holiday_controller extends script.base_script
}
return SCRIPT_CONTINUE;
}
// Make sure CSRs can't take the master object on a stroll down Amidala's Beach when they should be home doing their homework
public int OnAboutToBeTransferred(obj_id self, obj_id destContainer, obj_id transferer) throws InterruptedException {
sendSystemMessageTestingOnly(transferer, "You cannot move this item!");
return SCRIPT_OVERRIDE;
}
private void startHolidayEvent(obj_id speaker, String holidayName, String holidayRunning, int holidayStatus) throws InterruptedException
{
if (holidayRunning == null)