浏览代码

merged with the more completed fix

maankamara 1 年之前
父节点
当前提交
23c52fdec5
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      locations/npc_reactions.qsrc

+ 2 - 4
locations/npc_reactions.qsrc

@@ -56,13 +56,11 @@ if $ARGS[0] = 'general':
 	if dyneval( 'RESULT =npc_reaction_first_time[''<<$ARGS[1]>>_tan'']') = 1 and pcs_tan = 0: dynamic 'npc_reaction_first_time[''<<$ARGS[1]>>_tan''] = 0'
 	
 	if (cumloc[11] = 1 or cumloc[16] = 1) and dyneval( 'RESULT =npc_reaction_hourly[''<<$ARGS[1]>>_cum_on_face'']') = 0:
-		gt 'npc_reactions', 'cum_on_face'
+		$result = func('npc_reactions', 'cum_on_face', $ARGS[1], $ARGS[2])
 	elseif (cumloc[6] = 1 or cumloc[7] = 1) and dyneval( 'RESULT =npc_reaction_hourly[''<<$ARGS[1]>>_cum_on_clothes'']') = 0:
-		gt 'npc_reactions', 'cum_on_clothes'
+		$result = func('npc_reactions', 'cum_on_clothes', $ARGS[1], $ARGS[2])
 	else
 		if func('body_din','pregnancyVisibility') = 1 and dyneval( 'RESULT =npc_reaction_pregnant[''<<$ARGS[1]>>'']') = 0:
-			!!gt 'npc_reactions', 'pregnant' This gave me a blank screen. I suspect because the QSP goto doesn't utilize the $result lines at all
-			!! when it's not actually a function calling. So, using the same pattern as reactions below seems to fix the issue.
 			$result = func('npc_reactions', 'pregnant', $ARGS[1], $ARGS[2])
 		else
 			i = 0