randpg 0.6.0 copy "randpg: ^0.6.0" to clipboard
randpg: ^0.6.0 copied to clipboard

outdated

A package for generating random rpg entities. This package allows generating many random entities for rpg fantasy games, from names and npcs to entire worlds! Many of the features in this package can [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add randpg

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  randpg: ^0.6.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:randpg/entities/deities.dart';
import 'package:randpg/entities/landscapes.dart';
import 'package:randpg/entities/npcs.dart';
import 'package:randpg/entities/settlements.dart';
import 'package:randpg/entities/worlds.dart';
import 'package:randpg/enums/alignment.dart';
import 'package:randpg/enums/gender.dart';
import 'package:randpg/exceptions.dart';
import 'package:randpg/generators/custom/custom_deities.dart';
import 'package:randpg/generators/custom/custom_landscapes.dart';
import 'package:randpg/generators/custom/custom_locations.dart';
import 'package:randpg/generators/custom/custom_races.dart';
import 'package:randpg/generators/custom/custom_settlements.dart';
import 'package:randpg/generators/custom/custom_worlds.dart';
import 'package:randpg/generators/deities.dart';
import 'package:randpg/generators/generators.dart';
import 'package:randpg/generators/landscapes.dart';
import 'package:randpg/generators/npcs.dart';
import 'package:randpg/generators/settlements.dart';
import 'package:randpg/generators/worlds.dart';
import 'package:randpg/string_manipulations.dart';
import 'package:randpg/subtypes/deities.dart';
import 'package:randpg/subtypes/landscapes.dart';
import 'package:randpg/subtypes/locations.dart';
import 'package:randpg/subtypes/races.dart';
import 'package:randpg/subtypes/settlements.dart';
import 'package:randpg/subtypes/worlds.dart';
4
likes
0
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

A package for generating random rpg entities. This package allows generating many random entities for rpg fantasy games, from names and npcs to entire worlds! Many of the features in this package can be expanded, such as adding other races or types of settlements, to add along side the existing types.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection

More

Packages that depend on randpg