devolution

Author Topic: Brothel Facilities in XML  (Read 23146 times)

0 Members and 1 Guest are viewing this topic.

Offline DocClox

  • Dev Team
  • *****
  • Posts: 1867
  • Messing Around With Python
Brothel Facilities in XML
« on: January 04, 2010, 07:10:37 PM »
As most of you probably know, in 1.30 you're going to have to build your brothel up from a burned out shell, choosing the features and facilities you want for each building. I had been hard coding the building details, until it occurred to me that if there was ever a good place to use an XML format, this would be it.

So, by way of a sneak preview, here's the XML format I'm going to use. Feel free to look it over and comment on any omissions, pricing irregularities, and what have you.

The suffix for the file will be ".roomsx" and it will work like .itemsx and .girlsx in that the game will scan for additional files and parse them all. So you can look forward to adding your own custom rooms and descriptions into the game. Also to editing the basic file if you don't like the default file.

There are a few things still to be sorted out. The main one is how to specify game effects. That's going to have to wait until delta or myself have coded a few more of them up so I can get an idea how best to generalise the problem. Ultimately, I hope to drive room effects with scripts and triggers. Anyway, see what you think of it so far.

Code: [Select]
<!--
 ! KEY:
 !     "Name" is what appears in the listbox
 !
 !     "Desc"    is the description for a selected list entry
 !         Use \n to embed newlines in the description.
 !         The game can't wrap them automatically yet.
 !
 !         (There's an argument for using <Desc></Desc>tags here
 !         and accepting freeform text in-between, but that's
 !         kind of backwards from the way everything else works,
 !         so I'm dithering....)
 !
 !     "Space" is how many spaces the facility uses up.
 !         in the standard game, each girl's room takes one space
 !
 !     "Provides"
 !        is how many facilities the unit enables.
 !         So for a girl's personal room, one space provides
 !         accommodation for one. For a dormitory unit, you can
 !         get three girls into the space taken by two personal
 !         rooms. For monster cages you need 4 spaces just to
 !         hold one beast
 !
 !     "Price"    How much the base unit costs. This will be adjusted by
 !         the BrothelCost factor from the config file
 !
 !     "Glitz"    This is a measure of how much has been spent on
 !         decor for this unit. For accommodation units, glitz
 !         maps onto accommodation level. For customer areas,
 !         it may have an effect on the number and quality of
 !         patrons attracted. Other effects may be possible
 !         depending on the precise nature of the unit. Glitz
 !         can be raised by the player, within limits. Glitz
 !        also acts as a price multiplier
 !
 !     "MinGlitz" & "MaxGlitz"
 !         It's only possible to do so much with a kennel unit.
 !         You can add some padding, but beyond that, the lack of
 !         space is going to be the overriding factor. Similarly,
 !         there is no point in creating a spacious suite for one
 !         of your girls unless you're going to invest in a
 !         certain level of luxury to go with it.
 !
 !         Currently the default min and max would be 0 and 5
 !         since that's what the accommodation levels use.
 !         It might be worth expanding that slightly for general
 !         use
 !-->


<Facilities>
<!--
 !    this is the sort of room all the girls have at the moment
 !    They can live there, fuck there, and the rooms can be squalid or
 !    Luxurious, dending on how much the player wants to spend
 !-->
    <Facility
        Name    = "Bedroom"
        Desc    = "Standard Accommodation and workplace for one girl"
        Space    = "4"
        Provides= "4"
        Price    = "100"
        MinGlitz= "0
        MaxGlitz= "5"
        Glitz    = "0"
    />

<!--
 !    Cheaper solution to same problem: puts 3 beds in the space taken
 !    by two normal rooms. Provides sleeping and personal recreation space.
 !    Not much good for sex, however: Customers won't like coming to one of these
 !    dorm rooms, unless you get someone with a group fetish. Even then, the
 !    other girls are apt to object which will cause problems.
 !-->
    <Facility
        Name    = "Dormitory Unit"
        Desc    = "Cheap accomodation for girls. Not suitable for seeing customers"
        Space    = "4"
        Provides= "6"
        Price    = "100"
        Glitz    = "0"
        MinGlitz= "0
        MaxGlitz= "2"
    />

<!--
 !    The cheapest accomodation option is empty space
 !    It's not much good for resting, healing or happiness
 !    and it makes lousy use of space and contributes to the
 !    filthiness of a building. But you can have your girls sleeping
 !    rough on the bare floors if you absolutely need to.
 !    (They might even manage to turn a few tricks there, but don't
 !    expect too much...)
 !
 !    After nothing at all, the next cheapest option is a kennel block.
 !    You wouldn't keep people in such cramped conditions, but not everyone
 !    thinks of slaves as "people"
 !
 !    The player will need to employ a keeper (with proper accomodation)
 !    to look after kennel slaves. Otherwise they'll sicken and die.
 !-->

    <Facility
        Name    = "Kennel Block"
        Desc    = "Absolute minimum slavegirl accommodation. Not suitable for\nbusiness. Requires a carer if slaves are to remain healthy."
        Space    = "4"
        Provides= "12"
        Price    = "400"
        Glitz    = "0"
        MinGlitz= "0
        MaxGlitz= "1"
    >
    </Facility>

<!--
 !    Moving up the accommodation scale, An apartment has two rooms.
 !    the occupant is happier and better rested, and may make better money
 !    since they can better look after their clients
 !-->
    <Facility
        Name    = "Apartments"
        Desc    = "Spacious accomodation and workspace for your girls."
        Space    = "4"
        Provides= "2"
        Price    = "200"
        Glitz    = "3"
        MinGlitz= "3
        MaxGlitz= "6"
    />

<!--
 !    Moving up the accommodation scale, An apartment has two rooms.
 !    the occupant is happier and better rested, and may make better money
 !    since they can better look after their clients
 !-->
    <Facility
        Name    = "Suite"
        Desc    = "A Luxury suite of rooms to house a single occupant"
        Space    = "4"
        Provides= "1"
        Price    = "400"
        Glitz    = "4"
        MinGlitz= "4
        MaxGlitz= "9"
    />

<!--
 !    a cleaner needs to store the tools of the trade
 !-->
    <Facility
        Name    = "Cleaning Cupboard"
        Desc    = "A place to store mops, detergents, and the like"
        Space    = "1"
        Provides= "1"
        Price    = "400"
        Glitz    = "0"
    />

<!--
 !    common inventory + prop store
 !-->
    <Facility
        Name    = "Storeroom"
        Desc    = "Common inventory space, as well as storage for "
                  "props, ornaments,\nmanacles, and the like..."
        Space    = "2"
        Provides= "1"
        Price    = "50"
        Glitz    = "0"
    />

<!--
 !    fairly self explanatory
 !-->
    <Facility
        Name    = "Torture Chamber"
        Desc    = "The means to inflict pain and break wills."
        Space    = "4"
        Provides= "1"
        Price    = "200"
        Glitz    = "0"
    />

<!--
 !    got to keep those monsters somewhere...
 !
 !    4 spaces houses one beast.
 !-->
    <Facility
        Name    = "Bestiary"
        Desc    = "Monster accommodation. Needs a carer to keep the beast secure and in good health"
        Space    = "4"
        Provides= "1"
        Price    = "400"
        Glitz    = "0"
    />

<!--
 !    Beer!
 !-->
    <Facility
        Name    = "Bar"
        Desc    = "A serving counter plus mininal customer seating"
        Space    = "2"
        Provides= "4"
        Price    = "200"
    />

<!--
 !    size plays a role in how big a production you can put on
 !    a 2 space stage is just about enough for a single stripper.
 !    (maybe a double act)
 !
 !    More area allows more participants, and more elaborate productions
 !-->
    <Facility
        Name    = "Stage"
        Desc    = "A serving counter plus mininal customer seating"
        Space    = "2"
        Provides= "2"
        Price    = "200"
    />

<!--
 !    provides is the number of people that can be served at once:
 !    bigger kitchens can cook for more diners
 !
 !    Girls with apartments and suites can cook for themselves
 !    Those living in kennels and dorms will need cooking for
 !    That's in addition to any customer food requirements
 !
 !    Glitz in a kitchen is a measure of how up-market the cuisine
 !    is: Glitz-0 is chopped raw meat for the bestiary and gruel for
 !    the slave kennels. Glitz-2 provides varied and nutitious meals
 !    for the staff canteen. Glitz-9 can serve Qaviar and Kwail's Eggs
 !    to the most distinguished of patrons. You may find it pays to have
 !    more than one food preparation area, rather than trying to build
 !    one area that can do everything
 !-->
    <Facility
        Name    = "Kitchen";
        Desc    = "Allows food to be served to customers.";
        Space    = "2"
        Provides= "8"
        Price    = "250"
        Glitz    = "1"
    />

<!--
 !    A lounge area is a catch all social space
 !    It can provide seating for stage shows, restauants and bar
 !    areas, reception areas for the brothel and rec rooms for staff
 !   
 !-->
    <Facility
        Name    = "Lounge";
        Desc    = "An area where staff and/or customers can relax"
        Space    = "4"
        Provides= "10"
        Price    = "250"
    />

<!--
 !    gambling table
 !
 !    you need one croupier/dealer per table. Bigger tables
 !    mean more players and can generate more buzz. Small
 !    tables work better when custom is slow.
 !
 !    This is more of a fixture than a facility. Is the distinction
 !    worthwhile in game terms, I wonder...
 !-->
    <Facility
        Name    = "Gambling Table";
        Desc    = "A table suitable to run a game of chance"
        Space    = "1"
        Provides= "4"
        Price    = "500"
    />

<!--
 !    cashiers booth
 !
 !    A secure location to sell and redeem chips
 !-->
    <Facility
        Name    = "Cashier's Counter";
        Desc    = "A secure cashier's station to exchange chips"
        Space    = "1"
        Provides= "4"
        Price    = "500"
    />

<!--
 !    The way to do this is to assign bedrooms in-game. Anything without a
 !    permanant resident becomes a general use private room. That way we can
 !    have apartments and suites for general use as well
 !
 !    Another room options would be a "Secure" flag where a room could be
 !    used to imprison a girl (albeit possibly in considerably luxury)
 !
 !    Anyway - that'll need to wait a little bit. For now I'll do this the
 !    long way
 !   
 !-->
    <Facility
        Name    = "Private Rooms";
        Desc    = "A room where a girl can take a customer to have sex.\nUseful for girls living in dorms or kennels."
        Space    = 4;
        Provides= 4;
        Price    = 500;
    }

    <Facility
        Name    = "Private Booths";
        Desc    = "A partly concealed booth, suitable for a lapdance or blowjob.\nOther sex acts generally need more privacy."
        Space    = "2"
        Provides= "4"
        Price    = "100"
    />

