ririmudev

Member
Dec 15, 2018
304
311
Is there a way to prevent random NPC spawns at a location? I'm looking into some controlled scenarios. I suppose you could be in a scene already and do moveTo and/or setLocation, but just wondering if there were any other options or hacks?
 

Ravenger6660

Active Member
Sep 14, 2017
852
996
Is there a way to prevent random NPC spawns at a location? I'm looking into some controlled scenarios. I suppose you could be in a scene already and do moveTo and/or setLocation, but just wondering if there were any other options or hacks?
I tried to create a copy of lifeplay where no-one would spawn and Adam & Eve my way to repopulation. But sadly I failed there is seems to be no way to stop npcs from spawning in the room.

However earlier builds of the game that didn't have rooms also did not have npc spawning for them.
 
  • Like
Reactions: Coomer341

Morrigan12345

Newbie
Feb 5, 2021
56
167
Hi all. Can anyone tell me - I've never had my life play out. I put these mods, and probably messed up something, but I can not figure out what exactly, and delete and play without mods do not want. Maybe there will be someone kind and look at this list will tell what mods are conflicting, or what the other problem? (I think the problem in mods Bastardo and Ravenger_Scene), maybe it can be how to fix it? The game hangs, randomly, but fast enough after a couple of minutes of play during the action (assume that the game does not run any scene, or run it wrong).

1662083535405.png
 

Icebird

Member
Sep 22, 2017
379
275
Is there a way to prevent random NPC spawns at a location? I'm looking into some controlled scenarios. I suppose you could be in a scene already and do moveTo and/or setLocation, but just wondering if there were any other options or hacks?
Only location where is naturally not spawn any npc is the 'home'. (Exept if your PC is lives together with bf/gf or husband/wife).
Only you can do is to start your script with move to home and after that call the wanted background on it. But using the 'moveTo' will interrupt any activity what your PC doing and leave that location too of course.

For example from pornempire mod:
Code:
moveTo(Home)
setBackground3D(Modules/nn_PornEmpire/Rooms/nn_pe_office_1.lpworld)
or
Code:
moveTo(Home)
setBackground(brothel)
Also worth a try (don't know if it is working or not) if you want avoid changing the location:

Code:
setBackground(Home)
setBackground3D(street)
 

Loner22

Newbie
Feb 19, 2018
29
19
Would be nice to have more ways to manage owned companies. Like a way to have staff meeting to get introduced to your staff for example. Or to make someone a manager etc.
 
  • Like
Reactions: Stroh80

Blue_Ant

New Member
Jul 23, 2021
12
7
How to control 100% or 0% chance of pregnancy?
How to control the gender of the child born?
Thank you all~
if you want using script
Code:
100% 
Actor:fertility_npc => 100
or
Actor.impregnate(Player)
0%
Actor:fertility_npc => 0
or
blockPregnancy()  // add this above the Sex(Player, Actor)

For the gender...
//If you want male
While !Actor2.isMale()
    Actor2 = Actor.generatePersonTemporaryMatchRace()
Endwhile
Actor2.makePermanent()

//If you want female
While Actor2.isMale()
    Actor2 = Actor.generatePersonTemporaryMatchRace()
Endwhile
Actor2.makePermanent()
I don't recommend editing the preg files since its already borked in its current state already.
 

smmtt001

New Member
Mar 10, 2022
5
1
Blue_Ant,帖子:8897170,成员:3964874 said:
如果你想使用脚本
[代码]
100%
演员:fertility_npc => 100
或者
Actor.impregnate(播放器)
0%
演员:fertility_npc => 0
或者
blockPregnancy() // 在 Sex(Player, Actor) 上面添加这个

对于性别...
//如果你想要男性
而 !Actor2.isMale()
Actor2 = Actor.generatePersonTemporaryMatchRace()
结束时
Actor2.makePermanent()

//如果你想要女性
而 Actor2.isMale()
Actor2 = Actor.generatePersonTemporaryMatchRace()
结束时
Actor2.makePermanent()

[/代码]
我不建议编辑 preg 文件,因为它已经处于当前状态。
[/引用]

very thk for u~~~
 

jimdandy

Member
Jul 1, 2017
268
188
Question: does incest module affects NPC and their own relatives? or is it just intend to affect player with relative NPC's?
Some of them do affect NPCs and their relatives. Some scenes, where you are with a friend and they confide they have feelings for a relative or they are actually dating.
 

ririmudev

Member
Dec 15, 2018
304
311
Well... two different things in one post, but here goes. Topics are 1) vscode highlighting plus snippets; 2) law profession mod draft
  1. I overhauled the vscode extension I started previously
    1. Contains highlighting that covers .lpscene,.lpai,.lpaction,.lpstat,.lptalk,.lpdesc.
    2. Contains snippets for .lpscene, including basic completions for some core functions and some enums (like values from AllWheres)
    3. File: lplang.zip
  2. Early Draft of a Law Career mod (hence why I asked about controlling NPC spawns a few days ago)
    1. Basically, showing a couple code samples in case anyone wants to suggest ideas
    2. Main controller script:

    3. You don't have permission to view the spoiler content. Log in or register now.
    4. Enrolling in law school script:

    5. You don't have permission to view the spoiler content. Log in or register now.
