mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-16 07:13:29 -04:00
Officers Can Now Call For Stims In NPC Cities
This commit is contained in:
@@ -4792,18 +4792,6 @@ boolean callSupplyDrop(obj_id self, int supplyId)
|
||||
return false;
|
||||
}
|
||||
|
||||
if(locations.isInCity(loc))
|
||||
{
|
||||
sendSystemMessage(self, new string_id("combat_effects", "not_in_city"));
|
||||
return false;
|
||||
}
|
||||
|
||||
if(city.isInCity(loc))
|
||||
{
|
||||
sendSystemMessage(self, new string_id("combat_effects", "not_in_city"));
|
||||
return false;
|
||||
}
|
||||
|
||||
obj_id shuttle = createObject("object/creature/npc/theme_park/lambda_shuttle.iff", loc);
|
||||
|
||||
if(!isIdValid(shuttle))
|
||||
@@ -4843,18 +4831,6 @@ boolean canCallSupplyDrop(obj_id self)
|
||||
return false;
|
||||
}
|
||||
|
||||
if(locations.isInCity(loc))
|
||||
{
|
||||
sendSystemMessage(self, new string_id("combat_effects", "not_in_city"));
|
||||
return false;
|
||||
}
|
||||
|
||||
if(city.isInCity(loc))
|
||||
{
|
||||
sendSystemMessage(self, new string_id("combat_effects", "not_in_city"));
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user