<!--
 !    Basic lounge area with couches and fixtures aimed at
 !    encouraging social sex
 !
 !    Allows higher level group sex. May be used by girls without
 !    assigned quarters, client willing
 !-->
    <Facility
        Name    = "Ogry Room"
        Desc    = "An open area where girls can have sex with such customers as may\nbe so inclined. Facilitates group sex encounters."
        Space    = "4"
        Provides= "8"
        Price    = "400"
    />

<!--
 !    Similar, but with bondage fittings and fewer concurrent users
 !    Allows higher level BDSM encounters
 !-->
    <Facility
        Name    = "BDSM Room"
        Desc    = "A room with fixtures and fittings to enable some of the more\nelaborate forms of bondage and restraint."
        Space    = "4"
        Provides= "2"
        Price    = "400"
    />

<!--
 !    should probably have a dedicated monster sex room for specialist
 !    bestiality scenarios, as well. Could just be a secure room attached to
 !    the bestiary unit - or maybe a secure exhib/voyeur setup attached to a
 !    bestiary unit..
 !
 !    Anyway, back the topic at hand...
 !-->
    <Facility
        Name    = "Voyeur/Exhibitionist Room";
        Desc    = "Two adjacent rooms. People in the second can spy on those in the\nfirst. Blackmail is possible when combined with movie facilities"
        Space    = "8"
        Provides= "2"
        Price    = "400"
    />