Note: I'm still on 5.0 stable, so I haven't seen the university update; no idea how this would play with that. I haven't yet decided if I'll upgrade anytime soon. View attachment lplang.zip
That's all for now; stay free (y).
 
  • Like
Reactions: srg91

Vinfamy

creating moddable 3D life simulator
Game Developer
Jul 5, 2017
1,250
4,852

The results for the Kinks of the Month poll for September are as follows:
  • At Work : 39 + 14 * 3 + 10 * 9 = 171
  • Reverse Cowgirl (Rap... music) : 21 + 10 * 3 + 12 * 9 = 159
  • Sex Worker : 17 + 5 * 3 + 14 * 9 = 158
  • Sex in Public : 17 + 10 * 3 + 8 * 9 = 119
  • Missionary (paul Ince...) : 27 + 6 * 3 + 8 * 9 = 117
  • Old-Young : 12 + 3 * 3 + 9 * 9 = 102
  • Watersports : 7 + 2 * 3 + 8 * 9 = 85
  • Cowgirl (bill Corr...) : 12 + 1 * 3 + 6 * 9 = 69
  • Netorare (you're the cuck) : 18 + 4 * 3 + 4 * 9 = 66
  • Group Sex : 10 + 3 * 3 + 5 * 9 = 64
  • Trans : 27 + 4 * 3 + 2 * 9 = 57
  • Foot Fetish : 3 + 1 * 3 + 5 * 9 = 51
  • Tentacles : 13 + 4 * 3 + 2 * 9 = 43
  • Gay : 8 + 1 * 3 + 3 * 9 = 38
  • Toys : 9 + 0 * 3 + 3 * 9 = 36
  • Scat : 3 + 2 * 3 + 3 * 9 = 36
  • Lesbian : 7 + 3 * 3 + 2 * 9 = 34
  • Vore : 7 + 1 * 3 + 2 * 9 = 28
  • Non-NTR Voyeurism : 3 + 2 * 3 + 1 * 9 = 18
Accordingly:
- At Work will be the focus of v5.10 (ETA: 18 September). The community brainstorm period for this kink will be from today to 11 September.
-Reverse Cowgirl (Rap... music) will be the focus of v5.11 (ETA: 28 September). The community brainstorm period for this kink will be from 14 Sep to 21 Sep. If you wonder why such a vanilla thing got so many votes, maybe it has something to do with a third-party modder (with whom I'm not affiliated in any way) promising to add certain content to the game whenever Reverse Cowgirl wins.
- Sex Worker is the unlucky loser this time, coming third with just 1 vote behind, so I decided to give it some love in v5.12 (ETA: 8 October). The community brainstorm period for this kink will be from 24 September to 1 October.
 
Apr 23, 2018
236
70
I encountered a possible bug. It seems when I edit an npc's proneness to orgasm or vaginal like, it doesn't do anything. When I have the chars have sex their orgasm rate number never changes. Even if I set the proneness to orgasm to zero nothing happens. I know it works for the pc, and afaik all the other stats work. Not sure if just these npcs are bugged but I don't know how to reset the npc.
 
3.30 star(s) 118 Votes