Cute And Funny Framework

版本 v0.2.0·更新於 2025-04-20

Less work, more drugging.

模組介紹 作者原文

Cute & Funny Framework

Cunny, a portmanteau of "Cute" and "Funny" is a framework for Schedule 1. This framework allows for more involved features to be easily automated and standardized.

Why use the Cute & Funny Framework?

At the time of writing the framework contains

  • Debugging and logging tools for Schedule 1

//Prints all clothing types able to be sold, and gives a read out of all their public variables.

Cunny.LocatorUtils.PrintAllVariablesOfTypeAll();

//Prints all the Unity Prefabs

Cunny.LocatorUtils.PrintAllPrefabs();

  • Streamlined app creation & Support for more than 12 apps (multi-page).

MelonCoroutines.Start(Cunny.Core.Instance.CreateApp("ID","APPNAME"))

GameObject canvas = Cunny.LocatorUtils.GetAppCanvasByName("APPNAME");

GameObject icon = Cunny.LocatorUtils.GetAppIconByName("APPNAME");

  • (Experimental, will be introduced 0.3.0) Creation of custom NPCS, schedules, and application of cosmetics!!!THIS IS HIGHLY SUBJECT TO CHANGE AS IT IS STILL IN DEVELOPMENT, USE WITH CAUTION!!!

var goober = Cunny.Advanced.NPCHandler.SpawnCivPrefab();

MelonCoroutines.Start(CoroutineUtils.Wait(5f,

() => { Cunny.Advanced.NPCHandler.InitNPC(goober); }));

var task = Advanced.NPCHandler.AddToNPCSchedule(goober, comp => {

comp.SetDestination(new Vector3(-22.43f, 0.7412f, 95.6903f));

comp.SetStartTime(3);

comp.Duration = 60;

comp.ApplyDuration();

comp.ApplyEndTime();

});

How do you use this framework?

To use this framework simply add the dll as a reference in your C# project, and add the following to the top of your code

using Cunny;

You can then access its methods this way

Cunny.Core.Instance.CreateApp() //Note, this will need to be run with MelonCoroutines.Start

Cunny.LocatorUtils.GetAppCanvasByName()

This framework make some invasive changes on the phone's UI, and while it tries to do them as fast as possible it would be best check the bool IsCunnyLoaded (It will return true when everything has initialized)

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

檔案與校驗

檔案名稱
Cute_And_Funny_Framework-0.2.0.zip
檔案大小
51.4 KiB