devolution

Author Topic: General Discussion  (Read 3788294 times)

0 Members and 10 Guests are viewing this topic.

Offline CherryWood

  • Hero Member
  • *****
  • Posts: 643
Re: PyTFall Dev Thread: Writers needed!
« Reply #195 on: January 30, 2013, 07:11:26 PM »
What you did there is called programming, not modding (strictly speaking) since you've modified the base code. In any case, that will only work on your PC unless the dev version is upgraded with it.
I'm sorry for misunderstanding... the truth is, I don't really know how to correctly add something as a mod, even If I wanted to. I was just exploring the code a bit and copy/pasting parts of it in hope it will do something I expect It will. I wouldn't dare to touch the dev version...


I only add "self.upkeep" and min/max values few times into pyt - classes.rpy file.

Code: [Select]
38
           #Traits
            self.ab_traits = [] #Permenatly blocked traits
            self.btraits = [] #Blocked traits
            self.traits = [] #Active traits
            self.temptraits = dict()#Temporary traits
           
            self.cache = dict()
            self.image = false
            self.previouswork = dict(location='', action='')
            self.action = None
            self.locked = dict()
           
            self.rank = 1
            self.AP = 0
            self.baseAP = 2
            #self.gold = 0
            self.price = 500
            self.fame = 0
            self.mood = 0
            self.disposition=0
            self.fatigue = 100
            self.upkeep = 0             ####
           
            self.min = dict(
                charisma=0,
                refinement=0,
                libido=0,
                constitution=0,
                exp=0,
                joy=0,
                character=0,
                reputation=0,
                health=0,
                fame=0,
                mood=0,
                disposition=0,
                fatigue = 0,
               
                attack = 0,
                magic = 0,
                defence=0,
                agility = 0,
                mp = 0,
               
                anal=0,
                normalsex=0,
                blowjob=0,
                lesbian=0,
               
                upkeep=-100               ####
                )
           
            self.max = dict(
                charisma=100,
                refinement=35,
                libido=100,
                constitution=100,
                exp=111000,
                joy=100,
                character=100,
                reputation=100,
                health=100,
                fame=100,
                mood=1000,
                disposition=1000,
                fatigue = 300,
               
                attack = 40,
                magic = 30,
                defence=40,
                agility = 25,
                mp = 30,
               
                anal=100,
                normalsex=100,
                blowjob=100,
                lesbian=100,
               
                upkeep=1000                 ####
                )
           
           
            self.clothes = dict(
-----------------------------
-----------------------------
195
        def getUpkeep(self):
            if self.status == 'slave':
                if self.occupation == 'Prostitute':
                    bu = 20 * self.rank
                   
                    su = self.charisma/10 + self.refinement*1.5 + self.constitution/5 + self.reputation/2 + self.fame/2 # Stats Upkeep
                    ssu = self.anal/8 + self.normalsex/8 + self.blowjob/8 + self.lesbian/8
                    su = su*1.5
                    ssu = ssu*1.5
                    if ssu > 40:
                        ssu = ssu * 2
                   
                    if self.libido < 30:
                        su = su * 1.4
                       
                    upkeep = bu + su + ssu + self.upkeep             ####
                    return upkeep
                   
            elif self.status == 'free':
                if self.occupation == 'Prostitute':
                    bu = 30 * self.rank
                   
                    su = self.charisma/10 + self.refinement*1.5 + self.constitution/5 + self.reputation/2 + self.fame/2 # Stats Upkeep
                    ssu = self.anal/8 + self.normalsex/8 + self.blowjob/8 + self.lesbian/8
                    su = su*1.5
                    ssu = ssu*1.5
                    if ssu > 80:
                        ssu = ssu * 2
                   
                    if self.libido < 30:
                        su = su * 1.4
                       
                    upkeep = bu + su + ssu + self.upkeep             ####
                    return upkeep
                   
                if self.occupation == 'Warrior':
                    bu = 30 * self.rank
                   
                    su = self.constitution/2 + self.reputation/2 + self.fame/2 # Stats Upkeep
                    bsu = self.attack/2 + self.magic/2 + self.defence/2 + self.agility/2 # Battle Stats Upkeep
                       
                    upkeep = bu + su + bsu + self.upkeep               ####
                    return upkeep

            else: 
                bu = 100 * self.rank
               
                su = self.charisma/5 + self.refinement + self.constitution/5 + self.reputation/2 + self.fame/2 # Stats Upkeep
                ssu = self.anal/5 + self.normalsex/5 + self.blowjob/5 + self.lesbian/5
                bsu = self.attack/2 + self.magic/2 + self.defence/2 + self.agility/2
                if ssu > 40:
                    ssu = ssu * 2
               
                if self.libido < 30:
                    su = su * 1.4
                   
                upkeep = bu + su + ssu + bsu + self.upkeep              ####
                return upkeep       

               
        def getWPrice(self): # Work Price
And then I added <mod upkeep = '40' /> into dummy trait to test in on Sakura. I didn't touch the girl data file.


look super simple now... and that took me a day to figure, oh jeez...
I'd better take your advice and ask next time  :)

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: PyTFall Dev Thread: Writers needed!
« Reply #196 on: January 30, 2013, 08:09:29 PM »
Illogically. Then upkeep of usual, inconspicuous girl without any traits would be free. Or we must create a trait for everything, even for simple human being.

Nah, you misunderstood, upkeep is being calculated by a function that calculates it depending on a whole bunch of stats, rank etc. Upkeep that you modify through stats is simply one of many things game takes into consideration when calculating real upkeep.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: PyTFall Dev Thread: Writers needed!
« Reply #197 on: January 31, 2013, 05:18:49 AM »
if you get interesting ideas for traits you create as to how they should effect jobs, put them in separate file in your folder
Then please explain what do you mean by Heal job. Rest already should restore health, isn't it?

Oh, and what about magic defence and luck stats I've asked earlier? Should I add them to traits logic?
« Last Edit: January 31, 2013, 05:25:14 AM by DarkTl »

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: PyTFall Dev Thread: Writers needed!
« Reply #198 on: January 31, 2013, 06:07:08 AM »
Then please explain what do you mean by Heal job. Rest already should restore health, isn't it?

Oh, and what about magic defence and luck stats I've asked earlier? Should I add them to traits logic?

Heal act will be available in hospital or if there is a girl with ability to heal in the same building and she is allowed to spend her AP to heal other girls.

Rest does restore health, but it does so very, very slowly. Heal is like rest on steroids, it restores a large amount of health and a decent amount of fatigue. Rest restores great amount of fatigue and a very small amount of health. You can think of health damage as being actual bodily injuries and fatigue as of being tired.

Don't use magical defense at the moment, luck you can add to traits!
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: PyTFall Dev Thread: Writers needed!
« Reply #199 on: January 31, 2013, 09:48:04 AM »
I think I've finished with traits for now. Let me know if you want more or if you don't like standard wm description which I've used for some of them.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: PyTFall Dev Thread: Writers needed!
« Reply #200 on: January 31, 2013, 09:59:17 AM »
I think I've finished with traits for now. Let me know if you want more or if you don't like standard wm description which I've used for some of them.


Lol


Wm descriptions are fine. This is the first post I ever made from a handheld device, kind of fun. I'll take a look if it will be possible to port this to Android aftet the game is finished.



Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: PyTFall Dev Thread: Writers needed!
« Reply #201 on: January 31, 2013, 10:05:52 AM »
WM descriptions may be copyrighted, you never know  :D

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: PyTFall Dev Thread: Writers needed!
« Reply #202 on: January 31, 2013, 10:24:23 AM »
WM descriptions may be copyrighted, you never know  :D

Well, we've asked Necro for permission to create Unofficial WM-2 before we started with Alkion. Since Alkion is completely different now, this is likely to become unofficial WM-2 in the advanced version so we ca use anything from WM.

Time to write some code, I'll start now and see how far I'm gonna get.
Like what we're doing?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: PyTFall Dev Thread: Writers needed!
« Reply #203 on: January 31, 2013, 05:33:36 PM »
Ok, had to take two long breaks and it took me almost an hour to get my bearings in my own code (I am using a lot more comments from now on) and figure out what to do in what order.

All and all, this is what I managed:

- Instead of a fixed number of 2000 costumers that come into brothel as we used for testing purposes until now, amount of clients is generated from base + brothel fame modifier + each individual girl in brothel fame modifier.

- There is a rudimentary brothel report screen on next day, it doesn't report much info at this point (Clients that visited brothel (amount), fame and reputation increase that came from advertising and if your hired a celeb to advertise, that is being reported to you separately (cause of it's massive effect and price)), but it works. That took a while because code wasn't prepared for anything else than girl reports.

