use of com.lilithsthrone.game.character.npc.PrologueFemale in project liliths-throne-public by Innoxia.
the class Game method initNewGame.
public void initNewGame(DialogueNodeOld startingDialogueNode) {
// Set up NPCs:
try {
NPCMap.clear();
addNPC(new GenericMaleNPC(), false);
addNPC(new GenericFemaleNPC(), false);
addNPC(new GenericAndrogynousNPC(), false);
addNPC(new PrologueMale(), false);
addNPC(new PrologueFemale(), false);
addNPC(new TestNPC(), false);
// Story:
Lilaya lilaya = new Lilaya();
addNPC(lilaya, false);
lilaya.setAffection(Main.game.getPlayer(), AffectionLevel.POSITIVE_ONE_FRIENDLY.getMedianValue());
Rose rose = new Rose();
addNPC(rose, false);
rose.setAffection(Main.game.getPlayer(), AffectionLevel.POSITIVE_ONE_FRIENDLY.getMedianValue());
lilaya.addSlave(rose);
rose.setObedience(ObedienceLevel.POSITIVE_FIVE_SUBSERVIENT.getMedianValue());
lilaya.setAffection(rose, AffectionLevel.POSITIVE_FOUR_LOVE.getMedianValue());
rose.setAffection(lilaya, AffectionLevel.POSITIVE_FOUR_LOVE.getMedianValue());
Brax brax = new Brax();
addNPC(brax, false);
CandiReceptionist candiReceptionist = new CandiReceptionist();
addNPC(candiReceptionist, false);
brax.setAffection(candiReceptionist, AffectionLevel.POSITIVE_TWO_LIKE.getMedianValue());
candiReceptionist.setAffection(brax, AffectionLevel.POSITIVE_TWO_LIKE.getMedianValue());
// Shopping Promenade:
addNPC(new Ralph(), false);
addNPC(new Nyan(), false);
addNPC(new Vicky(), false);
addNPC(new Pix(), false);
addNPC(new Kate(), false);
// Harpy nests:
Scarlett scarlett = new Scarlett();
addNPC(scarlett, false);
Alexa alexa = new Alexa();
addNPC(alexa, false);
alexa.setAffection(scarlett, AffectionLevel.NEGATIVE_FOUR_HATE.getMedianValue());
scarlett.setAffection(alexa, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
scarlett.setAffection(Main.game.getPlayer(), AffectionLevel.NEGATIVE_TWO_DISLIKE.getMedianValue());
HarpyBimbo harpyBimbo = new HarpyBimbo();
addNPC(harpyBimbo, false);
HarpyBimboCompanion harpyBimboCompanion = new HarpyBimboCompanion();
addNPC(harpyBimboCompanion, false);
harpyBimbo.setAffection(harpyBimboCompanion, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
harpyBimboCompanion.setAffection(harpyBimbo, AffectionLevel.POSITIVE_FIVE_WORSHIP.getMedianValue());
HarpyDominant harpyDominant = new HarpyDominant();
addNPC(harpyDominant, false);
HarpyDominantCompanion harpyDominantCompanion = new HarpyDominantCompanion();
addNPC(harpyDominantCompanion, false);
harpyDominant.setAffection(harpyDominantCompanion, AffectionLevel.POSITIVE_ONE_FRIENDLY.getMedianValue());
harpyDominantCompanion.setAffection(harpyDominant, AffectionLevel.POSITIVE_FIVE_WORSHIP.getMedianValue());
HarpyNympho harpyNympho = new HarpyNympho();
addNPC(harpyNympho, false);
HarpyNymphoCompanion harpyNymphoCompanion = new HarpyNymphoCompanion();
addNPC(harpyNymphoCompanion, false);
harpyNympho.setAffection(harpyNymphoCompanion, AffectionLevel.POSITIVE_FOUR_LOVE.getMedianValue());
harpyNymphoCompanion.setAffection(harpyNympho, AffectionLevel.POSITIVE_FIVE_WORSHIP.getMedianValue());
addNPC(new Pazu(), false);
addNPC(new Finch(), false);
// Zaranix:
Zaranix zaranix = new Zaranix();
addNPC(zaranix, false);
ZaranixMaidKatherine katherine = new ZaranixMaidKatherine();
addNPC(katherine, false);
ZaranixMaidKelly kelly = new ZaranixMaidKelly();
addNPC(kelly, false);
Amber amber = new Amber();
addNPC(amber, false);
zaranix.setAffection(katherine, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
zaranix.setAffection(kelly, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
zaranix.setAffection(amber, AffectionLevel.POSITIVE_FOUR_LOVE.getMedianValue());
amber.setAffection(zaranix, AffectionLevel.POSITIVE_FOUR_LOVE.getMedianValue());
amber.setAffection(kelly, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
amber.setAffection(katherine, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
kelly.setAffection(zaranix, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
kelly.setAffection(katherine, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
kelly.setAffection(amber, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
katherine.setAffection(zaranix, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
katherine.setAffection(kelly, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
katherine.setAffection(amber, AffectionLevel.POSITIVE_THREE_CARING.getMedianValue());
addNPC(new Arthur(), false);
addNPC(new Ashley(), false);
addNPC(new SupplierLeader(), false);
addNPC(new SupplierPartner(), false);
} catch (Exception e) {
e.printStackTrace();
}
// This is due to the fact that on new world creation, the player is placed at coordinates (0, 0), which reveals the three squares at the bottom left corner of the map:
Main.game.getActiveWorld().getCell(0, 0).setDiscovered(false);
Main.game.getActiveWorld().getCell(0, 1).setDiscovered(false);
Main.game.getActiveWorld().getCell(1, 0).setDiscovered(false);
started = true;
setContent(new Response(startingDialogueNode.getLabel(), startingDialogueNode.getDescription(), startingDialogueNode));
}
Aggregations