Thursday, June 20, 2013

Patch 0.91.p1



First patch for beta version. Contain fixes for engine and game content:

- Fixed stacking / non stacking items (hourly scripts in items can still be broken - not really sure for now).
- Fixed second pregnancy related work with clients not paying.
- Fixed bug where regular brothel work become focused on the one client after trying pregnancy related works.
- Some spellchecking in the sex interaction. Thanks to a Anonymous in comments.

Extract it in the game folder with overwriting existed files.

11 comments:

  1. I was looking around the SDK...
    Do functions like "hasOrgan" or "hasStat" exist? What happens if I call "getStat" on a non-existing stat?

    ReplyDelete
    Replies
    1. Yes "hasOrgan" exist, can be used like this:

      if (proxy.hasOrgan("breasts"))
      {...
      }

      "hasStat" not exist, and can't be used for something useful even if I code it. This caused by the fact that any stat is a gene, and can be present as legacy from parents and contain some value even if child not have related organ. For example: size of her breasts girl can get from the father side, even if as male father not have working breasts.

      If you try to call "getStat" on non-existing gene you just get 0 as value. If you try to set non-existing stat with "setStat" - it will be created in RNA copy (will be not passed to children).

      Delete
    2. Thanks, that seems to help a bit. How do I get the value of an effect? I tried getEffect(stat, effectname) but that gave me an error.

      Delete
    3. Almost right, but "getEffect" is get you effect as object - and it's not used in scripts. To get what you need use:

      x = proxy.getEffectValue("stat.name", "effect_name");

      Also, to you can be useful a method to get base gene value, without effects affecting it:

      x = proxy.getCleanRNAValue("stat.name");

      Delete
    4. Thanks for your help. I've fixed a couple more typos for you.
      http://dropcanvas.com/gvx04

      Maybe I'll work on large pieces of text some time later.

      Delete
  2. Great game, though I am curious as to whether ways to increase DEX, CHA and INT were included in game yet. I apologize if this has been answered before, but I have been unable to find an answer.

    ReplyDelete
    Replies
    1. DEX slightly grow from battles, other two - can't be raised yet.

      Delete
    2. I thought it was possible to raise CHA via going to the nightclub and watching a show. Is that a bug or what?

      Delete
    3. No, I just forget about it. :)

      Delete
  3. I doubt this is intentional but, call client again doesn't update it self, so you can keep calling him/her back and receive more payments.

    there probably should be
    <%proxy.setStat("neferi.preg_client", proxy.getStat("generic.abdomen")); "";%>

    after the script for payment.


    ReplyDelete
    Replies
    1. Yes, you are right. I'll post next patch soon.

      Delete