- Advertising and it's effects are working, still needs testing, balancing and minor improvements.

- Upgrades work but still effect almost nothing.

- Stripper job does nothing yet but it does appear as a choice in assignment screen after you bought the lounge upgrade.

That is it, but I'll have time to work on code tomorrow and this time there will be no need to get bearings and I've got a good amount of work planned out for now.

Also, I got an idea that I wish to bounce off dev team. It's about Stripper job and how to handle that. In most games strippers serve one client for a fraction of a price that they would make as whores. Instead I suggest this:

Strippers preform in stripclub lounge of your brothel for a great amount of costumers (Max 80% of a total that comes into your brothel). The amount of clients that girl can preform for depends on her AP (How many acts she can do). Overlaps between costumers seeing a stripshow and getting it on with a prostitute are possible, there will also be a modifier to client's libido, if your strippers did well, costumer will be more aroused and will find prostitutes more pleasing. Strippers themselves will not make that much money, if they are slaves, you will get their tips. Main income will come from two places:

- We will add Waitress job that will serve drinks to costumers (requires a bar upgrade). That will be the main source of income cause if there are no strippers, almost no clients will come and get drinks.
- After player is confident about Bar/Strip Club, fee for an entrance can be charged. Huge penalty to Rep if player fails to deliver so it will be up to player to decide if risk on putting entrance fee is worth taking.