<!--
 !    It's a magic lab
 !-->
    <Facility
        Name    = "Ritual Room"
        Desc    = "Enables complex magical operations."
        Space    = "4"
        Provides= "1"
        Price    = "1200"
    />

    <Facility
        Name    = "Movie Studio."
        Desc    = "Basic sound stage for recording action. Needs a ritual room to\nprocess the crystals. A storeroom for props helps as well."
        Space    = 8
        Provides= 1
        Price    = 4800;
    />

    <Facility
        Name    = "Drug Lab.";
        Desc    = "Processes raw ingredients into drugs. Needs a shroud farm,\nviras garden, or else fairy hunters to acquire ingredients."
        Space    = 2;
        Provides= 1;
        Price    = 4800;
    />

    <Facility
        Name    = "Shroud Mushroom Farm";
        Desc    = "A dark, reinforced room where shroud mushrooms may be cultivated."
        Space    = 2;
        Provides= 1;
        Price    = 10000;
    />

    <Facility
        Name    = "Viras Farm";
        Desc    = "A warm, humid, greenhouse area where viras plants may thrive."
        Space    = 6;
        Provides= 2;
        Price    = 8000;
    />

    <Facility
        Name    = "Community Center";
        Desc    = "An office that can front a number of public sprited activities."
        Space    = 2;
        Provides= 1;
        Price    = 500;
    />

    <Facility
        Name    = "Alchemical Laboratory";
        Desc    = "A place to make potions." ;
        Space    = 8;
        Provides= 1;
        Price    = 2000;
    />

    <Facility
        Name    = "Arena";
        Desc    = "A place to stage fights for entertainment."
        Space    = 8;
        Provides= 1;
        Price    = 2000;
    />

