| 394 | } |
| 395 | |
| 396 | void DungeonGeneratorWorld::addDrop(Vec2F const& position, ItemDescriptor const& item) { |
| 397 | m_worldServer->addEntity(ItemDrop::createRandomizedDrop(item, position)); |
| 398 | } |
| 399 | |
| 400 | void DungeonGeneratorWorld::spawnNpc(Vec2F const& position, Json const& parameters) { |
| 401 | auto kind = parameters.getString("kind"); |