mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-15 23:04:31 -05:00
Prevent GM from picking up holiday controller
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user