<!--
 !    Glitz level here is the quality of teaching aids.
 !    Higher glitz levels mean larger pupil:teacher ratios.
 !    Or else improved quality of teaching. Or possibly
 !    more skills taught in parallel. Need to think about
 !    how best to do that.
 !
 !    Anyway: glitz rating makes for better teaching facilities
 !-->
    <Facility
        Name    = "Training Center";
        Desc    = "Needed to train skills";
        Space    = 4;
        Provides= 16;
        Price    = 2000;
    />

<!--
 !    I can think of some fun things a PC could do with his own
 !    private hospital...
 !
 !    Probably use glitz here to represent the quality of
 !    medical facilities available. For a posh clinic, glitz
 !    up the reception
 !-->
    <Facility
        Name    = "Clinic";
        Desc    = "Medical center.";
        Space    = 2;
        Provides= 1;
        Price    = 500;
    />

<!--
 !    options for walled gardens, and for secure (guarded) ones
 !
 !    Default garden type is open air, grass and flowers.
 !    Other types might be constructable with particular
 !    clients and/or fetishes in mind. For instance, you might build an
 !    underground mushroom garden as preferred by dark elves
 !
 !    For now, only the vanilla variant is specified
 !-->
    <Facility
        Name    = "Garden";
        Desc    = "An area of grass and flowers where people can take their ease"
        Space    = "4"
        Provides= "4"
        Price    = "1000"
    />

    <Facility
        Name    = "Repair Shop."
        Desc    = "Heal girls with the Construct trait."
        Space    = "8"
        Provides= "2"
        Price    = "4000"
    />

<!--
 !    Another way to make money on girls when you don't have the beds
 !    on site. Note that kennel girls sent to visit clients at home
 !    have a distressing tendency not to return
 !-->
    <Facility
        Name    = "Escort Agency.";
        Desc    = "An office to send girls to visit clients at home. The difference\nbetween call girls and escorts is mainly one of glitz"
        Space    = 4;
        Provides= 24;
        Price    = 300;
    />

    <Facility
        Name    = "Domestic Agency."
        Desc    = "Supplies servants on contract. Girls are expected to have good\ndomestic skills, as well as being sexually available."
        Space    = 4;
        Provides= 24;
        Price    = 500;
    />

    <Facility
        Name    = "Stables."
        Desc    = "A place to keep horses. These are for transportation.  If you want sex, use a bestiary unit"
        Space    = "8"
        Provides= "4"
        Price    = "500"
    />

    <Facility
        Name    = "Garage."
        Desc    = "Keeps and maintains a carriage. Useful for dropping off girls on agency work (and making sure they come back, as well)"
        Space    = "4"
        Provides= "1"
        Price    = "500"
    />

