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
深喉卡