Another two features:

- Strippers will get fame a lot faster than prostitutes, meaning more clients, faster.
- It will be possible to enable an option to allow strippers to give clients 'very' private service if strippers agree to it themselves.


I am planning to work on this tomorrow so if you have any comments, addons or think this is a weak move, lets hear it.
« Last Edit: January 31, 2013, 05:40:50 PM by Xela »
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: PyTFall Dev Thread: Writers needed!
« Reply #204 on: January 31, 2013, 06:35:31 PM »
Amount of fee for an entrance should be selected by player from 3-5 fixed values, something like "small", "medium" and "high". Too much freedom here will be a hindrance for gameplay.

Perhaps we should add barmaids too. I guess they could serve drinks for a few customers near the bar counter and should provide drinks and snack for waitresses job. Maybe one barmaid with 100 constitution can work with 10 waitresses or something like that.

About the waitress job - as we know from slavemaker, there're bars and there're sleazy bars with some "additional service". I'm not sure how we should handle this, or should we bother in a first place.

Offline GonDra

  • Full Member
  • ***
  • Posts: 154
Re: PyTFall Dev Thread: Writers needed!
« Reply #205 on: January 31, 2013, 09:52:03 PM »
Xela in the current version the game will break if you have a girl from the park in the players brothel, specifically:
Code: [Select]
While running game code:
  File "game\library\pyt - screens - nextday.rpy", line 6, in script
  File "game\library\pyt - screens - nextday.rpy", line 37, in python
 TypeError: unsupported operand type(s) for -=: 'float' and 'NoneType'

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: PyTFall Dev Thread: Writers needed!
« Reply #206 on: February 01, 2013, 12:43:43 AM »
Amount of fee for an entrance should be selected by player from 3-5 fixed values, something like "small", "medium" and "high". Too much freedom here will be a hindrance for gameplay.

