Class RandomizedWorldBase
java.lang.Object
zombie.randomizedWorld.RandomizedWorldBase
- Direct Known Subclasses:
RandomizedBuildingBase, RandomizedRanchBase, RandomizedVehicleStoryBase, RandomizedZoneStoryBase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBloodSplat(IsoGridSquare sq, int nbr) voidvoidvoidvoidvoidaddItemOnGround(IsoGridSquare square, String type) addItemOnGround(IsoGridSquare square, InventoryItem item) addItemOnGround(IsoGridSquare square, InventoryItem item, boolean fill) addItemOnGroundNoLoot(IsoGridSquare square, String type) addItemOnGroundNoLoot(IsoGridSquare square, InventoryItem item) static InventoryItemaddItemOnGroundStatic(IsoGridSquare square, String type) static InventoryItemaddItemOnGroundStatic(IsoGridSquare square, InventoryItem item) addItemToObjectSurface(String item, IsoObject object) voidaddMattressNorthSouth(int x, int y, int z) voidaddMattressWestEast(int x, int y, int z) voidaddRandomItemOnGround(IsoGridSquare square, ArrayList<String> types) voidaddRandomItemsOnGround(RoomDef room, String type, int count) voidaddRandomItemsOnGround(RoomDef room, ArrayList<String> types, int count) voidaddRandomShelterNorthSouth(int x, int y, int z) voidaddRandomShelterWestEast(int x, int y, int z) voidaddRandomTentNorthSouth(int x, int y, int z) voidaddRandomTentWestEast(int x, int y, int z) voidaddShelterNorthSouth(int x, int y, int z) voidaddShelterWestEast(int x, int y, int z) voidvoidvoidaddSleepingBagNorthSouth(int x, int y, int z) voidaddSleepingBagOrTentNorthSouth(int x, int y, int z) voidaddSleepingBagOrTentWestEast(int x, int y, int z) voidaddSleepingBagWestEast(int x, int y, int z) voidaddTentNorthSouth(int x, int y, int z) voidaddTentNorthSouthNew(int x, int y, int z) voidaddTentWestEast(int x, int y, int z) voidaddTentWestEastNew(int x, int y, int z) addTileObject(int x, int y, int z, String spriteName) addTileObject(int x, int y, int z, String spriteName, boolean dirt) addTileObject(IsoGridSquare sq, String spriteName) addTileObject(IsoGridSquare sq, String spriteName, boolean dirt) addTileObject(IsoGridSquare sq, IsoObject obj) addTileObject(IsoGridSquare sq, IsoObject obj, boolean dirt) addTrailer(BaseVehicle v, Zone zone, IsoChunk chunk, String zoneName, String vehicleDistrib, String trailerName) voidaddTrailOfBlood(float x, float y, float z, float direction, int count) voidaddTraitOfBlood(IsoDirections dir, int time, int x, int y, int z) addVehicle(float vehicleX, float vehicleY, float vehicleZ, float direction, String zoneName, String scriptName, Integer skinIndex, String specificContainer) addVehicle(float vehicleX, float vehicleY, float vehicleZ, float direction, String zoneName, String scriptName, Integer skinIndex, String specificContainer, boolean crashed) addVehicle(IsoGridSquare sq, IsoChunk chunk, String zoneName, String scriptName, Integer skinIndex, IsoDirections dir, String specificContainer) addVehicle(Zone zone, float vehicleX, float vehicleY, float vehicleZ, float direction, String zoneName, String scriptName, Integer skinIndex, String specificContainer) addVehicle(Zone zone, float vehicleX, float vehicleY, float vehicleZ, float direction, String zoneName, String scriptName, Integer skinIndex, String specificContainer, boolean crashed) addVehicle(Zone zone, IsoGridSquare sq, IsoChunk chunk, String zoneName, String scriptName, Integer skinIndex, IsoDirections dir, String specificContainer) addVehicle(Zone zone, IsoGridSquare sq, IsoChunk chunk, String zoneName, String scriptName, Integer skinIndex, IsoDirections dir, String specificContainer, boolean crashed) addVehicle(Zone zone, IsoGridSquare sq, IsoChunk chunk, String zoneName, String scriptName, IsoDirections dir) addVehicleFlipped(Zone zone, float vehicleX, float vehicleY, float vehicleZ, float direction, String zoneName, String scriptName, Integer skinIndex, String specificContainer) addVehicleFlipped(Zone zone, IsoGridSquare sq, IsoChunk chunk, String zoneName, String scriptName, Integer skinIndex, IsoDirections dir, String specificContainer) voidaddWorkstationEntity(IsoGridSquare sq, GameEntityScript script, String sprite) voidaddWorkstationEntity(IsoThumpable thumpable, IsoGridSquare sq, GameEntityScript script, String sprite) addZombiesOnSquare(int totalZombies, String outfit, Integer femaleChance, IsoGridSquare square) addZombiesOnVehicle(int totalZombies, String outfit, Integer femaleChance, BaseVehicle vehicle) static voidalignCorpseToSquare(IsoGameCharacter chr, IsoGridSquare square) booleancheckAreaForCarsSpawn(IsoGridSquare square) booleancheckRadiusForCarSpawn(IsoGridSquare square, int radius) voidstatic IsoDeadBodycreateCorpse(IsoGridSquare freeSQ, boolean skeleton) createCorpse(IsoGridSquare freeSQ, IsoZombie zombie) createCorpse(RoomDef room) createCorpse(RoomDef room, boolean skeleton) static IsoDeadBodycreateRandomDeadBody(float x, float y, float z, float direction, boolean alignToSquare, int blood, int crawlerChance, String outfit) static IsoDeadBodycreateRandomDeadBody(int x, int y, int z, IsoDirections dir, int blood) static IsoDeadBodycreateRandomDeadBody(int x, int y, int z, IsoDirections dir, int blood, int crawlerChance) static IsoDeadBodycreateRandomDeadBody(IsoGridSquare sq, IsoDirections dir2, boolean alignToSquare, int blood, int crawlerChance, String outfit, Integer femaleChance) static IsoDeadBodycreateRandomDeadBody(IsoGridSquare sq, IsoDirections dir, int blood, int crawlerChance, String outfit) static IsoDeadBodycreateRandomDeadBody(RoomDef room, int blood) static IsoGameCharactercreateRandomZombie(int x, int y, int z) static IsoGameCharactercreateRandomZombie(RoomDef room) static IsoGameCharactercreateSkeletonCorpse(IsoGridSquare freeSQ) createSkeletonCorpse(RoomDef room) voidstatic Stringstatic Stringgnu.trove.map.hash.TIntObjectHashMap<String> getClutterCopy(ArrayList<String> clutter) gnu.trove.map.hash.TIntObjectHashMap<String> getClutterCopy(ArrayList<String> clutter, gnu.trove.map.hash.TIntObjectHashMap<String> copy) static StringgetClutterItem(ArrayList<String> clutterArray) static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringintstatic Stringstatic StringgetName()static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic StringgetRandomRoom(BuildingDef bDef, int minArea) getRandomRoomNoKids(BuildingDef bDef, int minArea) static IsoGridSquaregetRandomSpawnSquare(RoomDef roomDef) static IsoGridSquaregetRandomSquareForCorpse(RoomDef roomDef) getRoom(BuildingDef bDef, String roomName) getRoomNoKids(BuildingDef bDef, String roomName) static IsoGridSquaregetSq(int x, int y, int z) static Stringstatic StringvoidgraffSquare(IsoGridSquare sq, boolean north) voidgraffSquare(IsoGridSquare sq, String sprite, boolean north) static booleanis1x1AreaClear(IsoGridSquare square) static booleanis1x2AreaClear(IsoGridSquare square) static booleanis2x1AreaClear(IsoGridSquare square) static booleanis2x1or1x2AreaClear(IsoGridSquare square) static booleanis2x2AreaClear(IsoGridSquare square) booleanisRat()booleanisTimeValid(boolean force) booleanisUnique()booleanisValidGraffSquare(IsoGridSquare sq, boolean north, boolean recursive) static voidremoveAllVehiclesOnZone(Zone zone) voidsetAttachedItem(IsoZombie zombie, String location, String item, String ensureItem) voidsetDebugLine(String debugLine) voidsetMaximumDays(int maximumDays) voidsetUnique(boolean unique) spawnCarOnNearestNav(String carName, BuildingDef def) spawnCarOnNearestNav(String carName, BuildingDef def, String distribution) voidstatic InventoryItemtrySpawnStoryItem(String itemType, IsoGridSquare square, float x, float y, float z) trySpawnStoryItem(String itemType, IsoGridSquare square, float x, float y, float z, boolean fill) static InventoryItemtrySpawnStoryItem(String itemType, IsoObject obj, Boolean randomRotation) trySpawnStoryItem(InventoryItem item, ItemContainer container) static InventoryItemtrySpawnStoryItem(InventoryItem item, IsoGridSquare square, float x, float y, float z)
-
Constructor Details
-
RandomizedWorldBase
public RandomizedWorldBase()
-
-
Method Details
-
addVehicle
public BaseVehicle addVehicle(Zone zone, IsoGridSquare sq, IsoChunk chunk, String zoneName, String scriptName, IsoDirections dir) -
addVehicleFlipped
public BaseVehicle addVehicleFlipped(Zone zone, IsoGridSquare sq, IsoChunk chunk, String zoneName, String scriptName, Integer skinIndex, IsoDirections dir, String specificContainer) -
addVehicleFlipped
-
addVehicle
public BaseVehicle addVehicle(Zone zone, IsoGridSquare sq, IsoChunk chunk, String zoneName, String scriptName, Integer skinIndex, IsoDirections dir, String specificContainer) -
addVehicle
public BaseVehicle addVehicle(Zone zone, IsoGridSquare sq, IsoChunk chunk, String zoneName, String scriptName, Integer skinIndex, IsoDirections dir, String specificContainer, boolean crashed) -
addVehicle
public BaseVehicle addVehicle(IsoGridSquare sq, IsoChunk chunk, String zoneName, String scriptName, Integer skinIndex, IsoDirections dir, String specificContainer) -
addVehicle
-
addVehicle
-
addVehicle
public BaseVehicle addVehicle(float vehicleX, float vehicleY, float vehicleZ, float direction, String zoneName, String scriptName, Integer skinIndex, String specificContainer) -
addVehicle
public BaseVehicle addVehicle(float vehicleX, float vehicleY, float vehicleZ, float direction, String zoneName, String scriptName, Integer skinIndex, String specificContainer, boolean crashed) -
removeAllVehiclesOnZone
-
addZombiesOnVehicle
public ArrayList<IsoZombie> addZombiesOnVehicle(int totalZombies, String outfit, Integer femaleChance, BaseVehicle vehicle) -
createRandomDeadBody
-
addZombiesOnSquare
public ArrayList<IsoZombie> addZombiesOnSquare(int totalZombies, String outfit, Integer femaleChance, IsoGridSquare square) -
createRandomDeadBody
-
createRandomDeadBody
public static IsoDeadBody createRandomDeadBody(int x, int y, int z, IsoDirections dir, int blood, int crawlerChance) -
createRandomDeadBody
public static IsoDeadBody createRandomDeadBody(IsoGridSquare sq, IsoDirections dir, int blood, int crawlerChance, String outfit) -
createRandomDeadBody
public static IsoDeadBody createRandomDeadBody(float x, float y, float z, float direction, boolean alignToSquare, int blood, int crawlerChance, String outfit) -
createRandomDeadBody
public static IsoDeadBody createRandomDeadBody(IsoGridSquare sq, IsoDirections dir2, boolean alignToSquare, int blood, int crawlerChance, String outfit, Integer femaleChance) -
addTraitOfBlood
-
addTrailOfBlood
public void addTrailOfBlood(float x, float y, float z, float direction, int count) -
addBloodSplat
-
setAttachedItem
-
createRandomZombie
-
createRandomZombieForCorpse
-
createBodyFromZombie
-
createRandomZombie
-
is1x1AreaClear
-
is1x2AreaClear
-
is2x1AreaClear
-
is2x1or1x2AreaClear
-
is2x2AreaClear
-
alignCorpseToSquare
-
getRandomRoom
-
getRandomRoomNoKids
-
getRoom
-
getRoomNoKids
-
getLivingRoomOrKitchen
-
getRandomSpawnSquare
-
getRandomSquareForCorpse
-
checkAreaForCarsSpawn
-
checkRadiusForCarSpawn
-
addItemOnGround
-
addItemOnGroundNoLoot
-
addItemOnGroundStatic
-
addItemOnGround
-
addItemOnGround
-
addItemOnGroundNoLoot
-
addItemOnGroundStatic
-
addRandomItemsOnGround
-
addRandomItemsOnGround
-
addRandomItemOnGround
-
addWeapon
-
createSkeletonCorpse
-
createSkeletonCorpse
-
createCorpse
-
createCorpse
-
createCorpse
-
createCorpse
-
isTimeValid
public boolean isTimeValid(boolean force) -
getName
-
getDebugLine
-
setDebugLine
-
getMaximumDays
public int getMaximumDays() -
setMaximumDays
public void setMaximumDays(int maximumDays) -
isUnique
public boolean isUnique() -
isRat
public boolean isRat() -
setUnique
public void setUnique(boolean unique) -
getSq
-
addTileObject
-
addTileObject
-
addTileObject
-
addTileObject
-
addTileObject
-
addTileObject
-
addSleepingBagOrTentNorthSouth
public void addSleepingBagOrTentNorthSouth(int x, int y, int z) -
addSleepingBagOrTentWestEast
public void addSleepingBagOrTentWestEast(int x, int y, int z) -
addRandomTentNorthSouth
public void addRandomTentNorthSouth(int x, int y, int z) -
addRandomTentWestEast
public void addRandomTentWestEast(int x, int y, int z) -
addRandomShelterNorthSouth
public void addRandomShelterNorthSouth(int x, int y, int z) -
addRandomShelterWestEast
public void addRandomShelterWestEast(int x, int y, int z) -
addTentNorthSouth
public void addTentNorthSouth(int x, int y, int z) -
addTentWestEast
public void addTentWestEast(int x, int y, int z) -
addMattressNorthSouth
public void addMattressNorthSouth(int x, int y, int z) -
addMattressWestEast
public void addMattressWestEast(int x, int y, int z) -
addSleepingBagNorthSouth
public void addSleepingBagNorthSouth(int x, int y, int z) -
addSleepingBagWestEast
public void addSleepingBagWestEast(int x, int y, int z) -
addShelterNorthSouth
public void addShelterNorthSouth(int x, int y, int z) -
addShelterWestEast
public void addShelterWestEast(int x, int y, int z) -
addTentNorthSouthNew
public void addTentNorthSouthNew(int x, int y, int z) -
addTentWestEastNew
public void addTentWestEastNew(int x, int y, int z) -
addTrailer
public BaseVehicle addTrailer(BaseVehicle v, Zone zone, IsoChunk chunk, String zoneName, String vehicleDistrib, String trailerName) -
addCampfire
-
addSimpleCookingPit
-
addCookingPit
-
addBrazier
-
addSimpleFire
-
addRandomFirepit
-
addCampfireOrPit
-
dirtBomb
-
cleanSquareAndNeighbors
-
addCharcoalBurner
-
addWorkstationEntity
-
addWorkstationEntity
public void addWorkstationEntity(IsoThumpable thumpable, IsoGridSquare sq, GameEntityScript script, String sprite) -
addItemToObjectSurface
-
isValidGraffSquare
-
graffSquare
-
graffSquare
-
trashSquare
-
getBBQClutterItem
-
getBBQClutter
-
getBarnClutterItem
-
getBarnClutter
-
getBathroomSinkClutterItem
-
getBathroomSinkClutter
-
getBeachPartyClutterItem
-
getBeachPartyClutter
-
getBedClutterItem
-
getBedClutter
-
getCarpentryToolClutterItem
-
getCarpentryToolClutter
-
getCafeClutterItem
-
getCafeClutter
-
getDeadEndClutterItem
-
getDeadEndClutter
-
getDormClutterItem
-
getDormClutter
-
getFarmStorageClutterItem
-
getFarmStorageClutter
-
getFootballNightDrinkItem
-
getFootballNightDrinks
-
getFootballNightSnackItem
-
getFootballNightSnacks
-
getGarageStorageClutterItem
-
getGarageStorageClutter
-
getGigamartClutterItem
-
getGigamartClutter
-
getGroceryClutterItem
-
getGroceryClutter
-
getHairSalonClutterItem
-
getHairSalonClutter
-
getHallClutterItem
-
getHallClutter
-
getHenDoDrinkItem
-
getHenDoDrinks
-
getHenDoSnackItem
-
getHenDoSnacks
-
getHoedownClutterItem
-
getHoedownClutter
-
getHousePartyClutterItem
-
getHousePartyClutter
-
getJudgeClutterItem
-
getJudgeClutter
-
getKidClutterItem
-
getKidClutter
-
getKitchenCounterClutterItem
-
getKitchenCounterClutter
-
getKitchenSinkClutterItem
-
getKitchenSinkClutter
-
getKitchenStoveClutterItem
-
getKitchenStoveClutter
-
getLaundryRoomClutterItem
-
getLaundryRoomClutter
-
getLivingroomClutterItem
-
getLivingroomClutter
-
getMedicallutterItem
-
getMedicalClutter
-
getMurderSceneClutterItem
-
getMurderSceneClutter
-
getNastyMattressClutterItem
-
getNastyMattressClutter
-
getOldShelterClutterItem
-
getOldShelterClutter
-
getOfficeCarDealerClutterItem
-
getOfficeCarDealerClutter
-
getOfficePaperworkClutterItem
-
getOfficePaperworkClutter
-
getOfficePenClutterItem
-
getOfficePenClutter
-
getOfficeOtherClutterItem
-
getOfficeOtherClutter
-
getOfficeTreatClutterItem
-
getOfficeTreatClutter
-
getOvenFoodClutterItem
-
getOvenFoodClutter
-
getPillowClutterItem
-
getPillowClutter
-
getPokerNightClutterItem
-
getPokerNightClutter
-
getRichJerkClutterItem
-
getRichJerkClutter
-
getSadCampsiteClutterItem
-
getSadCampsiteClutter
-
getSidetableClutterItem
-
getSidetableClutter
-
getSurvivalistCampsiteClutterItem
-
getSurvivalistCampsiteClutter
-
getTwiggyClutterItem
-
getTwiggyClutter
-
getUtilityToolClutterItem
-
getUtilityToolClutter
-
getVanCampClutterItem
-
getVanCampClutter
-
getWatchClutterItem
-
getWatchClutter
-
getWoodcraftClutterItem
-
getWoodcraftClutter
-
getClutterItem
-
getClutterCopy
-
getClutterCopy
-
trySpawnStoryItem
public InventoryItem trySpawnStoryItem(String itemType, IsoGridSquare square, float x, float y, float z, boolean fill) -
trySpawnStoryItem
public static InventoryItem trySpawnStoryItem(String itemType, IsoGridSquare square, float x, float y, float z) -
trySpawnStoryItem
public static InventoryItem trySpawnStoryItem(InventoryItem item, IsoGridSquare square, float x, float y, float z) -
trySpawnStoryItem
-
trySpawnStoryItem
public static InventoryItem trySpawnStoryItem(String itemType, IsoObject obj, Boolean randomRotation)
-