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) voidaddBrazier(IsoGridSquare square) voidaddCampfire(IsoGridSquare square) voidaddCampfireOrPit(IsoGridSquare square) voidaddCharcoalBurner(IsoGridSquare square) voidaddCookingPit(IsoGridSquare square) voidaddGrindstone(IsoGridSquare square) addItemOnGround(IsoGridSquare square, String type) addItemOnGround(IsoGridSquare square, InventoryItem item) addItemOnGround(IsoGridSquare square, InventoryItem item, boolean boolean0) addItemOnGroundNoLoot(IsoGridSquare square, String string) addItemOnGroundNoLoot(IsoGridSquare square, InventoryItem item) static InventoryItemaddItemOnGroundStatic(IsoGridSquare square, String string) static InventoryItemaddItemOnGroundStatic(IsoGridSquare square, InventoryItem item) addItemToObjectSurface(String string, IsoObject object) voidaddMattressNorthSouth(int int0, int int2, int int1) voidaddMattressWestEast(int int2, int int0, int int1) voidaddRandomFirepit(IsoGridSquare square) addRandomItemOnGround(IsoGridSquare square, ArrayList<String> types) voidaddRandomItemsOnGround(RoomDef room, String type, int count) voidaddRandomItemsOnGround(RoomDef room, ArrayList<String> types, int count) voidaddRandomShelterNorthSouth(int int0, int int1, int int2) voidaddRandomShelterWestEast(int int0, int int1, int int2) voidaddRandomTentNorthSouth(int int0, int int2, int int1) voidaddRandomTentWestEast(int int2, int int0, int int1) voidaddShelterNorthSouth(int int1, int int3, int int2) voidaddShelterWestEast(int int3, int int1, int int2) voidaddSimpleCookingPit(IsoGridSquare square) voidaddSimpleFire(IsoGridSquare square) voidaddSleepingBagNorthSouth(int int1, int int3, int int2) voidaddSleepingBagOrTentNorthSouth(int int0, int int1, int int2) voidaddSleepingBagOrTentWestEast(int int0, int int1, int int2) voidaddSleepingBagWestEast(int int3, int int1, int int2) voidaddStoneAnvil(IsoGridSquare square) voidaddTentNorthSouth(int int0, int int2, int int1) voidaddTentNorthSouthNew(int int3, int int0, int int2) voidaddTentWestEast(int int2, int int0, int int1) voidaddTentWestEastNew(int int3, int int2, int int1) addTileObject(int x, int y, int z, String spriteName) addTileObject(int int0, int int1, int int2, String string, boolean boolean0) addTileObject(IsoGridSquare sq, String spriteName) addTileObject(IsoGridSquare square, String string, boolean boolean0) addTileObject(IsoGridSquare square, IsoObject object) addTileObject(IsoGridSquare square, IsoObject object, boolean boolean0) 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 float0, float float1, float float2, float float3, String string0, String string1, Integer integer, String string2) addVehicle(float float2, float float1, float float0, float float3, String string0, String string2, Integer integer, String string1, boolean boolean0) addVehicle(IsoGridSquare square, IsoChunk var2, String string0, String string1, Integer integer, IsoDirections directions, String string2) addVehicle(Zone zone, float vehicleX, float vehicleY, float vehicleZ, float direction, String zoneName, String scriptName, Integer skinIndex, String specificContainer) addVehicle(Zone zone, float float2, float float1, float float0, float float3, String string0, String string2, Integer integer, String string1, boolean boolean0) addVehicle(Zone zone, IsoGridSquare sq, IsoChunk chunk, String zoneName, String scriptName, Integer skinIndex, IsoDirections dir, String specificContainer) addVehicle(Zone zone, IsoGridSquare square, IsoChunk var3, String string0, String string1, Integer integer, IsoDirections directions, String string2, boolean boolean0) 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) Create and return a weapon, if it's ranged you can ask for some bullets in itvoidaddWorkstationEntity(IsoGridSquare square, GameEntityScript gameEntityScript, String string) voidaddWorkstationEntity(IsoThumpable thumpable, IsoGridSquare square, GameEntityScript gameEntityScript, String var4) addZombiesOnSquare(int totalZombies, String outfit, Integer femaleChance, IsoGridSquare square) addZombiesOnVehicle(int totalZombies, String outfit, Integer femaleChance, BaseVehicle vehicle) Add zombies near the vehicles, around a 4x4 square around it, avoiding being ON the vehicle invalid input: '&' randomizing square for each zombiesstatic voidalignCorpseToSquare(IsoGameCharacter chr, IsoGridSquare square) booleancheckAreaForCarsSpawn(IsoGridSquare square) booleancheckRadiusForCarSpawn(IsoGridSquare square, int int0) voidcleanSquareAndNeighbors(IsoGridSquare square) static IsoDeadBodycreateCorpse(IsoGridSquare square, boolean boolean0) createCorpse(IsoGridSquare square, IsoZombie zombie0) createCorpse(RoomDef roomDef) createCorpse(RoomDef roomDef, boolean boolean0) 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 square, IsoDirections directions0, boolean boolean1, int int2, int int0, String string, Integer integer) 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 square) createSkeletonCorpse(RoomDef room) voiddirtBomb(IsoGridSquare square) static Stringstatic Stringgnu.trove.map.hash.TIntObjectHashMap<String> getClutterCopy(ArrayList<String> arrayList) gnu.trove.map.hash.TIntObjectHashMap<String> getClutterCopy(ArrayList<String> arrayList, gnu.trove.map.hash.TIntObjectHashMap<String> tIntObjectHashMap) static StringgetClutterItem(ArrayList<String> arrayList) static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic StringGet either the living room or kitchen (in this order)intstatic Stringstatic StringgetName()static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic StringgetRandomRoom(BuildingDef bDef, int minArea) Get a random room in the buildinggetRandomRoomNoKids(BuildingDef buildingDef, int int0) static IsoGridSquaregetRandomSpawnSquare(RoomDef roomDef) static IsoGridSquaregetRandomSquareForCorpse(RoomDef roomDef) getRoom(BuildingDef bDef, String roomName) Return the wanted roomgetRoomNoKids(BuildingDef buildingDef, String string) static IsoGridSquaregetSq(int int0, int int1, int int2) static Stringstatic StringvoidgraffSquare(IsoGridSquare square, boolean boolean0) voidgraffSquare(IsoGridSquare square, String string, boolean boolean0) static booleanis1x1AreaClear(IsoGridSquare square) static booleanis1x2AreaClear(IsoGridSquare square) static booleanis2x1AreaClear(IsoGridSquare square) static booleanis2x1or1x2AreaClear(IsoGridSquare square) static booleanis2x2AreaClear(IsoGridSquare square) booleanisRat()booleanisTimeValid(boolean force) Check if the world age is correct for our definitionbooleanisUnique()booleanisValidGraffSquare(IsoGridSquare square, boolean boolean0, boolean boolean1) 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 string0, BuildingDef buildingDef, String string1) voidtrashSquare(IsoGridSquare square)
-
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 square, IsoChunk var3, String string0, String string1, Integer integer, IsoDirections directions, String string2, boolean boolean0) -
addVehicle
public BaseVehicle addVehicle(IsoGridSquare square, IsoChunk var2, String string0, String string1, Integer integer, IsoDirections directions, String string2) -
addVehicle
-
addVehicle
-
addVehicle
public BaseVehicle addVehicle(float float0, float float1, float float2, float float3, String string0, String string1, Integer integer, String string2) -
addVehicle
public BaseVehicle addVehicle(float float2, float float1, float float0, float float3, String string0, String string2, Integer integer, String string1, boolean boolean0) -
removeAllVehiclesOnZone
-
addZombiesOnVehicle
public ArrayList<IsoZombie> addZombiesOnVehicle(int totalZombies, String outfit, Integer femaleChance, BaseVehicle vehicle) Add zombies near the vehicles, around a 4x4 square around it, avoiding being ON the vehicle invalid input: '&' randomizing square for each zombies -
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 square, IsoDirections directions0, boolean boolean1, int int2, int int0, String string, Integer integer) -
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
Get a random room in the building -
getRandomRoomNoKids
-
getRoom
Return the wanted room -
getRoomNoKids
-
getLivingRoomOrKitchen
Get either the living room or kitchen (in this order) -
getRandomSpawnSquare
-
getRandomSquareForCorpse
-
checkAreaForCarsSpawn
-
checkRadiusForCarSpawn
-
addItemOnGround
-
addItemOnGroundNoLoot
-
addItemOnGroundStatic
-
addItemOnGround
-
addItemOnGround
-
addItemOnGroundNoLoot
-
addItemOnGroundStatic
-
addRandomItemsOnGround
-
addRandomItemsOnGround
-
addRandomItemOnGround
-
addWeapon
Create and return a weapon, if it's ranged you can ask for some bullets in it -
createSkeletonCorpse
-
createSkeletonCorpse
-
createCorpse
-
createCorpse
-
createCorpse
-
createCorpse
-
isTimeValid
public boolean isTimeValid(boolean force) Check if the world age is correct for our definition -
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 int0, int int1, int int2) -
addSleepingBagOrTentWestEast
public void addSleepingBagOrTentWestEast(int int0, int int1, int int2) -
addRandomTentNorthSouth
public void addRandomTentNorthSouth(int int0, int int2, int int1) -
addRandomTentWestEast
public void addRandomTentWestEast(int int2, int int0, int int1) -
addRandomShelterNorthSouth
public void addRandomShelterNorthSouth(int int0, int int1, int int2) -
addRandomShelterWestEast
public void addRandomShelterWestEast(int int0, int int1, int int2) -
addTentNorthSouth
public void addTentNorthSouth(int int0, int int2, int int1) -
addTentWestEast
public void addTentWestEast(int int2, int int0, int int1) -
addMattressNorthSouth
public void addMattressNorthSouth(int int0, int int2, int int1) -
addMattressWestEast
public void addMattressWestEast(int int2, int int0, int int1) -
addSleepingBagNorthSouth
public void addSleepingBagNorthSouth(int int1, int int3, int int2) -
addSleepingBagWestEast
public void addSleepingBagWestEast(int int3, int int1, int int2) -
addShelterNorthSouth
public void addShelterNorthSouth(int int1, int int3, int int2) -
addShelterWestEast
public void addShelterWestEast(int int3, int int1, int int2) -
addTentNorthSouthNew
public void addTentNorthSouthNew(int int3, int int0, int int2) -
addTentWestEastNew
public void addTentWestEastNew(int int3, int int2, int int1) -
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
-
addGrindstone
-
addStoneAnvil
-
addCharcoalBurner
-
addWorkstationEntity
public void addWorkstationEntity(IsoGridSquare square, GameEntityScript gameEntityScript, String string) -
addWorkstationEntity
public void addWorkstationEntity(IsoThumpable thumpable, IsoGridSquare square, GameEntityScript gameEntityScript, String var4) -
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
-