Perhaps we should add barmaids too. I guess they could serve drinks for a few customers near the bar counter and should provide drinks and snack for waitresses job. Maybe one barmaid with 100 constitution can work with 10 waitresses or something like that.

About the waitress job - as we know from slavemaker, there're bars and there're sleazy bars with some "additional service". I'm not sure how we should handle this, or should we bother in a first place.

Ok, so a limited amount of choices for an entrance fee, I'll think on how to handle that.

Barmaids are prolly best left for advanced version, but I'll take a look at that as well.

Same as for strippers, for waitresses behavior can be adjusted in the girlmanagement screen, I'll get around to that eventually.

I also had an idea at the very first stages of the game, to create one type Service Girl and have her do cleaning, waitress and bar-tending.


Xela in the current version the game will break if you have a girl from the park in the players brothel, specifically:
Code: [Select]
While running game code:
  File "game\library\pyt - screens - nextday.rpy", line 6, in script
  File "game\library\pyt - screens - nextday.rpy", line 37, in python
 TypeError: unsupported operand type(s) for -=: 'float' and 'NoneType'

Yeah, I stumbled upon this a while ago, it's already fixed in my dev version, if there is more progress, I'll prolly up it to Box tonight.
Like what we're doing?

Offline CherryWood

  • Hero Member
  • *****
  • Posts: 643
Re: PyTFall Dev Thread: Writers needed!
« Reply #207 on: February 01, 2013, 05:25:00 AM »
I like this.


Will this all be tied to building upgrades / performing places(rooms)? Like in simbro1x, if in advanced version we have more jobs/upgrades like gambling, food ,show fights, cosplay, bondage... different buildings could use a different combinations of these.


I was thinking about possibility of setting some or all jobs with this new AP system, but I don't know the line when it's fun and when it became a princess maker for every girl...

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: PyTFall Dev Thread: Writers needed!
« Reply #208 on: February 01, 2013, 05:50:23 AM »
Will this all be tied to building upgrades / performing places(rooms)? Like in simbro1x, if in advanced version we have more jobs/upgrades like gambling, food ,show fights, cosplay, bondage... different buildings could use a different combinations of these.

Shouldn't be to hard to add buildings other than default brothels or simply add more extensions to brothels. We'll see when we get there.


I was thinking about possibility of setting some or all jobs with this new AP system, but I don't know the line when it's fun and when it became a princess maker for every girl...

I don't like that, princess maker for every girl is not such a bad idea in itself but I see no point in asking a Warrior to spend 2 AP doing bondage, 1 AP sex, 3 AP cleaning, 1 AP working the bar and 5 AP fighting. It's counter-intuitive and messy. What you will be able to modify in behavior is to allow strippers for example to sleep with clients after the show spending a couple APs or having a Warrior to spend 2 - 3 APs training other girls in agility or self-defense for example. Kind of job extensions, completely different jobs will not be allowed, it will kill one of the concepts behind the game.

We might do something like that with slave's thou. Also in advanced version, there will be delimiters based on occupation. Normal prostitute will not be able to push battle stats above 30 - 40 without items and warrior will not be able to push sex stats above 30 - 40 without items and so on. There will be very little point in trying to set warrior to do the cleaning cause she will be inadequate at it anyway.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: PyTFall Dev Thread: Writers needed!
« Reply #209 on: February 01, 2013, 06:07:08 AM »
I also had an idea at the very first stages of the game, to create one type Service Girl and have her do cleaning, waitress and bar-tending.
This might be a good idea, at least for barmaids. Player sets several girls to work in bar and lets them self-organize it. Those who have talent to be barmaids (judging by traits and stats) work as barmaids, same for waitresses.