</Facilities>



Offline Fstop

  • Full Member
  • ***
  • Posts: 194
  • I <3 Deadpool
Re: Brothel Facilities in XML
« Reply #1 on: January 04, 2010, 07:30:16 PM »
Just a question what is the max amount of spaces we get to play and is it standard for all the brothels with cause a bedroom has a 1:1 rate will we get the normal 20,25,etc increase when we buy a brothel ?
Deadpool: Shhh. My Common sense is tingling
Common sense so rare it's a god damn super power!

Offline DocClox

  • Dev Team
  • *****
  • Posts: 1867
  • Messing Around With Python
Re: Brothel Facilities in XML
« Reply #2 on: January 04, 2010, 07:35:46 PM »
To start with, pretty much the same as at the moment. Same brothel buildings, and space available equal to room count at the moment. You'll still be able to buy extra rooms as well.

We may get a bit creative later on with what builings are available, but that'll most likely be another XML file, so nothing that can't be edited :)

Offline Savagefrog

  • Newbie
  • *
  • Posts: 45
Re: Brothel Facilities in XML
« Reply #3 on: January 04, 2010, 07:38:16 PM »
It looks great, I can't wait to start making custom brothels.

Offline LordShame

  • Jr. Member
  • **
  • Posts: 94
Re: Brothel Facilities in XML
« Reply #4 on: January 04, 2010, 07:58:46 PM »
Oh wow. That is classy. To be honest I wasn't sure about this whole building thing before I knew what form it would take, but this is getting me seriously hyped. The customization possibility is icing on the cake. I can hardly wait now!

I especially like the idea of the "private room" to make a distinction between a girl's personal quarters and her workplace; it seems like something nice players should have if they don't want to make a girl sleep in a bed she's been raped in.

The only thing that's missing that I can think of right now would be a dedicated cell block to hold prisoners. I do like the "secure" flag you mention, but I don't know if you mean it in the sense of having a regular room with an extra-strong lock or in the sense of there being an outright jail area that would replicate or replace the old "infinite" dungeon. In any case, having to allocate some space for prisoners would cut down on the weirdness of having dozens if not hundreds of girls and deadbeat customers stacked in the basement like firewood, heheh.

Also you probably would have noticed that sooner or later but you have an Ogry Room, which I'm afraid would disappoint all the customers who expect to have sex with ogres. :D
« Last Edit: January 04, 2010, 08:08:56 PM by LordShame »

Offline Vorpal

  • Newbie
  • *
  • Posts: 25
Re: Brothel Facilities in XML
« Reply #5 on: January 04, 2010, 08:22:05 PM »
That's pretty impressive.

But how do they stack? For example, the description of the Stage implies one can have a large one. How is it accomplished? Does one
-- Buy two separate stages, and they'll be treated as one big one whenever relevant?
-- Is the size of each adjustable in increments of space/provides stats, e.g., buy one for 200, increase its size for another 200? (This would be awesome btw)?
-- Or does it require one to make a separate "Big Stage" facility?

Offline Alugere

  • Full Member
  • ***
  • Posts: 130
Re: Brothel Facilities in XML
« Reply #6 on: January 04, 2010, 10:01:28 PM »
Quote
Glitz-9 can serve Qaviar and Kwail's Eggs
 !    to the most distinguished of patrons. You may find it pays to have
 !    more than one food preparation area, rather than trying to build
 !    one area that can do everything
It might be intentional as this is a fantasy setting, but the proper spellings are 'caviar' and 'quail'.

Offline Mehzerz

  • Hero Member
  • *****
  • Posts: 564
  • Rockin' the after life after party
