mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-09-12 23:45:12 -04:00
Added god mode checks to all QA and testing scripts.
This commit is contained in:
Regular → Executable
+7
@@ -24,6 +24,13 @@ public class rhanz_test extends script.base.remote_object_requester
|
||||
{
|
||||
}
|
||||
public static final String STARTING_EQUIPMENT_FILE = "datatables/equipment/newbie_equipment.iff";
|
||||
public int OnAttach(obj_id self) throws InterruptedException
|
||||
{
|
||||
if (!isGod(self) || getGodLevel(self) < 50 || !isPlayer(self)) {
|
||||
detachScript(self, "test.rhanz_test");
|
||||
}
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int OnSpeaking(obj_id self, String text) throws InterruptedException
|
||||
{
|
||||
if (isGod(self))
|
||||
|
||||
Reference in New Issue
Block a user