Unit spawn instruction

This commit is contained in:
Anuken
2022-02-08 13:20:55 -05:00
parent 38c0284bbe
commit ec8952ed46
8 changed files with 103 additions and 7 deletions

View File

@@ -9,6 +9,7 @@ import mindustry.*;
import mindustry.content.*;
import mindustry.ctype.*;
import mindustry.entities.units.*;
import mindustry.game.*;
import mindustry.logic.LExecutor.*;
import mindustry.type.*;
import mindustry.world.*;
@@ -53,6 +54,10 @@ public class GlobalConstants{
//store base content
for(Team team : Team.baseTeams){
put("@" + team.name, team);
}
for(Item item : Vars.content.items()){
put("@" + item.name, item);
}