Examples of PassiveEntityRespawnPoint


Examples of games.stendhal.server.entity.mapstuff.spawner.PassiveEntityRespawnPoint

          logger.error("Unknown Entity (class/type: " + clazz + ":"
              + type + ") at (" + x + "," + y + ") of " + getID()
              + " found");
        }
      } else if (clazz.contains("logic/item")) {
        final PassiveEntityRespawnPoint passiveEntityrespawnPoint = PassiveEntityRespawnPointFactory.create(
            clazz, type, getID(), x, y);
        if (passiveEntityrespawnPoint != null) {
          passiveEntityrespawnPoint.setPosition(x, y);
          add(passiveEntityrespawnPoint);
          passiveEntityrespawnPoint.setStartState();

        }
      }
    } catch (final Exception e) {
      logger.error("error creating entity " + type + " at (" + x + ","
View Full Code Here

Examples of games.stendhal.server.entity.mapstuff.spawner.PassiveEntityRespawnPoint

      null);
  }

  private void step_2() {
    final StendhalRPZone zone = SingletonRepository.getRPWorld().getZone("0_semos_plains_n");
    final PassiveEntityRespawnPoint teddyRespawner = new PassiveEntityRespawnPoint("teddy", 1500);
    teddyRespawner.setPosition(107, 84);
    teddyRespawner.setDescription("There's a teddy-bear-shaped depression in the sand here.");
    zone.add(teddyRespawner);

    teddyRespawner.setToFullGrowth();
  }
View Full Code Here

Examples of games.stendhal.server.entity.mapstuff.spawner.PassiveEntityRespawnPoint

  }

  private void buildBarArea(final StendhalRPZone zone) {

    // grower for an empty slim bottle (1h)
    final PassiveEntityRespawnPoint bottleGrower1 = new PassiveEntityRespawnPoint("slim bottle", 12000);
    bottleGrower1.setPosition(5, 15);
    bottleGrower1.setDescription("This seems a likely spot where a bottle could be found.");
    zone.add(bottleGrower1);

    bottleGrower1.setToFullGrowth();

    // grower for an empty eared bottle (1h)
    final PassiveEntityRespawnPoint bottleGrower2 = new PassiveEntityRespawnPoint("eared bottle", 12000);
    bottleGrower2.setPosition(22, 4);
    bottleGrower2.setDescription("This seems a likely spot where a bottle could be found.");
    zone.add(bottleGrower2);

    bottleGrower2.setToFullGrowth();
  }
View Full Code Here

Examples of games.stendhal.server.entity.mapstuff.spawner.PassiveEntityRespawnPoint

  private void buildMagicianHouseArea(final StendhalRPZone zone) {
    final Item item = addPersistentItem("summon scroll", zone, 7, 6);
    item.setInfoString("giant_red_dragon");

    // Plant grower for poison
    final PassiveEntityRespawnPoint plantGrower = new PassiveEntityRespawnPoint("poison", 1500);
    plantGrower.setPosition(3, 6);
    plantGrower.setDescription("Haizen tends to put his magic drinks here.");
    zone.add(plantGrower);

    plantGrower.setToFullGrowth();

    // grower for an empty slim bottle (see Koboldish Torcibud quest, respawning time 1h)
    final PassiveEntityRespawnPoint bottleGrower1 = new PassiveEntityRespawnPoint("slim bottle", 12000);
    bottleGrower1.setPosition(10, 5);
    bottleGrower1.setDescription("This is a likely spot where a bottle could be found.");
    zone.add(bottleGrower1);

    bottleGrower1.setToFullGrowth();

  }
View Full Code Here

Examples of games.stendhal.server.entity.mapstuff.spawner.PassiveEntityRespawnPoint

  }

  private void buildBakeryArea(final StendhalRPZone zone) {

    // grower for an empty slim bottle that cannot be taken (out of reach)
    final PassiveEntityRespawnPoint bottleGrower1 = new PassiveEntityRespawnPoint("slim bottle", 288000);
    bottleGrower1.setPosition(4, 1);
    bottleGrower1.setDescription("This seems a likely spot where a bottle could be found.");
    zone.add(bottleGrower1);

    bottleGrower1.setToFullGrowth();

    // grower for an empty slim bottle (1h)
    final PassiveEntityRespawnPoint bottleGrower2 = new PassiveEntityRespawnPoint("slim bottle", 12000);
    bottleGrower2.setPosition(22, 2);
    bottleGrower2.setDescription("This seems a likely spot where a bottle could be found.");
    zone.add(bottleGrower2);

    bottleGrower2.setToFullGrowth();

  }
View Full Code Here

