drchainchair2
Member
- Mar 28, 2020
- 413
- 1,072
- 308
The requirements for more goblins out at once are found in the Game_Troop.prototype.receptionistBattle_spawnGoblin function. The max number is 3. These same factors determine the max number of goblins you will encounter over the entire shift, in Game_Troop.prototype.setupReceptionistBattle.
So basically, you have the 3 "fuck goblins" passives. One more point is given for having the Level 1 Edict solution to the goblin problem. Another is given for using the title for getting repeatedly creampied by goblins while on the job (total semen volume > 420 ml).
JavaScript:
Game_Actor.prototype.reactionScore_enemyGoblinPassive = function() {
let score = 0;
if(this.hasPassive(PASSIVE_SEXUAL_PARTNERS_GOBLIN_THREE_ID)) score += 30;
else if(this.hasPassive(PASSIVE_SEXUAL_PARTNERS_GOBLIN_TWO_ID)) score += 20;
else if(this.hasPassive(PASSIVE_SEXUAL_PARTNERS_GOBLIN_ONE_ID)) score += 10;
if(this.hasEdict(EDICT_BAIT_GOBLINS)) score += 10;
return score;
};
JavaScript:
Game_Troop.prototype.receptionistBattle_spawnGoblin = function(forceSpawn) {
let actor = $gameActors.actor(ACTOR_KARRYN_ID);
let goblinPassiveLevel = actor.reactionScore_enemyGoblinPassive() / 10;
let goblinCount = this.receptionistBattle_countGoblins();
let spawnedNewGoblin = false;
let maxGoblinCount = 1;
if(actor.isUsingThisTitle(TITLE_ID_VISITOR_GOBLIN_CREAMPIE))
goblinPassiveLevel += 1;
if(goblinPassiveLevel >= 5)
maxGoblinCount = 3;
else if(goblinPassiveLevel >= 3)
maxGoblinCount = 2;
...