Sandbox city building

This commit is contained in:
CharonInferar
2014-04-28 04:31:45 +02:00
parent 4e6ae6d478
commit 3948fe11f3
2 changed files with 91 additions and 0 deletions
+8
View File
@@ -93,6 +93,7 @@ public class DevService implements INetworkDispatch {
if(creature.getClient().isGM()) suiOptions.put((long) 120, "House Deeds");
if(creature.getClient().isGM()) suiOptions.put((long) 125, "Crafting Tools");
if(creature.getClient().isGM()) suiOptions.put((long) 130, "Vehicle Deeds");
if(creature.getClient().isGM()) suiOptions.put((long) 121, "Sandbox City");
break;
case 3: // [Items] Weapons
@@ -1232,6 +1233,11 @@ public class DevService implements INetworkDispatch {
inventory.add(deed);
return;
case 121:
NGECore.getInstance().playerCityService.buildSandboxTestCity(player);
return;
case 125:
TangibleObject genericCraftingTool = (TangibleObject) core.objectService.createObject("object/tangible/crafting/station/shared_generic_tool.iff", planet);
@@ -1244,6 +1250,8 @@ public class DevService implements INetworkDispatch {
inventory.add(swoopDeed);
inventory.add(av21deed);
return;
}
}
});