fapinstructor
1.0.0
该项目是由thefapinstructor创建的
npm install || yarn
npm start
以下是有关如何添加称为testAction的新操作的迷你教程。此操作将显示一个简单的通知,并将等待用户单击“ Done标记的按钮”之前,然后将其删除。
首先,我们将创建一个名为testAction.js的新文件,该文件将位于Foloder game/actions/ 。所有操作都存在于该文件夹中,可以使用嵌套的文件夹来组织操作类型。
在此文件中,我们将放置以下代码。
import createNotification , { dismissNotification } from "engine/createNotification" ;
// A promise must be returned in this case async for actions that need to 'wait' for user input
const testAction = async ( ) => {
// This code will be immediately executed when the action is used.
const notificationId = createNotification (
"Test Action" ,
{
autoDismiss : false
}
) ;
// We create a response function that returns a promise to handle what happens after the user clicks the button
const done = async ( ) => {
dismissNotification ( notificationId ) ;
} ;
// Make sure you attach the label property, this is the text shown in the button
done . label = "Done" ;
// Return the response action. You can return multiple response functions.
return [ done ] ;
} ;
// Attach the label property, this is currently reference by the pick your poison action to generate buttons
testAction . label = "Test Action" ;
export default testAction ;game/actions/index.js中,进行以下更改。 // import your new action
import testAction from "./testAction" ;
...
const initializeActions = taskConfigs =>
[
// We use a task configuration to determine if the task is active. We will get to this in the next step.
// createProbability takes your action and the probability percentage the action will be invoked
taskConfigs . testAction && createProbability ( testAction , 5 ) ,
// other actions
] . filter ( action => action !== null ) ;src/configureStore.js中指定其默认禁用值来配置新操作 import store from "store" ;
import { GripStrengthEnum } from "game/enums/GripStrength" ;
const defaultConfig = {
tasks : {
testAction : true
// other actions
}
}containers/Pages/ConfigPage.js中完成的 < TaskList
title = "Speed"
tasks = { {
// other actions
testAction : "Test Action"
} }
/ >actions/index.js文件中的100,请在启动应用程序后禁用ConfigPage上的所有其他操作。您的动作应在几秒钟内触发。MISC-钥匙板快捷方式 - 视图/节拍的东西
旋转木马 - 在同一gif -video选项上带有下一个按钮
肛门卡 - 深度 - 尺寸 - 在肛门 - 性高潮他妈的后卸下卡片
肛门 + CEI-肛门时面部
CEI -Cum Play-自我面部
强迫intx -shots -poppers
娘娘腔 - 参与/深throat
深喉卡