import { GetDEBUG } from "../../../app" ; import { Images } from "../../assets" ; import { Race } from "../../body/race" ; import { Entity } from "../../entity" ; import { GAME , NAV } from "../../GAME" ; import { Gui } from "../../gui" ; import { IStorage } from "../../istorage" ; import { ILocation } from "../../location" ; import { Text } from "../../text" ; import { RoaFlags } from "./roa-flags" ; export class Roa extends Entity { constructor ( storage ? ) { super ( ) ; this . ID = "roa" ; this . name = "Roa" ; this . avatar . combat = Images . roa ; this . maxHp . base = 30 ; this . maxSp . base = 40 ; this . maxLust . base = 20 ; this . strength . base = 10 ; this . stamina . base = 11 ; this . dexterity . base = 22 ; this . intelligence . base = 17 ; this . spirit . base = 19 ; this . libido . base = 18 ; this . charisma . base = 16 ; this . level = 1 ; this . sexlevel = 1 ; this . body . DefMale ( ) ; this . FirstBreastRow ( ) . size . base = 2 ; this . Butt ( ) . buttSize . base = 3 ; this . Butt ( ) . virgin = false ; this . body . SetRace ( Race . Rabbit ) ; this . SetLevelBonus ( ) ; this . RestFull ( ) ; this . flags . Met = RoaFlags . Met . NotMet ; this . flags . Lagon = RoaFlags . Lagon . No ; this . flags . sFuck = 0 ; this . flags . snug = 0 ; if ( storage ) { this . FromStorage ( storage ) ; } } public Cost ( ) { return 100 ; } public Met ( ) { return this . flags . Met >= RoaFlags . Met . Met ; } public Recruited ( ) { return false ; } public FromStorage ( storage ) { this . LoadPersonalityStats ( storage ) ; this . LoadFlags ( storage ) ; this . LoadSexFlags ( storage ) ; } public ToStorage ( ) { const storage = { } ; this . SavePersonalityStats ( storage ) ; this . SaveFlags ( storage ) ; this . SaveSexFlags ( storage ) ; return storage ; } public IsAtLocation ( location ? ) { return true ; } public Interact ( ) { const roa = GAME ( ) . roa ; Text . Clear ( ) ; Text . Out ( `Rawr Imma bunny.` ) ; if ( GetDEBUG ( ) ) { Text . NL ( ) ; Text . Out ( `<b>DEBUG: relation: ${ roa . relation . Get ( ) }

			DEBUG: subDom: ${ roa . subDom . Get ( ) }

			DEBUG: slut: ${ roa . slut . Get ( ) }</b>` ) ; Text . NL ( ) ; } Text . Flush ( ) ; Gui . NextPrompt ( NAV ( ) . PartyInteraction ) ; } }