Re: Brothel Facilities in XML
« Reply #7 on: January 04, 2010, 11:38:00 PM »
I noticed that as well Alugere. There's various other grammatical errors as well... though I still understood the descriptions.


I'm pretty psyched for the update. Now... the wait. :(
Starter girls image additions progress:
26 girls, 18 to go

Offline Vorpal

  • Newbie
  • *
  • Posts: 25
Re: Brothel Facilities in XML
« Reply #8 on: January 04, 2010, 11:58:38 PM »
Yeah; I thought that part was intentional.
The only strange part was that the comments for Suite are actually the ones for Apartments.

Offline GBCliff

  • Newbie
  • *
  • Posts: 31
Re: Brothel Facilities in XML
« Reply #9 on: January 05, 2010, 12:06:32 AM »
This is going to be great! It will add a really interesting element to the gameplay. Just out of curiousity, when is 1.30 expected?

Offline DocClox

  • Dev Team
  • *****
  • Posts: 1867
  • Messing Around With Python
Re: Brothel Facilities in XML
« Reply #10 on: January 05, 2010, 01:18:12 AM »
The only thing that's missing that I can think of right now would be a dedicated cell block to hold prisoners. I do like the "secure" flag you mention, but I don't know if you mean it in the sense of having a regular room with an extra-strong lock or in the sense of there being an outright jail area that would replicate or replace the old "infinite" dungeon. In any case, having to allocate some space for prisoners would cut down on the weirdness of having dozens if not hundreds of girls and deadbeat customers stacked in the basement like firewood, heheh.

Yeah. I've been thinking about how to manage the dungeon. I was thinking of giving the starting brothel 20 jail cells and a torture chamber, with room to expand the cell block and add other dungeoney facilities as needed.

I'm a little stuck on how to handle some aspects, however. Do we let the player rip out all the cells and replace them with a wine cellar and a dive bar complete with jazz piano and lady-sings-the-blues? Or do we say the dungeon is part of the enchantment that set up the catacomb portal and for that reason there are restrictions on how the space can be used (but you do get infinite room to build new cells).


Also you probably would have noticed that sooner or later but you have an Ogry Room, which I'm afraid would disappoint all the customers who expect to have sex with ogres. :D

And we can't have that, can we? :)


But how do they stack? For example, the description of the Stage implies one can have a large one. How is it accomplished? Does one
-- Buy two separate stages, and they'll be treated as one big one whenever relevant?
-- Is the size of each adjustable in increments of space/provides stats, e.g., buy one for 200, increase its size for another 200? (This would be awesome btw)?
-- Or does it require one to make a separate "Big Stage" facility?

Adjustable in increments: I was going to have increment space and cost as separate stats, with each increment adding either one space, or enough spaces to add another "provides" slot. (And I need a better term for that).

Two stages would give you two performance areas. So you could have a table dance area for the bar, and a piano player in the lounge/reception area if you wanted. (Although I think a musician area is going to end up being a separate facility)

It might be intentional as this is a fantasy setting, but the proper spellings are 'caviar' and 'quail'.

It was intentional. Other errors are probably mistakes, however :)

This is going to be great! It will add a really interesting element to the gameplay. Just out of curiousity, when is 1.30 expected?

There's a lot of work still to do, mainly with the jobs. Hopefully we'll be able to kick it up a gear now that xmas is past and with necno back on the case. Even so, I'd hate to make any predictions at this stage.

Offline zodiac44

  • Hero Member
  • *****
  • Posts: 560
  • Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
Re: Brothel Facilities in XML
« Reply #11 on: January 05, 2010, 02:40:36 AM »
If you are going to allow user-created rooms to appear, you'll need some sort of functionality tag in the XML file.  The dormitory description might look like:

Code: [Select]
    <Facility
        Name    = "Dormitory Unit"
        Desc    = "Cheap accomodation for girls. Not suitable for seeing customers"
        Space    = "4"
        Provides= "6"
        Price    = "100"
        Glitz    = "0"
        MinGlitz= "0
        MaxGlitz= "2"
        <Function
                Type = "Housing"/>
    />

