mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-03 18:13:08 -04:00
12 lines
541 B
Groovy
12 lines
541 B
Groovy
import resources.objects.SWGObject
|
|
import resources.player.Player
|
|
import services.galaxy.GalacticManager
|
|
import com.projectswg.common.debug.Log
|
|
import services.crafting.resource.galactic.storage.GalacticResourceContainer
|
|
import intents.crafting.survey.StartSurveyingIntent
|
|
|
|
static def execute(GalacticManager galacticManager, Player player, SWGObject target, String args) {
|
|
def resource = GalacticResourceContainer.getContainer().getGalacticResourceByName(args)
|
|
new StartSurveyingIntent(player.getCreatureObject(), resource).broadcast()
|
|
}
|