Examples of games.stendhal.server.entity.mapstuff.spawner.PassiveEntityRespawnPoint

  }

  private void buildTavernArea(final StendhalRPZone zone) {

    // grower for an empty eared bottle (1h)
    final PassiveEntityRespawnPoint bottleGrower1 = new PassiveEntityRespawnPoint("eared bottle", 12000);
    bottleGrower1.setPosition(9, 10);
    bottleGrower1.setDescription("This seems a likely spot where a bottle could be found.");
    zone.add(bottleGrower1);

    bottleGrower1.setToFullGrowth();

    // grower for another empty eared bottle (1h)
    final PassiveEntityRespawnPoint bottleGrower2 = new PassiveEntityRespawnPoint("eared bottle", 12000);
    bottleGrower2.setPosition(28, 3);
    bottleGrower2.setDescription("This seems a likely spot where a bottle could be found.");
    zone.add(bottleGrower2);

    bottleGrower2.setToFullGrowth();
  }
View Full Code Here

Examples of games.stendhal.server.entity.mapstuff.spawner.PassiveEntityRespawnPoint

  }

  private void buildBarUpstairsArea(final StendhalRPZone zone) {

    // grower for an empty slim bottle (1h)
    final PassiveEntityRespawnPoint bottleGrower1 = new PassiveEntityRespawnPoint("slim bottle", 12000);
    bottleGrower1.setPosition(7, 4);
    bottleGrower1.setDescription("This seems a good spot were a bottle could be standing.");
    zone.add(bottleGrower1);

    bottleGrower1.setToFullGrowth();

    // grower for an empty slim bottle (1h)
    final PassiveEntityRespawnPoint bottleGrower2 = new PassiveEntityRespawnPoint("slim bottle", 12000);
    bottleGrower2.setPosition(8, 25);
    bottleGrower2.setDescription("This seems a good spot were a bottle could be standing.");
    zone.add(bottleGrower2);

    bottleGrower2.setToFullGrowth();

    // grower for an empty eared bottle (1h)
    final PassiveEntityRespawnPoint bottleGrower3 = new PassiveEntityRespawnPoint("eared bottle", 12000);
    bottleGrower3.setPosition(19, 9);
    bottleGrower3.setDescription("This seems a good spot were a bottle could be standing.");
    zone.add(bottleGrower3);

    bottleGrower3.setToFullGrowth();
  }
View Full Code Here

Examples of games.stendhal.server.entity.mapstuff.spawner.PassiveEntityRespawnPoint

  }

  private void buildBakeryArea(final StendhalRPZone zone) {

    // grower for an empty eared bottle (1h)
    final PassiveEntityRespawnPoint bottleGrower1 = new PassiveEntityRespawnPoint("eared bottle", 12000);
    bottleGrower1.setPosition(8, 13);
    bottleGrower1.setDescription("This seems a likely spot where a bottle could be found.");
    zone.add(bottleGrower1);

    bottleGrower1.setToFullGrowth();

  }
View Full Code Here

Examples of games.stendhal.server.entity.mapstuff.spawner.PassiveEntityRespawnPoint

    buildBasementArea(zone);
  }

  private void buildBasementArea(final StendhalRPZone zone) {

    final PassiveEntityRespawnPoint plantGrower = new PassiveEntityRespawnPoint("emerald", 4000);
    plantGrower.setPosition(26, 38);
    plantGrower.setDescription("A space for a gem to be displayed is here.");
    zone.add(plantGrower);

    plantGrower.setToFullGrowth();

    final PassiveEntityRespawnPoint plantGrower2 = new PassiveEntityRespawnPoint("sapphire", 4000);
    plantGrower2.setPosition(26, 39);
    plantGrower2.setDescription("A space for a gem to be displayed is here.");
    zone.add(plantGrower2);

    plantGrower2.setToFullGrowth();

    final PassiveEntityRespawnPoint plantGrower3 = new PassiveEntityRespawnPoint("carbuncle", 4000);
    plantGrower3.setPosition(26, 40);
    plantGrower3.setDescription("A space for a gem to be displayed is here.");
    zone.add(plantGrower3);

    plantGrower3.setToFullGrowth();

    final PassiveEntityRespawnPoint plantGrower4 = new PassiveEntityRespawnPoint("obsidian", 4000);
    plantGrower4.setPosition(26, 41);
    plantGrower4.setDescription("A space for a gem to be displayed is here.");
    zone.add(plantGrower4);

    plantGrower4.setToFullGrowth();

    final PassiveEntityRespawnPoint plantGrower5 = new PassiveEntityRespawnPoint("diamond", 4000);
    plantGrower5.setPosition(26, 42);
    plantGrower5.setDescription("A space for a gem to be displayed is here.");
    zone.add(plantGrower5);

    plantGrower5.setToFullGrowth();
  }
View Full Code Here

Examples of games.stendhal.server.entity.mapstuff.spawner.PassiveEntityRespawnPoint

  }

  private void buildInnArea(final StendhalRPZone zone) {

    // grower for an empty slim bottle (1h)
    final PassiveEntityRespawnPoint bottleGrower1 = new PassiveEntityRespawnPoint("slim bottle", 12000);
    bottleGrower1.setPosition(31, 6);
    bottleGrower1.setDescription("This seems a likely spot where a bottle could be found.");
    zone.add(bottleGrower1);

    bottleGrower1.setToFullGrowth();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.