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.
I was looking around the SDK...
ReplyDeleteDo functions like "hasOrgan" or "hasStat" exist? What happens if I call "getStat" on a non-existing stat?
Yes "hasOrgan" exist, can be used like this:
Deleteif (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).
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.
DeleteAlmost right, but "getEffect" is get you effect as object - and it's not used in scripts. To get what you need use:
Deletex = 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");
Thanks for your help. I've fixed a couple more typos for you.
Deletehttp://dropcanvas.com/gvx04
Maybe I'll work on large pieces of text some time later.
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.
ReplyDeleteDEX slightly grow from battles, other two - can't be raised yet.
DeleteI thought it was possible to raise CHA via going to the nightclub and watching a show. Is that a bug or what?
DeleteNo, I just forget about it. :)
DeleteI 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.
ReplyDeletethere probably should be
<%proxy.setStat("neferi.preg_client", proxy.getStat("generic.abdomen")); "";%>
after the script for payment.
Yes, you are right. I'll post next patch soon.
Delete