While the Bedroom description might look like:

Code: [Select]
    <Facility
        Name    = "Bedroom"
        Desc    = "Standard Accommodation and workplace for one girl"
        Space    = "4"
        Provides= "4"
        Price    = "100"
        MinGlitz= "0
        MaxGlitz= "5"
        Glitz    = "0"
        <Function
                Type = "Housing"/>
        <Function
                Type = "Whoring"/>
    />

The first implies that the unit can house 6 girls, while the second implies the unit can house 4 girls and provide them with a space to "work."
« Last Edit: January 05, 2010, 02:42:47 AM by zodiac44 »
Capitalization is the difference between "I had to help my uncle Jack off a horse" and "I had to help my uncle jack off a horse."

Offline Senzuku

  • Newbie
  • *
  • Posts: 4
Re: Brothel Facilities in XML
« Reply #12 on: January 05, 2010, 02:57:01 AM »
Just in case, as I didn't really read through most of the tl;dr
 
But as you know, girls have several levels of accomodation, so how about trying to fit the room size for the accomodation levels? You know, like good accomodation take, say, 20 space? And  wonderful accomodation takes around 40?
 
Also, different size and types of room for whoring. Like, a room for multiple customers and or VIP rooms and such. And the size would affect what kind of customers would be in there, as surely richer customers would want to pay for a better looking room while he goes about doing his business.

Offline DocClox

  • Dev Team
  • *****
  • Posts: 1867
  • Messing Around With Python
Re: Brothel Facilities in XML
« Reply #13 on: January 05, 2010, 03:24:20 AM »
If you are going to allow user-created rooms to appear, you'll need some sort of functionality tag in the XML file.

Yeah, that's pretty much what I had in mind. I just need to think a bit more about the effect set we need, and about how complicated to make the Function tags. For instance, I'm tempted to allow things like this: (skipped some details for clarity here)

Code: [Select]
        <Facility
                Name    = "Dormitory Unit"
                Desc    = "Cheap accommodation for girls. Not suitable for seeing customers"
        >
                <Function  Type  = "Accommodation"/>
                <Function Type = "Healing" />
                <Function       
                        Type    = "Rest"
                        Factor  = "0.8"
                />     
                <Function
                        Type    = "Whoring"
                        Success = "30%"
                        Factor  = "0.8"
                />
        </Facility>

So resting is slightly less effective in a dorm unit, since there are other girls always coming and going, and getting a little quiet time can be a problem. Whoring is possible if there's nowhere else available, but there's a 70% chance the punter will say "sod it" and go elsewhere when he sees what's on offer, and even if he goes for it, the girl will need to give him a discount. We'll default success and factor variables to 100% and 1.0, so any healing a girl does while housed here is at normal rates.

By contrast:

Code: [Select]
        <Facility
                Name    = "Kennel Block"
                Desc    = "Absolute minimum slavegirl accommodation. Not suitable for\nbusiness. Requires a carer if slaves are to remain healthy."
        >
                <Function  Type  = "Accommodation"/>
                <Function
                        Name    = "Rest"
                        Factor  = "0.4"
                />
                <Function
                        Name    = "Healing"
                        Factor  = "0.6"
                />
        </Facility>

Slave kennels are lousy places to relax or recuperate.

Similarly, we can have better facilities give better results

Code: [Select]
        <Facility
                Name    = "Apartments"
                Desc    = "Spacious accomodation and workspace for your girls."
        >
                <Function
                        Name    = "Rest"
                        Factor  = "1.1"
                />
                <Function
                        Name    = "Healing"
                        Factor  = "1.1"
                />
                <Function
                        Name    = "Whoring"
                        Success = "110%"
                        Factor  = "1.2"
                />
        </Facility>

Offline Vorpal

  • Newbie
  • *
  • Posts: 25
Re: Brothel Facilities in XML
« Reply #14 on: January 05, 2010, 03:46:25 AM »
Does success over 100% mean there is draw of more customers in some manner, or is it just to allow some slack in case some subsequent penalty is there?