Release 0.0.1.8.8.7

This commit is contained in:
WorldBosse committed 2026-10-29 21:59:06 +04:00
1 parent 3c8a17aa78
commit c7beab414c
16283 files changed
+768761 -2

No files matched your search

@@ -0,0 +1,11 @@
{
"id": "cheatframework",
"version": "1.3.2-lc",
"name": "$cheatframework:mod:name",
"description": "$cheatframework:mod:description",
"entry": "__init__.rb",
"texts": "text",
"requires": {},
"before": [],
"thumbnail": "preview.png"
}
+139
View File
@@ -0,0 +1,139 @@
#===============================================================================
### Main project file
### Mod: Cheat Framework
### Author: Kenny567
#===============================================================================
#Mod namespace
class CheatFramework
attr_reader :info
attr_reader :path
attr_reader :config_dir
attr_accessor :mods
attr_accessor :ini
attr_accessor :txt
attr_accessor :commands
attr_accessor :hotkey_defs
attr_accessor :hotkey_defaults
attr_accessor :hotkeys
attr_accessor :menu_stack
attr_accessor :menu_order_snapshot
attr_accessor :menu_order_dirty
attr_accessor :hotkey_capture_active
attr_accessor :restart_needed
attr_accessor :force_modes
attr_accessor :force_values
def initialize
@info = $mod_manager.mods["cheatframework"]
@path = $mod_manager.mods["cheatframework"].path
@mods = {}
@config_dir = nil
#Pre-define main menu command & hotkey for convenience.
@commands ||= {}
@commands[:MENU] ||= {}
@commands[:MENU] = { "Main Menu" => {
source: "Main Menu",
key: "Main Menu",
action: -> {
unless SceneManager.scene_is?(Scene_CheatMainMenu)
SceneManager.call(Scene_CheatMainMenu) if FrameworkUtils.ingame? && FrameworkUtils.cheats_allowed? end
}}}
# Main Menu Toggle's key lives in Input::SYM_KEYS[:CF_CHEAT_MENU] now.
@hotkey_defs = {}
@hotkeys = Hash.new { |h, k| h[k] = [] }
@init_config_dir = nil
@menu_stack = []
@menu_order_snapshot = nil
@menu_order_dirty = false
@hotkey_capture_active = false
# Process-wide only, not save-scoped - resets on a real restart.
@restart_needed = false
# "GROUP.CommandKey" => true/false (override active), for global:-flagged commands.
@force_modes = {}
# "GROUP.CommandKey" => the value to force when force_modes is active.
@force_values = {}
end
def init_config_dir
@config_dir = File.join(@path, "config")
Dir.mkdir(@config_dir) unless Dir.exist?(@config_dir)
end
def init_modules
modules_path = File.join(@info.path, "modules")
@mods = FrameworkLoader.new(modules_path, @ini)
@mods.discover
@mods.load_all
end
def load_framework_script(file)
load_script($mod_manager.get_resource("cheatframework", "scripts/#{file}"))
end
def txt(text_flag)
return $game_text["#{@info.id}:#{text_flag}"]
end
# Overridable function
def hotkey_trigger
# Left blank for modules to override
end
def normal_trigger #every second
# Left blank for modules to override
end
def slow_trigger #every 5 seconds
# Left blank for modules to override
end
# Fires once after a new game starts or a save finishes loading (scripts/Utils.rb).
def on_save_ready
# Left blank for modules to override
end
def roleplay_mod?
$mod_manager.mods['RolePlayS'] && $mod_manager.mods['RolePlayS'].enabled
end
def bellybooba_mod?
$mod_manager.mods['booba'] && $mod_manager.mods['booba'].enabled
end
def filter_visuals_mod?
$mod_manager.mods['visuals'] && $mod_manager.mods['visuals'].enabled
end
end
if $framework.nil?
$framework = CheatFramework.new
$framework.init_config_dir
# Load critical base scripts
$framework.load_framework_script("Utils.rb")
$framework.load_framework_script("Config.rb")
$framework.load_framework_script("Loader.rb")
$framework.load_framework_script("Defaults.rb")
$framework.load_framework_script("Menu.rb")
$framework.load_framework_script("Controls.rb")
# Initialize system
$framework.ini = FrameworkConfig.new($framework.config_dir)
# Discover and load modules & hotkeys
$framework.init_modules
# Pristine, pre-ini state - lets Reset All Settings restore hotkeys live.
$framework.hotkey_defaults = $framework.hotkey_defs.each_with_object({}) { |(k, v), h| h[k] = v.dup }
$framework.ini.init_hotkeys
$framework.ini.init_menu_toggle_key
$framework.ini.init_order
FrameworkUtils.build_global_overrides
$framework.ini.init_force_modes
$framework.ini.init_force_values
end
Whitespace-only changes.
@@ -0,0 +1,11 @@
[Main Menu Toggle]
key = F9
[Cheat Hotkeys]
MISC.Bank Anywhere = F2
TOGGLES.Infinite Health = F4
TOGGLES.Infinite Stamina = F4
TOGGLES.Infinite Food = F4
MISC.Remove Clothes = F3
MISC.Force Remove Clothes = Shift+F3
Whitespace-only changes.
@@ -0,0 +1,32 @@
# CheatFramework — интеграция LonaCraft и Booba
## Предметы
F9 → «Предметы LonaCraft»: материалы/постройки, мебель, инструменты,
качественные виды оружия и брони (`_LC2`–`_LC5`).
Стандартные списки предметов, оружия и брони также показывают их.
Для добавления/удаления используются стрелки, Shift ×10, Ctrl ×99.
Каталог формируется при открытии меню по актуальной базе данных,
а не по порядку подключения модов.
## Уровни
F9 → «Персонаж» → «Уровни»: изменение числом, +1, -1, максимум, сброс до 1,
множитель опыта и очки черт. Без RolePlay-S используется регулируемый
предел до 999, включая сборку с RemoveLevelCap.
## Совместимость с другими модами
Меню включения и отключения модов **отсутствует**. Установленные
моды продолжают автоматически загружаться как раньше; отдельная настройка
`disabled_mods.txt` больше не читается. Порядок загрузки сохранён:
Booba и RolePlay-S перед LonaCraft, чтобы дополнения предметов применялись.
«Косметический режим Booba» использует штатный `BoobaMod.toggle`,
который сохраняет конфиг и обновляет портрет/онлайн-настройку.
Устаревший переключатель «Старые соски» удалён: в текущей
сборке Booba такого режима нет.
Для сетевого режима нужны совместимые моды и разрешения.
Синтаксическая проверка Ruby не заменяет теста непосредственно в игре.
@@ -0,0 +1,50 @@
# Credits
## Code
- [Claude Code](https://claude.com/claude-code) \(assisted with code, mostly to brainstorm/implement the config menu which continued to confound me. Also helped with debugging and research. All contributions were thoroughly reviewed.\)
- [Archangel Dejavu](https://raidgame.ru/members/8694/) \(for fixes to the Friendly Fire code.\)
- [kenny567](https://f95zone.to/members/240807/) / [k3nny567](https://github.com/K3nny567) \(for editing/publishing/maintaining/distributing the latest version of the cheat mod as late as May 2025. (https://f95zone.to/posts/9588500)\)
- [darkprizm](https://f95zone.to/members/947058/) \(for the [original Cheats mod](https://f95zone.to/posts/5127580/)\)
- [SomeoneElseE](https://f95zone.to/members/306444/) \(for the [updated version of the Cheats mod](https://f95zone.to/posts/5509166/)\)
- [Tektaara](https://f95zone.to/members/3481219/) \(for the [dependency](https://f95zone.to/posts/8970645/) and the [summon fix]\) (<https://f95zone.to/posts/8977473/>)
- [forgotp](https://f95zone.to/members/1762692/) (for [being a central point to find the Cheats mod, dependency and the summon fix](https://f95zone.to/posts/9137109/))
- [Teravisor](https://f95zone.to/members/1966376/) (for the [code to toggle the Dirty stat](https://f95zone.to/posts/4250195/), [NoFriendlyFire mod](https://f95zone.to/posts/5007421/), and the [Summon Menu mod](https://f95zone.to/posts/4164791/) that the original Cheats mod was based on)
- DocNITE (for the code that was previously used in the translation support)
- Galenmereth / Tor Damian for the Plugin Framework
- And most importantly, Yanfly for the code that was previously used in the old Cheats Mod dependency file, and the remaining portions that still exist in the `Inventory Editor CheatModule`
## Inspiration
- [Braunray42](https://f95zone.to/members/braunray42.11194152/) \(Suggestion for EXP multiplier and Equip Anything to bypass race-specific restrictions.\)
- [Petaduo](https://f95zone.to/members/petaduo.3814433/) \(Suggestion to incorporate [Lona CAN Communicate Mod](https://raidgame.ru/mods/628/) as a cheat.\)
- [Lazi Ness](https://raidgame.ru/members/5664/) \(Mana Rage from [RolePlay-S](https://raidgame.ru/mods/565/) effectively gave night vision, which got me thinking...\)
- [Shadesishere](https://f95zone.to/members/shadesishere.3139110/) \(mod for monastery donation inspired world difficulty edit.\)
- [doujinftw](https://f95zone.to/members/doujinftw.3105652/) \(difficulty reset, item drop rate, equipment bypass and, indirectly, item despawn rate.\)
- [kastrom](https://vk.com/kactpom) \(their undead unique mod seemed limiting (e.g. Adam quest issues), so tried to improve on it.\)
- [thatdude64](https://f95zone.to/members/thatdude64.10884557/) \(inspired the Beast Fix cheat.\)
## Translations
- Russian language fixes courtesy of [Sado Yasashi](https://f95zone.to/members/sado-yasashi.7065366/) / [Sadorimatsu](https://raidgame.ru/members/1/)
- Google Translate (Please send me something better if you don't like it!)
## Notes
>
> [!WARNING]
> Credit where credit is due, removal of this file is forbidden.
@@ -0,0 +1,121 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
@@ -0,0 +1,431 @@
# Cheat Framework: Module Guide
This explains how to add a cheat to the Cheat Framework, written for someone who isn't necessarily
comfortable with Ruby or programming yet. It focuses on "what do I write, and what does it do" rather
than how the framework is built internally.
The best example file to read alongside this guide is
[`modules/Pregnancy.rb`](../modules/Pregnancy.rb) — nearly everything below shows up somewhere in it.
A few words you'll see a lot:
- **Module** — one `.rb` file, containing one or more related cheats.
- **`$something`** — a "global variable." Any file can read or change it. Most cheats store their
on/off state or number in one of these.
- **Symbol** (`:toggle`, `:my_key`) — just a label Ruby uses internally. You don't need to understand
why it's written that way, just copy the pattern shown in examples.
- **Monkey-patch** — changing how an existing piece of the game behaves, instead of adding something
new. Covered in §7.
---
## 1. How a module gets loaded
Drop a `.rb` file anywhere under `modules/`. The framework finds it automatically at startup — you
never have to register the file itself anywhere. It reads a small header at the top of your file (see
§2), then runs your file's code once, top to bottom, like any Ruby script.
## 2. Your module's header (optional, but recommended)
```ruby
FrameworkModule = {
name: "Pregnancy", # Just a label, shown in a couple of places
key: :pregnancy, # A short, unique name for your module (no spaces)
menu: :PREGNANCY, # Which menu group your commands land in by default
depends_on: [], # Other modules' :key values that must load before yours (usually empty)
}
```
If you skip this, the framework guesses reasonable defaults from your filename. Fine for a very small
file that only patches existing game behavior and doesn't add its own menu entries.
## 3. Adding a cheat to the menu
Every cheat — a toggle, an editable number, a button — is one `register_command` call:
```ruby
module MenuFramework
module SUBMENU
register_command(
group: :PREGNANCY,
type: :toggle,
key: "Protect Pregnancy",
label: "modules/pregnancy:commands/protect",
state: "$cheat_protect_pregnancy",
gdef: false,
)
end
end
```
- **`group:`** — which existing menu screen this shows up in (`:MISC`, `:TOGGLES`, `:LONA` are common
ones already used elsewhere — reuse one rather than inventing your own unless you're building a
whole new screen, see §4).
- **`type:`** — what kind of row this is. See the table below.
- **`key:`** — a name for this specific command. Must be unique within its `group:`.
- **`label:`** — the text shown to the player. This is a *text key*, not the literal words — see §9.
- **`state:`** — a piece of Ruby, written as **text** (in quotes), that reads the cheat's current value.
Almost always just a `$variable` name.
- **`gdef:`** — the default value, and a signal to the framework "please remember this setting between
play sessions for me." See §5.
## 4. Command types (`type:`)
| type | What it is | You must also provide | Example use |
|---|---|---|---|
| `:toggle` | A simple on/off switch | `state:` | "Infinite Health" |
| `:edit_num` | A number the player can raise/lower | `state:`, `min:`, `max:` | "Max Level" |
| `:edit_list` | Cycles through a fixed set of choices | `state:`, `list:` | "Drop Rate: x1/x2/x4" |
| `:action` | A button that just runs some code once | `action:` | "Heal Fully" |
| `:info` | Read-only text, nothing to press | `state:` | Shows a calculated value |
| `:scene` | Opens a whole new screen | `name:`, `dict:` | See §4a |
### `:toggle` example
```ruby
register_command(
group: :PREGNANCY,
type: :toggle,
key: "Protect Pregnancy",
label: "modules/pregnancy:commands/protect",
state: "$cheat_protect_pregnancy",
gdef: false,
)
```
### `:edit_num` example
```ruby
register_command(
group: :PREGNANCY,
type: :edit_num,
key: "Seedbed",
label: "modules/pregnancy:commands/seedbed",
state: "$game_player.actor.stat['WombSeedBed']",
min: 0,
max: 10,
action: ->(v) { FrameworkUtils.custom_state_edit("WombSeedBed", v) },
)
```
Left/Right in-game raises or lowers the number. `action:` here is a small piece of code that actually
applies the new value `v` to the game — needed because this cheat edits something that's already part
of the save file, not a setting the framework can just remember for you (more on that distinction in §5).
### `:edit_list` example
```ruby
register_command(
group: :PREGNANCY,
type: :edit_list,
key: "Pregnancy Difficulty",
label: "modules/pregnancy:commands/difficulty",
state: "$cheat_pregnancy_difficulty",
gdef: -1,
list: [
{ key: -1, label: "[#{$framework.txt("menu:cheat_toggle/off")}]" },
{ key: 0, label: "[#{$framework.txt("menu:commands/diff_hard")}]" },
{ key: 1, label: "[#{$framework.txt("menu:commands/diff_hell")}]" },
],
)
```
Each entry in `list:` is one choice: `key:` is the actual value stored, `label:` is what's displayed.
Unlike the top-level `label:`, each list entry's `label:` must already be the *finished, translated
text* — call `$framework.txt(...)` yourself, as shown, rather than passing a bare text key.
### `:action` example
```ruby
register_command(
group: :IMPREGNATE,
type: :action,
key: "Clear",
label: "modules/pregnancy:commands/clear",
action: -> { $game_player.actor.cleanup_after_birth },
)
```
Pressing this just runs the code in `action:` once. Nothing to remember, nothing to persist.
### `:info` example
```ruby
register_command(
group: :PREGNANCY,
type: :info,
key: "BabyRace",
label: "modules/pregnancy:info/babyRace",
state: "$game_player.actor.baby_race",
hide: -> { $game_player.actor.preg_level == 0 },
)
```
Just displays whatever `state:` currently is. `hide:` (see §6) is often paired with `:info` rows to
only show them when they're relevant.
## 4a. Adding a whole new screen
If your cheat needs its own dedicated page (like Pregnancy's own menu), register one `:scene` command
that opens into a new group, then register your real commands *into* that group:
```ruby
register_command(
group: :LONA, # the screen this link itself appears on
type: :scene,
key: :pregnancy,
label: "modules/pregnancy:commands/preg",
name: "CheatMenuPregnancy", # the framework builds a screen named after this automatically
dict: :PREGNANCY, # your new group - use this as group: on the commands that belong here
)
```
You don't need to build the screen by hand — the framework generates it the first time it sees that
`name:`. That's enough for the vast majority of cheats. Building a fully custom, hand-drawn screen is
possible but a much bigger topic — look at `Controls.rb` or `InvEdit.rb` for examples if you need it,
or ask someone familiar with the framework for help.
## 4b. Adding your own row to the *Main Menu* (root screen)
§4a's `group:` puts your new screen's link *inside* an existing category, like `:LONA`. If instead you
want your module to show up as its own row on the root screen — the one the player sees when pressing
the Main Menu key, alongside "Miscellaneous," "Toggles," "Character," and "NPC Options" — register with
`MenuFramework::MENU` instead of `MenuFramework::SUBMENU`:
```ruby
module MenuFramework
module MENU
register_command(
type: :scene,
label: "modules/mymodule:commands/root",
name: "CheatMenuMyModule",
order: 40,
)
end
end
```
If your `FrameworkModule` header (§2) already sets `menu:`, that value becomes this new screen's group
automatically — you don't need to pass `dict:` yourself, and any `MenuFramework::SUBMENU.register_command`
calls in the same file don't need `group:` either, for the same reason. `modules/Fixes.rb` is a small,
complete example of this: one `MENU` entry ("Game Fixes") holding several plain `SUBMENU` toggles, none of
which mention `group:` because the header's `menu: :FIXES` already ties them together.
Everything else about the `:scene` command (`type:`, `label:`, `name:`) works exactly like §4a. The only
difference is *where* the link to your new screen appears: `MENU` puts it on the root screen, `SUBMENU`
(with a `group:`) tucks it inside whichever existing category you choose instead.
## 5. Making your cheat remember its setting (`gdef:` + `state:`)
Pass both `gdef:` (a default value) and a `state:` that's a plain `"$variable"` name, and the framework
handles saving/loading for you automatically:
- When the game starts, it reads your cheat's last saved value (or uses your `gdef:` default the very
first time) and puts it into the variable.
- When the player changes it, the framework saves the new value for next time — you don't need to
write any extra code for this, as long as you didn't supply your own `action:`.
**When *not* to use `gdef:`:** if your cheat edits something that's already part of the save file
itself — health, level, an NPC's story flag — don't use `gdef:` at all. That kind of value is already
being saved by the normal game, and needs its own `action:` that actually changes the game object
(see the `:edit_num` example above). `gdef:` is only for a cheat's *own settings*, not for game data
that already exists.
## 6. Showing, hiding, and coloring rows
- **`hide:`** (`true`/`false`, or `-> { }` for a live check) — removes the row from the list entirely.
Use this when a row makes no sense right now (a pregnancy-only field while not pregnant).
- **`enable:`** (default `true`) — keeps the row visible, but grays it out and marks it "Cheat Active"
when `false`. Use this for "this is temporarily blocked by another setting," rather than hiding it.
- **`color:`** — a number that picks a text color, or a `-> { }` that returns one. `16` is commonly
used to highlight "this is the currently active choice"; `8` for a dimmed/informational row.
## 7. Changing how the game itself behaves
Everything so far adds a *new* row to a menu. Sometimes you want to change something the game
*already* does — for example, "block friendly fire" or "let True Deepone talk to NPCs normally."
That's done by replacing one of the game's own methods with your own version, a technique usually
called **monkey-patching**.
The key trick: keep a copy of the original under a new name first, so you can still fall back to it:
```ruby
if $cheat_my_fix >= 0 # only bother at all if the cheat isn't fully disabled
class Game_Actor # reopen whatever class already defines the thing you want to change
alias_method :my_fix_original_heal, :heal_wound # keep a working copy of the original, under a new name
def heal_wound # replace it with your own version
return my_fix_original_heal unless $cheat_my_fix == 1 # only actually change anything if the toggle is on
# ... do your own thing here ...
end
end
end
```
A few things worth understanding line by line:
- `class Game_Actor` doesn't create a new class — since `Game_Actor` already exists in the game, this
*reopens* it, letting you add or replace methods on it. This works for any class in the game.
- `alias_method :new_name, :old_name` copies the method currently called `old_name` and gives that copy
a second name (`new_name`). After this line, both names point at the *same, original* behavior.
- The `def heal_wound` right after it then replaces `heal_wound` with your version. Since you already
saved a copy under a different name, you can still call the original whenever you want (as shown:
falling back to it when the cheat is off).
- Wrapping the whole thing in `if $cheat_my_fix >= 0` means: don't even attempt any of this unless the
cheat has been turned on. If your cheat has ever been fully "Disabled," none of this code runs at
all — which matters if the game ever updates and changes how `heal_wound` works, since your patch
never touching it at all is the safest possible outcome.
- Checking `$cheat_my_fix == 1` *inside* the replaced method (rather than only in the outer `if`) is
what lets the player flip the cheat on and off during play without restarting — see §8.
Always alias to a name that's unique to your cheat (like `my_fix_original_heal`, not just `original`)
so two different modules changing the same method don't collide with each other.
**If you're only adding something new** (a brand-new method the game doesn't already have), you don't
need `alias_method` at all — there's nothing to fall back to. Just reopen the class and write your
method directly, the same way §7's `class Game_Actor` line reopens one.
### 7a. Running code every tick
Some cheats aren't triggered by the player pressing anything — they need to check something
continuously (an aura effect, a passive drain). Reopen `CheatFramework` itself and alias its
`hotkey_trigger` method, which the framework already calls once per frame:
```ruby
class CheatFramework
alias_method :my_fix_hotkey_trigger, :hotkey_trigger
def hotkey_trigger
my_fix_hotkey_trigger
# ... your own per-tick check here ...
end
end
```
Same pattern as §7 — keep a copy of the original under a new name, then call it alongside your own
code, so every other module's tick logic keeps running too.
### 7b. Checking if another mod is enabled
If your patch would conflict with a specific other mod, gate it out when that mod is enabled:
```ruby
if $mod_manager.mods['SomeOtherMod'] && !$mod_manager.mods['SomeOtherMod'].enabled
# ... your patch here ...
end
```
Pair this with `hide: -> { $framework.some_other_mod_enabled? }` (or an equivalent check) on the
`register_command` itself, so the row disappears entirely rather than sitting there doing nothing.
## 8. Restart behavior (`restart:`)
Some cheats can only take effect the moment the game starts (the monkey-patching in §7 can only run
once, when your file first loads) — so if a player turns one on for the first time, nothing will
actually happen until they restart. Left unmarked, that's confusing: the player sees their setting
saved as "On" but nothing changed.
If your cheat has this restart requirement, add `restart:` with the number your `list:` uses to mean
"fully off/disabled" (commonly `-1` or `0` — whatever you picked). For a plain `:toggle` with no such
number, use `restart: true` instead.
```ruby
register_command(
...
state: "$cheat_my_fix",
gdef: -1,
restart: -1, # -1 is this cheat's own "Disabled" value
)
```
With this set, the framework automatically compares "what's picked right now" against "what was
actually running when the game booted," and shows a small `[RESTART]` tag next to the row whenever
they disagree — for example, if the player just flipped it on but hasn't restarted since, or just
flipped it off but the old behavior is technically still active this session. You don't need to write
any of that comparison yourself — just tell it which value means "off."
If your cheat's live behavior is fully controlled by checking `$cheat_my_fix` *inside* the patched
method every time (like the `== 1` check in the §7 example), you generally don't need `restart:` at
all beyond marking the "off" value — the on/off switching itself is already live.
### 8a. Local/Global overrides (`global:`)
This is a separate feature from `gdef:` — it lets the player force a specific value for your cheat
from the Config > Edit Globals screen, independent of what's normally selected. Pass `global: true` or
`global: false` (whichever fits your cheat) to make it eligible:
```ruby
register_command(
...
gdef: false,
global: false, # opts this cheat into the Edit Globals screen
)
```
Most cheats don't need this — it's for settings a player might want to force on/off globally across
every save file regardless of that save's own setting. If you're not sure whether your cheat needs it,
it probably doesn't; just leave `global:` out entirely.
### 8b. Menu order (`order:`)
```ruby
register_command(
...
order: 40,
)
```
A plain number controlling where your row sits in its `group:`, lowest first. Players can also
reorder rows themselves from the in-game Edit Menu Order screen, so treat your number as a starting
default, not a guarantee.
## 9. Hotkeys
```ruby
hotkey: { key: "F4" }
hotkey: { key: "Shift+F4", sound: :sound_WaterSpla }
```
Add this to any command. Players can also assign or change hotkeys themselves from the in-game menu,
so this is just a starting default. `sound:` is optional (a small sound effect on press).
## 10. Text and translations
Any `label:`/`help1:`/`help2:` (and, less commonly, `help3:`/`help4:` for extra help lines) you pass
as a plain string (not starting with `->`) is a *text key*, not the literal words shown to the player.
It points at an entry in a text file:
- `"modules/pregnancy:commands/preg"` → the file `text/ENG/modules/pregnancy.txt`, entry `commands/preg`
- `"menu:commands/misc"` → the file `text/ENG/menu.txt`, entry `commands/misc`
Text files are simple: a key, then the text for it, then a blank line, repeated:
```
commands/preg
Pregnancy
commands/difficulty
Pregnancy Difficulty
```
Add your new keys under `text/ENG/modules/<yourfile>.txt`. That's the one language folder you should
edit yourself — leave the other language folders alone, since those are typically translated
separately by someone else.
## 11. Checklist for a new module
1. Create `modules/YourModule.rb`.
2. Add a `FrameworkModule` header (§2) — optional for something tiny.
3. Decide: are you adding rows to an existing menu, a whole new screen linked from one (§4a), or your
own row on the root Main Menu (§4b)?
4. Register your command(s) using the type table in §4.
5. If it's a cheat *setting* (not existing game data), add `gdef:` + a plain `$variable` `state:` and
skip `action:` — persistence is automatic (§5).
6. If it edits existing game/actor data, write your own `action:` instead.
7. If your cheat changes existing game behavior rather than just adding a menu row, see §7 for how to
do that safely, and §8 if it needs a restart to take effect.
8. Add text keys under `text/ENG/modules/yourmodule.txt` (§10).
9. Test with your cheat both on and off, including turning it on/off without restarting, to make sure
the behavior (and any `[RESTART]` tag) matches what you expect.
10. Optional: set `order:` to control where it sits in the list (§8b), or `global:` if it should
support a forced Local/Global override (§8a). Most cheats need neither.
@@ -0,0 +1,395 @@
# Quin2k's Cheat Framework Rework
![preview](ModScripts/_Mods/CheatFramework/preview.png)
[Latest version](../../releases/latest)
## Install Instructions
- Put the CheatFramework folder into LonaRPG\ModScripts\_Mods. (e.g. LonaRPG\ModScripts\_Mods\CheatFramework\__init__.rb)
- Once in place, open the MODS menu from within LonaRPG (right above EXIT).
- Press action key (Z) to activate mods, left/right to change their order.
- The one that loads last 'wins'
- When using a new mod or bringing mods to a new version of LonaRPG, it is good practice to activate only a few at a time.
- Once you've made your changes, move to the top and select "Restart to Apply" (or Accept and just restart manually)
- If you get an error during startup, you may need to edit LonaRPG\UserData\GameMods.ini to deactivate a mod.
- If any of my mods give you errors, please notify me on [F95zone](https://f95zone.to/members/quin2k.428612/) or [Discord](https://discord.com/users/292323791533506560).
## Requirements
Lowest game version tested: `0.10.0.2`<br>
Highest game version tested: `0.10.8.12`
## Hotkeys
These should populate in the config when you load the mod for the first time. If you want to disable any of these, go to Config > View/Clear Hotkeys. Any command or toggle can be assigned a hotkey by pressing **C** to edit, a key or combo, then **C** again to save.
Key combos can include Shift/Ctrl/Alt. Usable keys are any unused F-key, letter (T, Y, U, I, O, P, G, H, J, K, L, V, B, N, M), digit (1, 2, 3, 4, 5, 6, 7, 8, 9, 0), or symbol `; = , - . / [ \ ] '` that is not otherwise assigned in a known Mod or the Keyboard Key Bindings Menu. If there is a conflict, the shortcut key will not update. .
The Cheat Menu still defaults to **F9**. You can change this in the hotkeys.ini, the Key Bindings Menu or in Config > View/Clear Hotkeys in the cheat menu. Can't get into the cheat menu? It is also mapped to the Settings Menu (the save/load screen).
<details>
<summary>Default Hotkeys</summary>
- MENU.Main Menu = F9
- MISC.Remove Clothes = F3
- MISC.Force Remove Clothes = Shift+F3
- MISC.Bank Anywhere = F2
- TOGGLES.Infinite Health = F4
- TOGGLES.Infinite Stamina = F4
- TOGGLES.Infinite Food = F4
- ROLEPLAY.Infinite Mana = F4 (RolePlay-S mod only)
Conflict Resolution: If the RolePlay-S mod is active, quick-save/load will override any hotkeys assigned to F5/F6. Similarly, if you reassign Cheat Menu's hotkey, any overlapping hotkeys will be unbound.
</details>
<details>
<summary>Menu Structure</summary>
- Misc. Cheats
- Heal
- Heal a Wound
- Exhausted
- Give Money
- Remove Clothes [F3]
- Force Unequip [Shift+F3]
- Open Bank Inventory [F2]
- Toggles
- Infinite Health/Stamina/Food/Money
- Disable Dirt
- Auto-Bandage
- Auto-Clean
- Auto-Cure
- Unlock Gallery
- Lona Vulnerable
- Summon
- Arena Submenu
- Auto-populated
- Character
- Primary Stats
- Health Edit
- Stamina/Food Edits
- Mood Edit
- Dirt Edit
- Arousal/Morality Edits
- Levels & Traits
- Max Levels
- Current Level
- Traits per Level
- Set Max Traits
- Set current Trait Points
- Traits
- Edit Combat/Scoutcraft/Wisdom/Survival/Constitution
- Reset Traits (points allocated to skills, etc.)
- Set Race
- Set Lona's Race
- Race Cheats
- ---Deepone---
- Deepone Can Communicate
- Deepone Summon Max
- Enable Awaken skill
- ---Abomination---
- Abomination Eat Fix
- Enable Desecrate/Tendril Whip skills
- Pregnancy
- Preg Difficulty / Womb Seedbed (Impacts pregnancy length)
- Protect Pregnancy (Infinite Baby Health)
- Impregnate Lona (Submenu, force specific race)
- Appearance
- Hair Color
- Freckles
- Pubic Hair
- Sexual
- Vaginal/Urethra/Anal Damage Edit
- Vaginal/Urethra/Anal Damage Toggle
- Reset Sex Stats (Virginize)
- Game Tweaks
- Night Vision
- Noclip
- Equip Anything
- Fast Nap
- Prevent Discard
- From The Shadows Fix
- Difficulty Achievement Fix
- NPC Tweaks
- Friendly Fire Fix
- Endless Contracts
- Prevent Death
- Irresistible
- Beast Fix
- Companion Rape
- Revive Unique NPCs Submenu
- Difficulty
- Edit World Difficulty
- Item Decay Control
- Increased Drops
- Addiction Effects (Off/Hard/Hell)
- Milk Overflow (Off/Hard/Hell)
- Preg Difficulty (same setting as under Character > Pregnancy)
- Reset Game Difficulty (Doom Mode only)
- Items/Weapons/Armors/Status
- Auto-populated
- Other Mods
- RolePlay-S (if installed)
- Infinite MP
- Edit Mana Rage Max
- Edit Mana Rage
- Disable Save Limiter
- Lona Belly & Booba (if installed)
- Booba Cosmetic Mode
- Old Nipples
- Filter Visuals (if installed)
- White Cum
- Recolored Events
- Filter Nipple Melanin
- Filter Pubic Hair
- Filter Dirt
- Filter Wounds
- Filter Bleeding
- Config
- View/Clear Hotkeys
- Edit Menu Order
- Edit Globals
- Reset Config Settings
</details>
## Known Issues
- Currently in need of proper translation for default languages. I didn't want to publish something I couldn't test, so I did not include custom languages from the original.
- Any native speakers should contact me ASAP with fixes!
- Should be loaded after RolePlay-S. It's minor - local-turned-global variables won't write until you save-and-load the first time.
## Planned Improvements
- Identify global variables that should be able to act as local.
---
## Changelog
<details>
<summary>Ver 0.9.0q Changelog</summary>
This started out as "I'd like to be able to edit variables" and when I realized the last editor for the Cheat Mod didn't seem active anymore, I decided to try my hand at it. Since then, I've done the following:
- Completely refactored Init, Config, Menu. Added library resources to Utils file to simplify loading.
- Created a 'default' UI that can handle commands, toggles, editing numbers and lists, and even nested menus.
- Added the ability to dynamically created menus and structures for the menu without preventing the old format.
- Also added a way to register hotkeys as part of the command creation process.
- Set up default sections for toggles and miscellaneous commands.
- Added ways to simplify and streamline command creation/mapping so that a few tags can create most commands.
- Incorporated dynamic hotkey generation into the command mapping system.
- Developed a variables interface to directly edit various stats for Lona (Health, Stamina, Food, Mood, Arousal, Levels, Traits, etc.)
- Incorporated Morality and Hair Color into the menu. Added World Difficulty for good measure.
- Drew inspiration from code on the Wiki (Author Unknown) for Max Level Increase, Max Stat Increase, and Traits per Level mods.
- Added recalculation functions for traits and a way to rest all traits easily (effectively reroll your character).
- Revamped Pregnancy module:
- Improved code for pregnancy duration edit.
- Added a way to edit baby health and lock it to max.
- Added special difficulty setter that would only influence pregnancy (for longer/shorter lengths)
- Put a convenient Womb Seedbed setter in the page and improved UI.
- Created a sub-menu called Character to house Levels, Traits, Primary, Pregnancy, Appearance and Race editors.
- Added toggling of Race Skills to Race Edit menu (can of course also unlock them legitimately!)
- Imported Stat (I'm calling it Status), Item, Weapon, and Armor editors.
- Developed a CG Unlock Toggle that doesn't edit achievements (watching the scenes could possibly add them).
- Merged Infinite Stats, Infinite Money and Dirt toggles along with legacy commands that aren't redundant from changes above.
- Tried to incorporate features to reduce lag issues mentioned in previous version.
- Updated Auto-Bandage and Auto-Clean splitting it for internal (cum tanks) and external and added a new Auto-Cure (STDs, parasites).
- Implemented unequip and force unequip hotkeys, also adding Force Unequip as a menu item just in case.
- Added the various 'fixes' and made them toggleable - this should allow users to disable ones that are causing crashes.
- NOTE: ALL OF THESE TOGGLES REQUIRE RESTART BEFORE THEY WILL ENABLE/DISABLE.
- Fixed issues with StripOnlyUnequips (now "Prevent Discard")
- Imported Abomination Desicrate skill fix which makes eating corpses heal wounds and sate hunger.
- Included toggleable fixes for difficulty-based achievements and a fix to "Into the Darkness" stealth.
- Improved on the Friendly Fire code to completely prevent damage/aggro between player and followers.
</details>
<details>
<summary>Ver 0.9.1q Changelog</summary>
- Minor change to config file structure before initial release (split global/hotkeys/modules to separate ini files fixed quotes being added to hotkeys.)
</details>
<details>
<summary>Ver 0.9.2q Changelog</summary>
- Fixed some issues with Friendly Fire Fix not recognizing summons (e.g. Cocona undead) as allies.
- Fixed issue where editing pregnancy wasn't updating Lona's belly until the next day.
- Found and fixed an issue with Traits Per Level global not loading properly. If you have issues, delete that line or capitalize "Per"
- Determined the low-lag features were voiding the whole point of max hp/sat/sta (wasn't preventing death!!) so sped up the check frequency.
- Main menu is now prioritized over other commands and doesn't check for Ctrl/Shift/Alt. Keep that in mind if customizing hot keys.
- Moved the "fixes" to their own menu named "Game Tweaks"
- Moved Prevent Discard to that section.
- Added some features inspired by doujinftw in F95zone
- Option to edit mob drop quantity.
- Option to adjust/remove dropped item decay.
- Option to disable equipment restrictions (MagicEQ, HighQuEQ, SaintEQ) no matter what traits you have.
- I wanted to do "learn any skill" but this is more future-proof.
- Added a menu in the Game Tweaks to revive unique NPCs. Inspired by one of kastrom's mods on raidgame.ru.
- Included some rebirth traits in "Appearance" menu including freckles, pubic/anal hair, and pube growth rates (if active).
- Tried to improve language support. If you would like to contribute, go to [Google Docs Translation](https://docs.google.com/spreadsheets/d/1hoDT0cJfvXVhomTkJyq5G6tgjrkiBAm26lsjEOWU3_k/edit?usp=sharing).
- Russian updated courtesy of Sadorimatsu at F95zone.to / raidgame.ru
- If you aren't comfortable accessing via Google Docs, DM me and I'll send an excel version.
</details>
<details>
<summary>Ver 0.9.3q Changelog</summary>
- Fixed a typo in Protect Pregnancy code that prevented Baby Health updates.
- Added a command to access the bank from anywhere. For those who have hoarding issues.
- Set it to F2 as a shortcut.
- Finally ported over Summon interface from the original mod. Merged some sections.
- It should work exactly the same, BUGS AND ALL, so use with caution!
- Moved Revive, Summon, World Difficulty, and Bank to new "NPC" Submenu.
- Revive menu will now display non-dead NPCs as grayed out (so the menu isn't blank)
- Added a "Sexual" menu under "Character"
- Adds number editing and toggles for Vag/Urethra/Anal Damage
- Has a command to reset all sex stats - essentially restoring virginity.
- Added option to "Reset Game Difficulty" to the Misc Cheats Menu.
- Basically force-disables Doom Mode. Only visible in Doom Mode.
- **Use with caution, can delete your Doom Save.** When testing, entering the game menu before running the cheat seemed to preserve it - but no promises.
</details>
<details>
<summary>Ver 0.9.4q Changelog</summary>
- RolePlay-S Compatability update!
- Disabled cheats for Max Level (redundant) and Traits Per Level (conflict) if RolePlay-S mod enabled.
- Disabled font overrides for cheat menu. Could still force it by removing the default font.
- Added a new RolePlay-S Menu for mod-specific cheats:
- Unlimited Saves: Cheat will prevent counting saves, and will reset save count upon load (for games saved before cheat enabled).
- Infinite MP: Functions similar to infinite HP/Sta/etc.
- Tied to F5 toggle too.
- Mana Rage & Mana Rage Max: Allows you to edit variables.
- Rage increases 1:1 for every MP used and if maxed you die.
- Probably only necessary to edit with Infinite MP active.
- Moved Friendly Fire to NPC Category
- Added a cheat to edit max summonable Sirens for Deepone to NPC Category.
- Changed UKR to MTL from Russian instead of English. Figured it'd be more accurate.
</details>
<details>
<summary>Ver 0.9.5q Changelog</summary>
- Minor corrections to fonts (missed some menus impacted by the RolePlayS mod).
- Code fix for Friendly Fire courtesy of Archangel Dejavu at RaidGame.ru
- Identified and hopefully fixed file loading issues for some non-english characters.
- Started utilizing mod loader to read files vs. attempting to do it directly.
</details>
<details>
<summary>Ver 1.0q Changelog</summary>
- Having finally done the to-do-list left by the original author, I think this deserves a 1.0.
- Added a in-menu way to access the Cheat Menu (same page as Load/Save).
- Added a way to set/clear hotkeys directly (Only works w/ Commands and Toggles)
- Added the ability to set hotkeys in-game with C, (key), C.
- Includes conflict resolution, preventing/clearing hotkeys that conflict.
- Implemented Config Menu with the following features:
- View Hotkeys
- Ability to edit Cheat Menu hotkey in-game (F2, F3, F4, F7, F8, F9, F11)
- Ability to view/clear existing hotkey bindings.
- Edit Menu Order
- Ability to customize all menus (including the config menu, globals menu).
- Edit Globals
- Ability to force some local variables to act as global variables (across saves)
- Ability to force select global variables to act as local variables
- (let me know if I should add more).
- Ability to set these variables in a centralized area.
- Reset Config Settings
- Returns config settings (order, hotkeys, etc.) back to default.
</details>
<details>
<summary>Ver 1.1q Changelog</summary>
- Moved ini files to mod folder (heard that has less conflicts for JoiPlay).
- Effectively 'refreshes' ini files, solving conflicts with hotkey changes.
- Added an 'alert' to inform if a cheat may not be working until restart.
- Added "Deepone Can Communicate" fix toggle inspired by Lona Can Communicate.
- Added "Night Vision" cheat. Let me know if you want a toned-down version.
- Added "Endless Contracts" cheat to prevent auto-dismisal of companions.
- Added "Fast Nap" cheat similar to the stand-alone mod or what is in RolePlay-S.
- Fixed "Force Remove" cheat to not remove hair (still removes chains/bondage).
- Reworked fixes that require restart to be more clear about their function. Added a way to 'disable' these for future proofing (the reason I took up this mod was crashes related to one of these fixes).
- Fixed long load times for Items/Armors/Weapons/States menus.
- Fixed (?) and mererged Auto-Clean toggle.
- Moved some menu items around.
- Removed call to save keys that was causing JoiPlay to crash.
- Added untranslated text (lambda) support to main menus registration.
- Added visual cues to cheat menus when there are off-screen options.
- Several fixes for "Deepone Can Communicate" from 1.1.1-4.
</details>
<details>
<summary>Ver 1.2q Changelog</summary>
- "Equip Anything" now also bypasses True Deepone's weapon/armor locks.
- Added "Exp Rate" cheat (x1/x2/x4/x8) to Levels & Traits.
- Should be compatible with RoleplayS.
- Added "Noclip" cheat. Walk through terrain, walls, and NPCs - also freezes overworld changes.
- Added "Forage Glow" cheat that will highlight spawned items in the wild.
- Added Difficulty-related 'features' similar to Pregnency Difficulty:
- Added "Addiction Effects" cheat (Off/Hard/Hell) to unlock (or lock) Ograsm/Semen/Drug addiction overevents.
- Added "Milk Overflow" cheat (Off/Hard/Hell) to unlock (or lock) milk overflow/splash overevent.
- Added some additional Companion Cheats
- "Prevent Death" - Locks Companion and Lona HP to >1. Companions will not fall below 0 stamina.
- "Irresistible" - Crawling Companions and Lona now bypass other agro checks, favoring "fucker" interactions.
- Improved on Summon Menu
- Added support for Arena summons.
- Filtered some crash-inducing summons.
- Filtered out the babies.
- Added some 'lost' NPCs.
- Rearranged menus
- See above for in-depth details.
- Moved Summon to it's own menu.
- Added a "Race Cheats" to Character menu (houses deepone/abomination cheats/skills).
- Added a "Difficulty" menu for difficulty-related cheats (both good and bad).
- Added code fixes needed for 0.10.8.05+
- Added fix for issue where F9 hotkey was not being set by default
</details>
<details>
<summary>Ver 1.3q Changelog</summary>
- Added "Other Mods" menu for cross-mod support - thanks to thatguy88 for the original idea.
- Lona Belly & Booba: toggle Cosmetic Mode and Old Nipples can be edited directly.
- Filter Visuals: Toggle all 7 filters (White Cum, Recolored Events, Nipple Melanin, Pubic Hair, Dirt, Wounds, Bleeding).
- White Cum and Recolored Events require a restart due to their nature.
- All of these write straight to that mod's own config, so the change sticks even if you disable CheatFramework.
- Only shows up if you actually have one of those mods installed.
- Added support for a new mod I'm working on (LonaRecolored) to leverage CheatFramework's menus.
- Too lazy to integrate that mod into the shops, so CheatFramework will likely be a dependency.
- Added support for per-choice help text, mostly in support of this mod.
- Moved RolePlay-S cheats into the Other Mods menu (Infinite MP, Mana Rage, Mana Rage Max, Disable Save Limiter).
- RESTART tag is now smarter and realizes if you changed your mind.
- Difficulty: fixed Despawn Fix's restart tag and its event-matching logic.
- Fixed issue with custom hotkeys being unbound on the next restart instead of saving.
- Added a fix to Infinite Stamina it'll disable when Lona is giving birth to prevent a softlock.
- Added "Lona Vulnerable" toggle. Caps her stamina at 0 releases when she collapses.
- Added "Beast Fix" and "Companion Rape" to NPC Tweaks.
- Beast Fix corrects the "Others" alignment issue and simultaneously unlocks some additional beasts
- Warning: Beast Fix changes Horse Carry and Doggy preferences (were locked).
- Idea credit: thatdude64.
- Companion Rape lets companions evaluate Lona as a target (based on existing preferences).
- Best paired with "Irresistable", "Infinite Stamina" and "Lona Vulnerable" for endless fun.
</details>
<details>
<summary>Ver 1.3.1q Changelog</summary>
- Tied the health refill for Prevent Death / Infinite Health to the code that handles hits instead of per tick.
- Fixed crash for Companion Rape on older versions. Thank you zerk0000 for pointing out these issues.
- Fixed an error with CompDoggy not having any grapple moves (not just art was sabotaged).
</details>
---
## Credits
See the [credits file](ModScripts/_Mods/CheatFramework/docs/Credits.md) for details.
Note from Quin2k: I freely give permission to improve on and use any of my contributions to the code as long as you respect / retain the credits of the original authors. That includes previous authors taking up the project again.
@@ -0,0 +1,260 @@
FrameworkModule = {
name: "Appearance",
key: :appearance,
menu: :APPEARANCE,
depends_on: []
}
module MenuFramework
module SUBMENU
#--------------------------------------------------------------------------
# Character Editing Menu
#--------------------------------------------------------------------------
register_command(
group: :LONA,
type: :scene,
key: :edit_appearance,
label: "modules/character:commands/appearance",
menu1: "menu:window_help/character1",
name: "CheatMenuAppearance",
dict: :APPEARANCE,
order: 70
)
#--------------------------------------------------------------------------
# Appearance
#--------------------------------------------------------------------------
register_command(
group: :APPEARANCE,
type: :edit_list,
key: "Hair Color",
label: "modules/character:commands/appearance/hair_color",
state: "$game_player.actor.record_HairColor",
list: [
{ key: 0, label: "[#{$framework.txt("modules/character:commands/appearance/hair_color/0")}]" },
{ key: 1, label: "[#{$framework.txt("modules/character:commands/appearance/hair_color/1")}]" },
{ key: 2, label: "[#{$framework.txt("modules/character:commands/appearance/hair_color/2")}]" },
{ key: 3, label: "[#{$framework.txt("modules/character:commands/appearance/hair_color/3")}]" },
{ key: 4, label: "[#{$framework.txt("modules/character:commands/appearance/hair_color/4")}]" },
{ key: 5, label: "[#{$framework.txt("modules/character:commands/appearance/hair_color/5")}]" }
],
action: ->(v) { $game_player.actor.record_HairColor = v; $game_player.refresh_chs },
hide: -> { defined?(LonaRecolor) },
order: 30
)
register_command(
group: :PRIMARY,
type: :edit_num,
key: "Dirt",
label: "modules/character:commands/appearance/dirt",
state: "$game_player.actor.dirt.to_i",
enable: -> { $game_player.actor.actStat.get_stat('dirt', 3) != 0 && !$cheat_autoclean },
min: 0,
max: 255,
action: ->(v) { $game_player.actor.dirt = v },
order: 45
)
register_command(
group: :TOGGLES,
type: :toggle,
key: "Disable Dirt",
label: "modules/character:toggle/dirt",
state: "$game_player.actor.actStat.get_stat('dirt', 3) == 0",
help1: "modules/character:command_help/dirt",
help2: "menu:command_help/local",
global: false,
order: 50,
action: -> {
if $game_player.actor.actStat.get_stat('dirt', 3) == 0
$game_player.actor.actStat.set_stat('dirt', 255, 3)
else
$game_player.actor.actStat.set_stat('dirt', 0, 3)
end
$game_player.actor.refresh
})
register_command(
group: :APPEARANCE,
type: :edit_list,
key: "Freckles",
label: "modules/character:commands/appearance/freckles",
state: "$game_player.actor.stat['Freckle']",
list: [
{ key: 0, label: "[#{$framework.txt("menu:cheat_toggle/off")}]" },
{ key: 1, label: "[#{$framework.txt("menu:cheat_toggle/on")}]" }
],
action: ->(v) { FrameworkUtils.custom_state_edit("Freckle", v) }
)
register_command(
group: :APPEARANCE,
type: :edit_num,
key: "PubicHairVag",
label: "modules/character:commands/appearance/vpubes",
state: "$game_player.actor.stat['PubicHairVag']",
help1: "modules/character:command_help/pubes1",
min: 0,
max: 4,
action: ->(v) { FrameworkUtils.custom_state_edit("PubicHairVag", v) }
)
register_command(
group: :APPEARANCE,
type: :edit_num,
key: "PubicHairAnal",
label: "modules/character:commands/appearance/apubes",
state: "$game_player.actor.stat['PubicHairAnal']",
help1: "modules/character:command_help/pubes1",
min: 0,
max: 4,
action: ->(v) { FrameworkUtils.custom_state_edit("PubicHairAnal", v) }
)
register_command(
group: :APPEARANCE,
type: :edit_num,
key: "PubicHairVagGrowth",
label: "modules/character:commands/appearance/vpubegrowth",
state: "$game_player.actor.pubicHair_Vag_GrowRate",
hide: -> { $game_player.actor.stat['PubicHairVag'] == 0 },
help1: "modules/character:command_help/pubegrowth1",
help2: "modules/character:command_help/pubegrowth2",
min: 1,
max: 365,
action: ->(v) { $game_player.actor.pubicHair_Vag_GrowRate = v }
)
register_command(
group: :APPEARANCE,
type: :edit_num,
key: "PubicHairAnalGrowth",
label: "modules/character:commands/appearance/apubegrowth",
state: "$game_player.actor.pubicHair_Anal_GrowRate",
hide: -> { $game_player.actor.stat['PubicHairAnal'] == 0 },
help1: "modules/character:command_help/pubegrowth1",
help2: "modules/character:command_help/pubegrowth2",
min: 1,
max: 365,
action: ->(v) { $game_player.actor.pubicHair_Anal_GrowRate = v }
)
#--------------------------------------------------------------------------
# Auto-Care Toggles
#--------------------------------------------------------------------------
register_command(
group: :TOGGLES,
type: :toggle,
key: "Auto Bandage",
label: "modules/character:toggle/autobandage",
help1: "modules/character:command_help/autobandage",
state: "$cheat_autobandage",
gdef: false,
order: 60
)
register_command(
group: :TOGGLES,
type: :toggle,
key: "Auto Clean",
label: "modules/character:toggle/autoclean",
help1: "modules/character:command_help/autoclean",
state: "$cheat_autoclean",
gdef: false,
order: 70
)
register_command(
group: :TOGGLES,
type: :toggle,
key: "Auto Cure",
label: "modules/character:toggle/autocure",
help1: "modules/character:command_help/autocure",
state: "$cheat_autocure",
gdef: false,
order: 80
)
#--------------------------------------------------------------------------
# Optional companion mod integration
#--------------------------------------------------------------------------
if defined?(LonaRecolor) && LonaRecolor.respond_to?(:register_appearance_commands)
LonaRecolor.register_appearance_commands
end
end
end
#--------------------------------------------------------------------------
# Auto-Care Application
#--------------------------------------------------------------------------
# Uses a slower trigger (~3 seconds) since wounds etc. aren't as time-sensitive.
class CheatFramework
alias_method :slow_trigger_MODULE_AUTOSTATE, :slow_trigger
def slow_trigger
slow_trigger_MODULE_AUTOSTATE
FrameworkUtils.apply_auto_states if FrameworkUtils.ingame?
end
end
module FrameworkUtils
def self.apply_auto_states
return unless self.ingame?
actor = $game_player.actor
return unless actor
if $cheat_autobandage; autobandage end
if $cheat_autoclean; autoclean end
if $cheat_autocure; autocure end
end
def self.autobandage
list = ["WoundHead", "WoundChest", "WoundCuff", "WoundSArm", "WoundMArm", "WoundCollar", "WoundBelly", "WoundGroin", "WoundSThigh", "WoundMThigh", "VaginalDamaged", "UrethralDamaged", "SphincterDamaged", "EffectBleedVag", "EffectBleedAnal"]
mass_remove_state(list)
end
# Clears the cum tank and its derived states together, since the states are
# computed from the tank. Bypasses healCums, which only drains one entry per call.
def self.autoclean
actor = $game_player.actor
actor.vag_cums.clear
actor.cumsMeters.each_key { |key| actor.cumsMeters[key] = 0 }
actor.check_cum_maximum
actor.update_cum_state
mass_remove_state(["SemenBursting", "EffectScat", "EffectBleedVag", "EffectBleedAnal"])
end
def self.autocure
list = ["ParasitedMoonWorm", "ParasitedPotWorm", "AnalSeedBed", "BladderSeedBed", "ParasitedPolypWorm", "ParasitedHookWorm", "StomachSeedBed", "STD_Leukorrhea", "STD_WartAnal", "STD_WartVag", "STD_HerpesAnal", "STD_HerpesVag"]
mass_remove_state(list)
end
def self.mass_remove_state(list)
actor = $game_player.actor
active_states = list.select { |id| actor.state_stack(id) >= 1 }
active_states.each do |state|
actor.remove_state(state)
end
end
end
# ---------------------------------
# Live portrait preview in the Appearance menu
# ---------------------------------
class Scene_CheatMenuAppearance
alias_method :start_Framework_portrait_preview, :start
def start
start_Framework_portrait_preview
$game_portraits.setRprt("Lona")
portrait = $game_portraits.getPortrait("Lona")
portrait.skip_animation
canvas = portrait.instance_variable_get(:@canvas)
left_shift = (0.4 * Graphics.width).round
portrait.set_position((Graphics.width - canvas[0]) / 2 - left_shift, (Graphics.height - canvas[1]) / 2)
end
alias_method :update_Framework_portrait_preview, :update
def update
update_Framework_portrait_preview
$game_portraits.getPortrait("Lona").update
end
alias_method :terminate_Framework_portrait_preview, :terminate
def terminate
portrait = $game_portraits.getPortrait("Lona")
portrait.hide
portrait.skip_animation # same animation-won't-progress-here issue as start
terminate_Framework_portrait_preview
end
end
@@ -0,0 +1,100 @@
FrameworkModule = {
name: "Clothing Utils",
key: :clothing_utils,
}
#--------------------------------------------------------------------------
# Menu Commands
#--------------------------------------------------------------------------
module MenuFramework
module SUBMENU
register_command(
group: :FIXES,
type: :edit_list,
key: "Prevent Discard",
label: "modules/others:commands/discard",
help1: "modules/others:command_help/discard1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_prevent_clothing_discard",
# Inline 3-state list instead of reusing Fixes.rb's FIX_TOGGLE_LIST.
list: [
{ key: -1, label: "[#{$framework.txt("menu:cheat_toggle/disable")}]" },
{ key: 0, label: "[#{$framework.txt("menu:cheat_toggle/off")}]" },
{ key: 1, label: "[#{$framework.txt("menu:cheat_toggle/on")}]" },
],
gdef: 0,
restart: -1,
order: 50
)
register_command(
group: :MISC,
type: :action,
key: "Remove Clothes",
label: "modules/others:commands/unequip",
hotkey: {key: "F3"},
action: -> { FrameworkUtils.unequipall(false) },
order: 60
)
register_command(
group: :MISC,
type: :action,
key: "Force Remove Clothes",
label: "modules/others:commands/forceunequip",
help1: "modules/others:command_help/forceunequip1",
hotkey: {key: "Shift+F3"},
action: -> { FrameworkUtils.unequipall(true) },
order: 70
)
end
end
module FrameworkUtils
def self.unequipall(force)
if self.ingame?
actor = $game_player.actor
actor.equip_slots.size.times do |i|
item = actor.equips[i]
next if item && item.type_tag == "Hair"
bondage = item && item.type_tag == "Bondage"
actor.change_equip(i, nil) if actor.equip_change_ok?(i) || (force && bondage)
SndLib.sound_equip_armor
end
end
end
end
#--------------------------------------------------------------------------
# Prevent Discard Patch
#--------------------------------------------------------------------------
if $cheat_prevent_clothing_discard >= 0
if defined?(Game_Actor) && Game_Actor.method_defined?(:remove_equip_on_hit)
class Game_Actor
alias_method :cf_prevent_discard_remove_equip_on_hit, :remove_equip_on_hit
def remove_equip_on_hit(slot_key=self.remove_equip_slot_picker, summon=true, sound_play=true)
summon = false if $cheat_prevent_clothing_discard == 1
cf_prevent_discard_remove_equip_on_hit(slot_key, summon, sound_play)
end
end
elsif defined?(GIM_CHCG) && GIM_CHCG.method_defined?(:combat_remove_random_equip_exec)
module GIM_CHCG
alias_method :cf_prevent_discard_combat_remove_random_equip_exec, :combat_remove_random_equip_exec
def combat_remove_random_equip_exec(tar_name,eqp_target=combat_hit_get_removable_slots,summon=true)
unless $cheat_prevent_clothing_discard == 1
return cf_prevent_discard_combat_remove_random_equip_exec(tar_name,eqp_target,summon)
end
eqp_target = $data_system.equip_type_name[eqp_target] if eqp_target.is_a?(String)
$game_player.actor.change_equip(eqp_target, nil)
weaponSlots = $data_system.weapon_slots
tarType = weaponSlots.include?(eqp_target) ? "Weapon" : "Armor"
#$game_party.drop_tgt_item_and_summon(tarType,tar_name,1,summon)
if weaponSlots.include?(eqp_target) && summon
SndLib.sound_combat_sword_hit_sword(vol=80,effect=65+rand(10))
else
SndLib.sound_DressTear(vol=80,effect=75+rand(10))
end
$game_player.actor.update_state_frames
$game_player.update
end
end
end
end
@@ -0,0 +1,229 @@
FrameworkModule = {
name: "Difficulty",
key: :difficulty,
menu: :DIFFICULTY
}
#--------------------------------------------------------------------------
# Menu Commands
#--------------------------------------------------------------------------
module MenuFramework
module MENU
register_command(
type: :scene,
label: "modules/others:commands/difficulty",
name: "CheatMenuDifficulty",
order: 7
)
end
module SUBMENU
register_command(
type: :edit_num,
key: "World Difficulty",
label: "modules/others:commands/world",
state: "$story_stats['WorldDifficulty'].to_i",
min: 0,
max: 100,
action: ->(v) { $story_stats["WorldDifficulty"] = v },
order: 10
)
# Same underlying cheat as Pregnancy.rb's "Pregnancy Difficulty" - shares its key/state/text so
# both screens read and persist the exact same value, just registered again for this screen.
register_command(
type: :edit_list,
key: "Pregnancy Difficulty",
label: "modules/pregnancy:commands/difficulty",
state: "$cheat_pregnancy_difficulty",
gdef: -1,
help1: "modules/pregnancy:command_help/difficulty",
order: 60,
list: [
{ key: -1, label: "[#{$framework.txt("menu:cheat_toggle/off")}]" },
{ key: 0, label: "[#{$framework.txt("menu:cheat_toggle/hard")}]" },
{ key: 1, label: "[#{$framework.txt("menu:cheat_toggle/hell")}]" },
{ key: 2, label: "[#{$framework.txt("menu:cheat_toggle/doom")}]" }
]
)
register_command(
type: :action,
key: "Disable Doom Mode",
label: "modules/others:commands/diff",
help1: "modules/others:command_help/diff",
hide: -> { $story_stats["Setup_Hardcore"] != 2 },
order: 70,
action: -> { $story_stats["Setup_Hardcore"] = 0
$story_stats["record_giveup_hardcore"] = 0 }
)
# Off/Hard/Hell list, matching Pregnancy Difficulty's naming scheme.
DIFFICULTY_TIER_LIST = [
{ key: -1, label: "[#{$framework.txt("menu:cheat_toggle/off")}]" },
{ key: 0, label: "[#{$framework.txt("menu:cheat_toggle/hard")}]" },
{ key: 1, label: "[#{$framework.txt("menu:cheat_toggle/hell")}]" },
]
register_command(
type: :edit_list,
key: "Addiction Effects",
label: "modules/others:commands/addictioneffects",
help1: "modules/others:command_help/addictioneffects1",
state: "$cheat_addiction_effects",
list: DIFFICULTY_TIER_LIST,
gdef: 0,
order: 40
)
register_command(
type: :edit_list,
key: "Milk Overflow",
label: "modules/others:commands/milkoverflow",
help1: "modules/others:command_help/milkoverflow1",
state: "$cheat_milk_overflow",
list: DIFFICULTY_TIER_LIST,
gdef: 0,
order: 50
)
register_command(
type: :edit_list,
key: "Despawn Fix",
label: "modules/others:commands/despawnfix",
help1: "modules/others:command_help/despawnfix1",
state: "$cheat_item_despawn",
list: [
{ key: 0, label: "[#{$framework.txt("menu:cheat_toggle/disable")}]" },
{ key: 1, label: "[x1]" },
{ key: 2, label: "[x2]" },
{ key: 4, label: "[x4]" },
{ key: 5, label: "[x8]" },
{ key: -1, label: "[#{$framework.txt("menu:cheat_toggle/infinite")}]" },
],
# 0 doubles as both "Off" and "not installed" (the patch's own gate is `!= 0`) - defaulting
# here instead of x1 means a fresh install doesn't pay for the patch until actually used.
gdef: 1,
restart: 0,
order: 20
)
register_command(
type: :edit_list,
key: "Increase Drop Rate",
label: "modules/others:commands/drops",
help1: "modules/others:command_help/dropsfix1",
state: "$cheat_item_drops",
list: [
{ key: 0, label: "[#{$framework.txt("menu:cheat_toggle/disable")}]" },
{ key: 1, label: "[x1]" },
{ key: 2, label: "[x2]" },
{ key: 4, label: "[x4]" },
],
gdef: 1,
restart: 0,
order: 30
)
end
end
#--------------------------------------------------------------------------
# Addiction Effects
#--------------------------------------------------------------------------
# Ograsm/Semen/Drug addiction overevents normally only trigger at Hell+ difficulty - Off suppresses
# them regardless, Hell forces them regardless, Hard leaves the game's own check alone.
module GIM_OVC
alias_method :cf_addiction_check_half_over_event, :check_half_over_event
def check_half_over_event(parallel = false)
cf_addiction_check_half_over_event(parallel)
return unless $cheat_addiction_effects == 1 && $story_stats["Setup_Hardcore"] < 1
checkOev_OgrasmAddiction(parallel)
checkOev_SemenAddiction(parallel)
checkOev_DrugAddiction(parallel)
end
alias_method :cf_addiction_off_ograsm, :checkOev_OgrasmAddiction
def checkOev_OgrasmAddiction(parallel = false)
return if $cheat_addiction_effects == -1
cf_addiction_off_ograsm(parallel)
end
alias_method :cf_addiction_off_semen, :checkOev_SemenAddiction
def checkOev_SemenAddiction(parallel = false)
return if $cheat_addiction_effects == -1
cf_addiction_off_semen(parallel)
end
alias_method :cf_addiction_off_drug, :checkOev_DrugAddiction
def checkOev_DrugAddiction(parallel = false)
return if $cheat_addiction_effects == -1
cf_addiction_off_drug(parallel)
end
end
#--------------------------------------------------------------------------
# Milk Overflow
#--------------------------------------------------------------------------
# checkOev_Milk gates itself on Hell+ difficulty internally - Off/Hell temporarily force that gate
# below/above for one call instead of duplicating its body; Hard leaves it alone.
module GIM_OVC
alias_method :cf_milk_overflow_checkOev_Milk, :checkOev_Milk
def checkOev_Milk(parallel = false)
return if $cheat_milk_overflow == -1
return cf_milk_overflow_checkOev_Milk(parallel) unless $cheat_milk_overflow == 1
original = $story_stats["Setup_Hardcore"]
$story_stats["Setup_Hardcore"] = 1
cf_milk_overflow_checkOev_Milk(parallel)
$story_stats["Setup_Hardcore"] = original
end
end
#--------------------------------------------------------------------------
# Item Decay Control
#--------------------------------------------------------------------------
if $cheat_item_despawn != 0
class Game_Map
alias rq_orig_reserve_summon_event reserve_summon_event
def reserve_summon_event(event_name, x=$game_player.x, y=$game_player.y, id=-1, data=nil)
if event_name && $data_ItemName[event_name] && event_lib[event_name]
event_template = event_lib[event_name][1]
if event_template.pages
event_template.pages.each do |page|
next unless page.move_route && page.move_route.list.is_a?(Array)
page.move_route.list.each do |cmd|
next unless cmd.is_a?(RPG::MoveCommand) && [45, 42].include?(cmd.code)
if $cheat_item_despawn >= 1 && cmd.parameters[0] =~ /@wait_count.*scoutcraft_trait/
new_wait = [600 + 60 * $game_player.actor.scoutcraft_trait, 1800].min * $cheat_item_despawn
cmd.parameters[0] = "@wait_count = #{new_wait}"
elsif $cheat_item_despawn == -1
if cmd.parameters[0] == 100
cmd.parameters[0] = 255
elsif cmd.parameters[0] =~ /\bdelete\b/
cmd.code = 0
cmd.parameters = []
end
end
end
end
end
end
@summoned_evs << [event_name, x, y, id, data]
end
end
end
#--------------------------------------------------------------------------
# Increase Drop Rate
#--------------------------------------------------------------------------
if $cheat_item_drops != 0
class Game_NonPlayerCharacter
alias orig_min_drop_amt min_drop_amt
alias orig_max_drop_amt max_drop_amt
# Falls back to the normal amount when the multiplier is 0 (Disabled).
def min_drop_amt
return orig_min_drop_amt unless $cheat_item_drops > 0
(orig_min_drop_amt * $cheat_item_drops).to_i
end
def max_drop_amt
return orig_max_drop_amt unless $cheat_item_drops > 0
(orig_max_drop_amt * $cheat_item_drops).to_i
end
end
end
@@ -0,0 +1,344 @@
FrameworkModule = {
name: "Game Fixes",
key: :game_fixes,
menu: :FIXES #Group key.
}
#--------------------------------------------------------------------------
# Menu Commands
#--------------------------------------------------------------------------
module MenuFramework
module MENU
register_command(
type: :scene,
label: "modules/others:commands/fix",
name: "CheatMenuGameFixes",
order: 5
)
end
module SUBMENU
#--------------------------------------------------------------------------
# Restart-Capable Fixes
#--------------------------------------------------------------------------
# Shared Disable / Off / On list for every fix below.
FIX_TOGGLE_LIST = [
{ key: -1, label: "[#{$framework.txt("menu:cheat_toggle/disable")}]" },
{ key: 0, label: "[#{$framework.txt("menu:cheat_toggle/off")}]" },
{ key: 1, label: "[#{$framework.txt("menu:cheat_toggle/on")}]" },
]
register_command(
type: :edit_list,
key: "Equip Anything",
label: "modules/others:commands/equip",
help1: "modules/others:command_help/equip1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_classless_society",
list: FIX_TOGGLE_LIST,
gdef: 0,
restart: -1,
order: 30
)
register_command(
type: :edit_list,
key: "Stealth Fix",
label: "modules/others:commands/stealth",
help1: "modules/others:command_help/stealth1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_stealth_confirm_fix",
list: FIX_TOGGLE_LIST,
gdef: 1,
restart: -1,
order: 60
)
register_command(
type: :edit_list,
key: "Fast Nap",
label: "modules/others:commands/fastnap",
help1: "modules/others:command_help/fastnap1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_fast_nap",
list: FIX_TOGGLE_LIST,
gdef: 0,
restart: -1,
hide: -> { $framework.roleplay_mod? },
order: 40
)
register_command(
type: :edit_list,
key: "Achievement Fix",
label: "modules/others:commands/achievementfix",
help1: "modules/others:command_help/achievementfix1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_difficulty_achievement_fix",
list: FIX_TOGGLE_LIST,
gdef: 1,
restart: -1,
order: 70
)
#--------------------------------------------------------------------------
# Misc
#--------------------------------------------------------------------------
register_command(
type: :toggle,
key: "Night Vision",
label: "modules/others:commands/nightvision",
help1: "modules/others:command_help/nightvision1",
state: "$cheat_night_vision",
gdef: false,
order: 10,
action: -> {
$cheat_night_vision = !$cheat_night_vision
$framework.ini.write_global("Night Vision", $cheat_night_vision)
$game_map.shadows.cf_reapply_opacity if FrameworkUtils.ingame? && $game_map && $game_map.shadows
}
)
register_command(
type: :toggle,
key: "Noclip",
label: "modules/others:commands/noclip",
help1: "modules/others:command_help/noclip1",
state: "$cheat_noclip",
gdef: false,
order: 20
)
register_command(
type: :toggle,
key: "Forage Glow",
label: "modules/others:commands/forageglow",
help1: "modules/others:command_help/forageglow1",
state: "$cheat_forage_glow",
gdef: false,
order: 25
)
end
end
#--------------------------------------------------------------------------
# Stealth Fix
#--------------------------------------------------------------------------
if $cheat_stealth_confirm_fix >= 0
class Game_Player
alias_method :cf_stealth_confirm_fix_update_nonmoving, :update_nonmoving
def update_nonmoving(last_moving)
return cf_stealth_confirm_fix_update_nonmoving(last_moving) unless $cheat_stealth_confirm_fix == 1
return if $game_map.interpreter.running?
if last_moving
# on_player_walk was removed from Game_Party in B.0.10.8.05; only call it pre-patch.
$game_party.on_player_walk if $game_party.respond_to?(:on_player_walk)
return if check_touch_event
end
if inputToTriggerEvent? && movable? && !actor.lonaDeath?
@pathfinding = false
return if Input.skillKeyPressed?
move_normal unless self.actor.stat["IntoShadow"] == 1
return if check_action_event(chkItemsPick = true)
SndLib.sys_trigger
end
end
end
end
#--------------------------------------------------------------------------
# Equip Anything
#--------------------------------------------------------------------------
if $cheat_classless_society >= 0
class Game_BattlerBase
alias_method :cf_classless_society_equip_wtype_ok, :equip_wtype_ok?
alias_method :cf_classless_society_equip_atype_ok, :equip_atype_ok?
alias_method :cf_classless_society_wtype_sealed, :wtype_sealed?
alias_method :cf_classless_society_atype_sealed, :atype_sealed?
alias_method :cf_classless_society_usable_item_conditions_met, :usable_item_conditions_met?
def equip_wtype_ok?(wtype_id)
return cf_classless_society_equip_wtype_ok(wtype_id) unless $cheat_classless_society == 1
# Allow equipping weapons no matter the type.
true
end
def equip_atype_ok?(atype_id)
return cf_classless_society_equip_atype_ok(atype_id) unless $cheat_classless_society == 1
# Allow equipping armor no matter the type.
true
end
def wtype_sealed?(wtype_id)
return cf_classless_society_wtype_sealed(wtype_id) unless $cheat_classless_society == 1
# equippable? checks this separately from equip_wtype_ok? - e.g. TrueDeepone's wtype_seal.
false
end
def atype_sealed?(atype_id)
return cf_classless_society_atype_sealed(atype_id) unless $cheat_classless_society == 1
false
end
def usable_item_conditions_met?(item)
return cf_classless_society_usable_item_conditions_met(item) unless $cheat_classless_society == 1
# Allow weapon skills regardless of prerequisites
return true if item.is_a?(RPG::Skill) && added_skills.include?(item.id)
movable?
end
end
class Game_Actor
alias_method :cf_classless_society_equip_change_ok, :equip_change_ok?
def equip_change_ok?(slot_id)
return cf_classless_society_equip_change_ok(slot_id) unless $cheat_classless_society == 1
resolved_slot = slot_id.is_a?(String) ? $data_system.equip_type_name[slot_id] : slot_id
# Only bondage/cursed items - other fixed/sealed slots stay blocked.
return true if equips[resolved_slot] && equips[resolved_slot].type_tag == "Bondage"
cf_classless_society_equip_change_ok(slot_id)
end
end
end
#--------------------------------------------------------------------------
# Fast Nap
#--------------------------------------------------------------------------
if $cheat_fast_nap >= 0 && !$framework.roleplay_mod?
# Ctrl+rest spends sat in 10-point chunks to heal 20-point chunks of stamina/health at once.
# Skipped under RolePlay-S: it replaces this same method unaliased, so load order would decide the winner.
class Game_Actor
alias_method :cf_fast_nap_check_sat_heal_HealthSta, :check_sat_heal_HealthSta
def check_sat_heal_HealthSta(tmpCost = 10)
return cf_fast_nap_check_sat_heal_HealthSta(tmpCost) unless $cheat_fast_nap == 1 && Input.press?(:CTRL)
staMax = battle_stat.get_stat("sta", 2)
hpMax = battle_stat.get_stat("health", 2)
staVS = (staMax - self.sta).abs
hpVS = $story_stats["Setup_Hardcore"] > 0 ? 0 : (hpMax - self.health).abs
return cf_fast_nap_check_sat_heal_HealthSta(tmpCost) if self.sat < tmpCost || (staVS == 0 && hpVS == 0)
staChunks = ((staMax - self.sta) / 20).to_i
hpChunks = ((hpMax - self.health) / 20).to_i
satChunks = (self.sat / 10).to_i
restoreSta = staChunks > 1
restoreHp = hpChunks > 1 && self.sta == staMax
return cf_fast_nap_check_sat_heal_HealthSta(tmpCost) unless restoreSta || restoreHp
fullSta = [staChunks, satChunks].min
fullHp = [hpChunks, satChunks].min
self.sat -= restoreSta ? tmpCost * fullSta : tmpCost * fullHp
satScore = tmpCost * 2
if staVS != 0 && satScore > 0
staInc = [staVS, satScore].min.to_i
satScore -= staInc
if restoreSta
self.sta += staInc * fullSta
SndLib.buff_life
else
self.sta += staInc
end
end
if hpVS != 0 && satScore > 0
hpInc = [hpVS, satScore].min.to_i
if restoreHp
self.health += hpInc * fullHp
SndLib.buff_life
else
self.health += hpInc
end
end
true
end
end
end
#--------------------------------------------------------------------------
# Night Vision
#--------------------------------------------------------------------------
# Shadow#set_opacity is the single choke point for all map darkness - halve
# whatever it's asked for while the toggle is on, restore it exactly on off.
class Shadow
alias_method :cf_night_vision_set_opacity, :set_opacity
def set_opacity(a, time = nil)
@cf_true_opacity = a
cf_night_vision_set_opacity($cheat_night_vision ? (a / 2) : a, time)
end
def cf_reapply_opacity
true_opacity = @cf_true_opacity || @a
cf_night_vision_set_opacity($cheat_night_vision ? (true_opacity / 2) : true_opacity, nil)
end
end
#--------------------------------------------------------------------------
# Noclip
#--------------------------------------------------------------------------
# debug_through? already bypasses both terrain and NPC/event collision (see passable? in
# 33_Game_CharacterBase.rb) - normally only true in the RPG Maker editor's own test-play mode.
class Game_Player
alias_method :cf_noclip_debug_through?, :debug_through?
def debug_through?
$cheat_noclip || cf_noclip_debug_through?
end
# handle_on_move_overmap is the single per-step choke point for overworld stamina drain, time
# passage, and danger/encounter accumulation - skip it entirely while noclipping.
alias_method :cf_noclip_handle_on_move_overmap, :handle_on_move_overmap
def handle_on_move_overmap(use_ctrl = false)
return if $cheat_noclip
cf_noclip_handle_on_move_overmap(use_ctrl)
end
end
#--------------------------------------------------------------------------
# Forage Glow
#--------------------------------------------------------------------------
# "Static*"-named events are the overworld forage nodes - tag them once (draw priority + blink),
# each starting on a random phase so a cluster doesn't blink in sync.
class Game_Event
alias_method :cf_forage_glow_refresh, :refresh
def refresh
cf_forage_glow_refresh
return if @cheat_forage_glow_checked
@cheat_forage_glow_checked = true
return unless $cheat_forage_glow
return unless @event && @event.name.start_with?("Static")
self.priority_type = 2
@cheat_forage_glow_tagged = true
@cheat_forage_glow_frame = rand(80)
end
alias_method :cf_forage_glow_update, :update
def update
cf_forage_glow_update
return unless @cheat_forage_glow_tagged
frame = (@cheat_forage_glow_frame += 1)
lit = (frame % 80) < 20
return if lit == @cheat_forage_glow_lit
@cheat_forage_glow_lit = lit
self.tone = lit ? Tone.new(120, 120, 60, 0) : Tone.new(0, 0, 0, 0)
end
end
#--------------------------------------------------------------------------
# Achievement Fix
#--------------------------------------------------------------------------
if $cheat_difficulty_achievement_fix >= 0
module GIM_ADDON
alias_method :cf_achievement_fix_achCheckDate, :achCheckDate
# Grants Hell and Doom achievement tiers independently for each date.
def achCheckDate
return cf_achievement_fix_achCheckDate unless $cheat_difficulty_achievement_fix == 1
return if $story_stats["Setup_HardcoreAmt"] != [1772,3,1]
case $game_date.date[0..2]
when [1772,3,2]
GabeSDK.getAchievement("HellModDateT1") if $story_stats["Setup_Hardcore"] >= 1
GabeSDK.getAchievement("DoomModDateT1") if $story_stats["Setup_Hardcore"] >= 2
when [1773,3,1]
GabeSDK.getAchievement("HellModDateT2") if $story_stats["Setup_Hardcore"] >= 1
GabeSDK.getAchievement("DoomModDateT2") if $story_stats["Setup_Hardcore"] >= 2
when [1774,3,1]
GabeSDK.getAchievement("HellModDateT3") if $story_stats["Setup_Hardcore"] >= 1
when [1776,6,6]
GabeSDK.getAchievement("DoomModDateT3") if $story_stats["Setup_Hardcore"] >= 2
end
end
end
end
@@ -0,0 +1,378 @@
FrameworkModule = {
name: "Inventory Editor",
key: :invedit,
order: 50,
menu: :NONE
}
#--------------------------------------------------------------------------
# Menu Commands
#--------------------------------------------------------------------------
MenuFramework::MENU.register_command(
type: :scene,
key: :items,
label: "modules/invedit:commands/items",
name: "CheatMenuItems",
order: 20
)
MenuFramework::MENU.register_command(
type: :scene,
key: :weapons,
label: "modules/invedit:commands/weapons",
name: "CheatMenuItems",
order: 21
)
MenuFramework::MENU.register_command(
type: :scene,
key: :armors,
label: "modules/invedit:commands/armors",
name: "CheatMenuItems",
order: 22
)
MenuFramework::MENU.register_command(
type: :scene,
key: :status,
label: "modules/invedit:commands/status",
name: "CheatMenuStatus",
order: 30
)
# LonaCraft catalog (separate from the existing complete Items/Weapons/Armors).
# Only register if the mod is available; all results come from the runtime DB.
if $mod_manager.mods["LonaCraft"] && $mod_manager.mods["LonaCraft"].enabled
MenuFramework::MENU.register_command(
type: :scene, key: :lc_catalog,
label: "modules/invedit:commands/lonacraft",
name: "CheatMenuLonaCraftCatalog", dict: :LONACRAFT, order: 25
)
[
[:lc_materials, "modules/invedit:commands/lc_materials", 10],
[:lc_furniture, "modules/invedit:commands/lc_furniture", 20],
[:lc_weapons, "modules/invedit:commands/lc_weapons", 30],
[:lc_tier_weapons, "modules/invedit:commands/lc_tier_weapons", 40],
[:lc_tier_armors, "modules/invedit:commands/lc_tier_armors", 50]
].each do |catalog_type, text_key, priority|
MenuFramework::SUBMENU.register_command(
type: :scene, group: :LONACRAFT, key: catalog_type,
label: text_key, name: "CheatMenuItems", order: priority
)
end
end
MenuFramework::SUBMENU.register_command(
type: :action,
group: :MISC,
key: "Bank Anywhere",
label: "modules/invedit:commands/bank",
hotkey: {key: "F2"},
order: 100,
action: -> {
SceneManager.goto(Scene_BankStorage)
SceneManager.scene.prepare(System_Settings::STORAGE_BANK)
})
#--------------------------------------------------------------------------
# Cache Item/weapon/armor/status Lists
#--------------------------------------------------------------------------
# Pre-filtered once instead of re-scanning the raw data every time.
module MenuFramework
module InvEditCache
extend self
attr_reader :items, :weapons, :armors, :statuses
attr_reader :lc_materials, :lc_furniture, :lc_weapons, :lc_tier_weapons, :lc_tier_armors
def signature
[$data_items, $data_weapons, $data_armors].map do |group|
group ? [group.object_id, group.size] : [nil, 0]
end
end
# Later mods (notably LonaCraft) wrap load_mod_database and append items
# AFTER CheatFramework's database hook has finished. Recheck on menu open.
def ensure_fresh
build if @items.nil? || @built_signature != signature
end
def build
@items = build_group($data_items, "I%03d:")
@weapons = build_group($data_weapons, "W%03d:")
@armors = build_group($data_armors, "A%03d:")
@lc_materials = @items.select do |_label, item|
item.item_name.to_s.start_with?("ItemLonaCraft") &&
!item.item_name.to_s.start_with?("ItemLonaCraftFurniture")
end
@lc_furniture = @items.select do |_label, item|
item.item_name.to_s.start_with?("ItemLonaCraftFurniture")
end
@lc_weapons = @weapons.select do |_label, item|
item.item_name.to_s.start_with?("ItemLonaCraft")
end
# LonaCraft crafts quality-tier equipment as _LC2 ... _LC5 variants.
@lc_tier_weapons = @weapons.select do |_label, item|
item.item_name.to_s =~ /_LC[2-5]\z/
end
@lc_tier_armors = @armors.select do |_label, item|
item.item_name.to_s =~ /_LC[2-5]\z/
end
@statuses = ($data_StateName || {}).each_pair.reject do |k, v|
v.nil? || k.nil? || v.name == "" || v.name == "nil" || v.name == "DataState:nil/name" ||
v.description == "" || v.description == "nil" || v.description == "DataState:nil/description"
end.to_a
@built_signature = signature
end
def build_group(group, fmt)
return [] unless group
(1...group.size).each_with_object([]) do |i, list|
item = group[i]
next if item.nil? || item.item_name.nil? || item.item_name == "" || item.description == ""
list << [sprintf(fmt, i), item]
end
end
end
end
class << DataManager
alias_method :cf_invedit_load_mod_database, :load_mod_database
def load_mod_database
cf_invedit_load_mod_database
MenuFramework::InvEditCache.build
end
end
#--------------------------------------------------------------------------
# Menu Loading Fix
#--------------------------------------------------------------------------
# Only draws the current page of rows instead of the whole list
module MenuFramework
module VirtualScrollWindow
def contents_height
page_row_max * item_height
end
def top_row
@virtual_top_row || 0
end
def top_row=(row)
row = 0 if row < 0
row = row_max - 1 if row > row_max - 1
changed = row != top_row
@virtual_top_row = row
self.oy = 0 # bitmap only ever holds one page - never pan it
refresh_visible_rows if changed
end
def draw_all_items
first = top_row
last = [top_row + page_row_max, item_max].min - 1
(first..last).each { |i| draw_item(i) } if last >= first
end
def item_rect(index)
rect = Rect.new
rect.width = item_width
rect.height = item_height
rect.x = index % col_max * (item_width + spacing)
rect.y = (index / col_max - top_row) * item_height
rect
end
def refresh
@virtual_top_row = 0
self.oy = 0
super
end
def refresh_visible_rows
contents.clear
draw_all_items
end
end
end
#--------------------------------------------------------------------------
# Window_CheatMenuItems
#--------------------------------------------------------------------------
class Window_CheatMenuItems < Window_Command
include Action_Window_Defaults
include MenuFramework::VirtualScrollWindow
def initialize
super
symbol = SceneManager.scene.instance_variable_get(:@menu_symbol)
set_type(symbol)
end
def set_type(type)
@type = type
refresh
select(0)
end
def make_command_list
MenuFramework::InvEditCache.ensure_fresh
cache = case @type
when :items then MenuFramework::InvEditCache.items
when :weapons then MenuFramework::InvEditCache.weapons
when :armors then MenuFramework::InvEditCache.armors
when :lc_materials then MenuFramework::InvEditCache.lc_materials
when :lc_furniture then MenuFramework::InvEditCache.lc_furniture
when :lc_weapons then MenuFramework::InvEditCache.lc_weapons
when :lc_tier_weapons then MenuFramework::InvEditCache.lc_tier_weapons
when :lc_tier_armors then MenuFramework::InvEditCache.lc_tier_armors
else []
end
cache.each { |text, item| add_command(text, :item, true, item) }
end
def draw_item(index)
MenuFramework.force_font(contents) if contents
contents.clear_rect(item_rect_for_text(index))
rect = item_rect_for_text(index)
item = @list[index][:ext]
name = item.name
change_color(normal_color, $game_party.item_number(item) > 0)
change_color(knockout_color) if $game_party.item_number(item) > 0 && item.name == ""
draw_text(rect, command_name(index))
rect.x += text_size(command_name(index)).width
rect.width -= text_size(command_name(index)).width
draw_icon(item.icon_index, rect.x, rect.y, $game_party.item_number(item) > 0)
rect.x += 24
rect.width -= 24
draw_text(rect, $game_text[name])
text = sprintf("x%s", $game_party.item_number(item))
draw_text(rect, text, 2)
end
def load_initial
return if @list.empty?
text = prep_desc($game_text[@list[0][:ext].description])
override_help_window_text(text)
end
def refresh_help_window
return if @list.empty?
entry = @list[@index]
return unless entry && entry[:ext] && entry[:ext]
desc_key = entry[:ext].description
text = prep_desc($game_text[desc_key])
override_help_window_text(text)
end
def prep_desc(desc)
return "" if desc.nil?
return "" if desc.end_with?("/description")
return "" if desc.end_with?("nil/nil")
return desc
end
def cursor_right(wrap = false)
SndLib.play_cursor
$game_party.gain_item(current_ext, Input.press?(Input::KEYMAP[:SHIFT]) ? 10 : 1)
$game_party.gain_item(current_ext, Input.press?(Input::KEYMAP[:CTRL]) ? 99 : 0)
draw_item(index)
end
def cursor_left(wrap = false)
SndLib.play_cursor
$game_party.lose_item(current_ext, Input.press?(Input::KEYMAP[:SHIFT]) ? 10 : 1)
$game_party.lose_item(current_ext, Input.press?(Input::KEYMAP[:CTRL]) ? 99 : 0)
draw_item(index)
end
end # Window_CheatMenuItems
#--------------------------------------------------------------------------
# Window_CheatMenuStatus
#--------------------------------------------------------------------------
class Window_CheatMenuStatus < Window_Command
include Action_Window_Defaults
include MenuFramework::VirtualScrollWindow
def make_command_list
$data_StateName.each_pair do |k, v|
if v != nil and k != nil
add_command("", :drawStat, true, [k, v]) if !(v.name == "" or v.name == "nil" or v.name == "DataState:nil/name" or v.description == "" or v.description == "nil" or v.description == "DataState:nil/description")
end
end
end
def drawStat
end
def draw_item(index)
MenuFramework.force_font(contents) if contents
contents.clear_rect(item_rect_for_text(index))
rect = item_rect_for_text(index)
item = @list[index][:ext][1]
name = @list[index][:ext][0]
stack = $game_player.actor.state_stack(name)
change_color(normal_color, stack)
draw_icon(item.icon_index, rect.x, rect.y, stack)
rect.x += 24
rect.width -= 24
if item.name.empty?
draw_text(rect, name)
else
draw_text(rect, $game_text[item.name])
end
text = sprintf("%s/%s", stack, item.max_stacks)
draw_text(rect, text, 2)
end
def cursor_right(wrap = false)
SndLib.play_cursor
$game_player.actor.add_state(current_ext[0])
draw_item(index)
end
def cursor_left(wrap = false)
SndLib.play_cursor
$game_player.actor.remove_one_state(current_ext[0])
$game_player.actor.update_state_portrait_stat(current_ext[0])
draw_item(index)
end
def refresh_help_window
return if @list.empty?
entry = @list[@index]
return unless entry && entry[:ext] && entry[:ext][1]
desc_key = entry[:ext][1].description
text = prep_desc($game_text[desc_key])
override_help_window_text(text)
end
def prep_desc(desc)
return "" if desc.nil?
return "" if desc.end_with?("/description")
return "" if desc.end_with?("nil/nil")
begin
text = desc.dup
text.sub!(/^\\}\\n\f\\}/, "\\}") # Remove leading \n\f\}
text.sub!(/^\\}\\}/, "\\}") # Remove double \}
text.sub!(/^\\}\\n/, "\\}") # Remove leading \n
text.gsub!("\\n", " ") # Replace \n with space
text.strip # Remove leading/trailing spaces
rescue => e
p "Got #{e.message}"
""
end
end
end
class Game_Actor
def remove_one_state(state_id)
state_id = $data_StateName[state_id].id if state_id.is_a?(String)
return prp "erase_state #{state_id} not found", 1 if !state_id
@states.delete_at(@states.index(state_id) || @states.length) # Removes only one stacked instance.
return if state?(state_id) # Still stacked - stop here to avoid a bugged stack.
# @state_turns.delete(state_id)
@state_steps.delete(state_id)
end
end
@@ -0,0 +1,351 @@
FrameworkModule = {
name: "Levels",
key: :levels,
menu: :LEVELS,
order: 10,
depends_on: []
}
module MenuFramework
module SUBMENU
#--------------------------------------------------------------------------
# Character Editing Menu
#--------------------------------------------------------------------------
register_command(
group: :LONA,
type: :scene,
key: :edit_level,
label: "modules/character:commands/levels",
menu1: "menu:window_help/character1",
name: "CheatMenuLevels",
dict: :LEVELS,
order: 40
)
#--------------------------------------------------------------------------
# Levels
#--------------------------------------------------------------------------
register_command(
group: :LEVELS,
type: :edit_num,
key: "Max Level",
label: "modules/character:commands/levels/max_level",
state: "$cheat_variables_max_level",
hide: -> { $framework.roleplay_mod? },
gdef: 99,
min: 50, # Allowed below the 99 default.
max: 999,
order: 10
)
register_command(
group: :LEVELS,
type: :edit_num,
key: "Level",
label: "modules/character:commands/levels/level",
state: "$game_player.actor.level",
min: 1,
max: -> {$game_player.actor.max_level},
help1: "modules/character:command_help/lvl",
action: ->(v) { FrameworkUtils.set_character_level(v) },
order: 20
)
register_command(
group: :LEVELS, type: :action, key: "Level Up",
label: "modules/character:commands/levels/level_up", order: 21,
action: -> { FrameworkUtils.set_character_level($game_player.actor.level + 1) }
)
register_command(
group: :LEVELS, type: :action, key: "Level Down",
label: "modules/character:commands/levels/level_down", order: 22,
action: -> { FrameworkUtils.set_character_level($game_player.actor.level - 1) }
)
register_command(
group: :LEVELS, type: :action, key: "Level Max",
label: "modules/character:commands/levels/level_max", order: 23,
action: -> { FrameworkUtils.set_character_level($game_player.actor.max_level) }
)
register_command(
group: :LEVELS, type: :action, key: "Level Reset",
label: "modules/character:commands/levels/level_reset", order: 24,
action: -> { FrameworkUtils.set_character_level(1) }
)
register_command(
group: :LEVELS,
type: :edit_list,
key: "Exp Rate",
label: "modules/character:commands/levels/exp_rate",
help1: "modules/character:command_help/exp_rate1",
state: "$cheat_exp_rate",
list: [
{ key: 0, label: "[#{$framework.txt("menu:cheat_toggle/disable")}]" },
{ key: 1, label: "[x1]" },
{ key: 2, label: "[x2]" },
{ key: 4, label: "[x4]" },
{ key: 8, label: "[x8]" },
],
gdef: 1,
restart: 0,
order: 25
)
register_command(
group: :LEVELS,
type: :edit_num,
key: "Traits Per Level",
label: "modules/character:commands/levels/traits_per_level",
state: "$cheat_variables_traits_per_level",
hide: -> { $framework.roleplay_mod? },
gdef: 1,
help1: "modules/character:command_help/tpl1",
help2: "modules/character:command_help/lvl",
min: 1,
max: 20,
action: ->(v) { $cheat_variables_traits_per_level = v
$framework.ini.write_global("Traits Per Level", v)
$game_player.actor.trait_point = FrameworkUtils.calc_trait_points(false)
},
order: 30
)
register_command(
group: :LEVELS,
type: :edit_num,
key: "Max Traits",
label: "modules/character:commands/traits/max_traits",
state: "$cheat_variables_max_stat",
gdef: 99,
min: 99,
max: 999,
restart: true, # baked into LONA_STAT_DEFAULT at load time below - LonaActorStat.new only ever reads that snapshot
order: 40
)
register_command(
group: :LEVELS,
type: :edit_num,
key: "Trait Points",
label: "modules/character:commands/traits/trait_points",
state: "$game_player.actor.trait_point",
help1: -> {
to = FrameworkUtils.calc_trait_points(false)
text = "#{$framework.txt("modules/character:command_help/tp1")}: #{to}"
},
help2: -> {
ba,sk,tr,to = FrameworkUtils.calc_trait_points(true)
text = "#{ba}(#{$framework.txt("modules/character:command_help/tp2")}) - #{sk}(#{$framework.txt("modules/character:command_help/tp3")}) - #{tr}(#{$framework.txt("modules/character:command_help/tp4")}"
},
min: 0,
max: 9999,
action: ->(v) { $game_player.actor.trait_point = v },
order: 50
)
register_command(
group: :LEVELS,
type: :scene,
key: :edit_trait,
label: "modules/character:commands/traits",
menu1: "menu:window_help/character1",
name: "CheatMenuTraits",
dict: :TRAITS,
order: 60
)
#--------------------------------------------------------------------------
# Traits
#--------------------------------------------------------------------------
register_command(
group: :TRAITS,
type: :edit_num,
key: "Combat",
label: "modules/character:commands/traits/combat",
state: "$game_player.actor.combat_trait.to_i",
min: 0,
max: -> {$cheat_variables_max_stat},
action: ->(v) { FrameworkUtils.edit_trait("combat", v) },
order: 70
)
register_command(
group: :TRAITS,
type: :edit_num,
key: "Scout",
label: "modules/character:commands/traits/scoutcraft",
state: "$game_player.actor.scoutcraft_trait.to_i",
min: 0,
max: -> {$cheat_variables_max_stat},
action: ->(v) { FrameworkUtils.edit_trait("scoutcraft", v) },
order: 80
)
register_command(
group: :TRAITS,
type: :edit_num,
key: "Wisdom",
label: "modules/character:commands/traits/wisdom",
state: "$game_player.actor.wisdom_trait.to_i",
min: 0,
max: -> {$cheat_variables_max_stat},
action: ->(v) { FrameworkUtils.edit_trait("wisdom", v) },
order: 90
)
register_command(
group: :TRAITS,
type: :edit_num,
key: "Survival",
label: "modules/character:commands/traits/survival",
state: "$game_player.actor.survival_trait.to_i",
min: 0,
max: -> {$cheat_variables_max_stat},
action: ->(v) { FrameworkUtils.edit_trait("survival", v) },
order: 100
)
register_command(
group: :TRAITS,
type: :edit_num,
key: "Constitution",
label: "modules/character:commands/traits/constitution",
state: "$game_player.actor.constitution_trait.to_i",
min: 0,
max: -> {$cheat_variables_max_stat},
action: ->(v) { FrameworkUtils.edit_trait("constitution", v) },
order: 110
)
register_command(
group: :TRAITS,
type: :action,
key: "Reset Traits",
label: "modules/character:commands/traits/reset",
action: -> { FrameworkUtils.reset_all_traits },
help1: "modules/character:command_help/reset1",
help2: "modules/character:command_help/reset2",
order: 120
)
end
end
module FrameworkUtils
def self.set_character_level(requested_level)
actor = $game_player && $game_player.actor
return unless actor
target = [[requested_level.to_i, 1].max, actor.max_level.to_i].min
actor.change_level(target, true)
actor.trait_point = [calc_trait_points(false), 0].max unless $framework.roleplay_mod?
actor.recalculate_stats if actor.respond_to?(:recalculate_stats)
end
def self.update_variables
$game_player.actor.recalculate_stats #Attempts to use existing function
end
def self.edit_trait(skill, new_value)
actor = $game_player.actor
current = actor.send("#{skill}_trait")
change = new_value.to_i - current.to_i
actor.send("#{skill}_trait=", new_value.to_i)
actor.trait_point += -change
actor.recalculate_stats
end
def self.calc_trait_skills
actor = $game_player.actor
traits = System_Settings::TRAIT::LIST.flatten
blank = System_Settings::TRAIT::BLANK_ID
# Get all valid trait names (no tmp, no blanks)
valid_traits = traits.reject { |t| t.nil? || t == blank || t == "tmp" }.uniq
# Count how many the actor has
match_count = valid_traits.count { |t| actor.stat[t] == 1 }
end
def self.calc_trait_points(math=false)
actor = $game_player.actor
base = actor.level * $cheat_variables_traits_per_level
skills = calc_trait_skills
traits = actor.combat_trait + actor.scoutcraft_trait + actor.wisdom_trait +
actor.survival_trait + actor.constitution_trait
total = base - skills - traits
return base.to_i,skills.to_i,traits.to_i,total.to_i if math
total
end
def self.reset_all_traits
actor = $game_player.actor
reset_trait_skills
%w[combat scoutcraft wisdom survival constitution].each do |stat|
actor.send("#{stat}_trait=", 0)
end
actor.recalculate_stats
actor.trait_point = calc_trait_points
end
def self.reset_trait_skills
actor = $game_player.actor
traits = System_Settings::TRAIT::LIST.flatten
blank = System_Settings::TRAIT::BLANK_ID
valid_traits = traits.reject { |t| t.nil? || t == blank || t == "tmp" }.uniq
valid_traits.each do |t|
FrameworkUtils.custom_state_edit(t,-1) if actor.stat[t] != 0
end
end
end
# Overrides UI to allow trait assignment
class Game_Actor < Game_Battler
def basic_trait_addable?(tmpVal)
tmpVal <= $cheat_variables_max_stat
end
end
# Raises the caps LonaActorStat.new reads for max stats and traits.
class LonaActorStat < ActorStat
def self.override_stat(max_val)
[0, 0, max_val, max_val, 0, 0, 0]
end
# Define defaults for both core stats and traits
%w[constitution survival wisdom combat scoutcraft
constitution_trait survival_trait wisdom_trait combat_trait scoutcraft_trait].each do |stat|
LONA_STAT_DEFAULT[stat] = [override_stat($cheat_variables_max_stat), 0]
end
end
#--------------------------------------------------------------------------
# RolePlay-S Compatibility Overrides
#--------------------------------------------------------------------------
unless $framework.roleplay_mod?
class Game_Actor < Game_Battler
def max_level
return [[$cheat_variables_max_level.to_i, 1].max, 999].min
end
# Sets experience to next level, level 99 is last on the table.
def param_base(param_id)
level_to_check = [[@level,99].min,0].max
self.class.params[param_id, level_to_check]
end
end
# Overrides how many traits are earned at level up.
class Game_Actor < Game_Battler
def level_up
@level += 1
@trait_point +=$cheat_variables_traits_per_level
self.class.learnings.each do |learning|
learn_skill(learning.skill_id) if learning.level == @level
end
end
end
end
#--------------------------------------------------------------------------
# Exp Rate
#--------------------------------------------------------------------------
# gain_exp always multiplies by this before truncating to an int - RolePlay-S's
# own gain_exp override still calls through to this same original method.
if $cheat_exp_rate != 0
class Game_Actor
alias_method :cf_exp_rate_final_exp_rate, :final_exp_rate
def final_exp_rate
return cf_exp_rate_final_exp_rate unless $cheat_exp_rate > 0
(cf_exp_rate_final_exp_rate * $cheat_exp_rate).round
end
end
end
@@ -0,0 +1,207 @@
FrameworkModule = {
name: "Main Stats",
key: :main_stats,
order: 90,
depends_on: []
}
#--------------------------------------------------------------------------
# Menu Commands
#--------------------------------------------------------------------------
module MenuFramework
module SUBMENU
register_command(
group: :TOGGLES,
type: :toggle,
key: "Infinite Health",
label: "modules/mainstatus:toggle/health",
state: "$cheat_infinite_health",
hotkey: {key: "F4"},
gdef: false,
order: 10
)
register_command(
group: :TOGGLES,
type: :toggle,
key: "Infinite Stamina",
label: "modules/mainstatus:toggle/stamina",
state: "$cheat_infinite_stamina",
hotkey: {key: "F4"},
gdef: false,
order: 20
)
register_command(
group: :TOGGLES,
type: :toggle,
key: "Infinite Food",
label: "modules/mainstatus:toggle/food",
state: "$cheat_infinite_food",
hotkey: {key: "F4"},
gdef: false,
order: 30
)
#--------------------------------------------------------------------------
# Legacy Cheats
#--------------------------------------------------------------------------
register_command(
group: :MISC,
type: :action,
key: "Heal",
label: "modules/mainstatus:misc/heal",
enable: -> { !($cheat_infinite_health && $cheat_infinite_stamina && $cheat_infinite_food) },
action: -> {
FrameworkUtils.health_to_max
FrameworkUtils.stamina_to_max
FrameworkUtils.food_to_max
},
order: 10
)
register_command(
group: :MISC,
type: :action,
key: "Heal Wound",
label: "modules/mainstatus:misc/heal_wound",
enable: -> { !$cheat_autobandage },
action: -> { $game_player.actor.heal_wound },
help1: "modules/mainstatus:command_help/heal_wound",
order: 20
)
register_command(
group: :MISC,
type: :action,
key: "Faint",
enable: -> { !$cheat_infinite_stamina },
label: "modules/mainstatus:misc/faint",
action: -> { $game_player.actor.sta = -100 },
order: 30
)
#--------------------------------------------------------------------------
# Money Cheats
#--------------------------------------------------------------------------
register_command(
group: :TOGGLES,
type: :toggle,
key: "Infinite Money",
label: "modules/mainstatus:toggle/money",
state: "$cheat_infinite_money",
gdef: false,
order: 40
)
register_command(
group: :MISC,
type: :action,
key: "Money Now",
label: "modules/mainstatus:misc/money",
enable: -> {!$cheat_infinite_money},
action: -> { $game_party.set_gold_only(99999) },
order: 40
)
#--------------------------------------------------------------------------
# Lona Vulnerable
#--------------------------------------------------------------------------
register_command(
group: :TOGGLES,
type: :toggle,
key: "Lona Vulnerable",
label: "modules/mainstatus:toggle/vulnerable",
help1: "modules/mainstatus:command_help/vulnerable1",
state: "FrameworkUtils.lona_vulnerable?",
order: 90,
action: -> { $story_stats['CF_lona_vulnerable'] = FrameworkUtils.lona_vulnerable? ? 0 : 1 }
)
end
end
#--------------------------------------------------------------------------
# Hotkey Hook
#--------------------------------------------------------------------------
class CheatFramework
alias_method :hotkey_trigger_INFINITESTATS, :hotkey_trigger
def hotkey_trigger
hotkey_trigger_INFINITESTATS
FrameworkUtils.apply_infinite_stats
end
end
# Refills Infinite Health before each death check; releases Lona Vulnerable the instant she collapses, so she isn't pinned back to 0 on waking.
class Game_Actor
alias_method :determine_death_LONA_VULNERABLE, :determine_death
def determine_death
FrameworkUtils.health_to_max if $cheat_infinite_health && $game_player && self == $game_player.actor
was_death = @action_state == :death
determine_death_LONA_VULNERABLE
$story_stats['CF_lona_vulnerable'] = 0 if !was_death && @action_state == :death && FrameworkUtils.lona_vulnerable?
end
end
#--------------------------------------------------------------------------
# Per-Tick Application
#--------------------------------------------------------------------------
module FrameworkUtils
def self.apply_infinite_stats
return unless self.ingame?
actor = $game_player.actor
return unless actor
if $cheat_infinite_health; health_to_max end
apply_stamina_lock if $cheat_infinite_stamina || lona_vulnerable?
if $cheat_infinite_food; food_to_max end
if $cheat_infinite_money; money_to_max end
end
def self.lona_vulnerable?
$story_stats['CF_lona_vulnerable'] == 1
end
# Vulnerable alone only caps from above, so she can still faint for real; combined with
# Infinite Stamina, a plain top-up would put her back at full, so this pins her at 0 instead.
def self.apply_stamina_lock
actor = $game_player.actor
# Water's broken (base game's own "ready to birth" check) - let contractions/birth drain sta through, she's meant to faint here.
return if actor.preg_level == 5 && $story_stats['dialog_ready_to_birth'] == 0
if $cheat_infinite_stamina && lona_vulnerable?
actor.sta = 0 if actor.sta != 0
elsif $cheat_infinite_stamina
stamina_to_max
else
actor.sta = 0 if actor.sta > 0
end
end
def self.health_to_max
actor = $game_player.actor
max_hp = actor.battle_stat.get_stat("health", ActorStat::MAX_STAT)
actor.health = max_hp if actor.health < max_hp
end
def self.stamina_to_max
actor = $game_player.actor
max_stam = actor.battle_stat.get_stat("sta", ActorStat::MAX_STAT)
actor.sta = max_stam if actor.sta < max_stam
end
def self.food_to_max
actor = $game_player.actor
max_sat = actor.battle_stat.get_stat("sat", ActorStat::MAX_STAT)
actor.sat = max_sat if actor.sat < max_sat
end
def self.money_to_max
actor = $game_player.actor
$game_party.set_gold_only(99999) if $game_party.gold != 99999
end
end
#Used by money cheats
class Game_Party
def set_gold_only(amount)
@gold = amount
end
end
@@ -0,0 +1,228 @@
#==============================================================================
# CheatFramework — Male Skin (multiplayer /maleskin)
#------------------------------------------------------------------------------
# Character > Male Skin with categories of all -char-M-* sheets.
#==============================================================================
FrameworkModule = {
name: "Male Skin",
key: :male_skin,
menu: :MALESKIN,
depends_on: [],
order: 72
}
module MenuFramework
module SUBMENU
# [sheet, max_index_or_nil] — nil = all parts with a body.
MALE_SKIN_CATEGORIES = [
{
key: :villagers,
label: "modules/character:commands/male_skin/cat_villagers",
dict: :MALESKIN_VILLAGERS,
scene: "CheatMenuMaleSkinVillagers",
sheets: %w[-char-M-REGULAR01 -char-M-REGULAR02 -char-M-REGULAR03 -char-M-REGULAR04]
},
{
key: :fat,
label: "modules/character:commands/male_skin/cat_fat",
dict: :MALESKIN_FAT,
scene: "CheatMenuMaleSkinFat",
sheets: %w[-char-M-FAT01 -char-M-FAT-ABOM01 -char-M-FAT-FISHKIND01 -char-M-FAT-FROGMAN01]
},
{
key: :teens,
label: "modules/character:commands/male_skin/cat_teens",
dict: :MALESKIN_TEENS,
scene: "CheatMenuMaleSkinTeens",
sheets: %w[-char-M-TEEN01 -char-M-TEEN-FISHKIND01 -char-M-TEEN-FROGMAN01]
},
{
key: :undead,
label: "modules/character:commands/male_skin/cat_undead",
dict: :MALESKIN_UNDEAD,
scene: "CheatMenuMaleSkinUndead",
sheets: %w[-char-M-REG_UNDEAD01 -char-M-TEEN_UNDEAD01]
},
{
key: :orkind,
label: "modules/character:commands/male_skin/cat_orkind",
dict: :MALESKIN_ORKIND,
scene: "CheatMenuMaleSkinOrkind",
sheets: %w[-char-M-ORC01 -char-M-OGRE01]
},
{
key: :goblins,
label: "modules/character:commands/male_skin/cat_goblins",
dict: :MALESKIN_GOBLINS,
scene: "CheatMenuMaleSkinGoblins",
sheets: %w[-char-M-GOBLIN01 -char-M-HOBGOBLIN01 -char-M-HOBGOBLIN-RD01]
},
{
key: :amphibians,
label: "modules/character:commands/male_skin/cat_amphibians",
dict: :MALESKIN_AMPHIBIANS,
scene: "CheatMenuMaleSkinAmphibians",
sheets: %w[-char-M-FISHKIND01 -char-M-FROGMAN01]
},
{
key: :giants,
label: "modules/character:commands/male_skin/cat_giants",
dict: :MALESKIN_GIANTS,
scene: "CheatMenuMaleSkinGiants",
sheets: %w[-char-M-GAINT01 -char-M-GAINT-FISHKIND01]
}
].freeze
def self.mp_cf_male_skin_ready?
defined?(WebSocket) &&
WebSocket.respond_to?(:mp_male_menu_apply_pick) &&
WebSocket.respond_to?(:mp_male_skin_disable)
rescue
false
end
def self.mp_cf_male_skin_label(sheet, idx)
base = sheet.to_s.sub(/^-char-M-/, "")
text_flag = "modules/character:commands/male_skin/skin_#{base.downcase.gsub(/[^a-z0-9]+/, '_')}"
label = $framework.txt(text_flag).to_s
label = base if label.empty? || label == "cheatframework:#{text_flag}"
"#{label} №#{idx}"
end
def self.mp_cf_male_skin_active_pick?(sheet, idx)
return false unless defined?(WebSocket) && WebSocket.respond_to?(:mp_male_menu_current_pick)
cur = WebSocket.mp_male_menu_current_pick
return false if cur.nil?
cur[0].to_s == sheet.to_s && cur[1].to_i == idx.to_i
rescue
false
end
def self.mp_cf_male_skin_off?
return true unless defined?(WebSocket) && WebSocket.respond_to?(:mp_male_skin_active?)
!WebSocket.mp_male_skin_active?
rescue
true
end
def self.mp_cf_male_skin_sheet_indices(sheet)
indices = []
begin
return indices unless defined?($chs_data) && $chs_data && $chs_data[sheet]
parts = $chs_data[sheet].parts
return indices unless parts
parts.each_with_index do |part, i|
next if part.nil?
if defined?(WebSocket) && WebSocket.respond_to?(:mp_male_pick_has_body?)
next unless WebSocket.mp_male_pick_has_body?(sheet, i)
end
indices << i
end
rescue
end
# Fallback: at least offer index 0 if CHS data not ready yet.
indices = [0] if indices.empty?
indices
end
def self.mp_cf_male_skin_sheet_available?(sheet)
return true unless defined?($chs_data) && $chs_data
!!$chs_data[sheet.to_s]
rescue
true
end
#--------------------------------------------------------------------------
# Character Editing Menu → Male Skin (root)
#--------------------------------------------------------------------------
register_command(
group: :LONA,
type: :scene,
key: :male_skin,
label: "modules/character:commands/male_skin",
menu1: "modules/character:window_help/male_skin1",
name: "CheatMenuMaleSkin",
dict: :MALESKIN,
order: 72,
hide: -> { !MenuFramework::SUBMENU.mp_cf_male_skin_ready? }
)
register_command(
group: :MALESKIN,
type: :action,
key: "Male Skin Off",
label: "modules/character:commands/male_skin/off",
color: -> { MenuFramework::SUBMENU.mp_cf_male_skin_off? ? 16 : 0 },
action: -> {
if defined?(WebSocket) && WebSocket.respond_to?(:mp_male_skin_disable)
WebSocket.mp_male_skin_disable
end
},
order: 10
)
register_command(
group: :MALESKIN,
type: :action,
key: "Male Skin Random",
label: "modules/character:commands/male_skin/random",
help1: "modules/character:command_help/male_skin_random",
action: -> {
if defined?(WebSocket) && WebSocket.respond_to?(:mp_male_skin_enable)
if WebSocket.respond_to?(:mp_male_skin_active?) && WebSocket.mp_male_skin_active?
WebSocket.mp_male_apply_villager_skin(true)
begin
sheet = $story_stats[WebSocket::MP_MALE_CHS_KEY].to_s if $story_stats
idx = $story_stats[WebSocket::MP_MALE_CHS_IDX_KEY].to_i if $story_stats
label = MenuFramework::SUBMENU.mp_cf_male_skin_label(sheet, idx)
WebSocket.mp_male_notify("Мужской скин: #{label}")
rescue
end
WebSocket.send_playersync_full("male_skin_on", true) if WebSocket.respond_to?(:send_playersync_full)
else
WebSocket.mp_male_skin_enable
end
end
},
order: 15
)
MALE_SKIN_CATEGORIES.each_with_index do |cat, ci|
register_command(
group: :MALESKIN,
type: :scene,
key: "Male Skin Cat #{cat[:key]}",
label: cat[:label],
name: cat[:scene],
dict: cat[:dict],
order: 30 + ci * 10
)
order_base = 10
cat[:sheets].each do |sheet|
short = sheet.to_s.sub(/^-char-M-/, "")
# Register a wide index range; hide empty / missing variants at open time.
(0..23).each do |idx|
register_command(
group: cat[:dict],
type: :action,
key: "Male Skin #{short} #{idx}",
label: -> { MenuFramework::SUBMENU.mp_cf_male_skin_label(sheet, idx) },
color: -> { MenuFramework::SUBMENU.mp_cf_male_skin_active_pick?(sheet, idx) ? 16 : 0 },
hide: -> {
!MenuFramework::SUBMENU.mp_cf_male_skin_sheet_available?(sheet) ||
!MenuFramework::SUBMENU.mp_cf_male_skin_sheet_indices(sheet).include?(idx)
},
action: -> {
if defined?(WebSocket) && WebSocket.respond_to?(:mp_male_menu_apply_pick)
WebSocket.mp_male_menu_apply_pick(sheet, idx)
end
},
order: order_base
)
order_base += 1
end
end
end
end
end
@@ -0,0 +1,179 @@
FrameworkModule = {
name: "Other Mods",
key: :othermods,
menu: :OTHERMODS,
order: 130
}
# Menu commands for optional companion mods: RolePlay-S, Lona Belly & Booba, Filter Visuals.
module MenuFramework
module MENU
# MAIN-menu rows don't support hide:, so the whole registration is gated instead.
if $framework.roleplay_mod? || $framework.bellybooba_mod? || $framework.filter_visuals_mod?
register_command(
type: :scene,
label: "modules/mods:commands/othermods",
name: "CheatMenuOtherMods",
order: 130
)
end
end
module SUBMENU
#--------------------------------------------------------------------------
# RolePlay-S
#--------------------------------------------------------------------------
if $framework.roleplay_mod?
register_command(
type: :toggle,
key: "Infinite Mana",
label: "modules/mods:commands/roleplays/mana",
state: "$cheat_infinite_mana",
hotkey: {key: "F4"},
gdef: false,
order: 30
)
register_command(
type: :edit_num,
key: "Mana Rage Max",
label: "modules/mods:commands/roleplays/mana_rage_max",
state: "$game_player.actor.mana_rage_max",
min: 40,
max: 5000,
action: ->(v) { FrameworkUtils.apply_mana_rage_max(v) },
order: 40
)
register_command(
type: :edit_num,
key: "Mana Rage",
label: "modules/mods:commands/roleplays/mana_rage",
state: "$game_player.actor.mana_rage",
min: -20,
max: -> { $game_player.actor.mana_rage_max },
action: ->(v) { $game_player.actor.mana_rage = v },
order: 50
)
register_command(
type: :toggle,
key: "Infinite Saves",
label: "modules/mods:commands/roleplays/saves",
state: "$cheat_infinite_saves",
gdef: false,
order: 60
)
end
#--------------------------------------------------------------------------
# Lona Belly & Booba
#--------------------------------------------------------------------------
register_command(
type: :toggle,
key: "Booba Cosmetic Mode",
label: "modules/mods:commands/othermods/booba_cosmetic",
state: "$lona_booba_cosmetic_mode",
hide: -> { !$framework.bellybooba_mod? },
order: 70,
action: -> { BoobaMod.toggle if defined?(BoobaMod) && BoobaMod.respond_to?(:toggle) }
)
#--------------------------------------------------------------------------
# Filter Visuals
#--------------------------------------------------------------------------
# whitecum/events need a restart to take effect (patch installed once at boot).
# The rest re-check $filter_visuals live on every bitmap load.
FILTER_VISUAL_TOGGLES = [
{ key: :whitecum, order: 90, restart: true },
{ key: :events, order: 100, restart: true },
{ key: :melanin, order: 110 },
{ key: :pubes, order: 120 },
{ key: :dirt, order: 130 },
{ key: :wounds, order: 140 },
{ key: :bleeding, order: 150 },
]
FILTER_VISUAL_TOGGLES.each do |cfg|
register_command(
type: :toggle,
key: "Filter Visuals #{cfg[:key]}",
label: "modules/mods:commands/othermods/filter_#{cfg[:key]}",
state: "$filter_visuals[:#{cfg[:key]}]",
hide: -> { !$framework.filter_visuals_mod? },
restart: cfg[:restart],
order: cfg[:order],
action: -> {
$filter_visuals[cfg[:key]] = !$filter_visuals[cfg[:key]]
FilterVisuals.write
}
)
end
end
end
#--------------------------------------------------------------------------
# RolePlay-S: Save System
#--------------------------------------------------------------------------
if $framework.roleplay_mod?
# Overrides the save system to prevent updating save counts.
class Menu_System
alias cheat_save_command_handler save_command_handler
def save_command_handler
if $cheat_infinite_saves
return SndLib.sys_buzzer if $story_stats["MenuSysSavegameOff"] >= 1
return SndLib.sys_buzzer if $story_stats["Setup_Hardcore"] >= 2
SceneManager.goto(Scene_Save)
else
cheat_save_command_handler
end
end
end
# Upon game load, reset the save count if infinite saves is enabled.
class Scene_Load < Scene_File
alias cheat_on_load_success on_load_success
def on_load_success
cheat_on_load_success
if $cheat_infinite_saves && $story_stats["YouCanSaveButOnlyOnce"] == 0
$story_stats["YouCanSaveButOnlyOnce"] = 1
end
end
end
#--------------------------------------------------------------------------
# RolePlay-S: Per-Tick Effects
#--------------------------------------------------------------------------
# Hooks the framework's hotkey tick to also apply RolePlayS's live effects.
class CheatFramework
alias_method :hotkey_trigger_ROLEPLAYS, :hotkey_trigger
def hotkey_trigger
hotkey_trigger_ROLEPLAYS
FrameworkUtils.apply_roleplays_cheats
end
end
module FrameworkUtils
def self.apply_roleplays_cheats
return unless self.ingame?
actor = $game_player.actor
return unless actor
if $cheat_infinite_mana; mana_to_max end
end
def self.mana_to_max
actor = $game_player.actor
max_mp = actor.battle_stat.get_stat("mp", ActorStat::MAX_STAT)
actor.mp = max_mp if actor.mp < max_mp
end
def self.apply_mana_rage_max(v)
actor = $game_player.actor
return unless actor && actor.actStat
stat = actor.actStat
stat.set_stat("mana_rage", v, ActorStat::MAX_TRUE)
stat.set_stat("mana_rage", v, ActorStat::MAX_STAT)
stat.check_current_stat("mana_rage")
end
end
end
@@ -0,0 +1,424 @@
FrameworkModule = {
name: "NPC Fixes",
key: :npc_fixes,
menu: :NPC
}
#--------------------------------------------------------------------------
# Menu Commands
#--------------------------------------------------------------------------
module MenuFramework
module SUBMENU
# Shared Disable / Off / On list, matching Fixes.rb's FIX_TOGGLE_LIST.
FIX_TOGGLE_LIST = [
{ key: -1, label: "[#{$framework.txt("menu:cheat_toggle/disable")}]" },
{ key: 0, label: "[#{$framework.txt("menu:cheat_toggle/off")}]" },
{ key: 1, label: "[#{$framework.txt("menu:cheat_toggle/on")}]" },
]
register_command(
type: :edit_list,
key: "Friendly Fire",
label: "modules/others:commands/friendlyfire",
help1: "modules/others:command_help/friendlyfire1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_friendly_fire_fix",
list: FIX_TOGGLE_LIST,
gdef: 0,
restart: -1,
order: 30
)
register_command(
type: :edit_list,
key: "Endless Contracts",
label: "modules/others:commands/endlesscontracts",
help1: "modules/others:command_help/endlesscontracts1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_infinite_companion",
list: FIX_TOGGLE_LIST,
gdef: 0,
restart: -1,
order: 40
)
register_command(
type: :edit_list,
key: "Prevent Death",
label: "modules/others:commands/immortal",
help1: "modules/others:command_help/immortal1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_companion_immortal",
list: FIX_TOGGLE_LIST,
gdef: 0,
restart: -1,
order: 45
)
register_command(
type: :edit_list,
key: "Irresistible",
label: "modules/others:commands/irresistible",
help1: "modules/others:command_help/irresistible1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_irresistible_companions",
list: FIX_TOGGLE_LIST,
gdef: 0,
restart: -1,
order: 46
)
register_command(
type: :edit_list,
key: "Beast Fix",
label: "modules/others:commands/beastfix",
help1: "modules/others:command_help/beastfix1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_beast_fix",
list: FIX_TOGGLE_LIST,
gdef: 0,
restart: true,
order: 47
)
register_command(
type: :edit_list,
key: "Companion Rape",
label: "modules/others:commands/companionrape",
help1: "modules/others:command_help/companionrape1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_companion_rape",
list: FIX_TOGGLE_LIST,
gdef: 0,
restart: -1,
order: 48
)
end
end
#--------------------------------------------------------------------------
# Friendly Fire Fix
#--------------------------------------------------------------------------
if $cheat_friendly_fire_fix >= 0
module Battle_System
alias_method :skill_result_check_ignore_tgt_nofriendlyfire, :skill_result_check_ignore_tgt
def skill_result_check_ignore_tgt(character, skill)
return skill_result_check_ignore_tgt_nofriendlyfire(character, skill) unless $cheat_friendly_fire_fix == 1
return true if block_friendly_fire(self, character, skill)
skill_result_check_ignore_tgt_nofriendlyfire(character, skill)
end
def block_friendly_fire(user, target, skill)
attacker = nil
targeted = nil
#Indirect attacks such as magic, arrows
if (user.class == Game_PorjectileCharacter || user.class == Game_DestroyableObject)
if user.event && user.event.summon_data && user.event.summon_data[:user]
source = user.event.summon_data[:user]
if source && source == $game_player
attacker = "Lona"
elsif source.respond_to?(:npc) && source.npc && source.npc.master == $game_player
attacker = "Ally"
elsif source.respond_to?(:npc) && source.npc && source.npc.master &&
source.npc.master.respond_to?(:npc) && source.npc.master.npc &&
source.npc.master.npc.master == $game_player
attacker = "AllySummon"
end
end
else
#Direct attacks such as melee
if user == $game_player.actor
attacker = "Lona"
elsif user.respond_to?(:master) && user.master == $game_player
attacker = "Ally"
elsif user.respond_to?(:master) && user.master && user.master.respond_to?(:npc) &&
user.master.npc && user.master.npc.master == $game_player
attacker = "AllySummon"
end
end
if target == $game_player
targeted = "Lona"
elsif target.respond_to?(:actor) && target.actor && target.actor.master == $game_player
targeted = "Ally"
elsif target.respond_to?(:actor) && target.actor && target.actor.master &&
target.actor.master.respond_to?(:npc) && target.actor.master.npc &&
target.actor.master.npc.master == $game_player
targeted = "AllySummon"
end
#Support magic/skill or target/attacker isn't an ally
return false if skill && skill.respond_to?(:is_support) && skill.is_support
return false unless attacker && targeted
true
end
end
end
#--------------------------------------------------------------------------
# Endless Contracts
#--------------------------------------------------------------------------
if $cheat_infinite_companion >= 0
# Expiry checks only act when these dates aren't nil, so nil stops auto-leaving.
class Game_Player
alias_method :cf_infinite_companion_record_companion_front_date, :record_companion_front_date
alias_method :cf_infinite_companion_record_companion_back_date, :record_companion_back_date
alias_method :cf_infinite_companion_record_companion_ext_date, :record_companion_ext_date
def record_companion_front_date
return cf_infinite_companion_record_companion_front_date unless $cheat_infinite_companion == 1
nil
end
def record_companion_back_date
return cf_infinite_companion_record_companion_back_date unless $cheat_infinite_companion == 1
nil
end
def record_companion_ext_date
return cf_infinite_companion_record_companion_ext_date unless $cheat_infinite_companion == 1
nil
end
end
end
#--------------------------------------------------------------------------
# Companion Incapacitation (shared helper used by both toggles below)
#--------------------------------------------------------------------------
class Game_NonPlayerCharacter
# True while a companion is incapacitated. Restores its receiver_type once healed above 1 HP.
def cf_incapacitated_companion_target?(target)
victim = target.respond_to?(:actor) ? target.actor : nil
return false unless victim.is_a?(Game_NonPlayerCharacter) && victim.instance_variable_get(:@cheat_incapacitated)
if victim.stat.get_stat("health") > 1
victim.instance_variable_set(:@cheat_incapacitated, false)
original = victim.instance_variable_get(:@cheat_original_receiver_type)
if original
victim.receiver_type = original
victim.instance_variable_set(:@cheat_original_receiver_type, nil)
end
end
victim.instance_variable_get(:@cheat_incapacitated)
end
end
#--------------------------------------------------------------------------
# Prevent Death
#--------------------------------------------------------------------------
if $cheat_companion_immortal >= 0
# A companion (@master == $game_player) survives lethal damage at 1 HP with sta forced to 0,
# triggering Fatigue/crawl mode instead of death, and can't be killer/assaulter-targeted while down.
class Game_NonPlayerCharacter
alias_method :cf_companion_immortal_process_death, :process_death
def process_death
return cf_companion_immortal_process_death unless $cheat_companion_immortal == 1
return cf_companion_immortal_process_death unless @master == $game_player
@cheat_incapacitated = true
@stat.set_stat("health", 1) if @stat.get_stat("health") <= 0
@stat.set_stat("sta", 0)
@target = nil
set_alert_level(0)
end
alias_method :cf_companion_immortal_process_ai_state, :process_ai_state
def process_ai_state(target, distance, signal, sensor_type)
cf_companion_immortal_process_ai_state(target, distance, signal, sensor_type)
return unless $cheat_companion_immortal == 1
return unless [:killer, :assaulter].include?(@ai_state)
return unless cf_incapacitated_companion_target?(target)
@ai_state = fucker?(target, friendly?(target)) ? :fucker : :none
set_ai_state_balloon
end
end
# Keeps Lona's health from reaching 0 (death) too - her stamina/overfatigue mechanic is untouched.
module FrameworkUtils
def self.apply_lona_death_lock
return unless $cheat_companion_immortal == 1 && ingame?
actor = $game_player.actor
actor.health = 1 if actor.health <= 0
end
end
# Applies the health floor inside determine_death so it holds against hits landing between ticks.
class Game_Actor
alias_method :cf_prevent_death_determine_death, :determine_death
def determine_death
FrameworkUtils.apply_lona_death_lock if $game_player && self == $game_player.actor
cf_prevent_death_determine_death
end
end
class CheatFramework
alias_method :hotkey_trigger_prevent_death_lona, :hotkey_trigger
def hotkey_trigger
hotkey_trigger_prevent_death_lona
FrameworkUtils.apply_lona_death_lock
end
end
end
#--------------------------------------------------------------------------
# Irresistible
#--------------------------------------------------------------------------
if $cheat_irresistible_companions >= 0
# Covers a companion Prevent Death has incapacitated, and Lona herself once her stamina hits 0.
class Game_NonPlayerCharacter
# Randomizes receiver_type from 3 (always struggles) to 1/2/4 (softer) while incapacitated.
alias_method :cf_irresistible_process_death, :process_death
def process_death
cf_irresistible_process_death
return unless $cheat_irresistible_companions == 1 && @master == $game_player && @cheat_incapacitated
return unless @receiver_type == 3
@cheat_original_receiver_type = @receiver_type
@receiver_type = [1, 2, 4].sample
end
# Forces fucker to true for an incapacitated companion or a 0-stamina Lona, bypassing aggro/stat checks.
alias_method :cf_irresistible_fucker?, :fucker?
def fucker?(target, friendly)
if $cheat_irresistible_companions == 1
return true if cf_incapacitated_companion_target?(target)
return true if target == $game_player && $game_player.actor.sta <= 0
end
cf_irresistible_fucker?(target, friendly)
end
# Re-derives killer/assaulter against a 0-stamina Lona as fucker-or-none.
alias_method :cf_irresistible_process_ai_state, :process_ai_state
def process_ai_state(target, distance, signal, sensor_type)
cf_irresistible_process_ai_state(target, distance, signal, sensor_type)
return unless $cheat_irresistible_companions == 1
return unless [:killer, :assaulter].include?(@ai_state)
return unless target == $game_player && $game_player.actor.sta <= 0
@ai_state = fucker?(target, friendly?(target)) ? :fucker : :none
set_ai_state_balloon
end
end
end
#--------------------------------------------------------------------------
# Beast Fix
#--------------------------------------------------------------------------
if $cheat_beast_fix >= 0
# WildBoar/WildDog/WildHorse ship reachable; CompDoggy/CompHorseCarry ship hard-disabled
# (sex==65535, never true) - companions get a higher weak threshold than wild animals.
BEAST_FIX_WEAK_THRESHOLD = {
"WildBoar" => 40,
"WildDog" => 40,
"WildHorse" => 80,
"CompDoggy" => 150,
"CompHorseCarry" => 150,
}
BEAST_FIX_FUCKER_SKILLS = ["NpcFuckerMh", "NpcFuckerSh", "NpcFuckerGrab"]
# chcg4's "Others" pose entries ship ~80px too high on y; only nudges a value still at the
# exact broken default, so an upstream fix becomes a silent no-op instead of double-applying.
BEAST_ALIGN_FIX = {
"chcg4_EventMouth_Others" => {from: 38, to: 118},
"chcg4_EventAnal_Others" => {from: 287, to: 367},
"chcg4_EventVag_Others" => {from: 262, to: 342},
}
class << DataManager
alias_method :cf_beastfix_load_mod_database, :load_mod_database
def load_mod_database
cf_beastfix_load_mod_database
return unless $cheat_beast_fix == 1
BEAST_FIX_WEAK_THRESHOLD.each do |name, weak|
npc = $data_npcs[name]
npc.fucker_condition = {"weak" => [weak, ">"], "sex" => [0, "="]} if npc
end
# Gives CompDoggy the grab/sex skills so it attempts the grab like other beasts.
doggy = $data_npcs["CompDoggy"]
doggy.skills_fucker = BEAST_FIX_FUCKER_SKILLS if doggy
parts = $data_lona_portrait && $data_lona_portrait[1]["chcg4"]
return unless parts
parts.each do |part|
fix = BEAST_ALIGN_FIX[part.part_name]
part.posY = fix[:to] if fix && part.posY == fix[:from]
end
end
end
# WildHorse/WildDog/CompDoggy's template graphic uses a chartype with no real sex-pose data,
# so grab() never reaches :sex - remap each to a working one, reusing existing matching art.
class Game_Event
alias_method :cf_beastfix_setup_charset_page_settings, :setup_charset_page_settings
def setup_charset_page_settings
if $cheat_beast_fix == 1 && @event && @page
case @event.name
when "WildHorse"
if @page.graphic.character_name == "-char-Creatures80C01"
@page.graphic.character_name = "-char-Creatures76MF01"
@page.graphic.character_index = 1
@page.graphic.pattern = 0
end
when "WildDog"
if @page.graphic.character_name == "-char-Creatures48C01"
@page.graphic.character_name = "-char-CreaturesDOG76M"
@page.graphic.character_index = 0
@page.graphic.pattern = 2
end
when "CompDoggy"
if @page.graphic.character_name == "-char-Creatures48C01"
@page.graphic.character_name = "-char-CreaturesDOG76M"
@page.graphic.character_index = 1
@page.graphic.pattern = 0
end
end
end
cf_beastfix_setup_charset_page_settings
end
end
end
#--------------------------------------------------------------------------
# Companion Rape
#--------------------------------------------------------------------------
if $cheat_companion_rape >= 0
# Lets a companion :fucker-target its own team instead of being filtered out as friendly -
# patches both independent checks. Needs Beast Fix (or similar) for the condition to be reachable.
CF_SENSOR_IFF_BYPASS_NAMES = []
class Game_NonPlayerCharacter
# Escape hatch for granting the bypass to something that isn't a recruited companion
# (@master == $game_player) yet, e.g. an NPC still under test.
def cf_companion_rape_ignore_iff?
@master == $game_player || CF_SENSOR_IFF_BYPASS_NAMES.include?(@npc_name)
end
alias_method :cf_companion_rape_process_target, :process_target
def process_target(target, distance, signal, sensor_type)
return cf_companion_rape_process_target(target, distance, signal, sensor_type) unless $cheat_companion_rape == 1
return if @event.chk_skill_eff_reserved
return if !target.actor
return process_target_lost if target.deleted? || (!$game_map.events.value?(target) && target != $game_player)
return process_target_lost if target && target.actor.action_state == :death
is_friend = friendly?(target)
return if is_friend && !fucker?(target, is_friend)
process_ai_state(target, distance, signal, sensor_type)
process_alert_level(target, distance, signal, sensor_type) if non_battle? && @ai_state != :none
return unless @alert_level == 2
@targetLock_HP = 10
case @ai_state
when :fucker; process_fucker(target, distance, signal, sensor_type)
when :killer; process_killer(target, distance, signal, sensor_type)
when :assaulter; process_assulter(target, distance, signal, sensor_type)
when :flee; process_flee(target, distance, signal, sensor_type)
else set_alert_level(0) if @fraction_mode == 1 || @fraction_mode == 4 || @fraction_mode == 2
end
end
end
class Sensors::Basic_Sensor
class << self
alias_method :cf_companion_rape_signal_IgnoreCheck, :signal_IgnoreCheck
def signal_IgnoreCheck(character, target, track_mode = false)
return cf_companion_rape_signal_IgnoreCheck(character, target, track_mode) unless $cheat_companion_rape == 1
return true if !target.is_actor?
return true if same_char?(target, character)
return true if ignore_dead? && target.npc.action_state == :death
return true if ignore_obj_chk(character, target)
return true if use_iff? && !character.actor.cf_companion_rape_ignore_iff? && character.actor.friendly?(target)
return true if friendly_only? && !character.actor.friendly?(target)
end
end
end
end
@@ -0,0 +1,277 @@
FrameworkModule = {
name: "Pregnancy",
key: :pregnancy,
menu: :PREGNANCY,
depends_on: [],
enabled: true
}
module MenuFramework
module SUBMENU
#--------------------------------------------------------------------------
# Pregnancy Menu
#--------------------------------------------------------------------------
register_command(
group: :LONA,
type: :scene,
key: :pregnancy,
label: "modules/pregnancy:commands/preg",
name: "CheatMenuPregnancy",
dict: :PREGNANCY,
order: 60
)
register_command(
group: :PREGNANCY,
type: :edit_list,
key: "Pregnancy Difficulty",
label: "modules/pregnancy:commands/difficulty",
state: "$cheat_pregnancy_difficulty",
gdef: -1,
help1: "modules/pregnancy:command_help/difficulty",
order: 10,
list: [
{ key: -1, label: "[#{$framework.txt("menu:cheat_toggle/off")}]" },
{ key: 0, label: "[#{$framework.txt("menu:cheat_toggle/hard")}]" },
{ key: 1, label: "[#{$framework.txt("menu:cheat_toggle/hell")}]" },
{ key: 2, label: "[#{$framework.txt("menu:cheat_toggle/doom")}]" }
]
)
register_command(
group: :PREGNANCY,
type: :edit_num,
key: "Seedbed",
label: "modules/pregnancy:commands/seedbed",
state: "$game_player.actor.stat['WombSeedBed']",
help1: "modules/pregnancy:command_help/seedbed",
min: 0,
max: 10,
order: 20,
action: ->(v) { FrameworkUtils.custom_state_edit("WombSeedBed", v) }
)
register_command(
group: :PREGNANCY,
type: :toggle,
key: "Protect Pregnancy",
label: "modules/pregnancy:commands/protect",
state: "$cheat_protect_pregnancy",
gdef: false,
help1: "modules/pregnancy:command_help/protect",
order: 30
)
#--------------------------------------------------------------------------
# Impregnate Submenu
#--------------------------------------------------------------------------
register_command(
group: :PREGNANCY,
type: :scene,
key: :impregnate,
label: "modules/pregnancy:commands/impreg",
name: "CheatMenuImpregnate",
dict: :IMPREGNATE,
order: 40,
menu1: "modules/pregnancy:menu_help/impreg_menu1",
menu4: "modules/pregnancy:menu_help/impreg_menu4"
)
register_command(
group: :IMPREGNATE,
type: :action,
key: "Human",
label: "modules/pregnancy:commands/impreg/human",
color: -> { $game_player.actor.baby_race == "Human" ? 16 : 0 },
action: -> { MenuFramework::Pregnancy.impregnate("Human") },
order: 10
)
register_command(
group: :IMPREGNATE,
type: :action,
key: "Moot",
label: "modules/pregnancy:commands/impreg/moot",
color: -> { $game_player.actor.baby_race == "Moot" ? 16 : 0 },
action: -> { MenuFramework::Pregnancy.impregnate("Moot") },
order: 20
)
register_command(
group: :IMPREGNATE,
type: :action,
key: "Deepone",
label: "modules/pregnancy:commands/impreg/deepone",
color: -> { $game_player.actor.baby_race == "Deepone" ? 16 : 0 },
action: -> { MenuFramework::Pregnancy.impregnate("Deepone") },
order: 30
)
register_command(
group: :IMPREGNATE,
type: :action,
key: "Fishkind",
label: "modules/pregnancy:commands/impreg/fishkind",
color: -> { $game_player.actor.baby_race == "Fishkind" ? 16 : 0 },
action: -> { MenuFramework::Pregnancy.impregnate("Fishkind") },
order: 40
)
register_command(
group: :IMPREGNATE,
type: :action,
key: "Orkind",
label: "modules/pregnancy:commands/impreg/orkind",
color: -> { $game_player.actor.baby_race == "Orkind" ? 16 : 0 },
action: -> { MenuFramework::Pregnancy.impregnate("Orkind") },
order: 50
)
register_command(
group: :IMPREGNATE,
type: :action,
key: "Goblin",
label: "modules/pregnancy:commands/impreg/goblin",
color: -> { $game_player.actor.baby_race == "Goblin" ? 16 : 0 },
action: -> { MenuFramework::Pregnancy.impregnate("Goblin") },
order: 60
)
register_command(
group: :IMPREGNATE,
type: :action,
key: "Abomination",
label: "modules/pregnancy:commands/impreg/abomination",
color: -> { $game_player.actor.baby_race == "Abomination" ? 16 : 0 },
action: -> { MenuFramework::Pregnancy.impregnate("Abomination") },
order: 70
)
register_command(
group: :IMPREGNATE,
type: :action,
key: "Clear",
label: "modules/pregnancy:commands/clear",
help1: "modules/pregnancy:command_help/clear1",
help2: "modules/pregnancy:command_help/clear2",
help4: "menu:command_help/execute",
color: -> { $game_player.actor.preg_level == 0 ? 8 : 0 },
action: -> { $game_player.actor.cleanup_after_birth },
enable: -> { !$cheat_protect_pregnancy },
order: 80
)
#--------------------------------------------------------------------------
# Pregnancy Status (hidden unless currently pregnant)
#--------------------------------------------------------------------------
register_command(
group: :PREGNANCY,
type: :info,
key: "BabyRace",
label: "modules/pregnancy:info/babyRace",
state: "$game_player.actor.baby_race",
hide: -> { $game_player.actor.preg_level == 0 },
order: 50
)
register_command(
group: :PREGNANCY,
type: :edit_num,
key: "PregRemaining",
label: "modules/pregnancy:commands/days",
state: "$game_player.actor.preg_whenGiveBirth?",
help1: "modules/pregnancy:command_help/length1",
help2: "modules/pregnancy:command_help/length2",
hide: -> { $game_player.actor.preg_level == 0 },
min: 0,
max: -> { $game_player.actor.preg_cycle.inject(0, :+) },
order: 60,
action: ->(v) { MenuFramework::Pregnancy.update_pregdays(v) }
)
register_command(
group: :PREGNANCY,
type: :edit_num,
key: "Baby Health",
label: "modules/pregnancy:commands/health",
state: "$game_player.actor.baby_health",
hide: -> { $game_player.actor.preg_level == 0 },
min: 0,
max: 5000,
order: 70,
action: ->(v) { $game_player.actor.baby_health = v }
)
end
# Helper functions too complex for an inline action: lambda.
module Pregnancy
def self.impregnate(baby_race)
actor = $game_player.actor
actor.cleanup_after_birth
actor.force_pregnancy(baby_race)
end
def self.update_pregdays(days)
actor = $game_player.actor
current = actor.preg_whenGiveBirth?
target = days
diff = current - target
return if diff == 0
# Shifts the conception date rather than the pregnancy length itself -
# length comes from an array fixed at conception; use difficulty to change that.
preg = Game_Date.new(*actor.preg_date)
if diff > 0
preg.decDays(diff)
elsif diff < 0
preg.addDays(-diff)
end
actor.preg_date = preg.date
actor.update_reproduction
actor.belly_size_control
end
end
end
# Checked every tick via slow_trigger below.
module FrameworkUtils
def self.protect_pregnancy
return unless self.ingame?
return if $game_player.actor.preg_level == 0
$game_player.actor.baby_health += 999 if $cheat_protect_pregnancy
end
end
class CheatFramework
alias_method :slow_trigger_ProtectPreg, :slow_trigger
def slow_trigger
slow_trigger_ProtectPreg
FrameworkUtils.protect_pregnancy
end
end
# Reopens Game_Actor directly (rather than aliasing) since it only needs
# access to the actor's own state, not to replace existing behavior.
class Game_Actor
# Mirrors set_preg(race, day=0) in Reproduction.rb.
def force_pregnancy(baby_race, day = 0)
return if empregnanted?
$story_stats["dialog_preg_exped"] = 1
@preg_date = $game_date.date
@preg_race = baby_race
@baby_race = baby_race
set_baby_health
add_state("WombSeedBed") if System_Settings::RACE_PREG_GEN_SEEDBED_LEVEL[@preg_race]
@preg_day = day
@preg_cycle = create_preg_cycle
set_preg_schedule
update_preg_level
end
end
# Overwrites create_preg_cycle in Reproduction.rb.
module Reproduction
def create_preg_cycle
seedbed_level = self.stat["WombSeedBed"]
seedbed_level_deduction=System_Settings::RACE_SEX_SETTING[@baby_race][1][seedbed_level]
# Uses $cheat_pregnancy_difficulty in place of the story hardcore setting when set.
difficulty = $cheat_pregnancy_difficulty >= 0 ? $cheat_pregnancy_difficulty : $story_stats["Setup_Hardcore"]
cycle_template = System_Settings::RACE_SEX_SETTING[@baby_race][0][difficulty]
preg_cycle=Array.new
for i in 0...cycle_template.length-1
daysNeeded = [cycle_template[i].to_a.sample-seedbed_level_deduction, 1].max
preg_cycle.push(daysNeeded)
end
preg_cycle.push(cycle_template.last.to_a.sample)
preg_cycle
end
end
@@ -0,0 +1,102 @@
FrameworkModule = {
name: "Primary Stats",
key: :primary,
menu: :PRIMARY,
order: 90,
depends_on: []
}
module MenuFramework
module SUBMENU
#--------------------------------------------------------------------------
# Character Editing Menu
#--------------------------------------------------------------------------
register_command(
group: :LONA,
type: :scene,
key: :edit_primary,
label: "modules/character:commands/primary",
menu1: "menu:window_help/character1",
name: "CheatMenuPrimary",
dict: :PRIMARY,
order: 10
)
#--------------------------------------------------------------------------
# Primary Stats
#--------------------------------------------------------------------------
register_command(
group: :PRIMARY,
type: :edit_num,
key: "Health",
label: "modules/character:commands/primary/health",
state: "$game_player.actor.health.to_i",
enable: -> {!$cheat_infinite_health},
min: -100,
max: 999,
action: ->(v) { $game_player.actor.health = v },
order: 10
)
register_command(
group: :PRIMARY,
type: :edit_num,
key: "Stamina",
label: "modules/character:commands/primary/stamina",
enable: -> {!$cheat_infinite_stamina},
state: "$game_player.actor.sta.to_i",
min: -100,
max: 200,
action: ->(v) { $game_player.actor.sta = v },
order: 20
)
register_command(
group: :PRIMARY,
type: :edit_num,
key: "Food",
label: "modules/character:commands/primary/food",
enable: -> {!$cheat_infinite_food},
state: "$game_player.actor.sat",
min: 0,
max: 200,
action: ->(v) { $game_player.actor.sat = v },
order: 30
)
register_command(
group: :PRIMARY,
type: :edit_num,
key: "Mood",
label: "modules/character:commands/primary/mood",
state: "$game_player.actor.mood",
min: -100,
max: 100,
action: ->(v) { $game_player.actor.mood = v },
order: 40
)
register_command(
group: :PRIMARY,
type: :edit_num,
key: "Arousal",
label: "modules/character:commands/primary/arousal",
state: "$game_player.actor.arousal",
min: 0,
max: 5000,
action: ->(v) { $game_player.actor.arousal = v },
order: 50
)
register_command(
group: :PRIMARY,
type: :edit_num,
key: "Morality",
label: "modules/character:commands/primary/morality",
state: "$game_player.actor.morality",
help1: "modules/character:command_help/moral",
min: -> {$game_player.actor.morality_plus - 200},
max: -> {100 + $game_player.actor.morality_plus - 200},
action: ->(v) {
$game_player.actor.morality_lona = v - $game_player.actor.morality_plus + 200
$game_player.actor.recalculate_stats
},
order: 60
)
end
end
@@ -0,0 +1,446 @@
FrameworkModule = {
name: "Race Changer",
key: :edit_race,
menu: :RACE
}
module MenuFramework
module SUBMENU
#--------------------------------------------------------------------------
# Character Editing Menu
#--------------------------------------------------------------------------
register_command(
group: :LONA,
type: :scene,
key: :edit_race,
label: "modules/character:commands/race",
menu1: "modules/character:window_help/race1",
name: "CheatMenuRace",
dict: :RACE,
order: 50
)
#--------------------------------------------------------------------------
# Race Commands
#--------------------------------------------------------------------------
register_command(
type: :action,
key: "Human",
label: "modules/character:commands/race/human",
color: -> { $game_player.actor.stat["RaceRecord"] == "Human" ? 16 : 0 },
action: -> { $game_player.actor.reBirthSetRace("Human") },
order: 10
)
register_command(
type: :action,
key: "Moot",
label: "modules/character:commands/race/moot",
color: -> { $game_player.actor.stat["RaceRecord"] == "Moot" ? 16 : 0 },
action: -> { $game_player.actor.reBirthSetRace("Moot") },
order: 20
)
register_command(
type: :action,
key: "Deepone",
label: "modules/character:commands/race/deepone",
color: -> { $game_player.actor.stat["RaceRecord"] == "PreDeepone" ? 16 : 0 },
action: -> { $game_player.actor.reBirthSetRace("Deepone") },
order: 30
)
register_command(
type: :action,
key: "True Deepone",
label: "modules/character:commands/race/truedeepone",
color: -> { $game_player.actor.stat["RaceRecord"] == "TrueDeepone" ? 16 : 0 },
action: -> { $game_player.actor.reBirthSetRace("TrueDeepone") },
order: 40
)
register_command(
type: :action,
key: "Human Abomination",
label: "modules/character:commands/race/abom_human",
color: -> { ($game_player.actor.stat["RaceRecord"] == "Abomination" && $game_player.actor.stat["Race"] == "Human") ? 16 : 0 },
action: -> { $game_player.actor.reBirthSetRace("HumanAbomination") ; $game_party.lose_item("ItemBluePotion",3) },
order: 50
)
register_command(
type: :action,
key: "Moot Abomination",
label: "modules/character:commands/race/abom_moot",
color: -> { ($game_player.actor.stat["RaceRecord"] == "Abomination" && $game_player.actor.stat["Race"] == "Moot") ? 16 : 0 },
action: -> { $game_player.actor.reBirthSetRace("MootAbomination") ; $game_party.lose_item("ItemBluePotion",3) },
order: 60
)
#--------------------------------------------------------------------------
# Race Cheats
#--------------------------------------------------------------------------
register_command(
group: :LONA,
type: :scene,
key: "Race Cheats",
label: "modules/character:commands/racecheats",
name: "CheatMenuRaceCheats",
dict: :RACECHEATS,
order: 55
)
# Shared Disable / Off / On list, matching Fixes.rb's FIX_TOGGLE_LIST.
FIX_TOGGLE_LIST = [
{ key: -1, label: "[#{$framework.txt("menu:cheat_toggle/disable")}]" },
{ key: 0, label: "[#{$framework.txt("menu:cheat_toggle/off")}]" },
{ key: 1, label: "[#{$framework.txt("menu:cheat_toggle/on")}]" },
]
# --- Deepone ---
register_command(
group: :RACECHEATS,
type: :info,
key: "Deepone Divider",
label: -> { "---#{$framework.txt("modules/character:commands/race/truedeepone")}---" },
order: 10
)
register_command(
group: :RACECHEATS,
type: :toggle,
key: "Sea Witch Awaken",
label: "modules/character:commands/race/skills/deepone",
state: "$game_player.actor.skill_learn?($data_skills[65])",
color: -> { ["TrueDeepone", "PreDeepone"].include?($game_player.actor.stat["RaceRecord"]) ? 0 : 8 },
action: -> { FrameworkUtils.skill_toggle(65) }, # BasicDeepOne
order: 40
)
register_command(
group: :RACECHEATS,
type: :edit_list,
key: "Deepone Can Communicate",
label: "modules/character:commands/deeponecommunicate",
help1: "modules/character:command_help/deeponecommunicate1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_deepone_weak_fix",
list: FIX_TOGGLE_LIST,
gdef: 0,
restart: -1,
order: 20
)
register_command(
group: :RACECHEATS,
type: :edit_list,
key: "Siren Summon Max",
label: "modules/character:commands/siren",
help1: "modules/character:command_help/siren1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_max_sirens",
list: [
{ key: -1, label: "[#{$framework.txt("menu:cheat_toggle/off")}]" },
{ key: 2, label: "[2]" },
{ key: 4, label: "[4]" },
{ key: 6, label: "[6]" },
{ key: 8, label: "[8]" },
{ key: 10, label: "[10]" },
{ key: 12, label: "[12]" },
],
gdef: 2,
restart: -1,
order: 30
)
# --- Abomination ---
register_command(
group: :RACECHEATS,
type: :info,
key: "Abomination Divider",
label: -> { "---#{$framework.txt("modules/pregnancy:commands/impreg/abomination")}---" },
order: 50
)
register_command(
group: :RACECHEATS,
type: :toggle,
key: "Abom Desecrate Skill",
label: "modules/character:commands/race/skills/abomeat",
state: "$game_player.actor.skill_learn?($data_skills[67])",
color: -> { $game_player.actor.stat["RaceRecord"] == "Abomination" ? 0 : 8 },
action: -> { FrameworkUtils.skill_toggle(67) }, # BasicAbomEatDed
order: 70
)
register_command(
group: :RACECHEATS,
type: :toggle,
key: "Abom Tendril Whip",
label: "modules/character:commands/race/skills/abomgrab",
state: "$game_player.actor.skill_learn?($data_skills[66])",
color: -> { $game_player.actor.stat["RaceRecord"] == "Abomination" ? 0 : 8 },
action: -> { FrameworkUtils.skill_toggle(66) }, # BasicAbomGrab
order: 80
)
register_command(
group: :RACECHEATS,
type: :edit_list,
key: "Abomination Skill Fix",
label: "modules/character:commands/abomskillfix",
help1: "modules/character:command_help/abomskillfix1",
help2: "menu:command_help/fixcommand2",
state: "$cheat_abomination_skill_fix",
list: FIX_TOGGLE_LIST,
gdef: 0,
restart: -1,
order: 60
)
end
end
module FrameworkUtils
def self.skill_toggle(skillid)
actor = $game_player.actor
if actor.skill_learn?($data_skills[skillid])
actor.forget_skill(skillid)
else
actor.learn_skill(skillid)
end
end
end
#--------------------------------------------------------------------------
# Deepone Can Communicate
#--------------------------------------------------------------------------
if $cheat_deepone_weak_fix >= 0
# Lets True Deepone trigger NPC events normally instead of being hard-blocked.
class Game_Player
alias_method :cf_deepone_weak_fix_cannotTriggerBecauseTrueDeepone, :cannotTriggerBecauseTrueDeepone
def cannotTriggerBecauseTrueDeepone(tmpEvent)
return cf_deepone_weak_fix_cannotTriggerBecauseTrueDeepone(tmpEvent) unless $cheat_deepone_weak_fix == 1
false
end
end
# Strips the game's own True Deepone race-gate block out of these HCGframes files at load time.
module DeeponeWeakFixPatch
extend self
GUARD = 'if $game_player.actor.stat["RaceRecord"] == "TrueDeepone"'
BLOCK_OPENER = /\A(if|unless|case|while|until|def|class|module|begin)\b/
TARGET_PATHS = %w[
Data/HCGframes/encounter/BanditMobs.rb
Data/HCGframes/encounter/CommonMobs.rb
Data/HCGframes/encounter/FishPPL.rb
Data/HCGframes/encounter/GangDebtCollet.rb
Data/HCGframes/encounter/NobleGuards.rb
Data/HCGframes/encounter/NoerGuards.rb
Data/HCGframes/encounter/NoerHomeless.rb
Data/HCGframes/encounter/NoerMissionary.rb
Data/HCGframes/encounter/RoadHalp.rb
Data/HCGframes/event/OvermapDoomArmory.rb
Data/HCGframes/event/OvermapDoomFortress.rb
Data/HCGframes/event/OvermapNoerGateEast.rb
Data/HCGframes/event/OvermapNoerGateNoble.rb
Data/HCGframes/event/OvermapNoerGateNorth.rb
Data/HCGframes/event/OvermapPirateBane.rb
Data/HCGframes/event/FishkindCaveCompExtUQConvoy.rb
Data/HCGframes/event/OrkindCaveCompExtUQConvoy.rb
]
NOER_OUTA_NEEDA_HELP = "Data/HCGframes/encounter/NoerOutaNeedaHelp.rb"
# Tracks block depth since some files nest a case/end inside the guard.
def strip_race_gate(text)
lines = text.lines.to_a
guard_i = lines.index { |l| l.strip == GUARD }
return text unless guard_i
depth = 1
((guard_i + 1)...lines.length).each do |i|
stripped = lines[i].strip
depth += 1 if stripped =~ BLOCK_OPENER
depth -= 1 if stripped == "end"
next unless depth == 0
return (lines[0...guard_i] + lines[(i + 1)..-1]).join
end
text
end
end
alias cf_deepone_weak_fix_load_script load_script
def load_script(path)
return cf_deepone_weak_fix_load_script(path) unless $cheat_deepone_weak_fix == 1
unless DeeponeWeakFixPatch::TARGET_PATHS.include?(path) || path == DeeponeWeakFixPatch::NOER_OUTA_NEEDA_HELP
return cf_deepone_weak_fix_load_script(path)
end
text = File.open(path, 'rb', &:read)
text = path == DeeponeWeakFixPatch::NOER_OUTA_NEEDA_HELP ? text.gsub(/[ \t]*&&\s*!tmpTrueDeepone/, "") : DeeponeWeakFixPatch.strip_race_gate(text)
self.instance_eval(text, path)
rescue => ex
msgbox ex.message + "\n" + ex.backtrace.join("\n")
end
# TrueDeepone.json's +1000 "weak" penalty is a state effect load_script doesn't
# touch - tag the ItemEffect instance so #adjust can zero it out live.
class << DataManager
alias_method :cf_deepone_weak_fix_load_mod_database, :load_mod_database
def load_mod_database
cf_deepone_weak_fix_load_mod_database
state = $data_StateName["TrueDeepone"] # same lookup Game_Actor#add_state uses
lona_effect = state && state.instance_variable_get(:@lona_effect)
weak_effect = lona_effect && lona_effect.find { |e| e.attr == "weak" }
weak_effect.instance_variable_set(:@cf_deepone_weak_marker, true) if weak_effect
end
end
module ItemConfigs
class ItemEffect
alias_method :cf_deepone_weak_fix_adjust, :adjust
def adjust
return 0 if @cf_deepone_weak_marker && $cheat_deepone_weak_fix == 1
cf_deepone_weak_fix_adjust
end
end
end
end
#--------------------------------------------------------------------------
# Abomination Skill Fix
#--------------------------------------------------------------------------
if $cheat_abomination_skill_fix >= 0
class Game_Actor
alias_method :cf_abomination_skill_fix_check_Abom_heal_HealthSta, :check_Abom_heal_HealthSta
# Restores sat, stamina, and health, and heals wounds.
def check_Abom_heal_HealthSta(tmpCost = 10)
return cf_abomination_skill_fix_check_Abom_heal_HealthSta(tmpCost) unless $cheat_abomination_skill_fix == 1
self.heal_wound
tmpSTA = self.sta
tmpStaMax = self.battle_stat.get_stat("sta", 2)
tmpStaVS = ((tmpSTA - tmpStaMax).abs).to_i
tmpHp = self.health
tmpHpMax = self.battle_stat.get_stat("health", 2)
tmpHpVS = ((tmpHp - tmpHpMax).abs).to_i
tmpSat = self.sat
tmpSatMax = self.battle_stat.get_stat("sat", 2)
tmpSatVS = ((tmpSat - tmpSatMax).abs).to_i
if $story_stats["Setup_Hardcore"] >= 1
satScore = (tmpCost * 0.5).round
else
satScore = (tmpCost * 0.8).round
end
if tmpSatVS != 0 && satScore > 0
tmpSatInc = ([tmpSatVS, satScore].min).to_i
satScore -= tmpSatInc
self.sat += tmpSatInc
end
if tmpStaVS != 0 && satScore > 0
tmpStaInc = ([tmpStaVS, satScore].min).to_i
satScore -= tmpStaInc
self.sta += tmpStaInc
end
if tmpHpVS != 0 && satScore > 0
tmpHpInc = ([tmpHpVS, satScore].min).to_i
satScore -= tmpHpInc
self.health += tmpHpInc
end
true
end
end
class Game_Event
def abomEatDed
user = @summon_data[:user]
chkedNPC = $game_map.events_xy(user.x, user.y).select { |event|
next if event == user
next if event.deleted?
next if !event.npc?
next if event.actor.is_object
next if event.actor.race == "Undead"
next if !event.actor.dedAnimPlayed
event
}
user.actor.add_state(160)
if chkedNPC.empty?
$game_map.popup(0, "QuickMsg:Lona/CannotWorks#{rand(2)}", 0, 0)
SndLib.sys_buzzer
return delete
else
@zoom_x = 1
@zoom_y = 1
end
abomGrabSkillHoldEFX
if !chkedNPC.empty?
if user.actor.last_holding_count >= @summon_data[:skill].launch_max
user.actor.remove_state_stack(49) #Sickly
user.actor.remove_state_stack(30) #FeelsSick
tmpTarHP = chkedNPC[0].actor.battle_stat.get_stat("health", 3) / 4
tmpTarSAT = chkedNPC[0].actor.battle_stat.get_stat("sat", 3) / 5
tmpTarSTA = chkedNPC[0].actor.battle_stat.get_stat("sta", 3) / 6
bounsPointsToLona = tmpTarHP + tmpTarSTA + tmpTarSAT
user.actor.check_Abom_heal_HealthSta(bounsPointsToLona)
tmpHowManyBall = bounsPointsToLona / 50
summonTimes = [tmpHowManyBall, 6].min
summonTimes.times {
EvLib.sum(["WasteJumpBloodToPlayer", "WasteJumpBloodToPlayer2"].sample, user.x, user.y)
}
else
tmpTarHP = chkedNPC[0].actor.battle_stat.get_stat("health", 3)
tmpTarSAT = chkedNPC[0].actor.battle_stat.get_stat("sat", 3)
tmpTarSTA = chkedNPC[0].actor.battle_stat.get_stat("sta", 3)
tmpTarATK = chkedNPC[0].actor.battle_stat.get_stat("def", 3)
tmpTarDEF = chkedNPC[0].actor.battle_stat.get_stat("atk", 3)
tmpTarSUR = chkedNPC[0].actor.battle_stat.get_stat("survival", 3)
tmpData = {
:user => user,
:HP => tmpTarHP,
:SAT => tmpTarSAT,
:STA => tmpTarSTA,
:ATK => tmpTarATK,
:DEF => tmpTarDEF,
:SUR => tmpTarSUR,
}
EvLib.sum("ProjAbomSumTentacle", user.x, user.y, tmpData)
tmpBakDir = user.direction
user.combat_jump_reverse
user.direction = tmpBakDir
end
EvLib.sum("EffectOverKillReverse", chkedNPC[0].x, chkedNPC[0].y)
chkedNPC[0].effects = ["ZoomOutDelete", 0, false, nil, nil, [true, false].sample]
if $game_player.actor.stat["BloodLust"] == 1 || $game_player.actor.stat["Cannibal"] == 1
$game_player.actor.mood += 50
else
$game_player.actor.mood -= 10
end
end
end
end
end
#--------------------------------------------------------------------------
# Deepone Summon Max
#--------------------------------------------------------------------------
if $cheat_max_sirens >= 0
# Rewrites the summon-limit check baked into this event's own script commands.
class Game_Event
alias_method :cf_max_sirens_refresh, :refresh
def refresh
cf_max_sirens_refresh
return if @cheat_max_sirens_checked
@cheat_max_sirens_checked = true
return unless @summon_data
event = @event
return unless event
return unless event.name == "SummonDeeponeProjectile"
# Toggled to Disabled after this already installed this session - -1 would otherwise get
# interpolated straight into the rewritten command below and delete sirens on sight.
return if $cheat_max_sirens == -1
event.pages.each do |page|
next unless page.list
page.list.each do |cmd|
next unless cmd.code == 355 || cmd.code == 655
if cmd.parameters[0].include?("tmpQGcount >= 2")
cmd.parameters[0] =
"return self.delete if tmpQGcount >= #{$cheat_max_sirens}"
end
end
end
end
end
end
@@ -0,0 +1,71 @@
FrameworkModule = {
name: "Revive Menu",
key: :revive_menu,
menu: :REVIVE
}
module MenuFramework
module SUBMENU
#--------------------------------------------------------------------------
# Menu Commands
#--------------------------------------------------------------------------
register_command(
group: :NPC,
type: :scene,
key: :revive_menu,
label: "modules/revive:commands/revive",
name: "CheatMenuReviveNPC",
dict: :REVIVE,
menu3: "modules/revive:command/revive/menu3",
menu4: "modules/revive:command/revive/menu4",
order: 80
)
# List of NPC Variables
REVIVE_LIST = [
"UniqueCharUniqueCecily",
"UniqueCharUniqueGrayRat",
"UniqueCharUniqueCocona",
"UniqueCharUniqueLisa",
"UniqueCharUniqueElise",
"UniqueCharUniqueMaani",
"UniqueCharUniqueDavidBorn",
"UniqueCharUniquePigBobo",
"UniqueCharUniqueAdam",
"UniqueCharUniqueMilo",
"UniqueCharUniqueSeaWitch",
"UniqueCharUniqueTeller",
"UniqueCharUniqueHappyMerchant",
"UniqueCharUniqueTavernWaifu",
"UniqueCharUniqueFerrum",
"UniqueCharUniqueCaptainEdward",
"UniqueCharUniqueFatdalf",
"UniqueCharNoerSnowflake",
#"UniqueChar_NorthFL_SGT",
#"UniqueChar_NFL_MerCamp_Leader",
#"UniqueCharNoerRelayOut_PoorBoy",
#"UniqueChar_FishTownT_Shaman"
#"UniqueCharUniqueKillerRabbit"
#"UniqueCharUniqueOgreWarBoss"
#"UniqueCharUniqueGangBoss"
#"UniqueCharSMCloudVillage_Boss"
#"UniqueCharSMCloudVillage_BossAtk"
#"UniqueChar_OrcSlaveMaster"
]
REVIVE_LIST.each do |char_key|
register_command(
group: :REVIVE,
type: :action,
key: char_key,
color: -> { $story_stats[char_key] != -1 ? 8 : 0 },
label: "modules/revive:NPC/#{char_key}",
action: -> {
$story_stats[char_key] = 0
}
)
end
end
end
@@ -0,0 +1,222 @@
FrameworkModule = {
name: "Sexual Stats",
key: :sexual,
menu: :SEXUAL,
depends_on: []
}
module MenuFramework
module SUBMENU
#--------------------------------------------------------------------------
# Character Editing Menu
#--------------------------------------------------------------------------
register_command(
group: :LONA,
type: :scene,
key: :sexual,
label: "modules/character:commands/sexual",
menu1: "menu:window_help/character1",
name: "CheatMenuSexual",
dict: :SEXUAL,
)
#--------------------------------------------------------------------------
# Damage
#--------------------------------------------------------------------------
register_command(
group: :SEXUAL,
type: :edit_num,
key: "Vag Damage",
label: "modules/character:commands/sexual/dedit/v",
state: "$game_player.actor.vag_damage",
enable: -> { $game_player.actor.actStat.get_stat('vag_damage', 3) != 0 },
min: 0,
max: 5000,
action: ->(v) { $game_player.actor.vag_damage = v }
)
register_command(
group: :SEXUAL,
type: :edit_num,
key: "Urethra Damage",
label: "modules/character:commands/sexual/dedit/u",
state: "$game_player.actor.urinary_damage",
enable: -> { $game_player.actor.actStat.get_stat('urinary_damage', 3) != 0 },
min: 0,
max: 5000,
action: ->(v) { $game_player.actor.urinary_damage = v }
)
register_command(
group: :SEXUAL,
type: :edit_num,
key: "Anal Damage",
label: "modules/character:commands/sexual/dedit/a",
state: "$game_player.actor.anal_damage",
enable: -> { $game_player.actor.actStat.get_stat('anal_damage', 3) != 0 },
min: 0,
max: 5000,
action: ->(v) { $game_player.actor.anal_damage = v }
)
#--------------------------------------------------------------------------
# Damage Toggles
#--------------------------------------------------------------------------
register_command(
group: :SEXUAL,
type: :toggle,
key: "Toggle Vag Damage",
label: "modules/character:commands/sexual/dtoggle/v",
help1: "menu:command_help/local",
state: "$game_player.actor.actStat.get_stat('vag_damage', 3) == 0",
global: false,
action: -> {
if $game_player.actor.actStat.get_stat('vag_damage', 3) == 0
$game_player.actor.actStat.set_stat('vag_damage', 10000, 3)
else
$game_player.actor.actStat.set_stat('vag_damage', 0, 3)
end
$game_player.actor.refresh
})
register_command(
group: :SEXUAL,
type: :toggle,
key: "Toggle Urethra Damage",
label: "modules/character:commands/sexual/dtoggle/u",
help1: "menu:command_help/local",
state: "$game_player.actor.actStat.get_stat('urinary_damage', 3) == 0",
global: false,
action: -> {
if $game_player.actor.actStat.get_stat('urinary_damage', 3) == 0
$game_player.actor.actStat.set_stat('urinary_damage', 10000, 3)
else
$game_player.actor.actStat.set_stat('urinary_damage', 0, 3)
end
$game_player.actor.refresh
})
register_command(
group: :SEXUAL,
type: :toggle,
key: "Toggle Anal Damage",
label: "modules/character:commands/sexual/dtoggle/a",
help1: "menu:command_help/local",
state: "$game_player.actor.actStat.get_stat('anal_damage', 3) == 0",
global: false,
action: -> {
if $game_player.actor.actStat.get_stat('anal_damage', 3) == 0
$game_player.actor.actStat.set_stat('anal_damage', 10000, 3)
else
$game_player.actor.actStat.set_stat('anal_damage', 0, 3)
end
$game_player.actor.refresh
})
register_command(
group: :SEXUAL,
type: :action,
key: "Reset Sex Record",
label: "modules/character:commands/sexual/reset",
help1: "modules/character:command_help/sexual/reset",
action: -> { FrameworkUtils.clear_sex_record }
)
end
end
module FrameworkUtils
def self.clear_sex_record
$story_stats["dialog_vag_virgin"] = 1
$story_stats["dialog_anal_virgin"] = 1
$story_stats["sex_record_first_mouth"] = Array.new
$story_stats["sex_record_first_vag"] = Array.new
$story_stats["sex_record_first_anal"] = Array.new
$story_stats["sex_record_last_mouth"] = Array.new
$story_stats["sex_record_last_vag"] = Array.new
$story_stats["sex_record_last_anal"] = Array.new
$story_stats["sex_record_partner_count"]= Hash.new(0)
$story_stats["sex_record_race_count"] = Hash.new(0)
$story_stats["record_giveup_PeePoo"] = 0
$story_stats["record_Rebirth"] = 0
$story_stats["sex_record_cunnilingus_given_count"] = 0
$story_stats["sex_record_whore_job"] = 0
$story_stats["sex_record_kissed"] = 0
$story_stats["sex_record_privates_seen"] = 0
$story_stats["sex_record_groped"] = 0
$story_stats["sex_record_semen_swallowed"] = 0
$story_stats["sex_record_frottage"] = 0
$story_stats["sex_record_biggest_gangbang"] = 0
$story_stats["sex_record_seen_peeing"] = 0
$story_stats["sex_record_peed"] = 0
$story_stats["sex_record_shat"] = 0
$story_stats["sex_record_cumshotted"] = 0
$story_stats["sex_record_seen_shat"] = 0
$story_stats["sex_record_torture"] = 0
$story_stats["sex_record_eating_fecal"] = 0
$story_stats["sex_record_cunnilingus_taken"] = 0
$story_stats["sex_record_coma_sex"] = 0
$story_stats["sex_record_mindbreak"] = 0
$story_stats["sex_record_defecate_incontinent"] = 0
$story_stats["sex_record_urinary_incontinence"] = 0
$story_stats["sex_record_anal_dilatation"] = 0
$story_stats["sex_record_vag_dilatation"] = 0
$story_stats["sex_record_urinary_dilatation"] = 0
$story_stats["sex_record_BreastFeeding"] = 0
$story_stats["sex_record_MilkSplash"] = 0
$story_stats["sex_record_MilkSplash_incontinence"] = 0
$story_stats["sex_record_pregnancy"] = 0
$story_stats["sex_record_orgasm"] = 0
$story_stats["sex_record_orgasm_Mouth"] = 0
$story_stats["sex_record_orgasm_Torture"] = 0
$story_stats["sex_record_orgasm_Vag"] = 0
$story_stats["sex_record_orgasm_Milking"] = 0
$story_stats["sex_record_orgasm_Pee"] = 0
$story_stats["sex_record_orgasm_Poo"] = 0
$story_stats["sex_record_orgasm_Birth"] = 0
$story_stats["sex_record_orgasm_Anal"] = 0
$story_stats["sex_record_orgasm_Semen"] = 0
$story_stats["sex_record_orgasm_Breast"] = 0
$story_stats["sex_record_orgasm_Shame"] = 0
$story_stats["sex_record_enemaed"] = 0
$story_stats["sex_record_analbeads"] = 0
$story_stats["sex_record_pussy_wash"] = 0
$story_stats["sex_record_anal_wash"] = 0
$story_stats["sex_record_golden_shower"] = 0
$story_stats["sex_record_piss_drink"] = 0
$story_stats["record_CoconaVag"] = 0
$story_stats["record_CoconaOgrasm"] = 0
$story_stats["record_CoconaPeeWith"] = 0
$story_stats["sex_record_groin_harassment"] = 0
$story_stats["sex_record_butt_harassment"] = 0
$story_stats["sex_record_boob_harassment"] = 0
$story_stats["sex_record_handjob_count"] = 0
$story_stats["sex_record_anal_count"] = 0
$story_stats["sex_record_vaginal_count"] = 0
$story_stats["sex_record_mouth_count"] = 0
$story_stats["sex_record_cumin_vaginal"] = 0
$story_stats["sex_record_cumin_anal"] = 0
$story_stats["sex_record_cumin_mouth"] = 0
$story_stats["sex_record_masturbation_count"] = 0
$story_stats["sex_record_FloorClearnPee"] = 0
$story_stats["sex_record_FloorClearnScat"] = 0
$story_stats["sex_record_FloorClearnCums"] = 0
$story_stats["sex_record_miscarriage"] = 0
$story_stats["sex_record_baby_birth"] = 0
$story_stats["sex_record_birth_Abomination"] = 0
$story_stats["sex_record_birth_Goblin"] = 0
$story_stats["sex_record_birth_Human"] = 0
$story_stats["sex_record_birth_Deepone"] = 0
$story_stats["sex_record_birth_Moot"] = 0
$story_stats["sex_record_birth_Orkind"] = 0
$story_stats["sex_record_birth_Fishkind"] = 0
$story_stats["sex_record_birth_PotWorm"] = 0
$story_stats["sex_record_birth_MoonWorm"] = 0
$story_stats["sex_record_birth_PolypWorm"] = 0
$story_stats["sex_record_birth_HookWorm"] = 0
$story_stats["sex_record_birth_BabyLost"] = 0
end
end
@@ -0,0 +1,320 @@
FrameworkModule = {
name: "Summons",
key: :summons,
menu: :NONE,
depends_on: []
}
#--------------------------------------------------------------------------
# Menu Commands
#--------------------------------------------------------------------------
MenuFramework::MENU.register_command(
type: :scene,
key: :summon,
label: "modules/invedit:commands/summon",
name: "CheatMenuSummon",
dict: :SUMMON,
order: 3
)
#--------------------------------------------------------------------------
# Arena Summons - labeled with system names, not translated.
#--------------------------------------------------------------------------
MenuFramework::SUBMENU.register_command(
group: :SUMMON,
type: :scene,
key: :arena,
label: -> { "Arena" },
name: "CheatMenuSummon_Arena",
dict: :SUMMON_ARENA,
order: 200
)
# Arena fights read story points (cannon/bios/pillar) that only exist on the real arena map.
# stub_arena_storypoints (below) fakes them so these are summonable from anywhere.
ARENA_STORYPOINTS = %w[CannonCur DualBios CenterPillar]
ARENA_SUMMONS = %w[
ArenaEastColossus ArenaDeepTerror ArenaSexBeast ArenaFemdom ArenaFailedAdv
ArenaHoboDudes1 ArenaHoboDudes2 ArenaHoboDudes3
ArenaOrkindBro1 ArenaOrkindBro2 ArenaOrkindBro3
ArenaCecilyRBQ ArenaWildApeM1 ArenaWildDog1 ArenaWildDog2 ArenaWildDog3
ArenaSwine1 ArenaTeamRBQ1 ArenaTeamRBQ2
]
ARENA_SUMMONS.sort.each_with_index do |event_key, j|
MenuFramework::SUBMENU.register_command(
group: :SUMMON_ARENA,
type: :action,
key: event_key,
label: -> { event_key },
order: (j + 1) * 10,
action: -> { FrameworkUtils.summon_and_close(event_key) }
)
end
# NPC key -> [base template to spawn, graphic name, graphic index]. These have no event-lib
# template of their own, so a safe base template is spawned and reskinned into them instead.
REKSIN_SUMMONS = {
"MobHumanRaperM" => ["NeutralHumanCommonM", "-char-M-REGULAR02", 4],
"NeutralHumanPrisonerRaperM" => ["NeutralHumanCommonM", "-char-M-REGULAR04", 4],
"NeutralHumanPrisonMinerRaperM" => ["NeutralHumanCommonM", "-char-M-REGULAR01", 5]
}
#--------------------------------------------------------------------------
# Companion Disband Dialogue Patch
#--------------------------------------------------------------------------
# Elise/Lisa's talk-scripts don't offer a Disband option like Cecily/GrayRat do. Patches in a
# menu entry and its case branch at load time instead of replacing the files.
module FrameworkUtils
DISBANDABLE_COMPANION_SCRIPTS = ["Data/HCGframes/event/CompElise.rb", "Data/HCGframes/event/CompLisa.rb"]
DISBAND_MENU_ANCHOR = /(tmpQuestList << \[\$game_text\["commonComp:Companion\/Wait"\][^\r\n]*\r?\n)/
DISBAND_MENU_ENTRY = "\ttmpQuestList << [$game_text[\"commonComp:Companion/Disband\"]\t\t\t,\"Disband\"] if get_character(0).instance_variable_get(:@cheat_summoned)\r\n"
DISBAND_CASE_ANCHOR = /(get_character\(0\)\.follower\[1\]\s*=0\r?\n)(\s*end)/
DISBAND_CASE_BLOCK = "\twhen \"Disband\"\r\n" \
"\t\tcall_msg(\"common:Lona/Decide_optB\")\r\n" \
"\t\tcam_center(0)\r\n" \
"\t\tif $game_temp.choice == 1\r\n" \
"\t\t\tportrait_hide\r\n" \
"\t\t\tchcg_background_color(0,0,0,0,7)\r\n" \
"\t\t\t\tportrait_off\r\n" \
"\t\t\t\tget_character(0).set_this_companion_disband\r\n" \
"\t\t\tchcg_background_color(0,0,0,255,-7)\r\n" \
"\t\t\treturn portrait_hide\r\n" \
"\t\tend\r\n"
# Falls back to the untouched script if either anchor line has since changed upstream.
def self.patch_companion_disband(script)
return script unless script =~ DISBAND_MENU_ANCHOR && script =~ DISBAND_CASE_ANCHOR
script = script.sub(DISBAND_MENU_ANCHOR) { "#{$1}#{DISBAND_MENU_ENTRY}" }
script.sub(DISBAND_CASE_ANCHOR) { "#{$1}#{DISBAND_CASE_BLOCK}#{$2}" }
end
end
class Object
alias_method :load_script_cheat_summon_dialogue, :load_script
def load_script(path)
return load_script_cheat_summon_dialogue(path) unless FrameworkUtils::DISBANDABLE_COMPANION_SCRIPTS.include?(path)
use_alternative = FileGetter::COMPRESSED && File.file?(path)
real_path = $mod_load_script.fetch(path, path)
script = use_alternative ? File.read(real_path) : File.open(real_path, 'rb', &:read)
self.instance_eval(FrameworkUtils.patch_companion_disband(script), path)
rescue => ex
msgbox ex.message + "\n" + ex.backtrace.join("\n")
end
end
#--------------------------------------------------------------------------
# Summon Placement
#--------------------------------------------------------------------------
module FrameworkUtils
# Walks from the player until blocked, so summons land in front of them instead of on top.
def self.summon_target_tile(max_distance = 8)
actor = $game_player
x, y = actor.x, actor.y
d = actor.direction
max_distance.times do
break unless actor.passable?(x, y, d)
x = $game_map.round_x_with_direction(x, d)
y = $game_map.round_y_with_direction(y, d)
end
[x, y]
end
# Drops straight back to the map on success.
def self.summon_and_close(npc_key)
SndLib.sound_TeslaHit # plays immediately, before the summon itself finishes
tx, ty = summon_target_tile
stub = stub_arena_storypoints if ARENA_SUMMONS.include?(npc_key)
base_key, graphic_name, graphic_index = REKSIN_SUMMONS[npc_key]
event = $game_map.summon_event(base_key || npc_key, tx, ty)
stub.delete if stub
if event
if base_key
event.set_npc(npc_key)
event.set_graphic(graphic_name, graphic_index)
end
event.instance_variable_set(:@cheat_summoned, true)
event.give_light("cyanTesla")
@glowing_npcs << { event: event, revert_at: Graphics.frame_count + GLOW_DURATION }
end
exit_cheat_menu
rescue => e
p "Summon error #{npc_key}: #{e.message}"
end
# Pre-seeds record_companion_name_front/_back so both companions' cross-checks pass before either exists.
def self.summon_cecily_and_grayrat
$game_player.record_companion_name_front = "UniqueGrayRat"
$game_player.record_companion_name_back = "UniqueCecily"
SndLib.sound_TeslaHit
tx, ty = summon_target_tile
["UniqueGrayRat", "UniqueCecily"].each do |npc_key|
event = $game_map.summon_event(npc_key, tx, ty)
next unless event
event.instance_variable_set(:@cheat_summoned, true)
event.give_light("cyanTesla")
@glowing_npcs << { event: event, revert_at: Graphics.frame_count + GLOW_DURATION }
end
exit_cheat_menu
rescue => e
p "Summon error UniqueCecily+GrayRat: #{e.message}"
end
# Spawns a throwaway event and points the arena story points at it (deleted right after), instead
# of touching real story points. ARENA_MAP_VERDICT caches real-vs-fake once per map.
ARENA_MAP_VERDICT = {}
def self.stub_arena_storypoints
map_id = $game_map.map_id
points = $game_map.list_storypoints
verdict = ARENA_MAP_VERDICT[map_id] ||= (ARENA_STORYPOINTS.all? { |name| points.key?(name) } ? :real : :fake)
return nil if verdict == :real
stub = $game_map.summon_event("NeutralHumanCommonM", $game_player.x, $game_player.y)
return nil unless stub
stub.instance_variable_set(:@summon_data, {PlayerMatch: true})
ARENA_STORYPOINTS.each { |name| points[name] = [0, 0, stub.id] }
stub
end
# Pops the scene stack back to Scene_Map when possible, instead of rebuilding it from scratch.
def self.exit_cheat_menu
10.times do
return if SceneManager.scene_is?(Scene_Map)
break if SceneManager.scene.nil?
SceneManager.return
end
return if SceneManager.scene_is?(Scene_Map)
SceneManager.clear
SceneManager.goto(Scene_Map)
end
GLOW_DURATION = 30 # frames, ~0.5s
@glowing_npcs = []
def self.update_charge_effects
return if @glowing_npcs.empty?
now = Graphics.frame_count
due, active = @glowing_npcs.partition { |e| now >= e[:revert_at] }
due.each { |e| e[:event].drop_light }
@glowing_npcs = active
end
end
class CheatFramework
alias_method :hotkey_trigger_summon_charge, :hotkey_trigger
def hotkey_trigger
hotkey_trigger_summon_charge
FrameworkUtils.update_charge_effects
end
end
# Skips the kill-tally hook for a cheat-summoned NPC, read via @summon_data[:user].
class Game_Event
alias_method :trace_over_kill_cheat_summon, :traceOverKill
def traceOverKill(user, temp_killer, mora=nil, tarState=nil)
victim = @summon_data && @summon_data[:user]
return if victim && victim.instance_variable_get(:@cheat_summoned)
trace_over_kill_cheat_summon(user, temp_killer, mora, tarState)
end
end
#--------------------------------------------------------------------------
# Dynamic Summon Menu
#--------------------------------------------------------------------------
module MenuFramework
module Summons
extend self
# NPC key -> real event-lib template, for cases where they differ (e.g. followers).
MANUAL_SUMMONS = {
"UniqueElise" => "CompExtUniqueElise",
"UniqueLisa" => "CompExtUniqueLisa",
# Alpha-design ogre boss cut from the game, distinct from UniqueOgreWarBoss. Placed in Orc for now.
"OgreGayBoss" => "OgreGayBoss"
}
# Abom* traps and GoblinSlave* crash when summoned standalone (no fight target / no master NPC).
# UniqueCecily/UniqueGrayRat/HumanBaby are handled elsewhere (combined entry / dropped with Baby).
EXCLUDED_SUMMONS = %w[
AbomManagerTrap AbomSpiderTrap AbomCreatureGroundSpore
AbomCreatureTentacleHide AbomCreatureSpiderHideTrap AbomCreatureCocoon
GoblinSlaveWarrior GoblinSlaveSpear GoblinSlaveClub GoblinSlaveBow
UniqueCecily UniqueGrayRat HumanBaby
]
# Folders left out of the menu entirely.
SKIPPED_FOLDERS = %w[Baby]
def build_dynamic_summons
summonable_keys = []
$data_npcs.each do |npc|
next unless npc
summonable_keys << npc[0]
end
entries = []
$data_EventLib.each_key do |key|
next if EXCLUDED_SUMMONS.include?(key)
entries << [key, key] if summonable_keys.include?(key)
end
MANUAL_SUMMONS.each { |npc_key, event_key| entries << [npc_key, event_key] }
REKSIN_SUMMONS.each_key { |npc_key| entries << [npc_key, npc_key] }
entries << ["UniqueCecily+GrayRat", :cecily_and_grayrat]
folder_map = Hash.new { |h, k| h[k] = [] }
entries.each do |label, event_key|
camel = label.split(/(?=[A-Z])/).reject(&:empty?)
next if camel.empty?
# Rename some folders for better grouping
folder = {"Swine"=>"Wild","Player"=>"Baby","Deepone"=>"Fishkind","Gang"=>"Human","Ogre"=>"Orc"}.fetch(camel.first, camel.first)
folder_map[folder] << [label, event_key]
end
SKIPPED_FOLDERS.each { |folder| folder_map.delete(folder) }
folder_map.keys.sort.each_with_index do |folder, i|
dict = :"SUMMON_#{folder.upcase}"
MenuFramework::SUBMENU.register_command(
group: :SUMMON,
type: :scene,
key: folder,
label: -> {folder},
name: "CheatMenuSummon_#{folder}",
dict: dict,
order: (i + 1) * 10
)
# The :cecily_and_grayrat sentinel routes to summon_cecily_and_grayrat instead of a normal
# summon, since Cecily and GrayRat each require the other already set as a companion.
folder_map[folder].sort_by { |label, _| label }.each_with_index do |(label, event_key), j|
MenuFramework::SUBMENU.register_command(
group: dict,
type: :action,
key: label,
label: -> {label},
order: (j + 1) * 10,
action: -> {
event_key == :cecily_and_grayrat ? FrameworkUtils.summon_cecily_and_grayrat : FrameworkUtils.summon_and_close(event_key)
}
)
end
end
end
end
end
class << DataManager
alias_method :cf_summon_load_db, :load_database
def load_database
cf_summon_load_db
MenuFramework::Summons.build_dynamic_summons
end
end
@@ -0,0 +1,217 @@
#===============================================================================
# Teleport Module for Cheat Framework (с change_map_leave_tag_map)
#===============================================================================
FrameworkModule = {
name: "Teleportation",
key: :teleport,
menu: :TELEPORT,
order: 25,
depends_on: []
}
MenuFramework::MENU.register_command(
type: :scene,
key: :teleport_menu,
label: "modules/teleport:commands/title",
name: "CheatMenuTeleport",
dict: :TELEPORT,
order: 25
)
#-------------------------------------------------------------------------------
# категории и локации (без изменений)
#-------------------------------------------------------------------------------
module CFTeleport
OVERMAP_ID = 2
CATEGORIES = {
settlements: {
key: :settlements,
label: "modules/teleport:category/settlements",
locations: [
{ key: :noertown, x: 35, y: 99 },
{ key: :doom_stronghold, x: 49, y: 37 },
{ key: :aris_village, x: 71, y: 94 },
{ key: :pirates_bane, x: 93, y: 85 },
{ key: :south_gate_camp, x: 122, y: 54 },
{ key: :coastal_fortress, x: 90, y: 24 },
{ key: :nine_inch_tribe, x: 65, y: 48 },
{ key: :fishtopia_market, x: 117, y: 129 },
{ key: :bridge_fort, x: 101, y: 38 }
]
},
noertown_locations: {
key: :noertown_locations,
label: "modules/teleport:category/noertown_locations",
locations: [
{ key: :tavern, x: 33, y: 100 },
{ key: :coliseum, x: 35, y: 99 },
{ key: :east_trade, x: 33, y: 98 },
{ key: :sewer, x: 32, y: 96 },
{ key: :back_alleys, x: 31, y: 98 },
{ key: :bubba_smith, x: 29, y: 99 },
{ key: :toy_house, x: 27, y: 98 },
{ key: :warehouse_13, x: 25, y: 101 },
{ key: :prison, x: 26, y: 95 },
{ key: :cemetery, x: 23, y: 95 },
{ key: :parade_ground, x: 39, y: 99 },
{ key: :elis_clinic, x: 37, y: 98 },
{ key: :bank, x: 37, y: 100 },
{ key: :market, x: 35, y: 101 },
{ key: :port, x: 35, y: 103 },
{ key: :gold_ingot, x: 36, y: 95 },
{ key: :east_gate, x: 41, y: 99 }
]
},
outposts: {
key: :outposts,
label: "modules/teleport:category/outposts",
locations: [
{ key: :east_noertown_outpost, x: 60, y: 95 },
{ key: :east_doom_outpost, x: 72, y: 34 },
{ key: :north_pirates_outpost, x: 91, y: 69 }
]
},
camps: {
key: :camps,
label: "modules/teleport:category/camps",
locations: [
{ key: :refugee_monastery, x: 35, y: 79 },
{ key: :refugee_doom, x: 60, y: 41 },
{ key: :mercenary_camp, x: 97, y: 29 },
{ key: :swamp_camp, x: 108, y: 90 },
{ key: :fishfolk_camp, x: 72, y: 84 }
]
},
monster_lairs: {
key: :monster_lairs,
label: "modules/teleport:category/monster_lairs",
locations: [
{ key: :orkind_cave1, x: 28, y: 93 },
{ key: :orkind_cave2, x: 33, y: 82 },
{ key: :orkind_cave3, x: 51, y: 82 },
{ key: :orkind_cave4, x: 99, y: 70 },
{ key: :orkind_forest, x: 99, y: 76 },
{ key: :orkind_hut, x: 53, y: 60 },
{ key: :lost_caravan, x: 50, y: 89 },
{ key: :fishfolk_cave1, x: 74, y: 82 },
{ key: :fishfolk_cave1b2, x: 76, y: 85 },
{ key: :fishfolk_cave2, x: 117, y: 80 },
{ key: :fishfolk_cave3, x: 124, y: 129 },
{ key: :abomination_lair1, x: 79, y: 40 },
{ key: :abomination_lair2, x: 95, y: 56 },
{ key: :abomination_lair3, x: 123, y: 42 },
{ key: :bat_cave, x: 102, y: 42 }
]
},
points_of_interest: {
key: :points_of_interest,
label: "modules/teleport:category/points_of_interest",
locations: [
{ key: :saints_monastery, x: 33, y: 78 },
{ key: :mountain_monastery, x: 55, y: 67 },
{ key: :cloud_village, x: 49, y: 72 },
{ key: :bandit_shelter, x: 26, y: 69 },
{ key: :noertown_mine, x: 53, y: 94 },
{ key: :berserk_tomb, x: 69, y: 74 },
{ key: :abandoned_copper_mine, x: 48, y: 67 },
{ key: :woodson_manor, x: 51, y: 50 },
{ key: :doom_armory, x: 54, y: 40 },
{ key: :south_granary, x: 91, y: 30 },
{ key: :perranwey_village, x: 101, y: 28 },
{ key: :fallen_fortress, x: 101, y: 38 },
{ key: :looted_caravan, x: 122, y: 74 },
{ key: :abandoned_copper_town, x: 109, y: 69 },
{ key: :mass_grave, x: 98, y: 85 },
{ key: :good_island, x: 70, y: 137 },
{ key: :waterway, x: 127, y: 124 },
{ key: :remains_shore, x: 113, y: 127 },
{ key: :thorn_temple, x: 117, y: 126 },
{ key: :krusty_krab_pot, x: 120, y: 127 }
]
}
}
@pending = nil
@transfer_started = false
def self.request(x, y)
return false unless FrameworkUtils.ingame? && FrameworkUtils.cheats_allowed?
@pending = [x.to_i, y.to_i]
@transfer_started = false
# Exit the entire CheatFramework scene stack. One SceneManager.return only
# closes the location list and does not run Scene_Map#update yet.
SceneManager.goto(Scene_Map)
true
end
def self.update
return unless @pending
# Do not finish a queued teleport if OWNER privileges disappeared.
unless FrameworkUtils.cheats_allowed?
@pending = nil
@transfer_started = false
return
end
x, y = @pending
if $game_map.map_id.to_i == OVERMAP_ID
@pending = nil
@transfer_started = false
$game_player.moveto(x, y)
elsif !@transfer_started
@transfer_started = true
# A direct transfer avoids triggering story events at the exit or
# running change_map_leave_tag_map (which clears all carried gold).
$game_player.reserve_transfer(OVERMAP_ID, x, y, $game_player.direction)
end
rescue => e
@pending = nil
@transfer_started = false
p("[CheatFramework Teleport] " + e.to_s)
end
end
# Teleport appears *inside* the CheatFramework main menu, not in LonaRPG's / overlay.
CFTeleport::CATEGORIES.each do |cat_sym, cat_data|
MenuFramework::SUBMENU.register_command(
group: :TELEPORT,
type: :scene,
key: cat_data[:key],
label: cat_data[:label],
name: "CheatMenuTeleport_#{cat_data[:key].to_s.capitalize}",
dict: cat_data[:key].to_s.upcase.to_sym,
order: 0
)
cat_data[:locations].each do |loc|
MenuFramework::SUBMENU.register_command(
group: cat_data[:key].to_s.upcase.to_sym,
type: :action,
key: loc[:key],
label: "modules/teleport:location/#{loc[:key]}",
help1: "modules/teleport:help/#{loc[:key]}",
help4: "menu:command_help/execute",
action: -> {
if CFTeleport.request(loc[:x], loc[:y])
SndLib.sys_ok if defined?(SndLib)
else
SndLib.sys_buzzer if defined?(SndLib)
end
}
)
end
end
# Process queued transfer once the cheat menu has closed.
class Scene_Map
unless method_defined?(:cf_teleport_base_update)
alias_method :cf_teleport_base_update, :update
def update
cf_teleport_base_update
CFTeleport.update
end
end
end
@@ -0,0 +1,49 @@
FrameworkModule = {
name: "Unlock Gallery",
key: :unlock_gallery,
menu: :TOGGLES,
order: 90
}
MenuFramework::SUBMENU.register_command(
type: :toggle,
key: "Unlock Gallery",
label: "modules/others:commands/gallery",
state: "$cheat_unlock_gallery",
gdef: false,
order: 90
)
# Bypasses the gallery achievement check by rewriting the recollection room's
# own event conditions, so it keeps working even if new events are added.
class Game_Map
alias setup_event_hack_UnlockGallery setup_event_hack
def setup_event_hack
setup_event_hack_UnlockGallery
return unless $cheat_unlock_gallery
if @name == "NoerRecRoom" #Map075
override_matching(/^if DataManager.get_rec_constant/,"if true")
override_matching(/^if DataManager.get_constant/,"if true")
end
end
# Replaces matching script-command conditions across every event on the map.
def override_matching(condition_str, replacement_str, page_index = 0)
@map.events.each_value do |event|
next unless event && event.pages
page = event.pages[page_index]
next unless page && page.list.is_a?(Array)
page.list.each_with_index do |command, idx|
next unless command && [355, 655].include?(command.code)
next unless command.parameters.any? do |p|
p.is_a?(String) && (
condition_str.is_a?(Regexp) ? (p =~ condition_str) : p.include?(condition_str)
)
end
page.list[idx] = RPG::EventCommand.new(355, 0, [replacement_str])
end
end
end
end
Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

@@ -0,0 +1,514 @@
#==============================================================================
# CheatConfig
#------------------------------------------------------------------------------
# Handles config loading, saving, and tracking of hotkeys, variables,
# and per-module enable/disable states.
#==============================================================================
class FrameworkConfig
attr_reader :mod_ini
attr_reader :key_ini
attr_reader :var_ini
#--------------------------------------------------------------------------
# Legacy Global Variable Fixes
#--------------------------------------------------------------------------
# Fixes for stale "Global Variables" entries in globals.ini carried over from an older config.
# Applied once at startup, before anything else reads globals.ini.
# {type: :value, key:, from:, to:} - value "from" -> "to"
# {type: :rename, from:, to:} - key "from" -> "to"
# {type: :delete, key:} - drop the key
LEGACY_GLOBAL_FIXES = [
{type: :value, key: "Prevent Discard", from: "true", to: "1"},
]
#--------------------------------------------------------------------------
# Initialize and load INI files
#--------------------------------------------------------------------------
def initialize(config_dir)
Dir.mkdir(config_dir) unless Dir.exist?(config_dir)
@key_ini = load_or_create(File.join(config_dir, "hotkeys.ini"))
@var_ini = load_or_create(File.join(config_dir, "globals.ini"))
@mod_ini = load_or_create(File.join(config_dir, "modules.ini"))
migrate_legacy_globals
end
def migrate_legacy_globals
section = "Global Variables"
return unless @var_ini.has_section?(section)
data = @var_ini[section]
changed = false
LEGACY_GLOBAL_FIXES.each do |fix|
case fix[:type]
when :value
next unless data.key?(fix[:key]) && data[fix[:key]].to_s == fix[:from]
data[fix[:key]] = fix[:to]
changed = true
when :rename
next unless data.key?(fix[:from])
data[fix[:to]] = data[fix[:from]] unless data.key?(fix[:to])
data.delete(fix[:from])
changed = true
when :delete
next unless data.key?(fix[:key])
data.delete(fix[:key])
changed = true
end
end
@var_ini.write if changed
end
def load_or_create(path)
ini = IniFile.load(path)
unless ini
ini = IniFile.new(filename: path)
ini.write
end
return ini
end
#--------------------------------------------------------------------------
# Read / write helpers
#--------------------------------------------------------------------------
def read(section, key, default = "", ini)
ini.read if ini.respond_to?(:read)
if ini.has_section?(section) && ini[section].key?(key)
ini[section][key]
else
default
end
end
def write(section, key, value, ini)
ini[section] ||= {}
ini[section][key] = value
ini.write
end
#--------------------------------------------------------------------------
# Mod override handlers
#--------------------------------------------------------------------------
def get_enabled(key, default = true)
val = read("Module Load Overrides", key, default, @mod_ini).to_s.downcase
return true if ["true", "1", "yes"].include?(val)
return false if ["false", "0", "no"].include?(val)
default
end
def get_load_order(key, default = 999)
val = read("Load Order Overrides", key, default, @mod_ini)
val.to_i.nonzero? || default
end
#--------------------------------------------------------------------------
# Global variables handlers
#--------------------------------------------------------------------------
def read_global(key, default)
value = read("Global Variables", key, default, @var_ini)
Object.instance_eval("$#{sanitize_key(key)} = #{format_value(value)}")
value
end
def write_global(key, value)
write("Global Variables", key, value, @var_ini)
end
#--------------------------------------------------------------------------
# Hotkey handling
#--------------------------------------------------------------------------
def init_hotkeys
compare_hotkeys_to_ini
clear_conflicting_hotkeys
save_hotkeys_to_ini
build_hotkey_map
end
# Self-clears any of our own hotkeys sitting on a key HotkeyReserved flags.
# The menu toggle's key never appears in hotkey_defs (see Input::SYM_KEYS[:CF_CHEAT_MENU], scripts/Menu.rb).
def clear_conflicting_hotkeys
$framework.hotkey_defs.each do |full_key, data|
next unless data[:key]
next unless HotkeyReserved.info_for_combo(data[:key])
data[:key] = "NONE"
end
end
# Drops any "GROUP.Key" mapping whose command no longer exists (renamed, moved to a different
# key, or removed entirely) instead of reviving it as a phantom hotkey_defs entry - safer than
# guessing what it should remap to. $framework.commands is fully populated by init_modules,
# which always runs before this (see __init__.rb), so it's a complete, reliable source of truth.
def prune_orphaned_hotkeys(section)
@key_ini[section].keys.each do |full_key|
group, key = full_key.split('.', 2)
# split always yields a String key, but commands can be registered with either
# a String or Symbol key (see Controls.rb#resolve_record) - check both.
dict = group && key && $framework.commands[group.to_sym]
next if dict && (dict.key?(key) || dict.key?(key.to_sym))
@key_ini[section].delete(full_key)
end
end
def compare_hotkeys_to_ini
section = "Cheat Hotkeys"
return unless @key_ini.has_section?(section)
prune_orphaned_hotkeys(section)
@key_ini[section].each do |full_key, value|
next if value.nil?
# IniFile auto-typecasts a bare digit ("6") into an Integer on read -
# a real possibility now that digit keys are assignable hotkeys.
value = value.to_s.strip
next if value.empty?
# Handle NONE → disable
if value.upcase == "NONE"
if $framework.hotkey_defs.key?(full_key)
$framework.hotkey_defs[full_key][:key] = "NONE"
else
$framework.hotkey_defs[full_key] = { key: "NONE", sound: nil }
end
next
end
# Otherwise, override or add
if $framework.hotkey_defs.key?(full_key)
$framework.hotkey_defs[full_key][:key] = value
else
$framework.hotkey_defs[full_key] = { key: value, sound: nil }
end
end
end
def save_hotkeys_to_ini
section = "Cheat Hotkeys"
@key_ini[section] ||= {}
$framework.hotkey_defs.each do |full_key, data|
key_name = "#{full_key}"
value = data[:key] || "NONE"
@key_ini[section][key_name] = value
end
@key_ini.write
end
def build_hotkey_map
$framework.hotkeys = Hash.new { |h, k| h[k] = [] }
$framework.hotkey_defs.each do |full_key, data|
next if data[:key].nil? || data[:key].upcase == "NONE"
mods, base = parse_hotkey(data[:key])
key_const = base
group, key = full_key.split('.', 2)
$framework.hotkeys[key_const] << {
group: group.to_sym,
key: key,
mods: mods,
sound: data[:sound]
}
end
end
#--------------------------------------------------------------------------
# Main Menu Toggle key (portable backup)
#--------------------------------------------------------------------------
# Input::SYM_KEYS[:CF_CHEAT_MENU]/$LonaINI (the game's own Key Binds menu)
def init_menu_toggle_key
if menu_toggle_key_configured_in_game?
Input::SYM_KEYS[:CF_CHEAT_MENU] = (0..2).map do |i|
val = $LonaINI["Keyboard"]["CF_CHEAT_MENU_#{i}"]
(val && val != 0 && val != "0") ? (Input::KEYMAP[val.to_s.to_sym] || 0) : 0
end
live = FrameworkUtils.current_menu_toggle_key
save_menu_toggle_key(live) if live
else
saved_key = @key_ini["Main Menu Toggle"]["key"]
saved_key = "F9" if saved_key.nil? || saved_key.to_s.strip.empty?
apply_menu_toggle_key(saved_key)
end
end
def menu_toggle_key_configured_in_game?
(0..2).any? do |i|
val = $LonaINI["Keyboard"]["CF_CHEAT_MENU_#{i}"]
val && val != 0 && val != "0"
end
end
def apply_menu_toggle_key(key_str)
key_sym = HotkeySymbols.symbol_for(key_str) || key_str.to_sym
Input::SYM_KEYS[:CF_CHEAT_MENU] = [Input::KEYMAP[key_sym] || Input::KEYMAP[:F9], 0, 0]
save_menu_toggle_key(key_str)
save_menu_toggle_key_to_game_ini
end
# hook_vanilla_keybind_menu puts :CF_CHEAT_MENU in InputUtils.keyList, so MouseSupport's
# frequent InputUtils.load_input_settings calls reload it from $LonaINI - write it there too
# or our default gets overwritten back to unbound the next time the mouse toggles.
def save_menu_toggle_key_to_game_ini
(0..2).each do |i|
code = Input::SYM_KEYS[:CF_CHEAT_MENU][i]
$LonaINI["Keyboard"]["CF_CHEAT_MENU_#{i}"] = code != 0 ? InputUtils.reverse_key_map[code].to_s : "0"
end
$LonaINI.save
end
def save_menu_toggle_key(key_str)
@key_ini["Main Menu Toggle"]["key"] = key_str
@key_ini.write
end
# Catches rebinds made through the vanilla Key Binds menu.
def sync_menu_toggle_key
live = FrameworkUtils.current_menu_toggle_key
return unless live
return if live == @key_ini["Main Menu Toggle"]["key"]
save_menu_toggle_key(live)
end
#--------------------------------------------------------------------------
# Menu order handling
#--------------------------------------------------------------------------
def init_order
compare_order_to_ini
save_order_to_ini
end
def compare_order_to_ini
section = "Menu Order Overrides"
return unless @mod_ini.has_section?(section)
@mod_ini[section].each do |full_key, value|
next if value.nil? || value.to_s.strip.empty?
group_key, cmd_key = full_key.split('.', 2)
next unless group_key && cmd_key
dict = $framework.commands[group_key.to_sym]
next unless dict
record = dict[cmd_key] || dict[cmd_key.to_sym]
next unless record
record[:order] = value.to_i
end
end
def save_order_to_ini
section = "Menu Order Overrides"
@mod_ini[section] ||= {}
$framework.commands.each do |group, dict|
next unless dict.is_a?(Hash)
dict.each do |key, record|
next unless record.is_a?(Hash) && record.key?(:order)
@mod_ini[section]["#{group}.#{key}"] = record[:order]
end
end
@mod_ini.write
end
# Wipes all custom menu ordering back to each command's registered default.
def reset_menu_order
$framework.commands.each do |_group, dict|
next unless dict.is_a?(Hash)
dict.each do |_key, record|
next unless record.is_a?(Hash) && record.key?(:default_order)
record[:order] = record[:default_order]
end
end
@mod_ini.delete_section("Menu Order Overrides")
@mod_ini.write
end
# In-memory session for Edit Menu Order's Save/Discard confirm flow.
def start_menu_order_session
snapshot = {}
$framework.commands.each do |group, dict|
next unless dict.is_a?(Hash)
dict.each do |key, record|
next unless record.is_a?(Hash) && record.key?(:order)
snapshot["#{group}.#{key}"] = record[:order]
end
end
$framework.menu_order_snapshot = snapshot
$framework.menu_order_dirty = false
end
def mark_menu_order_dirty
$framework.menu_order_dirty = true
end
def menu_order_dirty?
!!$framework.menu_order_dirty
end
def revert_menu_order_session
return unless $framework.menu_order_snapshot
$framework.menu_order_snapshot.each do |full_key, order|
group_key, cmd_key = full_key.split('.', 2)
dict = $framework.commands[group_key.to_sym]
next unless dict
record = dict[cmd_key] || dict[cmd_key.to_sym]
next unless record
record[:order] = order
end
clear_menu_order_session
end
def clear_menu_order_session
$framework.menu_order_snapshot = nil
$framework.menu_order_dirty = false
end
#--------------------------------------------------------------------------
# Local/Global override handling (Config > Edit Globals)
#--------------------------------------------------------------------------
# Unlike menu order/hotkeys, these two actively prune stale entries.
def init_force_modes
compare_force_modes_to_ini
save_force_modes_to_ini
end
def compare_force_modes_to_ini
section = "Force Mode Overrides"
return unless @mod_ini.has_section?(section)
@mod_ini[section].each do |full_key, value|
next if value.nil? || value.to_s.strip.empty?
next unless global_override_eligible?(full_key)
$framework.force_modes[full_key] = coerce_ini_value(value) == true
end
end
def save_force_modes_to_ini
section = "Force Mode Overrides"
@mod_ini.delete_section(section)
@mod_ini[section] = {}
$framework.force_modes.each do |full_key, mode|
@mod_ini[section][full_key] = mode
end
@mod_ini.write
end
def init_force_values
compare_force_values_to_ini
save_force_values_to_ini
end
def compare_force_values_to_ini
section = "Force Value Overrides"
return unless @mod_ini.has_section?(section)
@mod_ini[section].each do |full_key, value|
next if value.nil? || value.to_s.strip.empty?
next unless global_override_eligible?(full_key)
$framework.force_values[full_key] = coerce_ini_value(value)
end
end
def save_force_values_to_ini
section = "Force Value Overrides"
@mod_ini.delete_section(section)
@mod_ini[section] = {}
$framework.force_values.each do |full_key, value|
@mod_ini[section][full_key] = value
end
@mod_ini.write
end
# True if "GROUP.CommandKey" still resolves to a global:-flagged command.
def global_override_eligible?(full_key)
group_key, cmd_key = full_key.split('.', 2)
return false unless group_key && cmd_key
dict = $framework.commands[group_key.to_sym]
return false unless dict
record = dict[cmd_key] || dict[cmd_key.to_sym]
!!(record && !record[:global].nil?)
end
# IniFile typecasts numbers on its own; this adds true/false.
def coerce_ini_value(value)
return value unless value.is_a?(String)
return true if value.downcase == "true"
return false if value.downcase == "false"
value
end
#--------------------------------------------------------------------------
# Full reset (Config > Reset All Settings)
#--------------------------------------------------------------------------
def reset_all_settings
@mod_ini.delete_section("Module Load Overrides")
@mod_ini.delete_section("Load Order Overrides")
@mod_ini.write
@var_ini.delete_section("Global Variables")
@var_ini.write
end
def reset_hotkeys_live
$framework.hotkey_defs = $framework.hotkey_defaults.each_with_object({}) { |(k, v), h| h[k] = v.dup }
clear_conflicting_hotkeys
@key_ini.delete_section("Cheat Hotkeys")
save_hotkeys_to_ini
build_hotkey_map
apply_menu_toggle_key("F9")
end
def reset_force_overrides
$framework.force_modes.clear
$framework.force_values.clear
@mod_ini.delete_section("Force Mode Overrides")
@mod_ini.delete_section("Force Value Overrides")
@mod_ini.write
end
def parse_hotkey(hotkey_str)
parts = hotkey_str.split('+').map(&:strip)
mods = []
base = nil
parts.each do |p|
case p.downcase
when "shift" then mods << :SHIFT
when "ctrl", "control" then mods << :CTRL
when "alt" then mods << :ALT
else
base = HotkeySymbols.symbol_for(p) || p.upcase.to_sym
end
end
[mods, base]
end
#--------------------------------------------------------------------------
# Special handlers
#--------------------------------------------------------------------------
private
def sanitize_key(key)
key.to_s.strip.gsub(/\s+/, "_").downcase
end
def format_value(value)
return "\"#{value}\"" if value.is_a?(String) && value !~ /^\d+$/
value
end
end
@@ -0,0 +1,940 @@
#==============================================================================
# Config screens: Edit Menu Order, View Hotkeys, Edit Globals
#------------------------------------------------------------------------------
# Core framework tooling, not a cheat, so it lives in scripts/ (always
# loaded) rather than modules/. No FrameworkModule block; load order is just
# top-to-bottom in this file. Text keys live in text/<LANG>/menu.txt.
#==============================================================================
#==============================================================================
# Shared instructional footer for all three screens below
#==============================================================================
class Window_CheatOrderHelp < Window_Base
def initialize(text)
super(0, Graphics.height - 120, Graphics.width, 120)
set_text(text)
end
def set_text(text)
@text = text
refresh
end
def refresh
contents.clear
MenuFramework.force_font(contents)
draw_text_ex(4, 0, @text)
end
end
#==============================================================================
# Forced Save/Discard prompt for unsaved menu reordering. No :cancel handler.
#==============================================================================
class Window_CheatOrderConfirm < Window_Command
def initialize
super((Graphics.width - window_width) / 2, (Graphics.height - window_height) / 2)
end
def window_width; 300; end
def window_height; fitting_height(2); end
def make_command_list
add_command("Save Changes", :save)
add_command("Discard Changes", :discard)
end
def draw_item(index)
MenuFramework.force_font(contents)
super
end
end
#==============================================================================
# Step 1: pick which menu (group) to reorder
#==============================================================================
class Window_CheatMenuOrderGroups < Window_Command
include Window_ConfigList_Defaults
# :MENU hotkey plumbing
HIDDEN_GROUPS = [:NONE, :MENU]
# Groups matching this prefix (SUMMON, SUMMON_HUMAN, SUMMON_WILD, ...) get
# collapsed into a single "family" row instead of cluttering the top level.
FAMILY_PREFIX = "SUMMON"
def initialize
super(0, 0)
@filter = SceneManager.scene.instance_variable_get(:@filter)
refresh
select(0)
end
def make_command_list
# Pinned first, irrespective of alphabetical order, and only at the top
# (unfiltered) level - a reset doesn't belong scoped to one family view.
add_command($framework.txt("menu:commands/reset_order"), :reset, true, nil) unless @filter
groups = $framework.commands.keys.reject { |g| HIDDEN_GROUPS.include?(g) }
groups = groups.select { |g| $framework.commands[g].is_a?(Hash) && !$framework.commands[g].empty? }
if @filter
groups.select { |g| in_family?(g, @filter) }
.sort_by(&:to_s)
.each { |group| add_command(group_label(group), :ok, true, group) }
else
family, singles = groups.partition { |g| in_family?(g, FAMILY_PREFIX) }
singles.sort_by(&:to_s).each { |group| add_command(group_label(group), :ok, true, group) }
unless family.empty?
total = family.inject(0) { |sum, g| sum + $framework.commands[g].size }
add_command("#{FAMILY_PREFIX} family (#{family.size} menus, #{total} commands)", :family, true, FAMILY_PREFIX)
end
end
end
def in_family?(group, prefix)
group.to_s == prefix || group.to_s.start_with?("#{prefix}_")
end
def group_label(group)
"#{group} (#{$framework.commands[group].size})"
end
def draw_item(index)
force_content_font
super
end
end
class Scene_CheatMenuOrderGroups < Scene_MenuBase
include Scene_ConfigList_Defaults
def start
super
# Only true top-level entry starts a session (family drill-downs and
# returning here from a child scene reuse whatever's already running).
$framework.ini.start_menu_order_session if @filter.nil? && $framework.menu_order_snapshot.nil?
@command_window = Window_CheatMenuOrderGroups.new
@command_window.set_handler(:ok, method(:open_group))
@command_window.set_handler(:family, method(:open_family))
@command_window.set_handler(:reset, method(:perform_reset))
@command_window.set_handler(:cancel, method(:on_cancel))
@help_window = Window_CheatOrderHelp.new(
@filter ? "Pick a #{@filter} menu to reorder.\nZ: Open X: Back" : "Pick a menu to reorder, or reset it.\nZ: Select X: Back"
)
restore_selection
end
# Each handler reactivates @command_window first (process_ok deactivates it).
def open_group
@command_window.activate
group = @command_window.current_ext
save_selection
SceneManager.call(Scene_CheatMenuOrderEdit)
SceneManager.scene.instance_variable_set(:@group, group) if SceneManager.scene
end
def perform_reset
@command_window.activate
$framework.ini.reset_menu_order
$framework.ini.start_menu_order_session # re-baseline: nothing pending after a reset
SndLib.sys_ok
@command_window.refresh
@command_window.select(0)
end
# Drill into the collapsed "family" row (e.g. SUMMON) - reopens this same
# scene class, just filtered down to that family's groups.
def open_family
@command_window.activate
prefix = @command_window.current_ext
save_selection
SceneManager.call(Scene_CheatMenuOrderGroups)
SceneManager.scene.instance_variable_set(:@filter, prefix) if SceneManager.scene
end
# A dirty top-level exit forces a Save/Discard choice first.
def on_cancel
if @filter.nil? && $framework.ini.menu_order_dirty?
show_confirm
else
save_selection
return_scene
end
end
def show_confirm
@command_window.deactivate
@help_window.set_text("You have unsaved menu order changes.\nPick one - there's no going back without choosing.")
@confirm_window = Window_CheatOrderConfirm.new
@confirm_window.set_handler(:save, method(:confirm_save))
@confirm_window.set_handler(:discard, method(:confirm_discard))
end
def confirm_save
$framework.ini.save_order_to_ini
$framework.ini.clear_menu_order_session
SndLib.sys_ok
leave_after_confirm
end
def confirm_discard
$framework.ini.revert_menu_order_session
SndLib.sys_buzzer
leave_after_confirm
end
def leave_after_confirm
@confirm_window.dispose
@confirm_window = nil
save_selection
return_scene
end
# Distinct breadcrumb key for the unfiltered list vs. each family sub-view.
def menu_key
@filter ? :"edit_menu_order_family_#{@filter}" : :edit_menu_order
end
end
FrameworkUtils.menu_scenes << Scene_CheatMenuOrderGroups
#==============================================================================
# Step 2: reorder the commands within the chosen group
#==============================================================================
class Window_CheatMenuOrderEdit < Window_Command
include Window_ConfigList_Defaults
def initialize
super(0, 0)
@group = SceneManager.scene.instance_variable_get(:@group)
refresh
select(0)
end
def make_command_list
return unless @group
dict = $framework.commands[@group]
return unless dict
FrameworkUtils.sorted_commands(dict).each do |key, record|
name = FrameworkUtils.display_name_for(record, key)
add_command(name, :ok, true, key)
end
end
def draw_item(index)
force_content_font
rect = item_rect_for_text(index)
contents.clear_rect(rect)
change_color(normal_color, command_enabled?(index))
draw_text(rect, command_name(index), 0)
key = @list[index][:ext]
record = @group && $framework.commands[@group] ? $framework.commands[@group][key] : nil
draw_text(rect, record[:order].to_s, 2) if record && record[:order]
end
# Swaps the selected command's position and renumbers the group.
def cursor_left(wrap = false)
move_selected(-1)
end
def cursor_right(wrap = false)
move_selected(1)
end
def move_selected(direction)
return unless @group
dict = $framework.commands[@group]
return unless dict
ordered = FrameworkUtils.sorted_commands(dict)
i = ordered.index { |key, _record| key == current_ext }
return unless i
j = i + direction
return if j < 0 || j >= ordered.size
ordered[i], ordered[j] = ordered[j], ordered[i]
ordered.each_with_index { |(_key, record), idx| record[:order] = (idx + 1) * 10 }
SndLib.play_cursor
$framework.ini.mark_menu_order_dirty # cached in memory only - written on explicit confirm
moved_key = current_ext
refresh
new_index = @list.index { |cmd| cmd[:ext] == moved_key }
select(new_index || index)
end
end
class Scene_CheatMenuOrderEdit < Scene_MenuBase
include Scene_ConfigList_Defaults
def start
super
@command_window = Window_CheatMenuOrderEdit.new
@command_window.set_handler(:cancel, method(:return_to_groups))
@help_window = Window_CheatOrderHelp.new(
"Left/Right: Move up/down X: Back to menu list"
)
restore_selection
end
def return_to_groups
save_selection
return_scene
end
# Distinct breadcrumb key per group (this scene class is reused for all of them).
def menu_key
:"edit_menu_order_#{@group}"
end
end
FrameworkUtils.menu_scenes << Scene_CheatMenuOrderEdit
#==============================================================================
# View Hotkeys: every bound command and its key (clear only)
#==============================================================================
class Window_CheatHotkeyList < Window_Command
include Window_ConfigList_Defaults
MAIN_MENU_KEY = "MENU.Main Menu"
# F1/F12/F10 excluded (blocked/reserved); F5/F6 excluded (RolePlay-S
# QuickSave/QuickLoad while active). M is a free letter key, not an F-key.
MAIN_MENU_CANDIDATES = %w[F2 F3 F4 F7 F8 F9 F11 M]
def initialize
super(0, 0)
@editing_main_menu = false
@pending_index = 0
end
def make_command_list
# Pinned first, always. Not a plain :ok row like the rest - see
# toggle_main_menu_edit for why changing this one is a bigger deal.
add_command(main_menu_label, :locked, true, MAIN_MENU_KEY)
$framework.hotkey_defs.each do |full_key, data|
next if data[:key].nil? || data[:key].to_s.upcase == "NONE" # nothing to show/clear anymore
record = resolve_record(full_key)
next unless record
name = FrameworkUtils.display_name_for(record, record[:key])
add_command(name, :ok, true, full_key)
end
end
def main_menu_label
"Main Menu (more options in Keybind menu)"
end
def resolve_record(full_key)
group_key, cmd_key = full_key.split('.', 2)
dict = $framework.commands[group_key.to_sym]
return nil unless dict
dict[cmd_key] || dict[cmd_key.to_sym]
end
def draw_item(index)
force_content_font
rect = item_rect_for_text(index)
contents.clear_rect(rect)
full_key = @list[index][:ext]
if full_key == MAIN_MENU_KEY
draw_main_menu_row(rect, index)
return
end
change_color(normal_color)
draw_text(rect, command_name(index), 0)
data = $framework.hotkey_defs[full_key]
key_text = (data && data[:key]) || "NONE"
reserved = HotkeyReserved.info_for(key_text)
if reserved
change_color(text_color(8))
draw_text(rect, "#{key_text} (also: #{reserved[:label]})", 2)
else
change_color(normal_color)
draw_text(rect, key_text, 2)
end
end
def draw_main_menu_row(rect, index)
current = FrameworkUtils.current_menu_toggle_key || "NONE"
change_color(@editing_main_menu ? text_color(16) : text_color(8))
draw_text(rect, command_name(index), 0)
draw_text(rect, @editing_main_menu ? MAIN_MENU_CANDIDATES[@pending_index] : current, 2)
end
# Rebind for the Main Menu hotkey: cycle candidates, second press confirms.
def toggle_main_menu_edit
if @editing_main_menu
confirm_main_menu_edit
else
start_main_menu_edit
end
end
def start_main_menu_edit
current = FrameworkUtils.current_menu_toggle_key || "F9"
@pending_index = MAIN_MENU_CANDIDATES.index(current) || MAIN_MENU_CANDIDATES.index("F9")
@editing_main_menu = true
SndLib.play_cursor
refresh
update_warning_text
end
def cancel_main_menu_edit
@editing_main_menu = false
SndLib.sys_cancel
refresh
update_warning_text
end
def confirm_main_menu_edit
new_key = MAIN_MENU_CANDIDATES[@pending_index]
@editing_main_menu = false
# Single source of truth, shared with the vanilla Key Binds menu.
$framework.ini.apply_menu_toggle_key(new_key)
# Wipe any cheat hotkey already sitting on the new base key (any modifier).
wiped = false
$framework.hotkey_defs.each do |full_key, data|
next unless data[:key]
next unless data[:key].to_s.split('+').last.upcase == new_key
data[:key] = "NONE"
wiped = true
end
if wiped
$framework.ini.save_hotkeys_to_ini
$framework.ini.build_hotkey_map
end
SndLib.sys_ok
refresh
update_warning_text
end
def update_warning_text
return unless SceneManager.scene.respond_to?(:set_main_menu_warning)
if @editing_main_menu
SceneManager.scene.set_main_menu_warning(
"WARNING: this changes which key opens this menu - pick carefully!\n" \
"Previewing: #{MAIN_MENU_CANDIDATES[@pending_index]} " \
"Left/Right: change Z: confirm X: cancel"
)
else
SceneManager.scene.set_main_menu_warning(nil)
end
end
def cursor_up(wrap = false)
super unless @editing_main_menu
end
def cursor_down(wrap = false)
super unless @editing_main_menu
end
# Also locked while editing (reachable via L/R shoulder or mouse wheel).
def cursor_pageup
super unless @editing_main_menu
end
def cursor_pagedown
super unless @editing_main_menu
end
def cursor_left(wrap = false)
if @editing_main_menu
SndLib.play_cursor
@pending_index = (@pending_index - 1) % MAIN_MENU_CANDIDATES.size
refresh
update_warning_text
else
super
end
end
def cursor_right(wrap = false)
if @editing_main_menu
SndLib.play_cursor
@pending_index = (@pending_index + 1) % MAIN_MENU_CANDIDATES.size
refresh
update_warning_text
else
super
end
end
def process_cancel
if @editing_main_menu
cancel_main_menu_edit
else
super
end
end
end
class Scene_CheatHotkeyList < Scene_MenuBase
include Scene_ConfigList_Defaults
def menu_key; :set_hotkeys; end
def start
super
@command_window = Window_CheatHotkeyList.new
@command_window.set_handler(:ok, method(:clear_selected))
@command_window.set_handler(:locked, method(:on_main_menu_locked))
@command_window.set_handler(:cancel, method(:on_cancel))
@base_help_text = "Read-only - to assign or change one, use C in the command's own menu.\nZ: Clear X: Back"
@help_window = Window_CheatOrderHelp.new(@base_help_text)
restore_selection
end
def set_main_menu_warning(text)
@help_window.set_text(text || @base_help_text)
end
def on_main_menu_locked
@command_window.activate # process_ok already deactivated - reactivate before doing anything
@command_window.toggle_main_menu_edit
end
def clear_selected
# Reactivate - process_ok deactivates before calling the handler.
@command_window.activate
full_key = @command_window.current_ext
return unless $framework.hotkey_defs[full_key]
$framework.hotkey_defs[full_key][:key] = "NONE"
$framework.ini.save_hotkeys_to_ini
$framework.ini.build_hotkey_map # live immediately - no restart needed
SndLib.sys_cancel
@command_window.refresh
clamp_selection # the cleared row just vanished from the list - keep the cursor in bounds
end
def on_cancel
save_selection
return_scene
end
end
FrameworkUtils.menu_scenes << Scene_CheatHotkeyList
#--------------------------------------------------------------------------
# Local/Global override engine (Config > Edit Globals)
#--------------------------------------------------------------------------
module FrameworkUtils
# force_modes["GROUP.CommandKey"] = true/false, is an override active.
def self.force_mode_for(group, key)
$framework.force_modes["#{group}.#{key}"] == true
end
# Whether the command is currently, effectively behaving as Global.
def self.currently_global?(group, key, record)
active = force_mode_for(group, key)
record && record[:global] == true ? !active : active
end
def self.current_command_value(record)
return nil unless record && record[:state]
value = record[:state].call
record[:type] == :toggle ? !!value : value
end
def self.local_value_story_key(full_key)
"CF_local_#{full_key}"
end
# global: false -> force_values, modules.ini. global: true -> $story_stats.
def self.force_value_for(group, key, record)
full_key = "#{group}.#{key}"
if record && record[:global] == false
return $framework.force_values[full_key] if $framework.force_values.key?(full_key)
seed = current_command_value(record)
$framework.force_values[full_key] = seed
$framework.ini.save_force_values_to_ini
seed
else
story_key = local_value_story_key(full_key)
return $story_stats[story_key] if $story_stats.data.key?(story_key)
seed = current_command_value(record)
$story_stats[story_key] = seed
seed
end
end
def self.set_force_value(group, key, record, new_value)
full_key = "#{group}.#{key}"
if record && record[:global] == false
$framework.force_values[full_key] = new_value
$framework.ini.save_force_values_to_ini
else
$story_stats[local_value_story_key(full_key)] = new_value
end
end
def self.toggle_force_mode(group, key, record)
full_key = "#{group}.#{key}"
$framework.force_modes[full_key] = !force_mode_for(group, key)
$framework.ini.save_force_modes_to_ini
apply_force_mode(group, key, record)
end
def self.toggle_force_value(group, key, record)
set_force_value(group, key, record, !force_value_for(group, key, record))
apply_force_mode(group, key, record)
end
# Left/Right editing for a :edit_num/:edit_list-sourced Value row.
def self.adjust_force_value(group, key, record, direction, multiplier = 1)
current = force_value_for(group, key, record)
new_value = case record[:type]
when :edit_num
min = record[:min].is_a?(Proc) ? record[:min].call : (record[:min] || 0)
max = record[:max].is_a?(Proc) ? record[:max].call : (record[:max] || 999)
[[current.to_i + direction * multiplier, min].max, max].min
when :edit_list
list = record[:list] || []
return if list.empty?
idx = (list.index { |i| i[:key] == current } || 0)
list[(idx + direction) % list.size][:key]
else
current
end
set_force_value(group, key, record, new_value)
apply_force_mode(group, key, record)
end
# Applies a forced value via the command's own action: (arity-dispatched).
def self.force_command_value(record, desired)
return unless record && record[:state] && record[:action]
return if current_command_value(record) == desired
case record[:action].arity
when 1 then record[:action].call(desired)
when 2 then record[:action].call(record[:key], desired)
else record[:action].call
end
end
# Assigns the variable directly via state_str, bypassing action: (which
# would also write globals.ini for a gdef:-backed command).
def self.quiet_set_command_value(record, desired)
return unless record && record[:state_str]
return if current_command_value(record) == desired
eval("#{record[:state_str]} = #{desired.inspect}")
end
# Applies one command's configured override - a no-op while inactive.
def self.apply_force_mode(group, key, record)
return unless record && !record[:global].nil?
return unless force_mode_for(group, key)
desired = force_value_for(group, key, record)
if record[:global] == false
force_command_value(record, desired)
else
quiet_set_command_value(record, desired)
end
end
def self.apply_force_modes
$framework.commands.each do |group, dict|
next unless dict.is_a?(Hash)
dict.each do |key, record|
next unless record.is_a?(Hash)
apply_force_mode(group, key, record)
end
end
end
# Builds $framework.commands[:GLOBAL_OVERRIDES], one entry per global:
# true/false command, addressed by source_group/source_key.
def self.build_global_overrides
overrides = {}
order = 0
$framework.commands.each do |group, dict|
next if group == :GLOBAL_OVERRIDES
next unless dict.is_a?(Hash)
dict.each do |key, record|
next unless record.is_a?(Hash) && !record[:global].nil?
order += 10
overrides["#{group}.#{key}"] = {
source_group: group,
source_key: key,
# Live lookup for Edit Menu Order's display.
label: -> {
source = $framework.commands[group] && $framework.commands[group][key]
FrameworkUtils.display_name_for(source, key)
},
order: order,
default_order: order
}
end
end
$framework.commands[:GLOBAL_OVERRIDES] = overrides
end
end
#==============================================================================
# Edit Globals: Mode row (Local/Global) plus a derived Value row
#==============================================================================
class Window_CheatGlobalsList < Window_Command
include Window_ConfigList_Defaults
def initialize
super(0, 0)
end
def make_command_list
FrameworkUtils.sorted_commands(overrides_dict).each do |full_key, override|
source = source_record(override)
next unless source
name = "#{FrameworkUtils.display_name_for(source, override[:source_key])} [#{override[:source_group]}]"
add_command(name, :toggle_mode, true, full_key)
# Indentation is applied here, not baked into the text key.
add_command(" #{$framework.txt("menu:mode/value_row")}", :toggle_value, true, full_key)
end
end
def overrides_dict
$framework.commands[:GLOBAL_OVERRIDES] || {}
end
def override_for(full_key)
overrides_dict[full_key]
end
def source_record(override)
dict = override && $framework.commands[override[:source_group]]
dict && dict[override[:source_key]]
end
def draw_item(index)
force_content_font
rect = item_rect_for_text(index)
contents.clear_rect(rect)
full_key = @list[index][:ext]
override = override_for(full_key)
source = source_record(override)
return unless override && source
group, key = override[:source_group], override[:source_key]
active = FrameworkUtils.force_mode_for(group, key) # is an override currently applying at all
case @list[index][:symbol]
when :toggle_mode
change_color(normal_color)
draw_text(rect, command_name(index), 0)
showing_global = FrameworkUtils.currently_global?(group, key, source)
draw_text(rect, showing_global ? $framework.txt("menu:mode/global") : $framework.txt("menu:mode/local"), 2)
when :toggle_value
change_color(active ? normal_color : text_color(8))
draw_text(rect, command_name(index), 0)
value = FrameworkUtils.force_value_for(group, key, source)
draw_text(rect, format_force_value(source, value), 2)
end
end
def format_force_value(record, value)
case record[:type]
when :toggle
value ? $framework.txt("menu:cheat_toggle/on") : $framework.txt("menu:cheat_toggle/off")
when :edit_list
item = (record[:list] || []).find { |i| i[:key] == value }
item ? item[:label] : value.to_s
else
value.to_s
end
end
# Left/Right only edits an :edit_num/:edit_list Value row; falls through otherwise.
def cursor_left(wrap = false)
return super unless adjustable_value_row?
adjust_value_row(-1)
end
def cursor_right(wrap = false)
return super unless adjustable_value_row?
adjust_value_row(1)
end
def adjustable_value_row?
entry = @list[index]
return false unless entry && entry[:symbol] == :toggle_value
source = source_record(override_for(entry[:ext]))
source && [:edit_num, :edit_list].include?(source[:type])
end
def adjust_value_row(direction)
full_key = current_ext
override = override_for(full_key)
source = source_record(override)
return unless override && source
SndLib.play_cursor
FrameworkUtils.adjust_force_value(override[:source_group], override[:source_key], source, direction, edit_value_multiply)
refresh
end
def edit_value_multiply
multi = 1
multi *= 10 if Input.press?(Input::KEYMAP[:SHIFT])
multi *= 100 if Input.press?(Input::KEYMAP[:CONTROL])
multi
end
end
class Scene_CheatGlobalsList < Scene_MenuBase
include Scene_ConfigList_Defaults
def menu_key; :edit_globals; end
def start
super
@command_window = Window_CheatGlobalsList.new
@command_window.set_handler(:toggle_mode, method(:toggle_mode))
@command_window.set_handler(:toggle_value, method(:toggle_value))
@command_window.set_handler(:cancel, method(:on_cancel))
@help_window = Window_CheatOrderHelp.new(
"Z: Local/Global (top row) or toggle the forced value (bottom row - :toggle sources only,\n" \
"Left/Right instead for a number/list)\nX: Back"
)
restore_selection
end
def toggle_mode
@command_window.activate # process_ok already deactivated - reactivate before doing anything
with_addressed_source(method(:apply_toggle_mode))
end
def toggle_value
@command_window.activate
with_addressed_source(method(:apply_toggle_value))
end
def apply_toggle_mode(group, key, source)
FrameworkUtils.toggle_force_mode(group, key, source)
SndLib.sys_ok
end
# Z only flips a :toggle source; numeric/list ones use Left/Right instead.
def apply_toggle_value(group, key, source)
return SndLib.sys_buzzer unless source[:type] == :toggle
FrameworkUtils.toggle_force_value(group, key, source)
SndLib.sys_ok
end
def with_addressed_source(block)
full_key = @command_window.current_ext
override = @command_window.override_for(full_key)
return unless override
source = @command_window.source_record(override)
return unless source
block.call(override[:source_group], override[:source_key], source)
@command_window.refresh
end
def on_cancel
save_selection
return_scene
end
end
FrameworkUtils.menu_scenes << Scene_CheatGlobalsList
#==============================================================================
# Reset Config Settings, Yes/No gated. Hotkeys/menu order/Local-Global
# overrides reset live; module enable/order and cheat defaults need a restart.
#==============================================================================
class Window_CheatResetSettings < Window_Command
def initialize
super((Graphics.width - window_width) / 2, (Graphics.height - window_height) / 2)
end
def window_width; 340; end
def window_height; fitting_height(2); end
def make_command_list
add_command("Reset Everything", :reset)
add_command("Cancel", :cancel)
end
end
class Scene_CheatResetSettings < Scene_MenuBase
def start
super
@help_window = Window_CheatOrderHelp.new(
"Hotkeys, menu order, and Local/Global overrides reset immediately.\n" \
"Module enable/order and cheat variable defaults need a restart."
)
@command_window = Window_CheatResetSettings.new
@command_window.set_handler(:reset, method(:perform_reset))
@command_window.set_handler(:cancel, method(:return_scene)) # covers the Cancel row and X
end
def perform_reset
$framework.ini.reset_all_settings
$framework.ini.reset_hotkeys_live
$framework.ini.reset_menu_order
$framework.ini.reset_force_overrides
$framework.restart_needed = true
SndLib.sys_ok
return_scene
end
end
FrameworkUtils.menu_scenes << Scene_CheatResetSettings
#==============================================================================
# Register the four entry points
#==============================================================================
module MenuFramework
module SUBMENU
register_command(
group: :CONFIG,
type: :scene,
key: :set_hotkeys,
label: "menu:commands/set_hotkeys",
help1: "menu:command_help/set_hotkeys1",
help2: "menu:command_help/set_hotkeys2",
name: "CheatHotkeyList",
order: 20
)
register_command(
group: :CONFIG,
type: :scene,
key: :edit_menu_order,
label: "menu:commands/edit_order",
help1: "menu:command_help/edit_order1",
help2: "menu:command_help/edit_order2",
name: "CheatMenuOrderGroups",
order: 30
)
register_command(
group: :CONFIG,
type: :scene,
key: :edit_globals,
label: "menu:commands/edit_globals",
help1: "menu:command_help/edit_globals1",
help2: "menu:command_help/edit_globals2",
name: "CheatGlobalsList",
order: 40
)
register_command(
group: :CONFIG,
type: :scene,
key: :reset_all_settings,
label: "menu:commands/reset_all_settings",
help1: "menu:command_help/reset_all_settings1",
help2: "menu:command_help/reset_all_settings2",
name: "CheatResetSettings",
order: 50
)
end
end
@@ -0,0 +1,875 @@
#===============================================================================
# Menu Defaults
#------------------------------------------------------------------------------
# Handles default commands structure and interface
#===============================================================================
module MenuFramework
module ScrollArrows
ARROW_SRC_DOWN = Rect.new(0, 0, 19, 12)
ARROW_WIDTH = 12
ARROW_HEIGHT = 8
ARROW_Z = 200
JIGGLE_PERIOD = 60
ARROW_UP_Y_OFFSET = 4 # nudge down to re-center against the smaller glyphs
ARROW_DOWN_Y_OFFSET = 0
# Cap the cluster at 180px so it doesn't stretch to fill wide windows.
def scroll_arrow_span
[contents_width, 180].min
end
# Override to 1 for a single centered arrow instead of a 3-wide cluster.
def scroll_arrow_tile_count
3
end
def create_scroll_arrows
source = Cache.system("Menu/08Items/item_arrow")
down_glyph = Bitmap.new(ARROW_WIDTH, ARROW_HEIGHT)
down_glyph.stretch_blt(down_glyph.rect, source, ARROW_SRC_DOWN)
@scroll_arrow_down = build_scroll_arrow(down_glyph)
@scroll_arrow_up = build_scroll_arrow(flip_glyph(down_glyph))
update_scroll_arrows
end
# Row-by-row reversal instead of a negative sprite zoom (zoom_y = -1
# silently failed to render at all) - keeps up/down pixel-identical.
def flip_glyph(glyph)
flipped = Bitmap.new(glyph.width, glyph.height)
glyph.height.times do |row|
flipped.blt(0, glyph.height - 1 - row, glyph, Rect.new(0, row, glyph.width, 1))
end
flipped
end
def build_scroll_arrow(glyph)
span = scroll_arrow_span
sprite = Sprite.new
sprite.z = ARROW_Z
sprite.bitmap = Bitmap.new(span, ARROW_HEIGHT)
scroll_arrow_tile_positions(span).each do |dest_x|
sprite.bitmap.blt(dest_x, 0, glyph, glyph.rect)
end
sprite.x = self.x + padding + (contents_width - span) / 2
sprite.visible = false
sprite
end
def scroll_arrow_tile_positions(span)
count = scroll_arrow_tile_count
return [span / 2 - ARROW_WIDTH / 2] if count <= 1
(0...count).map { |i| i * (span - ARROW_WIDTH) / (count - 1) }
end
def update_scroll_arrows
return unless @scroll_arrow_up && @scroll_arrow_down
more_rows = page_row_max > 0 && row_max > page_row_max
@scroll_arrow_up.visible = more_rows && top_row > 0
@scroll_arrow_down.visible = more_rows && bottom_row < row_max - 1
jiggle = Graphics.frame_count % JIGGLE_PERIOD / (JIGGLE_PERIOD / 3)
@scroll_arrow_up.y = self.y + ARROW_UP_Y_OFFSET - jiggle if @scroll_arrow_up.visible
@scroll_arrow_down.y = self.y + height - padding_bottom + ARROW_DOWN_Y_OFFSET + jiggle if @scroll_arrow_down.visible
end
def dispose_scroll_arrows
@scroll_arrow_up.dispose if @scroll_arrow_up
@scroll_arrow_down.dispose if @scroll_arrow_down
end
def update
super
update_scroll_arrows
end
def dispose
dispose_scroll_arrows
super
end
end
end
#==============================================================================
# Action Window Module
#==============================================================================
module Action_Window_Defaults
include MenuFramework::ScrollArrows
attr_accessor :dictionary
#--------------------------------------------------------------------------
# Initialize
#-------------------------------------------------------------------------
def initialize
super(160, 0)
@dictionary = nil
@hotkey_capture_mode = false
clear_edit
create_scroll_arrows
end
def clear_edit
@editing = false
@editing_this = nil
@editing_number = nil
@edit_value = 0
@edit_list = []
@edit_index = 0
@edit_min = 0
@edit_max = 0
end
#--------------------------------------------------------------------------
# Window Structure
#--------------------------------------------------------------------------
def window_width; return Graphics.width - 160; end
def window_height; return Graphics.height - 120; end
#--------------------------------------------------------------------------
# Command Initialization
#--------------------------------------------------------------------------
def commands_from_group
return unless @dictionary
FrameworkUtils.sorted_commands(@dictionary).each do |key, record|
next if record[:hide].is_a?(Proc) ? record[:hide].call : record[:hide]
enable = record[:enable].is_a?(Proc) ? record[:enable].call : record[:enable]
add_command(
#$framework.txt(record[:label]), added alternative proc handling for testing:
record[:label].is_a?(Proc) ? record[:label].call : $framework.txt(record[:label]),
:run_default_command,
enable,
record[:key]
)
end
end
#--------------------------------------------------------------------------
# Command Definition
#--------------------------------------------------------------------------
def run_default_command
return if @hotkey_capture_mode # assigning a hotkey, not activating the row
key = current_ext
record = @dictionary[key]
return unless record
case record[:type]
when :edit_num, :edit_list
if @editing
save_editing(key)
else
start_editing(key)
end
refresh
else
record[:action].call if record[:action]
FrameworkUtils.mark_restart_needed(record)
SndLib.sys_ok
refresh
end
end
def start_editing(key)
record = @dictionary[key]
return unless record
@editing = true
@editing_this = key
@editing_number = record[:type] == :edit_num
@edit_value = record[:state].call rescue 0
if @editing_number
@edit_min = record[:min].is_a?(Proc) ? record[:min].call : record[:min] || 0
@edit_max = record[:max].is_a?(Proc) ? record[:max].call : record[:max] || 999
else
@edit_list = record[:list] || []
@edit_index = @edit_list.index { |i| i[:key] == record[:state].call rescue 0 } || 0
@edit_value = @edit_list[@edit_index][:label]
end
end
def save_editing(key)
record = @dictionary[key]
return unless record
save_value =
if record[:type] == :edit_list
save_value = @edit_list[@edit_index][:key]
else
save_value = @edit_value
end
if record[:action].arity == 1
#Handle Value (v) entry.
record[:action].call(save_value)
elsif record[:action].arity == 2
#Handle Key/Value pair - mostly for saving to config.
record[:action].call(record[:key],save_value)
else
#Run the command as-is if nothing required.
instance_exec(&record[:action])
end
FrameworkUtils.mark_restart_needed(record)
SndLib.sys_ok
clear_edit
end
#--------------------------------------------------------------------------
# Draw Setup
#--------------------------------------------------------------------------
def draw_item(index)
MenuFramework.force_font(contents) if contents
rect = item_rect_for_text(index)
contents.clear_rect(rect)
key = @list[index][:ext]
name = command_name(index)
enabled = command_enabled?(index)
record = @dictionary && key ? @dictionary[key] : nil
value = nil
right = ""
# --- Determine base color ---
color = if record && record[:color]
c = record[:color]
val = c.respond_to?(:call) ? c.call : c
val.is_a?(Numeric) ? text_color(val) : val
else
normal_color
end
# --- Determine what to display on the right side ---
case record && record[:type]
when :info
right = record[:state].call rescue ""
color = text_color(8)
when :toggle
value = record[:state].call rescue false
right = value ? "[#{$framework.txt("menu:cheat_toggle/on")}]" :
"[#{$framework.txt("menu:cheat_toggle/off")}]"
when :edit_num
value = record[:state].call rescue 0
right = value.to_s
when :edit_list
list = record[:list] || []
value = record[:state].call rescue 0
item = list.find { |i| i[:key] == value }
right = item ? item[:label] : value.to_s
when :scene
right = ">>>"
end
# --- Adjust display name and color ---
hotkey_tag = FrameworkUtils.hotkey_tag_for(@dictionary, key)
# edit_list/edit_num rows cannot be assigned a hotkey, so no conflict with restart tag.
restart_tag = hotkey_tag ? nil : (FrameworkUtils.restart_mismatch?(record) ? "[#{$framework.txt("menu:commands_status/restart_needed")}]" : nil)
tag = hotkey_tag || restart_tag
tagged_name = tag ? "#{name} #{tag}" : name
display_name = enabled ? tagged_name : "#{tagged_name} (#{$framework.txt("menu:commands_status/locked")})"
color = enabled ? color : text_color(8)
if @editing && key == @editing_this
color = text_color(16)
right = @edit_value.to_s
end
if @hotkey_capture_mode && index == self.index
color = text_color(16)
end
# --- Draw ---
change_color(color)
draw_text(rect, display_name, 0)
draw_text(rect, right, 2) if right && !right.to_s.empty?
end
#--------------------------------------------------------------------------
# Control Overrides
#--------------------------------------------------------------------------
def cursor_left(wrap = false)
if @editing
SndLib.play_cursor
number = @editing_number ? edit_key_multiply : 1
modify_variable(-number)
else
cursor_pageup
end
end
def cursor_right(wrap = false)
if @editing
SndLib.play_cursor
number = @editing_number ? edit_key_multiply : 1
modify_variable(number)
else
cursor_pagedown
end
end
def cursor_up(wrap = false)
super unless @editing
refresh_help_window
end
def cursor_down(wrap = false)
super unless @editing
refresh_help_window
end
def refresh_help_window
SceneManager.scene.refresh_help_window if SceneManager.scene.respond_to?(:refresh_help_window)
end
def override_help_window_text(text)
SceneManager.scene.override_help_window_text(text) if SceneManager.scene.respond_to?(:override_help_window_text)
end
def process_cancel
if @hotkey_capture_mode
exit_hotkey_capture
elsif @editing
clear_edit
refresh
else
super
end
end
#--------------------------------------------------------------------------
# Hotkey Capture
#--------------------------------------------------------------------------
# LETTER_C arms the row, Shift/Ctrl/Alt+key assigns (F-key or letter/digit/
# punctuation, see HotkeySymbols), Delete/Backspace clears, LETTER_C/Cancel
# disarms. Any command can hold a hotkey via hotkey_defs.
FKEY_SYMBOLS = (1..12).map { |n| :"F#{n}" }
# :edit_num/:edit_list actions need a value argument, which a bare keypress can't supply.
CAPTURABLE_TYPES = [:toggle, :action, :scene]
def update
super
return unless active
if @hotkey_capture_mode
update_hotkey_capture
elsif !@editing && current_ext && Input.trigger?(:LETTER_C)
if capturable_row?
enter_hotkey_capture
else
SndLib.sys_buzzer
end
end
end
def capturable_row?
return false unless @dictionary && current_ext
record = @dictionary[current_ext]
record && CAPTURABLE_TYPES.include?(record[:type])
end
# Cursor movement is frozen on the armed row while capturing.
def process_cursor_move
return if @hotkey_capture_mode
super
end
def enter_hotkey_capture
@hotkey_capture_mode = true
$framework.hotkey_capture_active = true
SndLib.play_cursor
refresh_help_window
refresh
end
# Backs out without assigning anything - the only time "C to cancel" is
# accurate, since assign/clear below leave on their own once committed.
def exit_hotkey_capture
SndLib.play_cursor
leave_hotkey_capture
end
def leave_hotkey_capture
@hotkey_capture_mode = false
$framework.hotkey_capture_active = false
refresh_help_window
refresh
end
def update_hotkey_capture
if Input.trigger?(:LETTER_C)
exit_hotkey_capture
return
end
if Input.trigger?(:BACK) || Input.trigger?(:DELETE)
clear_current_hotkey
return
end
(FKEY_SYMBOLS + HotkeySymbols.symbols).each do |key_sym|
next unless Input.trigger?(key_sym)
assign_current_hotkey(key_sym)
return
end
end
def current_hotkey_full_key
key = current_ext
return nil unless key
group = FrameworkUtils.group_for_dictionary(@dictionary)
return nil unless group
"#{group}.#{key}"
end
def assign_current_hotkey(key_sym)
full_key = current_hotkey_full_key
return unless full_key
if HotkeyReserved.info_for(key_sym.to_s)
SndLib.sys_buzzer # reserved (Main Menu Key and F10 always, F5/F6 while RolePlay-S is active) - refuse, modifiers don't help
return
end
mods = []
mods << "Shift" if Input.press?(:SHIFT)
mods << "Ctrl" if Input.press?(:CTRL)
mods << "Alt" if Input.press?(:ALT)
key_str = (mods + [HotkeySymbols.name_for(key_sym) || key_sym.to_s]).join("+")
if $framework.hotkey_defs[full_key]
$framework.hotkey_defs[full_key][:key] = key_str
else
$framework.hotkey_defs[full_key] = { key: key_str, sound: nil }
end
$framework.ini.save_hotkeys_to_ini
$framework.ini.build_hotkey_map # live immediately - no restart needed
SndLib.sys_ok
leave_hotkey_capture
end
def clear_current_hotkey
full_key = current_hotkey_full_key
return unless full_key
return unless $framework.hotkey_defs[full_key]
$framework.hotkey_defs[full_key][:key] = "NONE"
$framework.ini.save_hotkeys_to_ini
$framework.ini.build_hotkey_map
SndLib.sys_cancel
leave_hotkey_capture
end
def edit_key_multiply
multi = 1
multi *= 10 if Input.press?(Input::KEYMAP[:SHIFT])
multi *= 100 if Input.press?(Input::KEYMAP[:CONTROL])
multi
end
def modify_variable(change)
if @editing_number
@edit_value += change
@edit_value = [[@edit_value, @edit_min].max, @edit_max].min
else
return unless @edit_list && @edit_list.is_a?(Array)
@edit_index = (@edit_index + change) % @edit_list.size # cycles properly
@edit_value = @edit_list[@edit_index][:label]
end
refresh
refresh_help_window if live_help_command?
end
# True if this row's help1-4 is a Proc, so it needs redrawing mid-edit.
def live_help_command?
record = @dictionary && @editing_this ? @dictionary[@editing_this] : nil
record && [:help1, :help2, :help3, :help4].any? { |k| record[k].is_a?(Proc) }
end
end
#==============================================================================
# Scene Defaults
#==============================================================================
module Scene_Defaults
attr_accessor :menu_symbol
attr_reader :action_window
# Online live-map under cheat UI (same host as ESC/storage).
if defined?(MPLiveEscMenu) && defined?(MPLiveEscMenu::SpritesetHost)
include MPLiveEscMenu::SpritesetHost
end
CF_LIVE_DIM_Z = 50
CF_LIVE_WINDOW_Z = 2100
def mp_cf_live_online?
defined?(MPLiveEscMenu) && MPLiveEscMenu.respond_to?(:online?) && MPLiveEscMenu.online?
rescue
false
end
# Soft dim ABOVE the map spriteset, BELOW cheat windows (default Window z≈100
# would sit under SCENE_BASE_Z=2000 dim — that was the blackout bug).
def mp_cf_create_live_dim
@background_sprite = Sprite.new
@background_sprite.z = CF_LIVE_DIM_Z
w = [(Graphics.width rescue 640).to_i, 1].max
h = [(Graphics.height rescue 360).to_i, 1].max
bmp = Bitmap.new(w, h)
bmp.fill_rect(0, 0, w, h, Color.new(0, 0, 0, 80))
@background_sprite.bitmap = bmp
@background_sprite.opacity = 255
@mp_live_owned_bg_sprite_bitmap = true
rescue
@background_sprite = nil
end
def create_background
if mp_cf_live_online?
mp_cf_create_live_dim
return
end
super
rescue
super
end
def dispose_background
begin
if @mp_live_owned_bg_sprite_bitmap
if @background_sprite
begin
bmp = @background_sprite.bitmap
@background_sprite.bitmap = nil
bmp.dispose if bmp && !bmp.disposed?
rescue
end
begin
@background_sprite.dispose unless (@background_sprite.disposed? rescue true)
rescue
end
end
@background_sprite = nil
@mp_live_owned_bg_sprite_bitmap = false
return
end
rescue
end
super
end
def mp_cf_raise_window_z
z = CF_LIVE_WINDOW_Z
[@command_window, @help_window, @action_window].each do |win|
next unless win
begin
win.z = z if win.respond_to?(:z=)
rescue
end
end
rescue
end
def start
super
create_command_window
create_help_window
create_action_window
@help_window_text1 = nil
@help_window_text2 = nil
@help_window_text3 = nil
@help_window_text4 = nil
begin
if mp_cf_live_online? && respond_to?(:mp_live_setup_spriteset)
mp_live_setup_spriteset
mp_cf_raise_window_z
end
rescue
end
end
def update
begin
if mp_cf_live_online? && @mp_live_spriteset && respond_to?(:mp_live_tick_world)
if respond_to?(:mp_live_tick_world_or_exit_on_transfer)
return if mp_live_tick_world_or_exit_on_transfer
else
mp_live_tick_world
end
end
rescue
end
super
end
def terminate
begin
(@mp_cf_orphan_windows || []).each do |win|
next unless win
win.dispose unless (win.disposed? rescue false)
end
rescue
end
@mp_cf_orphan_windows = nil
begin
mp_live_dispose_spriteset if respond_to?(:mp_live_dispose_spriteset)
rescue
end
super
end
def create_action_window
wx = @command_window.width
ww = Graphics.width - wx
wh = Graphics.height - @help_window.height
@action_window = Window_Base.new(wx, 0, ww, wh)
mp_cf_raise_window_z if mp_cf_live_online?
end
def override_action_window
@command_window.deactivate
# Replacing @action_window without dispose leaked the blank right panel
# onto the map after leaving CheatFramework.
begin
old = @action_window
if old && !(old.disposed? rescue false)
old.dispose
end
rescue
begin
@mp_cf_orphan_windows ||= []
@mp_cf_orphan_windows << @action_window if @action_window
rescue
end
end
@action_window = @window.new
@action_window.dictionary = @dictionary
@action_window.set_handler(:cancel, method(:return_action_scene))
@action_window.set_handler(:run_default_command, method(:default_command))
mp_cf_raise_window_z if mp_cf_live_online?
restore_action_window_state
refresh_help_window
end
def default_command
@action_window.activate
@action_window.dictionary = @dictionary
save_action_window_state
@action_window.run_default_command
refresh_help_window
end
def return_action_scene
save_action_window_state
return_scene
end
def save_action_window_state
menu = @menu_symbol
$framework.menu_stack.push({ menu: menu, symbol: @action_window.current_ext, index: @action_window.index })
end
def save_action_window_state
menu = @menu_symbol
symbol = @action_window.current_ext rescue nil
index = @action_window.index rescue 0
$framework.menu_stack.push({ menu: menu, symbol: @action_window.current_ext, index: @action_window.index })
end
def restore_action_window_state
menu = @menu_symbol
return unless menu && $framework.menu_stack && @action_window.active
entry = $framework.menu_stack.reverse.find { |e| e[:menu] == menu }
if entry
list = @action_window.instance_variable_get(:@list)
idx = list.index { |cmd| cmd[:symbol] == entry[:symbol] } || entry[:index] || 0
idx = [[idx, 0].max, list.size - 1].min
@action_window.select(idx)
end
end
def menu_has_saved_state?(symbol)
$framework.menu_stack.any? { |h| h[:symbol] == symbol }
end
def create_help_window
wx = @command_window.width
wy = Graphics.height - 120
ww = Graphics.width - wx
wh = 120
@help_window = Window_Base.new(wx, wy, ww, wh)
end
def override_help_window_text(text)
if @help_window && @help_window.contents
c = @help_window.contents
c.clear
MenuFramework.force_font(c)
@help_window.draw_text_ex(4, 0, text)
end
end
def refresh_help_window
text = ""
unless @command_window.active
cmd = @action_window.current_ext
dict = @action_window.instance_variable_get(:@dictionary) rescue nil
record = dict ? dict[cmd] : nil
# Build help text
help_lines = []
help1 = (record[:help1] rescue nil) #command specific text
help1 = help1.call if help1.is_a?(Proc)
help2 = (record[:help2] rescue nil) #command specific text
help2 = help2.call if help2.is_a?(Proc)
help3 = (record[:help3] rescue nil) #command specific text
help3 = help3.call if help3.is_a?(Proc)
help4 = (record[:help4] rescue nil) #command specific text
help4 = help4.call if help4.is_a?(Proc)
if help1.nil? && help2.nil?
help1 = @help_window_text1 rescue nil #scene specific text
help2 = @help_window_text2 rescue nil #scene specific text
if help1.nil? && help2.nil?
help1 = "" #if neither set, leave blank
help2 = "" #if neither set, leave blank
end
end
help_lines << help1
help_lines << help2
# Interface Instructions
if help3.nil? && help4.nil?
help3 = @help_window_text3 rescue nil #scene specific text
help4 = @help_window_text4 rescue nil #scene specific text
if help3.nil? && help4.nil?
if @action_window && @action_window.instance_variable_get(:@hotkey_capture_mode)
help3 = $framework.txt("menu:command_help/hotkey_capture1")
help4 = $framework.txt("menu:command_help/hotkey_capture2")
elsif @action_window && @action_window.instance_variable_get(:@editing_number)
help3 = $framework.txt("menu:command_help/num_edit1")
help4 = $framework.txt("menu:command_help/num_edit2")
elsif @action_window && @action_window.instance_variable_get(:@editing)
help3 = ""
help4 = $framework.txt("menu:command_help/num_edit1")
else
type = record && record[:type]
case type
when :action then help3 = $framework.txt("menu:command_help/execute")
when :scene then help3 = $framework.txt("menu:command_help/scene")
when :toggle then help3 = $framework.txt("menu:command_help/toggle")
when :edit_num, :edit_list then help3 = $framework.txt("menu:command_help/edit")
else help3 = ""
end
# Only :action/:toggle/:scene rows can carry a hotkey (see
# Action_Window_Defaults::CAPTURABLE_TYPES) - :edit_num/:edit_list
# get no hint since pressing C there just buzzes.
help4 = [:action, :scene, :toggle].include?(type) ? $framework.txt("menu:command_help/set_hotkey_hint") : ""
end
end
end
help_lines << help3
help_lines << help4
text = help_lines.join("\n")
# Update Help Window
if @help_window && @help_window.contents
c = @help_window.contents
c.clear
MenuFramework.force_font(c)
@help_window.draw_text_ex(4, 0, text)
end
end
end
def create_command_window
@command_window = Window_CheatMainMenu.new
main_dict = $framework.commands[:MAIN] || {}
main_dict.each do |symbol, entry|
@command_window.set_handler(:menu_command, method(:menu_command_update))
end
# Always restore using the first (root) menu symbol in the stack
if $framework.menu_stack && !$framework.menu_stack.empty?
first = $framework.menu_stack.first
list = @command_window.instance_variable_get(:@list)
index = list.index { |cmd| cmd[:ext] == first[:symbol] }
@command_window.select(index || 0)
else
@command_window.select(0)
end
end
def save_command_window_state
menu = :MAIN
symbol = @command_window.current_ext rescue nil
index = @command_window.index rescue 0
return unless symbol
$framework.menu_stack.clear
$framework.menu_stack.push({ menu: :MAIN, symbol: symbol, index: index })
end
def menu_command_update
save_command_window_state
key = @command_window.current_ext
record = $framework.commands[:MAIN][key]
return unless record
record[:action].call if record[:action]
SndLib.sys_ok
end
# Small fix to prevent crashes when opening the menu during animations.
def hud
self
end
end
#==============================================================================
# Config List Defaults (Edit Menu Order / View Hotkeys / Edit Globals - the
# full-width single-window screens in scripts/Controls.rb)
#==============================================================================
module Window_ConfigList_Defaults
include MenuFramework::ScrollArrows
def window_width; Graphics.width; end
def window_height; Graphics.height - 120; end
def initialize(*args)
super
create_scroll_arrows
end
def force_content_font
MenuFramework.force_font(contents) if contents
end
end
module Scene_ConfigList_Defaults
# Breadcrumb save/restore/clamp, keyed by each scene's own menu_key.
def save_selection
$framework.menu_stack.push({
menu: menu_key,
symbol: @command_window.current_ext,
index: @command_window.index
})
end
def restore_selection
entry = $framework.menu_stack.reverse.find { |e| e[:menu] == menu_key }
return unless entry
list = @command_window.instance_variable_get(:@list)
idx = list.index { |cmd| cmd[:ext] == entry[:symbol] } || entry[:index] || 0
idx = [[idx, 0].max, list.size - 1].min
@command_window.select(idx)
end
def clamp_selection
list = @command_window.instance_variable_get(:@list)
return if list.empty?
idx = [[@command_window.index, 0].max, list.size - 1].min
@command_window.select(idx)
end
end
@@ -0,0 +1,142 @@
#===============================================================================
# FrameworkLoader
#------------------------------------------------------------------------------
# Handles discovery, registration, and loading of modular cheat components
#===============================================================================
class FrameworkLoader
attr_reader :modules
attr_reader :loaded
def initialize(root_path, ini = nil)
@path = root_path
@ini = ini || FrameworkConfig.new(File.join($framework.config_dir, "_system"))
@modules = []
@modules_by_key = {}
@loaded = []
end
#--------------------------------------------------------------------------
# Find all files in modules folder
#--------------------------------------------------------------------------
def discover
unless Dir.exist?(@path)
return
end
@modules = []
@modules_by_key = {}
Dir.glob(File.join(@path, "**", "*.rb")).each do |file|
meta = read_metadata(file)
# If no metadata block was found, build a sane default from filename
unless meta
base = File.basename(file, ".rb")
rel = file.sub(@path + File::SEPARATOR, '')
meta = {
name: base,
key: base.downcase.gsub(/[^a-z0-9]+/, '_').to_sym,
path: rel,
depends_on: [],
enabled: true,
order: 999
}
end
# normalize key -> symbol, ensure path and depends_on exist
key = (meta[:key] || meta[:id] || File.basename(file, ".rb")).to_sym
meta[:key] = key
meta[:path] ||= file
meta[:depends_on] ||= []
# apply INI overrides
meta[:enabled] = @ini.get_enabled("#{key}.enabled", meta.fetch(:enabled, true))
meta[:order] = @ini.get_load_order("#{key}.order", meta.fetch(:order, 999))
@modules << meta
@modules_by_key[key] = meta
end
end
#--------------------------------------------------------------------------
# Collects metadata from files without loading
#--------------------------------------------------------------------------
def read_metadata(file)
content = File.read(file)
if content =~ /FrameworkModule\s*=\s*(\{.*?\})/m
begin
# eval the hash literal only (it won't define a top-level constant)
parsed = eval($1)
# normalize keys to symbols if they are strings
if parsed.is_a?(Hash)
parsed = parsed.transform_keys { |k| k.is_a?(String) ? k.to_sym : k }
parsed[:path] = file.sub(@path + File::SEPARATOR, '')
parsed[:depends_on] ||= []
return parsed
end
rescue => e
return nil
end
end
nil
end
#--------------------------------------------------------------------------
# Load called by init after discovery
#--------------------------------------------------------------------------
def load_all
resolve_dependencies
load_enabled_modules
end
#--------------------------------------------------------------------------
# Reorder modules based on dependencies
#--------------------------------------------------------------------------
def resolve_dependencies
# Simple topological sort
sorted = []
visited = {}
visit = lambda do |mod|
return if visited[mod[:key]]
visited[mod[:key]] = true
mod[:depends_on].each do |dep|
dep_mod = @modules_by_key[dep]
unless dep_mod
next
end
visit.call(dep_mod)
end
sorted << mod
end
@modules.each { |m| visit.call(m) }
@modules = sorted.sort_by { |m| m[:order] }
end
#--------------------------------------------------------------------------
# Load modules, filtering disabled ones
#--------------------------------------------------------------------------
def load_enabled_modules
@modules.each do |mod|
next unless mod[:enabled]
begin
safe_load(mod[:path])
@loaded << mod[:key]
ensure
Object.send(:remove_const, :FrameworkModule) if Object.const_defined?(:FrameworkModule)
end
end
end
#--------------------------------------------------------------------------
# Safe loader with error handling
#--------------------------------------------------------------------------
def safe_load(file)
load_script($mod_manager.get_resource("cheatframework", "modules/#{file}"))
end
end
@@ -0,0 +1,527 @@
# Cheat Framework: Main Menu
#---------------------------------------------------------------------------
# Hotkeys
#---------------------------------------------------------------------------
module FrameworkUtils
def self.process_hotkeys
return unless FrameworkUtils.ingame?
return unless FrameworkUtils.cheats_allowed?
return if FrameworkUtils.admin_overlay_open?
process_menu_toggle_hotkey
$framework.hotkeys.each do |key_const, actions|
next unless Input.trigger?(key_const)
actions.each do |data|
record = $framework.commands.dig(data[:group], data[:key])
cmd = record && record[:action]
next unless cmd
# Suppress hotkeys while a submenu is mid-capture, so the target key
# doesn't also fire whatever it's currently bound to.
next if $framework.hotkey_capture_active
# Don't fire cheat hotkeys while browsing the cheat menu itself.
next if FrameworkUtils.in_menu?
# Letter/digit/punctuation hotkeys no-op if the game's own Key Binds
# menu claims that key; F-keys skip this check (see HotkeySymbols).
next if HotkeySymbols.symbols.include?(key_const) && FrameworkUtils.claimed_by_game_controls?(key_const)
next unless modifiers_match?(data[:mods])
cmd.call
FrameworkUtils.mark_restart_needed(record)
SndLib.send(data[:sound]) if defined?(SndLib) && data[:sound]
end
end
end
# Reads the Main Menu Toggle key from Input::SYM_KEYS[:CF_CHEAT_MENU] (see
# hook_vanilla_keybind_menu), not a :MENU-group entry in $framework.hotkeys.
def self.process_menu_toggle_hotkey
return unless FrameworkUtils.cheats_allowed?
return if FrameworkUtils.admin_overlay_open?
return if $framework.hotkey_capture_active
return unless Input.trigger?(:CF_CHEAT_MENU)
record = $framework.commands.dig(:MENU, "Main Menu")
cmd = record && record[:action]
return unless cmd
if FrameworkUtils.in_menu?
# Loop since SceneManager.return only pops one level at a time.
SceneManager.return while FrameworkUtils.in_menu?
else
cmd.call # not in menu → open it
end
end
def self.modifiers_match?(mods)
# Convert symbols to input names dynamically
pressed = {
SHIFT: Input.press?(:SHIFT),
CTRL: Input.press?(:CTRL),
ALT: Input.press?(:ALT)
}
mods.all? { |m| pressed[m] } &&
(!pressed[:SHIFT] || mods.include?(:SHIFT)) &&
(!pressed[:CTRL] || mods.include?(:CTRL)) &&
(!pressed[:ALT] || mods.include?(:ALT))
end
end
class CheatFramework
alias_method :hotkey_trigger_Framework, :hotkey_trigger
def hotkey_trigger
hotkey_trigger_Framework
FrameworkUtils.process_hotkeys if FrameworkUtils.ingame?
end
end
#============================================================================
# Menu Initialization
#============================================================================
module MenuFramework
#==========================================================================
# Framework-level helpers
#==========================================================================
def self.ensure_scene_and_window(opts)
name = opts[:name]
dict = opts[:dict]
win_name = "Window_#{name}"
scene_name = "Scene_#{name}"
unless Object.const_defined?(win_name)
Object.const_set(win_name, Class.new(Window_Command) do
include Action_Window_Defaults
define_method(:make_command_list) do
@dictionary = $framework.commands[dict]
commands_from_group
end
end)
end
unless Object.const_defined?(scene_name)
new_scene = Class.new(Scene_MenuBase) do
include Scene_Defaults
define_method(:start) do
super()
@dictionary = $framework.commands[dict]
@window = Object.const_get(win_name)
@help_window_text1 = opts[:menu1].is_a?(Proc) ? opts[:menu1].call : (opts[:menu1] ? "#{$framework.txt(opts[:menu1])}" : nil)
@help_window_text2 = opts[:menu2].is_a?(Proc) ? opts[:menu2].call : (opts[:menu2] ? "#{$framework.txt(opts[:menu2])}" : nil)
@help_window_text3 = opts[:menu3].is_a?(Proc) ? opts[:menu3].call : (opts[:menu3] ? "#{$framework.txt(opts[:menu3])}" : nil)
@help_window_text4 = opts[:menu4].is_a?(Proc) ? opts[:menu4].call : (opts[:menu4] ? "#{$framework.txt(opts[:menu4])}" : nil)
override_action_window
end
end
Object.const_set(scene_name, new_scene)
# Track dynamically created scene for hotkey handling
FrameworkUtils.menu_scenes << new_scene
end
end
def self.force_font(contents)
return unless contents
# RUS2 defines its own compact menu font. Use it for every
# CheatFramework window instead of falling back to the CJK default font.
if defined?(FONT_MOD) &&
FONT_MOD.const_defined?(:MENU_L) &&
FONT_MOD.const_defined?(:MENU_L_S) &&
Font.exist?(FONT_MOD::MENU_L)
contents.font.name = FONT_MOD::MENU_L
contents.font.size = FONT_MOD::MENU_L_S
contents.font.bold = true
contents.font.shadow = false
contents.font.outline = false
return
end
return if Font.default_name == "Noto Sans CJK TC Black"
return unless Font.exist?("Noto Sans CJK TC Black")
contents.font.name = "Noto Sans CJK TC Black"
contents.font.size = Font.default_size
end
#==========================================================================
# Main Menu Registration
#==========================================================================
module MENU
$framework.commands[:MAIN] ||= {}
unless singleton_class.method_defined?(:orig_register_command)
class << self
alias_method :orig_register_command, :register_command if method_defined?(:register_command)
def register_command(opts = {})
# Automatically attach current module source if defined
if defined?(FrameworkModule) && FrameworkModule.is_a?(Hash)
alt_name = (FrameworkModule[:name] || (FrameworkModule[:key] || FrameworkModule[:id]).capitalize)
opts[:name] ||= "CheatMenu#{alt_name.gsub(/\s+/, '')}"
opts[:source] ||= (FrameworkModule[:name] || FrameworkModule[:key] || FrameworkModule[:id])
opts[:dict] ||= FrameworkModule[:menu] || FrameworkModule[:key].to_s.upcase
opts[:key] ||= opts[:source]
end
orig_register_command(opts)
end
end
end
def self.orig_register_command(opts = {})
# Prepare keys and menu references
key = opts[:key] # menu key
name = opts[:name] # scene/window name
dict = opts[:dict] || :NONE # submenu constant name
# Initialize the group in $framework.commands
$framework.commands[dict] ||= {}
if name
MenuFramework.ensure_scene_and_window(opts)
scene = Object.const_get("Scene_#{name}")
# Dynamically handle scene/window creation if needed
action = -> {
SceneManager.call(scene)
SceneManager.scene.instance_variable_set(:@menu_symbol, key) if SceneManager.scene
}
else
return
end
# Store in $framework.commands instead of COMMANDS
$framework.commands[:MAIN][key] = {
source: opts[:source],
key: opts[:key],
label: opts[:label],
menu1: opts[:menu1],
menu2: opts[:menu2],
menu3: opts[:menu3],
menu4: opts[:menu4],
order: opts[:order] || 999,
default_order: opts[:order] || 999,
action: action
}
end
end
#==========================================================================
# Submenu Registration
#==========================================================================
module SUBMENU
# Define default submenu groups
unless singleton_class.method_defined?(:orig_register_command)
class << self
alias_method :orig_register_command, :register_command if method_defined?(:register_command)
def register_command(opts = {})
if defined?(FrameworkModule) && FrameworkModule.is_a?(Hash)
alt_name = (FrameworkModule[:name] || (FrameworkModule[:key] || FrameworkModule[:id]).capitalize)
opts[:name] ||= "CheatMenu#{alt_name.gsub(/\s+/, '')}"
# Use module key or menu name for source/group defaults
opts[:source] ||= (FrameworkModule[:name] || FrameworkModule[:key] || FrameworkModule[:id])
opts[:group] ||= (FrameworkModule[:menu] || FrameworkModule[:key].to_s.upcase)
end
orig_register_command(opts)
end
end
end
# Unified command registration method
def self.orig_register_command(opts)
key = opts[:key]
name = opts[:name] # scene/window name, when this command opens one
type = opts[:type]
group = opts[:group]
state = opts[:state] # only :toggle/:edit_num/:edit_list/:info use this
gdef = opts[:gdef]
hotkey = opts[:hotkey]
scene = opts[:scene]
action = opts[:action]
#Handle group lookup/creation
group = group.upcase.to_sym
$framework.commands[group] ||= {}
if type == :toggle && !action && state
action = -> {
new_val = !eval(state); eval("#{state} = #{new_val}")
$framework.ini.write_global(key, new_val)
}
end
if !opts[:gdef].nil? && state
var_name = state[1..-1] # remove $
default = gdef
# Read from INI or use default
value = $framework.ini.read_global(key, default)
eval("$#{var_name} = #{value.inspect}")
# Auto-define an action if missing
if action.nil?
action = lambda do |val|
next if val.nil?
eval("$#{var_name} = val")
$framework.ini.write_global(key, val)
end
end
end
if hotkey && hotkey[:key]
sound = hotkey[:sound] || :sys_ok
$framework.hotkey_defs["#{group}.#{key}"] = { key: hotkey[:key], sound: sound }
end
#Dynamically handles scene and window creation if needed.
if type == :scene && name
MenuFramework.ensure_scene_and_window(opts)
scene = Object.const_get("Scene_#{name}")
end
#Special handling to populate/standardize scene command.
if type == :scene && scene
action = -> {
SceneManager.call(scene)
SceneManager.scene.instance_variable_set(:@menu_symbol, key) if SceneManager.scene
}
end
if opts[:source]=="Edit Lona" && opts[:group]==:MISC
#msgbox "#{opts.inspect}"
end
# Snapshot at boot for restart_mismatch? to compare against: whether the
# value equals the restart: sentinel, or (restart: true) the raw value itself.
restart_boot_disabled =
if state && opts[:restart].is_a?(Numeric)
(eval(state) rescue nil) == opts[:restart]
elsif state && opts[:restart] == true
(eval(state) rescue nil)
end
$framework.commands[group][key] = {
source: opts[:source],
type: opts[:type],
key: opts[:key],
label: opts[:label],
action: action,
state: opts[:state] ? -> { eval(opts[:state]) } : nil,
# Raw string form of state:, used by the Local/Global override system.
state_str: opts[:state],
help1: opts[:help1].is_a?(Proc) ? opts[:help1] : (opts[:help1] ? $framework.txt(opts[:help1]) : nil),
help2: opts[:help2].is_a?(Proc) ? opts[:help2] : (opts[:help2] ? $framework.txt(opts[:help2]) : nil),
help3: opts[:help3].is_a?(Proc) ? opts[:help3] : (opts[:help3] ? $framework.txt(opts[:help3]) : nil),
help4: opts[:help4].is_a?(Proc) ? opts[:help4] : (opts[:help4] ? $framework.txt(opts[:help4]) : nil),
list: opts[:list],
min: opts[:min],
max: opts[:max],
order: opts[:order] || 999,
default_order: opts[:order] || 999,
enable: opts.has_key?(:enable) ? opts[:enable] : true,
hide: opts.has_key?(:hide) ? opts[:hide] : false,
color: opts.has_key?(:color) ? opts[:color] : false,
restart: opts.has_key?(:restart) ? opts[:restart] : false,
restart_boot_disabled: restart_boot_disabled,
# Local/Global override eligibility (Config > Edit Globals). nil = not
# eligible. false = natively Local. true = natively Global.
global: opts.has_key?(:global) ? opts[:global] : nil
}
end
end
end
#============================================================================
# Main Menu Window Initialization
#============================================================================
class Window_CheatMainMenu < Window_Command
include MenuFramework::ScrollArrows
#--------------------------------------------------------------------------
# Initialize
#--------------------------------------------------------------------------
def initialize
super(0, 0)
create_scroll_arrows
end
def scroll_arrow_tile_count
1
end
#--------------------------------------------------------------------------
# Draw Setup
#--------------------------------------------------------------------------
def draw_item(index)
MenuFramework.force_font(contents) if contents
super
end
#--------------------------------------------------------------------------
# Window Structure
#--------------------------------------------------------------------------
def window_width; return 160; end
def window_height; return Graphics.height; end
#--------------------------------------------------------------------------
# Command List
#--------------------------------------------------------------------------
def make_command_list
return unless $framework.commands[:MAIN]
FrameworkUtils.sorted_commands($framework.commands[:MAIN]).each do |key, record|
add_command(
record[:label].is_a?(Proc) ? record[:label].call : $framework.txt(record[:label]),
:menu_command,
true,
record[:key]
)
end
end
end # Window_CheatMainMenu
#---------------------------------------------------------------------------
# Main Menu Scene Initialization
#---------------------------------------------------------------------------
# Restart-needed warning draws into @help_window (otherwise unused here),
# overriding normal_color on that instance to animate its color.
class Scene_CheatMainMenu < Scene_MenuBase
include Scene_Defaults
def create_command_window
super
@command_window.set_handler(:cancel, method(:return_scene))
end
# Full red -> yellow -> red sweep every ~6 seconds at 60fps.
RESTART_WARNING_STEP = 1.0 / 180
def start
super
@restart_warning_phase = 0.0 # 0.0 = red, 1.0 = yellow
@restart_warning_rising = true
@help_window.instance_variable_set(:@restart_warning_color, nil)
def @help_window.normal_color
@restart_warning_color || super
end
end
def update
super
refresh_restart_warning
end
def refresh_restart_warning
unless $framework.restart_needed
return unless @help_window.instance_variable_get(:@restart_warning_color)
@help_window.instance_variable_set(:@restart_warning_color, nil)
@help_window.contents.clear
return
end
if @restart_warning_rising
@restart_warning_phase += RESTART_WARNING_STEP
@restart_warning_rising = false if @restart_warning_phase >= 1.0
else
@restart_warning_phase -= RESTART_WARNING_STEP
@restart_warning_rising = true if @restart_warning_phase <= 0.0
end
@restart_warning_phase = [[@restart_warning_phase, 0.0].max, 1.0].min
# Red (255,0,0) -> yellow (255,255,0): only green needs to move.
green = (@restart_warning_phase * 255).round
@help_window.instance_variable_set(:@restart_warning_color, Color.new(255, green, 0))
@help_window.contents.clear
MenuFramework.force_font(@help_window.contents)
@help_window.draw_text_ex(4, 0, $framework.txt("menu:warnings/restart_required"))
end
end
FrameworkUtils.menu_scenes << Scene_CheatMainMenu
# LonaRPG Online compatibility: do not patch Menu_System's save row.
# Entry points are F9 (solo or OWNER online) and / > Чит-меню (OWNER).
# Open Cheat Menu is a rebindable vanilla Key Binds entry. Its key
# (Input::SYM_KEYS[:CF_CHEAT_MENU]) is the single source of truth, also used by View Hotkeys (Controls.rb).
module FrameworkUtils
def self.hook_vanilla_keybind_menu
InputUtils.keyList << [
:CF_CHEAT_MENU,
"#{$framework.info.id}:menu:commands/cheat_menu_keybind",
"Open Cheat Menu",
[:F9]
]
end
# Resolves the live Main Menu Toggle key to a display string (e.g. "F9"
# or "M"), for View Hotkeys' own row and HotkeyReserved's dynamic lookup.
def self.current_menu_toggle_key
code = Input::SYM_KEYS[:CF_CHEAT_MENU] && Input::SYM_KEYS[:CF_CHEAT_MENU].find { |c| c != 0 }
return nil unless code
symbol = InputUtils.reverse_key_map[code]
return nil unless symbol
HotkeySymbols.clean_name_for(symbol)
end
end
# Catches rebinds made through the vanilla Key Binds menu (not just View
# Hotkeys), so the portable backup (config/hotkeys.ini) doesn't go stale.
class CheatFramework
alias_method :slow_trigger_VanillaKeybind, :slow_trigger
def slow_trigger
slow_trigger_VanillaKeybind
$framework.ini.sync_menu_toggle_key
end
end
FrameworkUtils.hook_vanilla_keybind_menu
#============================================================================
# Default Category Initialization
#============================================================================
MenuFramework::MENU.register_command(
type: :scene,
key: :misc_menu,
label: "menu:commands/misc",
name: "CheatMenuMiscellaneous",
dict: :MISC,
order: 1
)
MenuFramework::MENU.register_command(
type: :scene,
key: :toggle_menu,
label: "menu:commands/toggles",
name: "CheatMenuToggles",
dict: :TOGGLES,
order: 2
)
MenuFramework::MENU.register_command(
type: :scene,
key: :edit_lona,
label: "menu:commands/character",
menu1: "menu:window_help/character1",
name: "CheatMenuEditLona",
dict: :LONA,
order: 4
)
MenuFramework::MENU.register_command(
type: :scene,
key: :edit_npc,
label: "menu:commands/npc",
name: "CheatMenuNPCOptions",
dict: :NPC,
order: 6
)
MenuFramework::MENU.register_command(
type: :scene,
key: :config_menu,
label: "menu:commands/config",
name: "CheatMenuConfiguration",
dict: :CONFIG,
order: 1000
)
@@ -0,0 +1,364 @@
#===============================================================================
# Cheat Utilities
#------------------------------------------------------------------------------
# Provides utility functions for the Cheat Framework.
#===============================================================================
#--------------------------------------------------------------------------
# Table of physical F-keys claimed outside CheatFramework
#--------------------------------------------------------------------------
module HotkeyReserved
TABLE = {
"F10" => { label: "Console", active: -> { true } },
"F5" => { label: "RolePlay-S QuickSave", active: -> { $framework.roleplay_mod? } },
"F6" => { label: "RolePlay-S QuickLoad", active: -> { $framework.roleplay_mod? } },
# Blocked at the OS level by 10_removeF1F12.rb, not assignable in Ruby.
"F1" => { label: "Disabled by the game itself (F1AltEnterF12.dll)", active: -> { true } },
"F12" => { label: "Disabled by the game itself (F1AltEnterF12.dll)", active: -> { true } },
}
# Main Menu Toggle key is resolved dynamically via
# FrameworkUtils.current_menu_toggle_key (scripts/Menu.rb) rather than a static TABLE entry.
def self.info_for(key)
key_str = key.to_s.upcase
return { label: "Main Menu Toggle", active: true } if key_str == FrameworkUtils.current_menu_toggle_key
entry = TABLE[key_str]
return nil unless entry
entry[:active].call ? entry : nil
end
# Strips any Shift+/Ctrl+/Alt+ prefix and checks just the base F-key.
def self.info_for_combo(key_str)
return nil unless key_str
info_for(key_str.to_s.split('+').last)
end
end
#--------------------------------------------------------------------------
# Hotkey Display Names
#--------------------------------------------------------------------------
# Punctuation entries are leftover X11 keysym names reused for Windows VK_OEM_*
# keys, not literal. LETTER_C is excluded - it's the hotkey-capture arm/disarm key.
module HotkeySymbols
DISPLAY_NAMES = {
LETTER_A: "A", LETTER_B: "B", LETTER_D: "D", LETTER_E: "E", LETTER_F: "F",
LETTER_G: "G", LETTER_H: "H", LETTER_I: "I", LETTER_J: "J", LETTER_K: "K",
LETTER_L: "L", LETTER_M: "M", LETTER_N: "N", LETTER_O: "O", LETTER_P: "P",
LETTER_Q: "Q", LETTER_R: "R", LETTER_S: "S", LETTER_T: "T", LETTER_U: "U",
LETTER_V: "V", LETTER_W: "W", LETTER_X: "X", LETTER_Y: "Y", LETTER_Z: "Z",
KEY_1: "1", KEY_2: "2", KEY_3: "3", KEY_4: "4", KEY_5: "5",
KEY_6: "6", KEY_7: "7", KEY_8: "8", KEY_9: "9", N0: "0",
masculine: ";", guillemotright: "=", onequarter: ",", onehalf: "-",
threequarters: ".", questiondown: "/", Ucircumflex: "[", Udiaeresis: "\\",
Yacute: "]", THORN: "'"
}
SYMBOLS_BY_NAME = DISPLAY_NAMES.invert
def self.symbols
DISPLAY_NAMES.keys
end
def self.name_for(symbol)
DISPLAY_NAMES[symbol]
end
def self.symbol_for(name)
SYMBOLS_BY_NAME[name]
end
# Unlike name_for, always returns something displayable, including symbols
# the table excludes (like :LETTER_C) by stripping the RGSS-internal prefix directly.
def self.clean_name_for(symbol)
return name_for(symbol) if DISPLAY_NAMES.key?(symbol)
str = symbol.to_s
return "0" if str == "N0"
return str.sub("LETTER_", "") if str.start_with?("LETTER_")
return str.sub("KEY_", "") if str.start_with?("KEY_")
str
end
end
#--------------------------------------------------------------------------
# FrameworkUtils
#--------------------------------------------------------------------------
module FrameworkUtils
class << self
attr_accessor :menu_scenes
end
# Online cheats are OWNER-only; keep original functionality in offline game.
# This is a CLIENT UI guard, not a substitute for server permission checks.
def self.cheats_allowed?
return true unless defined?(WebSocket) && WebSocket.respond_to?(:connected?) && WebSocket.connected?
WebSocket.respond_to?(:admin_owner_active?) && WebSocket.admin_owner_active?
rescue
false
end
def self.admin_overlay_open?
defined?(MPAdminMenu) && MPAdminMenu.respond_to?(:captures_gameplay_input?) &&
MPAdminMenu.captures_gameplay_input?
rescue
false
end
#List of Scenes classed as being out of game
@outgame_scenes = [
ModManagerScene,
Scene_MapTitle,
Scene_AdultContentWarning,
Scene_FirstTimeSetup,
Scene_Title,
Scene_TitleOptions,
Scene_TitleOptInputMenu,
Scene_ACHlistMenu,
Scene_Credits,
Scene_Menu,
Scene_File,
Scene_Save,
Scene_Load_OnGameMenu,
Scene_Load
]
@menu_scenes = []
#Check if a game is loaded
def self.ingame?
return (!@outgame_scenes.any? {
|outgame_scene|
SceneManager.scene_is?(outgame_scene)
} and $loading_screen.disposed?)
end
def self.in_menu?
@menu_scenes.any? { |scene_class| SceneManager.scene_is?(scene_class) }
end
# True if this hotkey's physical key is already bound to one of the game's
# own controls (Input::SYM_KEYS, live-updated by Key Binds). F-keys never go through this check.
def self.claimed_by_game_controls?(key_const)
vk_code = Input::KEYMAP[key_const]
return false unless vk_code
Input::SYM_KEYS.values.any? { |codes| codes.include?(vk_code) }
end
def self.custom_state_edit(state, new_value)
actor = $game_player.actor
state_id = state
change = new_value - (actor.stat[state_id] || 0)
if change == 0
return
elsif change < 0
change.abs.times { actor.remove_state_stack(state_id) }
elsif change > 0
change.times { actor.add_state(state_id) }
end
end
# Sorts a $framework.commands dict by :order, using registration order as a tiebreaker.
def self.sorted_commands(dictionary)
return [] unless dictionary
dictionary.to_a.each_with_index
.sort_by { |(_key, record), idx| [record[:order] || 999, idx] }
.map { |pair, _idx| pair }
end
# True if the live value disagrees with the boot-time snapshot: crossed the
# restart: <number> sentinel boundary, or (restart: true) just changed at all.
def self.restart_mismatch?(record)
return false unless record && record[:state]
restart = record[:restart]
return false unless restart.is_a?(Numeric) || restart == true
boot_disabled = record[:restart_boot_disabled]
return false if boot_disabled.nil?
current_val = record[:state].call rescue nil
return false if current_val.nil?
restart.is_a?(Numeric) ? (current_val == restart) != boot_disabled : current_val != boot_disabled
end
# Flags that a restart is needed: on every change for restart: true, or only
# when the change crosses the disabled/enabled boundary for restart: <number>.
def self.mark_restart_needed(record)
return unless record && record[:restart]
if record[:restart].is_a?(Numeric)
$framework.restart_needed = true if restart_mismatch?(record)
else
$framework.restart_needed = true
end
end
# Hotkey address lookup for the current row (Action_Window_Defaults).
def self.group_for_dictionary(dict)
return nil unless dict
entry = $framework.commands.find { |_group, d| d.equal?(dict) }
entry ? entry[0] : nil
end
def self.hotkey_tag_for(dict, key)
return nil unless key
group = group_for_dictionary(dict)
return nil unless group
data = $framework.hotkey_defs["#{group}.#{key}"]
return nil if data.nil? || data[:key].nil? || data[:key].to_s.upcase == "NONE"
"[#{data[:key]}]"
end
# The {key:, label:} entry currently highlighted in an in-progress edit_list edit.
def self.current_edit_option
scene = SceneManager.scene
return nil unless scene.respond_to?(:action_window)
aw = scene.action_window
return nil unless aw && aw.instance_variable_get(:@editing)
list = aw.instance_variable_get(:@edit_list)
idx = aw.instance_variable_get(:@edit_index)
list && list[idx]
end
# Resolves a command's display name, falling back to `fallback` if it has no label:.
def self.display_name_for(record, fallback)
return fallback.to_s unless record
label = record[:label]
if label.is_a?(Proc)
label.call
elsif label
$framework.txt(label) rescue fallback.to_s
else
fallback.to_s
end
end
end
#--------------------------------------------------------------------------
# Overrides to remove debug massaging in SceneManager
#--------------------------------------------------------------------------
class Scene_Base
def return_scene
SceneManager.return
end
end
module SceneManager
def self.call(scene_class)
@stack.push(@scene)
@scene = scene_class.new
end
def self.return
@scene = @stack.pop
end
end
#--------------------------------------------------------------------------
# Window Base adjustment to reduce padding
#--------------------------------------------------------------------------
class Window_Base < Window
def new_line_x
standard_padding / 2
end
end
#--------------------------------------------------------------------------
# Scene Base update override to include cheat triggers
#--------------------------------------------------------------------------
class Scene_Base
alias_method :update_Framework, :update
def update
update_Framework
if FrameworkUtils.in_menu? && !FrameworkUtils.cheats_allowed?
SceneManager.return
elsif FrameworkUtils.ingame? && FrameworkUtils.cheats_allowed?
$framework.hotkey_trigger
end
end
end
#--------------------------------------------------------------------------
# Block the debug console (F10) while actively assigning a hotkey
#--------------------------------------------------------------------------
class Scene_Base
alias_method :trigger_debug_window_entry_CheatFramework, :trigger_debug_window_entry
def trigger_debug_window_entry
return if $framework.hotkey_capture_active
trigger_debug_window_entry_CheatFramework
end
end
#--------------------------------------------------------------------------
# Calls $framework.on_save_ready after a new game or a loaded save
#--------------------------------------------------------------------------
# Three hooks for full coverage: a fresh game, Scene_Load (title-screen and
# in-game load), and Scene_CustomModeLoad (auto-saves, Doom-mode save, RolePlay-S quickload).
module DataManager
class << self
alias_method :setup_new_game_CheatFramework, :setup_new_game
def setup_new_game(*args)
setup_new_game_CheatFramework(*args)
$framework.on_save_ready
end
end
end
class Scene_Load
alias_method :on_load_success_CheatFramework, :on_load_success
def on_load_success
on_load_success_CheatFramework
$framework.on_save_ready
end
end
class Scene_CustomModeLoad
alias_method :on_load_success_CheatFramework, :on_load_success
def on_load_success
on_load_success_CheatFramework
$framework.on_save_ready
end
end
# Applies every global: true/false command's configured override.
class CheatFramework
alias_method :on_save_ready_FORCE_MODES, :on_save_ready
def on_save_ready
on_save_ready_FORCE_MODES
FrameworkUtils.apply_force_modes
end
end
# Sets the update rate for other triggers.
class CheatFramework
alias_method :hotkey_trigger_TIMER, :hotkey_trigger
def hotkey_trigger
hotkey_trigger_TIMER
frame = Graphics.frame_count
@last_normal_check ||= 0
@last_slow_check ||= 0
# Every ~1 second
if frame - @last_normal_check >= 40
@last_normal_check = frame
normal_trigger
end
# Every ~3 seconds
if frame - @last_slow_check >= 120
@last_slow_check = frame
slow_trigger
end
end
end
#--------------------------------------------------------------------------
# Add extra triggerable keys to Input module
#--------------------------------------------------------------------------
module Input
F1 = [KEYMAP[:F1]]
F2 = [KEYMAP[:F2]]
F3 = [KEYMAP[:F3]]
F4 = [KEYMAP[:F4]]
Agrave = [KEYMAP[:Agrave]]
end
@@ -0,0 +1,140 @@
commands/misc
杂项
commands/toggles
切换作弊器
commands/character
特点
commands/npc
NPC调整
window_help/character1
改变主角的属性。
commands/config
配置
cheat_toggle/on
启用
cheat_toggle/off
关闭
cheat_toggle/default
默认
cheat_toggle/hard
困難
cheat_toggle/hell
地獄
cheat_toggle/doom
末日
cheat_toggle/disable
禁用
cheat_toggle/infinite
干扰
command_help/fixcommand2
需要重启。禁用此修复程序将卸载。
command_help/execute
按 Z 键运行命令。
command_help/scene
按 Z 键进入子菜单。
command_help/toggle
按Z键进行切换。
command_help/edit
按 Z 键进行编辑。
command_help/set_hotkey_hint
按 C 设置快捷键。
command_help/num_edit1
按左/右键来减/增。
command_help/num_edit2
SHIFT = x10,CTRL = x100。
command_help/hotkey_capture1
Shift/Ctrl/Alt + 一个键用于分配,Delete 键用于清除。
command_help/hotkey_capture2
按C或X取消。
commands_status/locked
作弊激活
warnings/restart_required
有些作弊码需要重启游戏才能生效。
commands_status/restart_needed
重启
commands/set_hotkeys
查看/清除快捷键
command_help/set_hotkeys1
查看当前已分配的热键,并根据需要清除它们。
command_help/set_hotkeys2
要添加热键,请转到命令菜单并按 C。
commands/edit_order
编辑菜单顺序
command_help/edit_order1
重新排列此框架中的任何菜单。
command_help/edit_order2
系统会提示您保存或放弃更改。
commands/reset_order
重置菜单顺序
command_help/reset_order1
将所有自定义菜单设置清除为框架的默认值。
command_help/reset_order2
立即生效,无需重启。
commands/edit_globals
编辑全局变量
command_help/edit_globals1
强制局部值作为全局变量(或反之亦然)。
command_help/edit_globals2
按 Z 键可切换本地/全局模式或编辑当前值。
command_help/local
非全局设置(可在配置中更改)
mode/local
当地的
mode/global
全球的
mode/value_row
当前设置
commands/reset_all_settings
重置配置设置
command_help/reset_all_settings1
重置快捷键、菜单顺序和覆盖设置。
command_help/reset_all_settings2
模块/作弊默认设置需要重启。
commands/cheat_menu_keybind
打开作弊菜单
@@ -0,0 +1,5 @@
name
作弊框架
description
作弊模组再次重制。详细更改请参见 https://github.com/quin2k/Cheat-Menu-Framework。
@@ -0,0 +1,291 @@
commands/primary
主要统计数据
commands/primary/health
生命
commands/primary/stamina
體力
commands/primary/food
食物
commands/primary/mood
心情
commands/primary/arousal
情慾
commands/primary/morality
道德
command_help/moral
道德值低于30会导致人类互相攻击。
commands/levels
等級&天賦
commands/levels/level
级
command_help/lvl
设置后重新计算特性点数。
commands/levels/max_level
最高等级
commands/levels/exp_rate
经验值
command_help/exp_rate1
倍增从所有来源获得的经验值。
commands/levels/traits_per_level
每级特性
command_help/tpl1
升级时获得的特质数量。
commands/traits
天賦
commands/traits/trait_points
特质点
command_help/tp1
你应该具备的积分
command_help/tp2
根据
command_help/tp3
技能
command_help/tp4
天賦
commands/traits/max_traits
最大特性
commands/traits/combat
戰鬥技術
commands/traits/scoutcraft
偵查技術
commands/traits/wisdom
智慧
commands/traits/survival
生存技術
commands/traits/constitution
體值
commands/traits/reset
重置特性
command_help/reset1
重置所有特性(包括技能)
command_help/reset2
根据等级 * 每级特性数量设置特性点数。
commands/appearance
外貌
commands/appearance/dirt
肮脏的
toggle/dirt
禁用污垢
command_help/dirt
将最大污垢值设置为 0。
commands/appearance/freckles
雀斑
commands/appearance/vpubes
陰毛
commands/appearance/apubes
肛毛
commands/appearance/vpubegrowth
阴毛生长
commands/appearance/apubegrowth
肛门毛发生长
command_help/pubes1
设置为 0 将阻止增长,设置为 1 或以上将启用增长。
command_help/pubegrowth1
生长间隔时间。数值越高,生长速度越慢。
command_help/pubegrowth2
通常需要3-12天。
commands/appearance/hair_color
头发颜色
commands/appearance/hair_color/0
灰色
commands/appearance/hair_color/1
黑色
commands/appearance/hair_color/2
白化
commands/appearance/hair_color/3
水蓝色
commands/appearance/hair_color/4
红色
commands/appearance/hair_color/5
金色
toggle/autobandage
自动绷带
command_help/autobandage
自动清除伤口、血迹和孔口损伤。
toggle/autoclean
自動乾淨 (外部)
command_help/autoclean
自动清除血液和精液(进出)。
toggle/autocure
自动固化
command_help/autocure
自动清除性传播疾病和寄生虫。
commands/race
设置赛
window_help/race1
选择种族。
commands/race/human
人类
commands/race/moot
混血儿
commands/race/deepone
预深一
commands/race/truedeepone
深一度
commands/race/abom_human
憎恶(人类)
commands/race/abom_moot
憎恶(混合种族)
commands/racecheats
赛车作弊
commands/race/skills/deepone
觉醒(海巫)
commands/race/skills/abomeat
亵渎(可憎之事)
commands/race/skills/abomgrab
触手鞭(憎恶)
commands/deeponecommunicate
Deepone 可以沟通
command_help/deeponecommunicate1
移除锁定 True Deepone 进行交互的硬编码检查。
commands/abomskillfix
吞食
command_help/abomskillfix1
亵渎技能还可以补充食物和治疗伤口。
commands/siren
Deepone召唤Max
command_help/siren1
修改了塞壬召唤的总次数。
commands/sexual
性
commands/sexual/dedit/v
阴道损伤
commands/sexual/dedit/u
尿道损伤
commands/sexual/dedit/a
肛门损伤
commands/sexual/dtoggle/v
阴道损伤切换
commands/sexual/dtoggle/u
尿道损伤切换
commands/sexual/dtoggle/a
肛门损伤切换
commands/sexual/reset
重置性爱统计数据
command_help/sexual/reset
处女洛娜。可能会影响性侵犯。
commands/levels/level_up
Level +1
commands/levels/level_down
Level -1
commands/levels/level_max
Set maximum level
commands/levels/level_reset
Reset to level 1
commands/male_skin
男性外觀
window_help/male_skin1
選擇男性村民外觀(同 /maleskin)。
commands/male_skin/off
關閉(Lona)
commands/male_skin/random
隨機村民
command_help/male_skin_random
啟用男性模式並隨機選擇村民外觀。
commands/male_skin/cat_villagers
Villagers
commands/male_skin/cat_fat
Fat
commands/male_skin/cat_teens
Teens
commands/male_skin/cat_undead
Undead
commands/male_skin/cat_orkind
Orkind
commands/male_skin/cat_goblins
Goblins
commands/male_skin/cat_amphibians
Fish / Frog
commands/male_skin/cat_giants
Giants
@@ -0,0 +1,52 @@
commands/items
项目
commands/weapons
武器
commands/armors
盔甲
command_help/items_0
调整项目。
command_help/items_1
按左/右键来减/增。
command_help/items_2
按住SHIFT键,增量为10。
command_help/items_3
按住CTRL键,增量为100。
commands/status
狀況
command_help/stats_0
條件調整。
command_help/stats_1
按左/右键来减/增。
commands/bank
开放银行库存
commands/summon
召唤
commands/lonacraft
LonaCraft items
commands/lc_materials
Materials / building
commands/lc_furniture
Furniture
commands/lc_weapons
Hatchet / tools
commands/lc_tier_weapons
Tiered weapons
commands/lc_tier_armors
Tiered armor
@@ -0,0 +1,32 @@
toggle/health
无限健康
toggle/food
无限的食物
toggle/stamina
无限的耐力
toggle/money
无限的金钱
misc/heal
痊愈
misc/heal_wound
治愈伤口
command_help/heal_wound
治愈一处随机伤口。
misc/faint
疲惫不堪
misc/money
给钱
toggle/vulnerable
洛娜易受攻击
command_help/vulnerable1
使耐力无法高于 0,直到她昏迷或您关闭此开关为止。
@@ -0,0 +1,44 @@
commands/othermods
其他模组
commands/roleplays
RolePlay-S
commands/roleplays/saves
禁用保存限制器
commands/roleplays/mana
无限MP
commands/roleplays/mana_rage
法力狂怒
commands/roleplays/mana_rage_max
法力狂怒最大值
commands/othermods/booba_cosmetic
巨乳裝飾模式
commands/othermods/booba_oldnipples
舊版乳頭
commands/othermods/filter_whitecum
白色精液
commands/othermods/filter_events
重新上色事件
commands/othermods/filter_melanin
乳頭黑色素濾鏡
commands/othermods/filter_pubes
陰毛濾鏡
commands/othermods/filter_dirt
污垢濾鏡
commands/othermods/filter_wounds
傷口濾鏡
commands/othermods/filter_bleeding
出血濾鏡
@@ -0,0 +1,137 @@
commands/gallery
解锁画廊
command_help/gallery
在诺尔的算命先生处即可获得帮助。
commands/fix
游戏调整
commands/achievementfix
难度成就修复
command_help/achievementfix1
如果适用,则对难度较低的题目给予学分。
commands/stealth
隱匿專精
command_help/stealth1
如果你拥有相关技能,动作键不会取消潜行状态。
commands/fastnap
快速小睡
command_help/fastnap1
休息时按住Ctrl键,即可在一回合内恢复体力。食物/体力比例不变。
commands/nightvision
夜视
command_help/nightvision1
强制地图暗部完全透明。立即生效,无需重启。
commands/noclip
Noclip
command_help/noclip1
可以穿过地形、墙壁和NPC。冻结世界地图上的变化。
commands/forageglow
觅食之光
command_help/forageglow1
使可采集资源节点更容易被发现。
commands/discard
防止丢弃
command_help/discard1
脱下的衣物会进入你的物品栏。
commands/unequip
脱掉衣服
commands/forceunequip
强制卸下装备
command_help/forceunequip1
用于强行取下链条或项圈。
commands/equip
装备任何物品
command_help/equip1
移除武器和护甲限制。
commands/difficulty
困难
commands/world
世界難度
commands/diff
重置游戏难度
command_help/diff
强制禁用 DOOM 模式
commands/addictioneffects
成瘾效应
command_help/addictioneffects1
覆盖 Ograsm/精液/药物成瘾事件。
commands/milkoverflow
牛奶溢出
command_help/milkoverflow1
覆盖基于难度的牛奶溢出/飞溅事件。
commands/despawnfix
物品损耗控制
command_help/despawnfix1
设置掉落物品的持续时间。
commands/drops
增加滴落
command_help/dropsfix1
调整敌人掉落物品。
commands/friendlyfire
修复友军误伤问题
command_help/friendlyfire1
防止友军误伤的尝试。
commands/endlesscontracts
无尽的合同
command_help/endlesscontracts1
招募的同伴/追随者的合同永不过期。
commands/immortal
预防死亡
command_help/immortal1
同伴和洛娜的生命值不会低于 1 点。
commands/irresistible
无法抗拒
command_help/irresistible1
如果体力<0,则优先进行性攻击。
commands/beastfix
野兽修复
command_help/beastfix1
允许一些被阻止的动物交配。
commands/companionrape
同伴强暴
command_help/companionrape1
允许同伴根据自己的偏好以洛娜为目标。
@@ -0,0 +1,74 @@
commands/preg
怀孕
commands/difficulty
妊娠困难
commands/seedbed
子宮苗床
commands/protect
保护怀孕
commands/impreg
浸渍
info/babyRace
宝贝比赛
commands/days
距离出生还有几天
commands/health
胎兒生命
commands/impreg/human
人类
commands/impreg/moot
混血儿
commands/impreg/deepone
深一度
commands/impreg/fishkind
菲什金德
commands/impreg/orkind
兽人种
commands/impreg/goblin
小妖精
commands/impreg/abomination
憎恶
commands/clear
清晰怀孕
menu_help/impreg_menu1
选择受孕的种族。
menu_help/impreg_menu4
按 Z 键让 Lona 怀孕!
command_help/difficulty
这只会影响妊娠时长。
command_help/seedbed
直接调整洛娜的状态。
command_help/protect
保持婴儿健康值最高,禁用“清除”功能
command_help/length1
点击即可编辑怀孕时长。
command_help/length2
搬家后,零号会引发怀孕。
command_help/clear1
悄无声息地从洛娜体内取出妊娠物。
command_help/clear2
如果禁用此功能,则“保护怀孕”功能将开启。
@@ -0,0 +1,92 @@
commands/revive
复活独特NPC
command/revive/menu3
只会显示已死亡的NPC。
command/revive/menu4
按 Z 键复活选中的 NPC。
NPC/UniqueCharUniqueCecily
賽希莉
NPC/UniqueCharUniqueGrayRat
灰鼠
NPC/UniqueCharUniqueCocona
可可娜
NPC/UniqueCharUniqueLisa
小鬼頭
NPC/UniqueCharUniqueElise
伊莉希
NPC/UniqueCharUniqueMaani
瑪妮
NPC/UniqueCharUniqueDavidBorn
大衛.彭
NPC/UniqueCharUniquePigBobo
波波
NPC/UniqueCharUniqueAdam
亞當
NPC/UniqueCharUniqueMilo
美祿
NPC/UniqueCharUniqueSeaWitch
海巫
NPC/UniqueCharUniqueTeller
迷之算命師
NPC/UniqueCharUniqueHappyMerchant
商人
NPC/UniqueCharUniqueTavernWaifu
老闆娘
NPC/UniqueCharUniqueFerrum
Ferrum
NPC/UniqueCharUniqueCaptainEdward
艾德華
NPC/UniqueCharUniqueFatdalf
灰袍法師
NPC/UniqueCharNoerSnowflake
雪花
NPC/UniqueChar_NorthFL_SGT
NorthFL_SGT
NPC/UniqueChar_NFL_MerCamp_Leader
NFL_MerCamp_Leader
NPC/UniqueCharNoerRelayOut_PoorBoy
PoorBoy
NPC/UniqueChar_FishTownT_Shaman
FishTownT_Shaman
NPC/UniqueCharUniqueKillerRabbit
KillerRabbit
NPC/UniqueCharUniqueOgreWarBoss
OgreWarBoss
NPC/UniqueCharUniqueGangBoss
GangBoss
NPC/UniqueCharSMCloudVillage_Boss
CloudVillage_Boss
NPC/UniqueCharSMCloudVillage_BossAtk
CloudVillage_BossAtk
NPC/UniqueChar_OrcSlaveMaster
OrcSlaveMaster
@@ -0,0 +1,434 @@
commands/title
传送
category/settlements
定居点
category/noertown_locations
诺尔镇区域
category/outposts
前哨站
category/camps
营地
category/monster_lairs
怪物巢穴
category/points_of_interest
兴趣点
location/noertown
诺尔镇
location/doom_stronghold
末日堡垒
location/aris_village
阿瑞斯村
location/pirates_bane
海盗克星
location/south_gate_camp
南门营地
location/coastal_fortress
海岸要塞
location/nine_inch_tribe
九寸部落
location/fishtopia_market
鱼托邦市场
location/bridge_fort
桥头堡
location/tavern
酒馆
location/coliseum
竞技场
location/east_trade
东区贸易站
location/sewer
下水道
location/back_alleys
后巷
location/bubba_smith
布巴铁匠铺
location/toy_house
玩具屋
location/warehouse_13
13号仓库
location/prison
监狱
location/cemetery
墓地
location/parade_ground
阅兵场
location/elis_clinic
艾利斯诊所
location/bank
银行
location/market
市场
location/port
港口
location/gold_ingot
金锭
location/east_gate
东门
location/east_noertown_outpost
诺尔镇东检查站
location/east_doom_outpost
末日堡垒东检查站
location/north_pirates_outpost
海盗克星北前哨
location/refugee_monastery
修道院难民营
location/refugee_doom
末日堡垒难民营
location/mercenary_camp
佣兵营地
location/swamp_camp
沼泽营地
location/fishfolk_camp
鱼人营地
location/orkind_cave1
兽人洞穴1(诺尔镇附近)
location/orkind_cave2
兽人洞穴2(瞭望塔)
location/orkind_cave3
兽人洞穴3
location/orkind_cave4
兽人洞穴4
location/orkind_forest
兽人森林
location/orkind_hut
兽人小屋
location/lost_caravan
失踪的商队
location/fishfolk_cave1
鱼人洞穴1
location/fishfolk_cave1b2
鱼人洞穴1B2
location/fishfolk_cave2
鱼人洞穴2
location/fishfolk_cave3
鱼人洞穴3(圣所)
location/abomination_lair1
孽畜巢穴1
location/abomination_lair2
孽畜巢穴2
location/abomination_lair3
孽畜巢穴3
location/bat_cave
蝙蝠洞
location/saints_monastery
圣徒修道院
location/mountain_monastery
山间修道院
location/cloud_village
云中村
location/bandit_shelter
强盗避难所
location/noertown_mine
诺尔镇矿井
location/berserk_tomb
狂战士之墓
location/abandoned_copper_mine
废弃铜矿
location/woodson_manor
伍德森庄园
location/doom_armory
末日堡垒军械库
location/south_granary
南谷仓12号
location/perranwey_village
佩兰威村
location/fallen_fortress
陷落要塞
location/looted_caravan
被洗劫的商队
location/abandoned_copper_town
废弃铜矿镇
location/mass_grave
万人坑
location/good_island
善良之岛
location/waterway
水道
location/remains_shore
遗骸海岸
location/thorn_temple
荆棘神殿
location/krusty_krab_pot
蟹堡王罐子店
help/noertown
传送至诺尔镇
help/doom_stronghold
传送至末日堡垒
help/aris_village
传送至阿瑞斯村
help/pirates_bane
传送至海盗克星
help/south_gate_camp
传送至南门营地
help/coastal_fortress
传送至海岸要塞
help/nine_inch_tribe
传送至九寸部落
help/fishtopia_market
传送至鱼托邦市场
help/bridge_fort
传送至桥头堡
help/tavern
传送至酒馆
help/coliseum
传送至竞技场
help/east_trade
传送至东区贸易站
help/sewer
传送至下水道
help/back_alleys
传送至后巷
help/bubba_smith
传送至布巴铁匠铺
help/toy_house
传送至玩具屋
help/warehouse_13
传送至13号仓库
help/prison
传送至监狱
help/cemetery
传送至墓地
help/parade_ground
传送至阅兵场
help/elis_clinic
传送至艾利斯诊所
help/bank
传送至银行
help/market
传送至市场
help/port
传送至港口
help/gold_ingot
传送至金锭
help/east_gate
传送至东门
help/east_noertown_outpost
传送至诺尔镇东检查站
help/east_doom_outpost
传送至末日堡垒东检查站
help/north_pirates_outpost
传送至海盗克星北前哨
help/refugee_monastery
传送至修道院难民营
help/refugee_doom
传送至末日堡垒难民营
help/mercenary_camp
传送至佣兵营地
help/swamp_camp
传送至沼泽营地
help/fishfolk_camp
传送至鱼人营地
help/orkind_cave1
传送至兽人洞穴1
help/orkind_cave2
传送至兽人洞穴2
help/orkind_cave3
传送至兽人洞穴3
help/orkind_cave4
传送至兽人洞穴4
help/orkind_forest
传送至兽人森林
help/orkind_hut
传送至兽人小屋
help/lost_caravan
传送至失踪的商队
help/fishfolk_cave1
传送至鱼人洞穴1
help/fishfolk_cave1b2
传送至鱼人洞穴1B2
help/fishfolk_cave2
传送至鱼人洞穴2
help/fishfolk_cave3
传送至鱼人洞穴3
help/abomination_lair1
传送至孽畜巢穴1
help/abomination_lair2
传送至孽畜巢穴2
help/abomination_lair3
传送至孽畜巢穴3
help/bat_cave
传送至蝙蝠洞
help/saints_monastery
传送至圣徒修道院
help/mountain_monastery
传送至山间修道院
help/cloud_village
传送至云中村
help/bandit_shelter
传送至强盗避难所
help/noertown_mine
传送至诺尔镇矿井
help/berserk_tomb
传送至狂战士之墓
help/abandoned_copper_mine
传送至废弃铜矿
help/woodson_manor
传送至伍德森庄园
help/doom_armory
传送至末日堡垒军械库
help/south_granary
传送至南谷仓12号
help/perranwey_village
传送至佩兰威村
help/fallen_fortress
传送至陷落要塞
help/looted_caravan
传送至被洗劫的商队
help/abandoned_copper_town
传送至废弃铜矿镇
help/mass_grave
传送至万人坑
help/good_island
传送至善良之岛
help/waterway
传送至水道
help/remains_shore
传送至遗骸海岸
help/thorn_temple
传送至荆棘神殿
help/krusty_krab_pot
传送至蟹堡王罐子店
@@ -0,0 +1,140 @@
commands/misc
Misc Cheats
commands/toggles
Toggles
commands/character
Character
commands/npc
NPC Tweaks
window_help/character1
Change various properties of the main character.
commands/config
Config
cheat_toggle/on
ON
cheat_toggle/off
OFF
cheat_toggle/default
DEFAULT
cheat_toggle/hard
HARD
cheat_toggle/hell
HELL
cheat_toggle/doom
DOOM
cheat_toggle/disable
DISABLE
cheat_toggle/infinite
INF
command_help/fixcommand2
Requires Restart. Disable unloads this fix.
command_help/execute
Press Z to run command.
command_help/scene
Press Z to enter a submenu.
command_help/toggle
Press Z to toggle.
command_help/edit
Press Z to edit.
command_help/set_hotkey_hint
Press C to set hotkey.
command_help/num_edit1
Press Left to decrease, Right to increase.
command_help/num_edit2
SHIFT = x10, CTRL = x100.
command_help/hotkey_capture1
Shift/Ctrl/Alt + a key to assign, Delete to clear.
command_help/hotkey_capture2
C or X to cancel.
commands_status/locked
Cheat Active
warnings/restart_required
Some cheats will not be effective until you restart the game.
commands_status/restart_needed
RESTART
commands/set_hotkeys
View/Clear Hotkeys
command_help/set_hotkeys1
See currently assigned hotkeys and clear them as desired.
command_help/set_hotkeys2
To add a hotkey, go to the command's menu and press C.
commands/edit_order
Edit Menu Order
command_help/edit_order1
Reorder any of this framework's menus.
command_help/edit_order2
You'll be prompted to Save or Discard changes.
commands/reset_order
Reset Menu Order
command_help/reset_order1
Clears all custom menu settings back to the framework's defaults.
command_help/reset_order2
Takes effect immediately, no restart needed.
commands/edit_globals
Edit Globals
command_help/edit_globals1
Force local value to behave as global variable (or vise versa).
command_help/edit_globals2
Z to toggle Local/Global or edit current value.
command_help/local
Not Global (can be changed in Config)
mode/local
Local
mode/global
Global
mode/value_row
Current Setting
commands/reset_all_settings
Reset Config Settings
command_help/reset_all_settings1
Reset hotkeys, menu order, and overrides.
command_help/reset_all_settings2
Module/cheat defaults need a restart.
commands/cheat_menu_keybind
Open Cheat Menu
@@ -0,0 +1,5 @@
name
Cheat Framework Rework
description
Cheats Mod reimagined (again). For detailed changes, see https://github.com/quin2k/Cheat-Menu-Framework.
@@ -0,0 +1,291 @@
commands/primary
Primary Stats
commands/primary/health
Health
commands/primary/stamina
Stamina
commands/primary/food
Food
commands/primary/mood
Mood
commands/primary/arousal
Arousal
commands/primary/morality
Morality
command_help/moral
Morality <30 will cause humans to attack.
commands/levels
Levels & Traits
commands/levels/level
Level
command_help/lvl
Recalculates Trait Points when set.
commands/levels/max_level
Max Level
commands/levels/exp_rate
Exp Rate
command_help/exp_rate1
Multiplies exp gained from all sources.
commands/levels/traits_per_level
Traits per Level
command_help/tpl1
Number of Traits earned at level up.
commands/traits
Traits
commands/traits/trait_points
Trait Points
command_help/tp1
Points you should have
command_help/tp2
Base
command_help/tp3
Skills
command_help/tp4
Traits
commands/traits/max_traits
Max Traits
commands/traits/combat
Combat Trait
commands/traits/scoutcraft
Scoutcraft Trait
commands/traits/wisdom
Wisdom Trait
commands/traits/survival
Survival Trait
commands/traits/constitution
Constitution Trait
commands/traits/reset
Reset Traits
command_help/reset1
Resets all traits (including skills)
command_help/reset2
Sets Trait Points based on Level * Traits per Level.
commands/appearance
Appearance
commands/appearance/dirt
Dirty
toggle/dirt
Disable Dirt
command_help/dirt
Sets maximum dirt to 0.
commands/appearance/freckles
Freckles
commands/appearance/vpubes
Pubic Hair
commands/appearance/apubes
Anal Hair
commands/appearance/vpubegrowth
Pubic Hair Growth
commands/appearance/apubegrowth
Anal Hair Growth
command_help/pubes1
Setting to 0 will prevent growth, 1+ enables growth.
command_help/pubegrowth1
Time between growth. Higher = slower.
command_help/pubegrowth2
Normally between 3-12 days.
commands/appearance/hair_color
Hair Color
commands/appearance/hair_color/0
Gray
commands/appearance/hair_color/1
Black
commands/appearance/hair_color/2
Bleached
commands/appearance/hair_color/3
Aqua
commands/appearance/hair_color/4
Red
commands/appearance/hair_color/5
Blonde
toggle/autobandage
Auto-Bandage
command_help/autobandage
Auto removes wounds, blood, and orifice damage.
toggle/autoclean
Auto-Clean
command_help/autoclean
Auto removes blood and cum (in and out).
toggle/autocure
Auto-Cure
command_help/autocure
Auto removes STDs and parasites.
commands/race
Set Race
window_help/race1
Select a race.
commands/race/human
Human
commands/race/moot
Mixed-Race
commands/race/deepone
Pre Deepone
commands/race/truedeepone
True Deepone
commands/race/abom_human
Abomination (Human)
commands/race/abom_moot
Abomination (Moot)
commands/racecheats
Race Cheats
commands/race/skills/deepone
Awaken (Sea Witch)
commands/race/skills/abomeat
Desecrate (Abomination)
commands/race/skills/abomgrab
Tendril Whip (Abomination)
commands/deeponecommunicate
Deepone Can Communicate
command_help/deeponecommunicate1
Removes hardcoded checks that lock True Deepone out of interactions.
commands/abomskillfix
Abomination Eat Fix
command_help/abomskillfix1
Desecrate skill will also fill food and heal wounds.
commands/siren
Deepone Summon Max
command_help/siren1
Edits total Siren Summons possible.
commands/sexual
Sexual
commands/sexual/dedit/v
Vaginal Damage
commands/sexual/dedit/u
Urethral Damage
commands/sexual/dedit/a
Anal Damage
commands/sexual/dtoggle/v
Vaginal Damage Toggle
commands/sexual/dtoggle/u
Urethral Damage Toggle
commands/sexual/dtoggle/a
Anal Damage Toggle
commands/sexual/reset
Reset Sex Stats
command_help/sexual/reset
Virginize Lona. May impact sex attack.
commands/levels/level_up
Level +1
commands/levels/level_down
Level -1
commands/levels/level_max
Set maximum level
commands/levels/level_reset
Reset to level 1
commands/male_skin
Male Skin
window_help/male_skin1
Male skins by category (villagers, orcs, goblins, etc.).
commands/male_skin/off
Off (Lona)
commands/male_skin/random
Random villager
command_help/male_skin_random
Picks a random male villager skin and enables male mode.
commands/male_skin/cat_villagers
Villagers
commands/male_skin/cat_fat
Fat
commands/male_skin/cat_teens
Teens
commands/male_skin/cat_undead
Undead
commands/male_skin/cat_orkind
Orkind
commands/male_skin/cat_goblins
Goblins
commands/male_skin/cat_amphibians
Fish / Frog
commands/male_skin/cat_giants
Giants
@@ -0,0 +1,52 @@
commands/items
Items
commands/weapons
Weapons
commands/armors
Armors
command_help/items_0
Adjust items.
command_help/items_1
Press Left/Right to lose/gain.
command_help/items_2
Hold SHIFT for increments of 10.
command_help/items_3
Hold CTRL for increments of 100.
commands/status
Status
command_help/stats_0
Adjust Lona's status variables.
command_help/stats_1
Press Left/Right to lose/gain.
commands/bank
Open Bank Inventory
commands/summon
Summon
commands/lonacraft
LonaCraft items
commands/lc_materials
Materials / building
commands/lc_furniture
Furniture
commands/lc_weapons
Hatchet / tools
commands/lc_tier_weapons
Tiered weapons
commands/lc_tier_armors
Tiered armor
@@ -0,0 +1,32 @@
toggle/health
Infinite Health
toggle/food
Infinite Food
toggle/stamina
Infinite Stamina
toggle/money
Infinite Money
misc/heal
Heal
misc/heal_wound
Heal a Wound
command_help/heal_wound
Heals a single random wound.
misc/faint
Exhausted
misc/money
Give Money
toggle/vulnerable
Lona Vulnerable
command_help/vulnerable1
Caps Lona's stamina at 0 until she faints or you toggle this off.
@@ -0,0 +1,41 @@
commands/othermods
Other Mods
commands/roleplays/saves
Disable Save Limiter
commands/roleplays/mana
Infinite MP
commands/roleplays/mana_rage
Mana Rage
commands/roleplays/mana_rage_max
Mana Rage Max
commands/othermods/booba_cosmetic
Booba Cosmetic Mode
commands/othermods/booba_oldnipples
Old Nipples
commands/othermods/filter_whitecum
White Cum
commands/othermods/filter_events
Recolored Events
commands/othermods/filter_melanin
Filter Nipple Melanin
commands/othermods/filter_pubes
Filter Pubic Hair
commands/othermods/filter_dirt
Filter Dirt
commands/othermods/filter_wounds
Filter Wounds
commands/othermods/filter_bleeding
Filter Bleeding
@@ -0,0 +1,137 @@
commands/gallery
Unlock Gallery
command_help/gallery
Access at Fortune Teller in Noer.
commands/fix
Game Tweaks
commands/achievementfix
Difficulty Achievement Fix
command_help/achievementfix1
Gives credit for easier difficulties if applicable.
commands/stealth
From The Shadows Fix
command_help/stealth1
Action key won't cancel sneak if you have the skill.
commands/fastnap
Fast Nap
command_help/fastnap1
Hold Ctrl while resting to restore stamina in one round. Same food/stamina ratio.
commands/nightvision
Night Vision
command_help/nightvision1
Forces map darkness fully transparent. Applies instantly, no restart needed.
commands/noclip
Noclip
command_help/noclip1
Walk through terrain, walls, and NPCs. Freezes overworld changes.
commands/forageglow
Forage Glow
command_help/forageglow1
Makes forageable resource nodes easier to spot.
commands/discard
Prevent Discard
command_help/discard1
Stripped clothes go to your inventory.
commands/unequip
Remove Clothes
commands/forceunequip
Force Unequip
command_help/forceunequip1
Used to force-remove chains or collars.
commands/equip
Equip Anything
command_help/equip1
Removes weapon and armor restrictions.
commands/difficulty
Difficulty
commands/world
World Difficulty
commands/diff
Reset Game Difficulty
command_help/diff
Force-disable DOOM Mode
commands/addictioneffects
Addiction Effects
command_help/addictioneffects1
Override Ograsm/Semen/Drug addiction events.
commands/milkoverflow
Milk Overflow
command_help/milkoverflow1
Override difficulty-based milk overflow/splash events.
commands/despawnfix
Item Decay Control
command_help/despawnfix1
Set duration of dropped items.
commands/drops
Increase Drops
command_help/dropsfix1
Adjusts drops from enemies.
commands/friendlyfire
Friendly Fire Fix
command_help/friendlyfire1
Attempts to prevent friendly fire.
commands/endlesscontracts
Endless Contracts
command_help/endlesscontracts1
Recruited companions/followers contracts never expire.
commands/immortal
Prevent Death
command_help/immortal1
Companions and Lona cannot drop below 1 hp.
commands/irresistible
Irresistible
command_help/irresistible1
Prioritize sexual targeting if stamina <0.
commands/beastfix
Beast Fix
command_help/beastfix1
Allows some blocked animals to fornicate.
commands/companionrape
Companion Rape
command_help/companionrape1
Allows companions to target Lona based on their preferences.
@@ -0,0 +1,74 @@
commands/preg
Pregnancy
commands/difficulty
Pregnancy Difficulty
commands/seedbed
Womb Seedbed
commands/protect
Protect Pregnancy
commands/impreg
Impregnate Lona
info/babyRace
Baby Race:
commands/days
Days to Birth
commands/health
Baby Health
commands/impreg/human
Human
commands/impreg/moot
Mixed-Race
commands/impreg/deepone
Deep One
commands/impreg/fishkind
Fishkind
commands/impreg/orkind
Orkind
commands/impreg/goblin
Goblin
commands/impreg/abomination
Abomination
commands/clear
Clear Pregnancy
menu_help/impreg_menu1
Select race to be impregnated by.
menu_help/impreg_menu4
Press Z to impregnate Lona!
command_help/difficulty
This will only influence pregnancy length.
command_help/seedbed
Directly adjusts Lona's status.
command_help/protect
Keeps Baby Health at max, disables 'Clear'
command_help/length1
Select to edit duration of pregnancy.
command_help/length2
Zero will trigger pregnancy once you move.
command_help/clear1
Silently remove pregnancy from Lona.
command_help/clear2
If disabled, Protect Pregnancy is on.
@@ -0,0 +1,92 @@
commands/revive
Revive Unique NPCs
command/revive/menu3
Only dead NPCs will be displayed.
command/revive/menu4
Press Z to revive the selected NPC.
NPC/UniqueCharUniqueCecily
Cecily
NPC/UniqueCharUniqueGrayRat
Gray Rat
NPC/UniqueCharUniqueCocona
Cocona
NPC/UniqueCharUniqueLisa
Lisa
NPC/UniqueCharUniqueElise
Elise
NPC/UniqueCharUniqueMaani
Maani
NPC/UniqueCharUniqueDavidBorn
Davidborn
NPC/UniqueCharUniquePigBobo
Bobo
NPC/UniqueCharUniqueAdam
Adam
NPC/UniqueCharUniqueMilo
Milo
NPC/UniqueCharUniqueSeaWitch
Sea Witch
NPC/UniqueCharUniqueTeller
Fortune Teller
NPC/UniqueCharUniqueHappyMerchant
Cheerful Shopkeeper
NPC/UniqueCharUniqueTavernWaifu
Boss Mama
NPC/UniqueCharUniqueFerrum
Ferrum
NPC/UniqueCharUniqueCaptainEdward
Captain Edward
NPC/UniqueCharUniqueFatdalf
Gray-robed Mage
NPC/UniqueCharNoerSnowflake
Snowflake
NPC/UniqueChar_NorthFL_SGT
North FL SGT (quest npc)
NPC/UniqueChar_NFL_MerCamp_Leader
Mercenary Captain (quest npc)
NPC/UniqueCharNoerRelayOut_PoorBoy
Griot (quest npc)
NPC/UniqueChar_FishTownT_Shaman
Fish Town Shaman (quest npc)
NPC/UniqueCharUniqueKillerRabbit
Killer Rabbit (quest npc)
NPC/UniqueCharUniqueOgreWarBoss
Ogre War Boss (quest npc)
NPC/UniqueCharUniqueGangBoss
Noer Gang Boss (quest npc)
NPC/UniqueCharSMCloudVillage_Boss
Cloudy Village Chief (quest npc)
NPC/UniqueCharSMCloudVillage_BossAtk
Cloudy Village Chief A (quest npc)
NPC/UniqueChar_OrcSlaveMaster
Leather Face (quest npc)
@@ -0,0 +1,434 @@
commands/title
Teleport
category/settlements
Settlements
category/noertown_locations
Noertown Locations
category/outposts
Outposts
category/camps
Camps
category/monster_lairs
Monster Lairs
category/points_of_interest
Points of Interest
location/noertown
Noertown
location/doom_stronghold
Doom Stronghold
location/aris_village
Aris Village
location/pirates_bane
Pirate's Bane
location/south_gate_camp
South Gate Camp
location/coastal_fortress
Coastal Fortress
location/nine_inch_tribe
Nine Inch Tribe
location/fishtopia_market
Fishtopia Market
location/bridge_fort
Bridge Fort
location/tavern
Tavern
location/coliseum
Coliseum
location/east_trade
East Trade
location/sewer
Sewer
location/back_alleys
Back Alleys
location/bubba_smith
Bubba Smith
location/toy_house
Toy House
location/warehouse_13
Warehouse №13
location/prison
Prison
location/cemetery
Cemetery
location/parade_ground
Parade Ground
location/elis_clinic
Elis Clinic
location/bank
Bank
location/market
Market
location/port
Port
location/gold_ingot
Gold Ingot
location/east_gate
East Gate
location/east_noertown_outpost
East Noertown Outpost
location/east_doom_outpost
East Doom Outpost
location/north_pirates_outpost
North Pirate's Bane Outpost
location/refugee_monastery
Monastery Refugee Camp
location/refugee_doom
Doom Stronghold Refugee Camp
location/mercenary_camp
Mercenary Camp
location/swamp_camp
Swamp Camp
location/fishfolk_camp
Fishfolk Camp
location/orkind_cave1
Orkoid Cave 1 (near Noertown)
location/orkind_cave2
Orkoid Cave 2 (watchtower)
location/orkind_cave3
Orkoid Cave 3
location/orkind_cave4
Orkoid Cave 4
location/orkind_forest
Orkoid Forest
location/orkind_hut
Orkoid Hut
location/lost_caravan
Lost Caravan
location/fishfolk_cave1
Fishfolk Cave 1
location/fishfolk_cave1b2
Fishfolk Cave 1B2
location/fishfolk_cave2
Fishfolk Cave 2
location/fishfolk_cave3
Fishfolk Cave 3 (sanctuary)
location/abomination_lair1
Abomination Lair 1
location/abomination_lair2
Abomination Lair 2
location/abomination_lair3
Abomination Lair 3
location/bat_cave
Bat Cave
location/saints_monastery
Saints Monastery
location/mountain_monastery
Mountain Monastery
location/cloud_village
Cloud Village
location/bandit_shelter
Bandit Shelter
location/noertown_mine
Noertown Mine
location/berserk_tomb
Berserk Tomb
location/abandoned_copper_mine
Abandoned Copper Mine
location/woodson_manor
Woodson Manor
location/doom_armory
Doom Stronghold Armory
location/south_granary
South Granary №12
location/perranwey_village
Perranwey Village
location/fallen_fortress
Fallen Fortress
location/looted_caravan
Looted Caravan
location/abandoned_copper_town
Abandoned Copper Town
location/mass_grave
Mass Grave
location/good_island
Good Island
location/waterway
Waterway
location/remains_shore
Remains Shore
location/thorn_temple
Thorn Temple
location/krusty_krab_pot
Krusty Krab Pot Shop
help/noertown
Teleport to Noertown
help/doom_stronghold
Teleport to Doom Stronghold
help/aris_village
Teleport to Aris Village
help/pirates_bane
Teleport to Pirate's Bane
help/south_gate_camp
Teleport to South Gate Camp
help/coastal_fortress
Teleport to Coastal Fortress
help/nine_inch_tribe
Teleport to Nine Inch Tribe
help/fishtopia_market
Teleport to Fishtopia Market
help/bridge_fort
Teleport to Bridge Fort
help/tavern
Teleport to Tavern
help/coliseum
Teleport to Coliseum
help/east_trade
Teleport to East Trade
help/sewer
Teleport to Sewer
help/back_alleys
Teleport to Back Alleys
help/bubba_smith
Teleport to Bubba Smith
help/toy_house
Teleport to Toy House
help/warehouse_13
Teleport to Warehouse №13
help/prison
Teleport to Prison
help/cemetery
Teleport to Cemetery
help/parade_ground
Teleport to Parade Ground
help/elis_clinic
Teleport to Elis Clinic
help/bank
Teleport to Bank
help/market
Teleport to Market
help/port
Teleport to Port
help/gold_ingot
Teleport to Gold Ingot
help/east_gate
Teleport to East Gate
help/east_noertown_outpost
Teleport to East Noertown Outpost
help/east_doom_outpost
Teleport to East Doom Outpost
help/north_pirates_outpost
Teleport to North Pirate's Bane Outpost
help/refugee_monastery
Teleport to Monastery Refugee Camp
help/refugee_doom
Teleport to Doom Stronghold Refugee Camp
help/mercenary_camp
Teleport to Mercenary Camp
help/swamp_camp
Teleport to Swamp Camp
help/fishfolk_camp
Teleport to Fishfolk Camp
help/orkind_cave1
Teleport to Orkoid Cave 1
help/orkind_cave2
Teleport to Orkoid Cave 2
help/orkind_cave3
Teleport to Orkoid Cave 3
help/orkind_cave4
Teleport to Orkoid Cave 4
help/orkind_forest
Teleport to Orkoid Forest
help/orkind_hut
Teleport to Orkoid Hut
help/lost_caravan
Teleport to Lost Caravan
help/fishfolk_cave1
Teleport to Fishfolk Cave 1
help/fishfolk_cave1b2
Teleport to Fishfolk Cave 1B2
help/fishfolk_cave2
Teleport to Fishfolk Cave 2
help/fishfolk_cave3
Teleport to Fishfolk Cave 3
help/abomination_lair1
Teleport to Abomination Lair 1
help/abomination_lair2
Teleport to Abomination Lair 2
help/abomination_lair3
Teleport to Abomination Lair 3
help/bat_cave
Teleport to Bat Cave
help/saints_monastery
Teleport to Saints Monastery
help/mountain_monastery
Teleport to Mountain Monastery
help/cloud_village
Teleport to Cloud Village
help/bandit_shelter
Teleport to Bandit Shelter
help/noertown_mine
Teleport to Noertown Mine
help/berserk_tomb
Teleport to Berserk Tomb
help/abandoned_copper_mine
Teleport to Abandoned Copper Mine
help/woodson_manor
Teleport to Woodson Manor
help/doom_armory
Teleport to Doom Stronghold Armory
help/south_granary
Teleport to South Granary №12
help/perranwey_village
Teleport to Perranwey Village
help/fallen_fortress
Teleport to Fallen Fortress
help/looted_caravan
Teleport to Looted Caravan
help/abandoned_copper_town
Teleport to Abandoned Copper Town
help/mass_grave
Teleport to Mass Grave
help/good_island
Teleport to Good Island
help/waterway
Teleport to Waterway
help/remains_shore
Teleport to Remains Shore
help/thorn_temple
Teleport to Thorn Temple
help/krusty_krab_pot
Teleport to Krusty Krab Pot Shop
@@ -0,0 +1,140 @@
commands/misc
Varios
commands/toggles
Toggle
commands/character
Personaje
commands/npc
Ajustes de los PNJ
window_help/character1
Cambiar propiedades del personaje principal.
commands/config
Configuración
cheat_toggle/on
ACTIVADO
cheat_toggle/off
DESACTIVADO
cheat_toggle/default
POR DEFECTO
cheat_toggle/hard
DURO
cheat_toggle/hell
INFIERNO
cheat_toggle/doom
CONDENAR
cheat_toggle/disable
DESACTIVAR
cheat_toggle/infinite
INF
command_help/fixcommand2
Requiere reiniciar. Deshabilitar desactiva esta corrección.
command_help/execute
Pulsa Z para ejecutar el comando.
command_help/scene
Pulsa Z para acceder a un submenú.
command_help/toggle
Pulsa Z para alternar.
command_help/edit
Pulsa Z para editar.
command_help/set_hotkey_hint
Pulsa C para configurar la tecla de acceso rápido.
command_help/num_edit1
Pulsa Izquierda/Derecha para perder/ganar.
command_help/num_edit2
SHIFT = x10, CTRL = x100.
command_help/hotkey_capture1
Mayús/Ctrl/Alt + una tecla para asignar, Suprimir para borrar.
command_help/hotkey_capture2
C o X para cancelar.
commands_status/locked
Trampa activa
warnings/restart_required
Algunos trucos no surtirán efecto hasta que reinicies el juego.
commands_status/restart_needed
REANUDAR
commands/set_hotkeys
Ver/Borrar teclas de acceso rápido
command_help/set_hotkeys1
Consulta las teclas de acceso rápido asignadas actualmente y elimínalas si lo deseas.
command_help/set_hotkeys2
Para añadir una tecla de acceso rápido, ve al menú del comando y pulsa la tecla C.
commands/edit_order
Editar pedido del menú
command_help/edit_order1
Reordena cualquiera de los menús de este marco.
command_help/edit_order2
Se le pedirá que guarde o descarte los cambios.
commands/reset_order
Restablecer orden del menú
command_help/reset_order1
Restablece todas las configuraciones de menú personalizadas a los valores predeterminados del framework.
command_help/reset_order2
Surte efecto inmediatamente, no es necesario reiniciar.
commands/edit_globals
Editar variables globales
command_help/edit_globals1
Obligar a que un valor local se comporte como una variable global (o viceversa).
command_help/edit_globals2
Pulsa Z para alternar entre local y global o para editar el valor actual.
command_help/local
No es global (se puede cambiar en la configuración).
mode/local
Local
mode/global
Global
mode/value_row
Configuración actual
commands/reset_all_settings
Restablecer configuración
command_help/reset_all_settings1
Restablecer teclas de acceso rápido, orden del menú y anulaciones.
command_help/reset_all_settings2
Los valores predeterminados del módulo/truco requieren un reinicio.
commands/cheat_menu_keybind
Abrir menú de trucos
@@ -0,0 +1,5 @@
name
Marco de trucos
description
Mod de trucos rediseñado (de nuevo). Para ver los cambios detallados, consulta https://github.com/quin2k/Cheat-Menu-Framework.
@@ -0,0 +1,291 @@
commands/primary
Estadísticas primarias
commands/primary/health
Salud
commands/primary/stamina
Aguante
commands/primary/food
Alimento
commands/primary/mood
Ánimo
commands/primary/arousal
Excitación
commands/primary/morality
Moralidad
command_help/moral
Una moralidad inferior a 30 provocará ataques humanos.
commands/levels
Niveles y rasgos
commands/levels/level
Nivel
command_help/lvl
Recalcula los puntos de rasgo cuando se establece.
commands/levels/max_level
Nivel máximo
commands/levels/exp_rate
Tasa de Exp
command_help/exp_rate1
Multiplica la experiencia obtenida de todas las fuentes.
commands/levels/traits_per_level
Rasgos por nivel
command_help/tpl1
Número de rasgos obtenidos al subir de nivel.
commands/traits
Rasgos
commands/traits/trait_points
Puntos de rasgo
command_help/tp1
Puntos que debes tener
command_help/tp2
Base
command_help/tp3
Habilidades
command_help/tp4
Rasgos
commands/traits/max_traits
Rasgos máximos
commands/traits/combat
Rasgo de combate
commands/traits/scoutcraft
Rasgo de exploración
commands/traits/wisdom
Rasgo de sabiduría
commands/traits/survival
Rasgo de supervivencia
commands/traits/constitution
Rasgo constitucional
commands/traits/reset
Restablecer rasgos
command_help/reset1
Restablece todos los rasgos (incluidas las habilidades).
command_help/reset2
Establece puntos de rasgos según el nivel * Rasgos por nivel.
commands/appearance
Apariencia
commands/appearance/dirt
Sucia
toggle/dirt
Desactivar suciedad
command_help/dirt
Establece el nivel máximo de suciedad en 0.
commands/appearance/freckles
pecas
commands/appearance/vpubes
Vello púbico
commands/appearance/apubes
Vello anal
commands/appearance/vpubegrowth
Crecimiento del vello púbico
commands/appearance/apubegrowth
Crecimiento del vello anal
command_help/pubes1
Si se establece en 0, se impedirá el crecimiento; si es igual o superior a 1, se habilitará el crecimiento.
command_help/pubegrowth1
Tiempo entre crecimientos. Cuanto mayor sea el tiempo, más lento será el crecimiento.
command_help/pubegrowth2
Normalmente entre 3 y 12 días.
commands/appearance/hair_color
Color de pelo
commands/appearance/hair_color/0
Gris
commands/appearance/hair_color/1
Negro
commands/appearance/hair_color/2
Blanco
commands/appearance/hair_color/3
Aqua
commands/appearance/hair_color/4
Rojo
commands/appearance/hair_color/5
Rubio
toggle/autobandage
Autovenda
command_help/autobandage
Elimina automáticamente heridas, sangre y daños en orificios.
toggle/autoclean
Limpieza automática (fuera)
command_help/autoclean
Elimina automáticamente la sangre y el semen (tanto de entrada como de salida).
toggle/autocure
Autocurado
command_help/autocure
Elimina automáticamente las ETS y los parásitos.
commands/race
Establecer carrera
window_help/race1
Selecciona raza.
commands/race/human
Humano
commands/race/moot
Mestizos
commands/race/deepone
Pre Profundo Uno
commands/race/truedeepone
Profundo Uno
commands/race/abom_human
Abominación (Humana)
commands/race/abom_moot
Abominación (mestizo)
commands/racecheats
Trucos de carrera
commands/race/skills/deepone
Despierta (Bruja del Mar)
commands/race/skills/abomeat
Profanar (Abominación)
commands/race/skills/abomgrab
Látigo de tentáculos (Abominación)
commands/deeponecommunicate
Deepone puede comunicarse
command_help/deeponecommunicate1
Elimina las comprobaciones codificadas que impiden que True Deepone interactúe con el sistema.
commands/abomskillfix
Abominación Comer Arreglar
command_help/abomskillfix1
La habilidad Profanar también repondrá la comida y curará las heridas.
commands/siren
Invocar a Deepone Max
command_help/siren1
Ediciones totales posibles de Invocaciones de Sirena.
commands/sexual
Sexual
commands/sexual/dedit/v
Daño vaginal
commands/sexual/dedit/u
Daño uretral
commands/sexual/dedit/a
Daño anal
commands/sexual/dtoggle/v
Activar/desactivar daño vaginal
commands/sexual/dtoggle/u
Activar/desactivar daño uretral
commands/sexual/dtoggle/a
Interruptor de daño anal
commands/sexual/reset
Restablecer estadísticas de sexo
command_help/sexual/reset
Virginizar a Lona. Puede provocar un ataque sexual.
commands/levels/level_up
Level +1
commands/levels/level_down
Level -1
commands/levels/level_max
Set maximum level
commands/levels/level_reset
Reset to level 1
commands/male_skin
Skin masculino
window_help/male_skin1
Elige un skin masculino de aldeano (igual que /maleskin).
commands/male_skin/off
Off (Lona)
commands/male_skin/random
Aldeano aleatorio
command_help/male_skin_random
Activa el modo masculino y elige un skin aleatorio.
commands/male_skin/cat_villagers
Villagers
commands/male_skin/cat_fat
Fat
commands/male_skin/cat_teens
Teens
commands/male_skin/cat_undead
Undead
commands/male_skin/cat_orkind
Orkind
commands/male_skin/cat_goblins
Goblins
commands/male_skin/cat_amphibians
Fish / Frog
commands/male_skin/cat_giants
Giants
@@ -0,0 +1,52 @@
commands/items
Artículos
commands/weapons
Armas
commands/armors
Armaduras
command_help/items_0
Ajusta los elementos.
command_help/items_1
Pulsa Izquierda/Derecha para perder/ganar.
command_help/items_2
Mantenga pulsado SHIFT para incrementos de 10.
command_help/items_3
Mantenga pulsado CTRL para incrementos de 100.
commands/status
Situación
command_help/stats_0
Ajustar situación.
command_help/stats_1
Pulsa Izquierda/Derecha para perder/ganar.
commands/bank
Inventario de banco abierto
commands/summon
Convocar
commands/lonacraft
LonaCraft items
commands/lc_materials
Materials / building
commands/lc_furniture
Furniture
commands/lc_weapons
Hatchet / tools
commands/lc_tier_weapons
Tiered weapons
commands/lc_tier_armors
Tiered armor
@@ -0,0 +1,32 @@
toggle/health
Salud infinita
toggle/food
Comida infinita
toggle/stamina
Resistencia infinita
toggle/money
Dinero infinito
misc/heal
Cura
misc/heal_wound
Curar herida
command_help/heal_wound
Cura una única herida aleatoria.
misc/faint
Agotado
misc/money
Dar dinero
toggle/vulnerable
Lona vulnerable
command_help/vulnerable1
Impide que la resistencia suba de 0 hasta que se desmaye o desactives este interruptor.
@@ -0,0 +1,44 @@
commands/othermods
Otros mods
commands/roleplays
RolePlay-S
commands/roleplays/saves
Desactivar limitador de guardado
commands/roleplays/mana
MP infinito
commands/roleplays/mana_rage
Furia de maná
commands/roleplays/mana_rage_max
Furia de maná máxima
commands/othermods/booba_cosmetic
Modo Cosmético de Pechos
commands/othermods/booba_oldnipples
Pezones Antiguos
commands/othermods/filter_whitecum
Semen Blanco
commands/othermods/filter_events
Eventos Recoloreados
commands/othermods/filter_melanin
Filtro de Melanina del Pezón
commands/othermods/filter_pubes
Filtro de Vello Púbico
commands/othermods/filter_dirt
Filtro de Suciedad
commands/othermods/filter_wounds
Filtro de Heridas
commands/othermods/filter_bleeding
Filtro de Sangrado
@@ -0,0 +1,137 @@
commands/gallery
Desbloquear galería
command_help/gallery
Acceso en la Adivina de Noer.
commands/fix
Ajustes del juego
commands/achievementfix
Solución para el problema de dificultad
command_help/achievementfix1
Se otorgan puntos por dificultades más fáciles, si corresponde.
commands/stealth
Desde las sombras
command_help/stealth1
La tecla de acción no cancelará el sigilo si tienes la habilidad.
commands/fastnap
Siesta rápida
command_help/fastnap1
Mantén pulsada la tecla Ctrl mientras descansas para recuperar resistencia en una ronda. La proporción de comida/resistencia es la misma.
commands/nightvision
Visión nocturna
command_help/nightvision1
Fuerzas que hacen que la oscuridad del mapa sea totalmente transparente. Se aplica al instante, no es necesario reiniciar.
commands/noclip
Noclip
command_help/noclip1
Atraviesa terrenos, paredes y PNJ. Congela los cambios en el mundo exterior.
commands/forageglow
Resplandor de forraje
command_help/forageglow1
Facilita la localización de los nodos de recursos recolectables.
commands/discard
Prevenir el descarte
command_help/discard1
Las prendas despojadas de sus prendas van a tu inventario.
commands/unequip
Quítate la ropa
commands/forceunequip
Desequipar por fuerza
command_help/forceunequip1
Se utiliza para quitar cadenas o collares a la fuerza.
commands/equip
Equipa cualquier cosa
command_help/equip1
Elimina las restricciones sobre armas y armaduras.
commands/difficulty
Dificultad
commands/world
Dificultad mundial
commands/diff
Reiniciar la dificultad del juego
command_help/diff
Desactivar forzosamente el modo DOOM
commands/addictioneffects
Efectos de la adicción
command_help/addictioneffects1
Anular eventos de abuso/semen/adicción a las drogas.
commands/milkoverflow
Desbordamiento de leche
command_help/milkoverflow1
Anular los eventos de desbordamiento/salpicaduras de leche basados ​​en la dificultad.
commands/despawnfix
Control de deterioro de artículos
command_help/despawnfix1
Establece la duración de los objetos que caen.
commands/drops
Aumentar las caídas
command_help/dropsfix1
Ajusta los objetos que sueltan los enemigos.
commands/friendlyfire
Solución para el fuego amigo
command_help/friendlyfire1
Intentos de prevenir el fuego amigo.
commands/endlesscontracts
Contratos sin fin
command_help/endlesscontracts1
Los contratos de los compañeros/seguidores reclutados nunca caducan.
commands/immortal
Prevenir la muerte
command_help/immortal1
Los compañeros y Lona no pueden bajar de 1 punto de vida.
commands/irresistible
Irresistible
command_help/irresistible1
Prioriza la focalización sexual si la resistencia <0.
commands/beastfix
Arreglo de bestias
command_help/beastfix1
Permite que algunos animales bloqueados puedan fornicar.
commands/companionrape
Violación de compañeros
command_help/companionrape1
Permite que los compañeros elijan a Lona como objetivo según sus preferencias.
@@ -0,0 +1,74 @@
commands/preg
Embarazo
commands/difficulty
Dificultades durante el embarazo
commands/seedbed
Lecho de siembra del útero
commands/protect
Proteger el embarazo
commands/impreg
Impregnar
info/babyRace
Carrera de bebes
commands/days
Días hasta el nacimiento
commands/health
Salud del bebé
commands/impreg/human
Humano
commands/impreg/moot
Mestizos
commands/impreg/deepone
Profundo Uno
commands/impreg/fishkind
Fishkind
commands/impreg/orkind
Orkind
commands/impreg/goblin
Goblin
commands/impreg/abomination
Abominación
commands/clear
Embarazo claro
menu_help/impreg_menu1
Seleccione la raza que desea fecundar.
menu_help/impreg_menu4
¡Pulsa Z para embarazar a Lona!
command_help/difficulty
Esto solo influirá en la duración del embarazo.
command_help/seedbed
Ajusta directamente el estado de Lona.
command_help/protect
Mantiene la salud del bebé al máximo y desactiva la opción "Borrar".
command_help/length1
Seleccione esta opción para editar la duración del embarazo.
command_help/length2
Zero provocará el embarazo una vez que te mudes.
command_help/clear1
Eliminar el embarazo de Lona en silencio.
command_help/clear2
Si está desactivada, la protección contra el embarazo está activada.
@@ -0,0 +1,92 @@
commands/revive
Revivir PNJ únicos
command/revive/menu3
Sólo se mostrarán los NPC muertos.
command/revive/menu4
Presiona Z para revivir al NPC seleccionado.
NPC/UniqueCharUniqueCecily
Cecilia
NPC/UniqueCharUniqueGrayRat
Rata gris
NPC/UniqueCharUniqueCocona
Cocona
NPC/UniqueCharUniqueLisa
Lisa
NPC/UniqueCharUniqueElise
Elise
NPC/UniqueCharUniqueMaani
Maani
NPC/UniqueCharUniqueDavidBorn
Davidborn
NPC/UniqueCharUniquePigBobo
Bobo
NPC/UniqueCharUniqueAdam
Adán
NPC/UniqueCharUniqueMilo
Milo
NPC/UniqueCharUniqueSeaWitch
Bruja del mar
NPC/UniqueCharUniqueTeller
Adivino
NPC/UniqueCharUniqueHappyMerchant
Tendero alegre
NPC/UniqueCharUniqueTavernWaifu
Mamá jefa
NPC/UniqueCharUniqueFerrum
Ferrum
NPC/UniqueCharUniqueCaptainEdward
Capitán Edward
NPC/UniqueCharUniqueFatdalf
Mago de túnica gris
NPC/UniqueCharNoerSnowflake
Copo de nieve
NPC/UniqueChar_NorthFL_SGT
NorthFL_SGT
NPC/UniqueChar_NFL_MerCamp_Leader
NFL_MerCamp_Leader
NPC/UniqueCharNoerRelayOut_PoorBoy
PoorBoy
NPC/UniqueChar_FishTownT_Shaman
FishTownT_Shaman
NPC/UniqueCharUniqueKillerRabbit
KillerRabbit
NPC/UniqueCharUniqueOgreWarBoss
OgreWarBoss
NPC/UniqueCharUniqueGangBoss
GangBoss
NPC/UniqueCharSMCloudVillage_Boss
CloudVillage_Boss
NPC/UniqueCharSMCloudVillage_BossAtk
CloudVillage_BossAtk
NPC/UniqueChar_OrcSlaveMaster
OrcSlaveMaster
@@ -0,0 +1,434 @@
commands/title
Teletransporte
category/settlements
Asentamientos
category/noertown_locations
Localidades de Noertown
category/outposts
Puestos avanzados
category/camps
Campamentos
category/monster_lairs
Guaridas de monstruos
category/points_of_interest
Puntos de interés
location/noertown
Noertown
location/doom_stronghold
Fortaleza de la Perdición
location/aris_village
Aldea Aris
location/pirates_bane
Perdición de los Piratas
location/south_gate_camp
Campamento de la Puerta Sur
location/coastal_fortress
Fortaleza Costera
location/nine_inch_tribe
Tribu de Nueve Pulgadas
location/fishtopia_market
Mercado de Fishtopia
location/bridge_fort
Fuerte del Puente
location/tavern
Taberna
location/coliseum
Coliseo
location/east_trade
Comercio del Este
location/sewer
Alcantarillado
location/back_alleys
Callejones
location/bubba_smith
Bubba el Herrero
location/toy_house
Casa de los Juguetes
location/warehouse_13
Almacén Nº13
location/prison
Prisión
location/cemetery
Cementerio
location/parade_ground
Campo de Paradas
location/elis_clinic
Clínica Elis
location/bank
Banco
location/market
Mercado
location/port
Puerto
location/gold_ingot
Lingote de Oro
location/east_gate
Puerta del Este
location/east_noertown_outpost
Puesto de control este de Noertown
location/east_doom_outpost
Puesto de control este de la Fortaleza
location/north_pirates_outpost
Puesto norte de Perdición de los Piratas
location/refugee_monastery
Campamento de refugiados del monasterio
location/refugee_doom
Campamento de refugiados de la Fortaleza
location/mercenary_camp
Campamento de mercenarios
location/swamp_camp
Campamento del Pantano
location/fishfolk_camp
Campamento de los hombres pez
location/orkind_cave1
Cueva orcoide 1 (cerca de Noertown)
location/orkind_cave2
Cueva orcoide 2 (atalaya)
location/orkind_cave3
Cueva orcoide 3
location/orkind_cave4
Cueva orcoide 4
location/orkind_forest
Bosque orcoide
location/orkind_hut
Cabaña orcoide
location/lost_caravan
Caravana perdida
location/fishfolk_cave1
Cueva de hombres pez 1
location/fishfolk_cave1b2
Cueva de hombres pez 1B2
location/fishfolk_cave2
Cueva de hombres pez 2
location/fishfolk_cave3
Cueva de hombres pez 3 (santuario)
location/abomination_lair1
Guarida de abominaciones 1
location/abomination_lair2
Guarida de abominaciones 2
location/abomination_lair3
Guarida de abominaciones 3
location/bat_cave
Cueva de murciélagos
location/saints_monastery
Monasterio de los Santos
location/mountain_monastery
Monasterio de la Montaña
location/cloud_village
Aldea de las Nubes
location/bandit_shelter
Refugio de bandidos
location/noertown_mine
Mina de Noertown
location/berserk_tomb
Tumba del Berserker
location/abandoned_copper_mine
Mina de cobre abandonada
location/woodson_manor
Mansión Woodson
location/doom_armory
Armería de la Fortaleza de la Perdición
location/south_granary
Granero del Sur Nº12
location/perranwey_village
Aldea Perranwey
location/fallen_fortress
Fortaleza Caída
location/looted_caravan
Caravana saqueada
location/abandoned_copper_town
Pueblo minero de cobre abandonado
location/mass_grave
Fosa común
location/good_island
Isla del Bien
location/waterway
Vía fluvial
location/remains_shore
Costa de los Restos
location/thorn_temple
Templo de las Espinas
location/krusty_krab_pot
Tienda de la Olla de Krusty Krab
help/noertown
Teletransportarse a Noertown
help/doom_stronghold
Teletransportarse a la Fortaleza de la Perdición
help/aris_village
Teletransportarse a la Aldea Aris
help/pirates_bane
Teletransportarse a Perdición de los Piratas
help/south_gate_camp
Teletransportarse al Campamento de la Puerta Sur
help/coastal_fortress
Teletransportarse a la Fortaleza Costera
help/nine_inch_tribe
Teletransportarse a la Tribu de Nueve Pulgadas
help/fishtopia_market
Teletransportarse al Mercado de Fishtopia
help/bridge_fort
Teletransportarse al Fuerte del Puente
help/tavern
Teletransportarse a la Taberna
help/coliseum
Teletransportarse al Coliseo
help/east_trade
Teletransportarse al Comercio del Este
help/sewer
Teletransportarse al Alcantarillado
help/back_alleys
Teletransportarse a los Callejones
help/bubba_smith
Teletransportarse a Bubba el Herrero
help/toy_house
Teletransportarse a la Casa de los Juguetes
help/warehouse_13
Teletransportarse al Almacén Nº13
help/prison
Teletransportarse a la Prisión
help/cemetery
Teletransportarse al Cementerio
help/parade_ground
Teletransportarse al Campo de Paradas
help/elis_clinic
Teletransportarse a la Clínica Elis
help/bank
Teletransportarse al Banco
help/market
Teletransportarse al Mercado
help/port
Teletransportarse al Puerto
help/gold_ingot
Teletransportarse al Lingote de Oro
help/east_gate
Teletransportarse a la Puerta del Este
help/east_noertown_outpost
Teletransportarse al Puesto de control este de Noertown
help/east_doom_outpost
Teletransportarse al Puesto de control este de la Fortaleza
help/north_pirates_outpost
Teletransportarse al Puesto norte de Perdición de los Piratas
help/refugee_monastery
Teletransportarse al Campamento de refugiados del monasterio
help/refugee_doom
Teletransportarse al Campamento de refugiados de la Fortaleza
help/mercenary_camp
Teletransportarse al Campamento de mercenarios
help/swamp_camp
Teletransportarse al Campamento del Pantano
help/fishfolk_camp
Teletransportarse al Campamento de los hombres pez
help/orkind_cave1
Teletransportarse a la Cueva orcoide 1
help/orkind_cave2
Teletransportarse a la Cueva orcoide 2
help/orkind_cave3
Teletransportarse a la Cueva orcoide 3
help/orkind_cave4
Teletransportarse a la Cueva orcoide 4
help/orkind_forest
Teletransportarse al Bosque orcoide
help/orkind_hut
Teletransportarse a la Cabaña orcoide
help/lost_caravan
Teletransportarse a la Caravana perdida
help/fishfolk_cave1
Teletransportarse a la Cueva de hombres pez 1
help/fishfolk_cave1b2
Teletransportarse a la Cueva de hombres pez 1B2
help/fishfolk_cave2
Teletransportarse a la Cueva de hombres pez 2
help/fishfolk_cave3
Teletransportarse a la Cueva de hombres pez 3
help/abomination_lair1
Teletransportarse a la Guarida de abominaciones 1
help/abomination_lair2
Teletransportarse a la Guarida de abominaciones 2
help/abomination_lair3
Teletransportarse a la Guarida de abominaciones 3
help/bat_cave
Teletransportarse a la Cueva de murciélagos
help/saints_monastery
Teletransportarse al Monasterio de los Santos
help/mountain_monastery
Teletransportarse al Monasterio de la Montaña
help/cloud_village
Teletransportarse a la Aldea de las Nubes
help/bandit_shelter
Teletransportarse al Refugio de bandidos
help/noertown_mine
Teletransportarse a la Mina de Noertown
help/berserk_tomb
Teletransportarse a la Tumba del Berserker
help/abandoned_copper_mine
Teletransportarse a la Mina de cobre abandonada
help/woodson_manor
Teletransportarse a la Mansión Woodson
help/doom_armory
Teletransportarse a la Armería de la Fortaleza
help/south_granary
Teletransportarse al Granero del Sur Nº12
help/perranwey_village
Teletransportarse a la Aldea Perranwey
help/fallen_fortress
Teletransportarse a la Fortaleza Caída
help/looted_caravan
Teletransportarse a la Caravana saqueada
help/abandoned_copper_town
Teletransportarse al Pueblo minero abandonado
help/mass_grave
Teletransportarse a la Fosa común
help/good_island
Teletransportarse a la Isla del Bien
help/waterway
Teletransportarse a la Vía fluvial
help/remains_shore
Teletransportarse a la Costa de los Restos
help/thorn_temple
Teletransportarse al Templo de las Espinas
help/krusty_krab_pot
Teletransportarse a la Tienda de la Olla de Krusty Krab
@@ -0,0 +1,140 @@
commands/misc
기타
commands/toggles
치트 토글
commands/character
성격
commands/npc
NPC 조정
window_help/character1
주인공의 속성을 변경합니다.
commands/config
구성
cheat_toggle/on
켜기
cheat_toggle/off
꺼짐
cheat_toggle/default
기본
cheat_toggle/hard
딱딱한
cheat_toggle/hell
지옥
cheat_toggle/doom
운명
cheat_toggle/disable
장애를 입히다
cheat_toggle/infinite
INF
command_help/fixcommand2
재시작이 필요합니다. 비활성화하면 이 수정 사항이 적용되지 않습니다.
command_help/execute
Z 키를 눌러 명령을 실행하세요.
command_help/scene
Z 키를 눌러 하위 메뉴로 들어가세요.
command_help/toggle
Z를 눌러 전환합니다.
command_help/edit
편집하려면 Z 키를 누르세요.
command_help/set_hotkey_hint
C 키를 눌러 단축키를 설정하세요.
command_help/num_edit1
왼쪽/오른쪽을 눌러 잃거나 얻습니다.
command_help/num_edit2
SHIFT = x10, CTRL = x100.
command_help/hotkey_capture1
Shift/Ctrl/Alt 키와 다른 키를 함께 눌러 할당하고, Delete 키로 해제합니다.
command_help/hotkey_capture2
C 또는 X를 눌러 취소하세요.
commands_status/locked
치트 활성화됨
warnings/restart_required
일부 치트는 게임을 재시작해야만 작동할 수 있습니다.
commands_status/restart_needed
재시작
commands/set_hotkeys
단축키 보기/지우기
command_help/set_hotkeys1
현재 할당된 단축키를 확인하고 원하는 대로 해제할 수 있습니다.
command_help/set_hotkeys2
단축키를 추가하려면 명령 메뉴로 이동하여 C 키를 누르십시오.
commands/edit_order
메뉴 순서 수정
command_help/edit_order1
이 프레임워크의 메뉴 순서를 변경할 수 있습니다.
command_help/edit_order2
변경 사항을 저장하거나 취소하라는 메시지가 표시됩니다.
commands/reset_order
메뉴 순서 재설정
command_help/reset_order1
사용자 지정 메뉴 설정을 모두 프레임워크의 기본값으로 되돌립니다.
command_help/reset_order2
즉시 효력이 발생하며, 재시작이 필요하지 않습니다.
commands/edit_globals
전역 변수 편집
command_help/edit_globals1
로컬 변수 값이 전역 변수처럼 동작하도록 강제합니다(또는 그 반대로).
command_help/edit_globals2
Z 키를 눌러 로컬/글로벌 설정을 전환하거나 현재 값을 편집할 수 있습니다.
command_help/local
전역 설정이 아닙니다(설정에서 변경 가능).
mode/local
현지의
mode/global
글로벌
mode/value_row
현재 설정
commands/reset_all_settings
설정 초기화
command_help/reset_all_settings1
단축키, 메뉴 순서 및 재정의 설정을 초기화합니다.
command_help/reset_all_settings2
모듈/치트 기본 설정을 적용하려면 재시작해야 합니다.
commands/cheat_menu_keybind
치트 메뉴 열기
@@ -0,0 +1,5 @@
name
치트 프레임워크
description
치트 모드가 다시 한번 새롭게 디자인되었습니다. 자세한 변경 사항은 https://github.com/quin2k/Cheat-Menu-Framework에서 확인하세요.
@@ -0,0 +1,291 @@
commands/primary
주요 통계
commands/primary/health
건강
commands/primary/stamina
내구력
commands/primary/food
음식
commands/primary/mood
분위기
commands/primary/arousal
각성
commands/primary/morality
도덕성
command_help/moral
도덕성이 30 미만이면 인간이 공격하게 됩니다.
commands/levels
레벨 및 특성
commands/levels/level
레벨
command_help/lvl
설정 시 특성 포인트를 다시 계산합니다.
commands/levels/max_level
최대 레벨
commands/levels/exp_rate
경험 비율
command_help/exp_rate1
모든 출처에서 얻는 경험치를 곱합니다.
commands/levels/traits_per_level
레벨별 특성
command_help/tpl1
레벨업 시 획득하는 특성의 개수.
commands/traits
특성
commands/traits/trait_points
특성 점수
command_help/tp1
획득해야 할 포인트
command_help/tp2
베이스
command_help/tp3
기술
command_help/tp4
특성
commands/traits/max_traits
최대 특성
commands/traits/combat
전투 특성
commands/traits/scoutcraft
정찰술 특성
commands/traits/wisdom
지혜 특성
commands/traits/survival
생존 특성
commands/traits/constitution
체질 특성
commands/traits/reset
특성 초기화
command_help/reset1
모든 특성(기술 포함)을 초기화합니다.
command_help/reset2
레벨 * 레벨당 특성 개수를 기준으로 특성 포인트를 설정합니다.
commands/appearance
모습
commands/appearance/dirt
더티
toggle/dirt
먼지 비활성화
command_help/dirt
최대 먼지량을 0으로 설정합니다.
commands/appearance/freckles
주근깨
commands/appearance/vpubes
음모
commands/appearance/apubes
항문털
commands/appearance/vpubegrowth
음모 성장
commands/appearance/apubegrowth
항문 털 성장
command_help/pubes1
값을 0으로 설정하면 성장이 방지되고, 1 이상으로 설정하면 성장이 활성화됩니다.
command_help/pubegrowth1
성장 간격. 높을수록 성장 속도가 느립니다.
command_help/pubegrowth2
일반적으로 3~12일 정도 소요됩니다.
commands/appearance/hair_color
헤어 컬러
commands/appearance/hair_color/0
회색
commands/appearance/hair_color/1
검정색
commands/appearance/hair_color/2
표백색
commands/appearance/hair_color/3
아쿠아
commands/appearance/hair_color/4
레드
commands/appearance/hair_color/5
블론드
toggle/autobandage
자동 붕대
command_help/autobandage
상처, 출혈 및 손상 부위를 자동으로 제거합니다.
toggle/autoclean
자동 청소(아웃)
command_help/autoclean
혈액과 정액을 자동으로 제거합니다 (입구 및 출구).
toggle/autocure
자동 치료
command_help/autocure
자동으로 성병과 기생충을 제거합니다.
commands/race
레이스 설정
window_help/race1
인종을 선택합니다.
commands/race/human
인간
commands/race/moot
혼합 인종
commands/race/deepone
프리 딥 원
commands/race/truedeepone
딥 원
commands/race/abom_human
어보미네이션 (인간)
commands/race/abom_moot
어보미네이션 (혼혈)
commands/racecheats
레이스 치트
commands/race/skills/deepone
깨어나라 (바다 마녀)
commands/race/skills/abomeat
모독하다 (가증스러운 행위)
commands/race/skills/abomgrab
덩굴 채찍 (혐오스러운 것)
commands/deeponecommunicate
Deepone은 소통할 수 있습니다
command_help/deeponecommunicate1
True Deepone이 상호 작용하지 못하도록 막는 하드코딩된 검사를 제거합니다.
commands/abomskillfix
혐오스러운 음식 고치다
command_help/abomskillfix1
신성모독 스킬은 음식도 채워주고 상처도 치료해줍니다.
commands/siren
디폰 소환 맥스
command_help/siren1
편집을 통해 가능한 사이렌 소환 횟수를 모두 수정했습니다.
commands/sexual
성적
commands/sexual/dedit/v
질 손상
commands/sexual/dedit/u
요도 손상
commands/sexual/dedit/a
항문 손상
commands/sexual/dtoggle/v
질 손상 토글
commands/sexual/dtoggle/u
요도 손상 토글
commands/sexual/dtoggle/a
항문 손상 토글
commands/sexual/reset
성생활 통계 초기화
command_help/sexual/reset
로나를 처녀로 만드세요. 성폭행에 영향을 줄 수 있습니다.
commands/levels/level_up
Level +1
commands/levels/level_down
Level -1
commands/levels/level_max
Set maximum level
commands/levels/level_reset
Reset to level 1
commands/male_skin
남성 스킨
window_help/male_skin1
남성 주민 스킨 선택 (/maleskin과 동일).
commands/male_skin/off
끄기 (Lona)
commands/male_skin/random
랜덤 주민
command_help/male_skin_random
남성 모드를 켜고 랜덤 주민 스킨을 고릅니다.
commands/male_skin/cat_villagers
Villagers
commands/male_skin/cat_fat
Fat
commands/male_skin/cat_teens
Teens
commands/male_skin/cat_undead
Undead
commands/male_skin/cat_orkind
Orkind
commands/male_skin/cat_goblins
Goblins
commands/male_skin/cat_amphibians
Fish / Frog
commands/male_skin/cat_giants
Giants
@@ -0,0 +1,52 @@
commands/items
항목
commands/weapons
무기
commands/armors
갑옷
command_help/items_0
항목을 조정합니다.
command_help/items_1
왼쪽/오른쪽을 눌러 잃거나 얻습니다.
command_help/items_2
10 단위로 시프트 키를 누릅니다.
command_help/items_3
100 단위로 CTRL 키를 누릅니다.
commands/status
상태
command_help/stats_0
상황을 조정합니다.
command_help/stats_1
왼쪽/오른쪽을 눌러 잃거나 얻습니다.
commands/bank
공개 은행 재고
commands/summon
소환
commands/lonacraft
LonaCraft items
commands/lc_materials
Materials / building
commands/lc_furniture
Furniture
commands/lc_weapons
Hatchet / tools
commands/lc_tier_weapons
Tiered weapons
commands/lc_tier_armors
Tiered armor
@@ -0,0 +1,32 @@
toggle/health
무한 체력
toggle/food
인피니트 푸드
toggle/stamina
무한 스태미나
toggle/money
무한 머니
misc/heal
치유
misc/heal_wound
상처 치료
command_help/heal_wound
무작위로 생긴 상처 하나를 치료합니다.
misc/faint
소진됨
misc/money
기부하기
toggle/vulnerable
로나 취약
command_help/vulnerable1
기절하거나 이 토글을 끌 때까지 스태미나가 0 이상으로 오르지 않도록 합니다.
@@ -0,0 +1,44 @@
commands/othermods
기타 모드
commands/roleplays
RolePlay-S
commands/roleplays/saves
저장 제한 해제
commands/roleplays/mana
무한 MP
commands/roleplays/mana_rage
마나 레이지
commands/roleplays/mana_rage_max
마나 분노 최대치
commands/othermods/booba_cosmetic
가슴 코스메틱 모드
commands/othermods/booba_oldnipples
이전 유두
commands/othermods/filter_whitecum
하얀 정액
commands/othermods/filter_events
색상 변경 이벤트
commands/othermods/filter_melanin
유두 멜라닌 필터
commands/othermods/filter_pubes
음모 필터
commands/othermods/filter_dirt
먼지 필터
commands/othermods/filter_wounds
상처 필터
commands/othermods/filter_bleeding
출혈 필터
@@ -0,0 +1,137 @@
commands/gallery
갤러리 잠금 해제
command_help/gallery
노어에 있는 점쟁이에게 문의하세요.
commands/fix
게임 조정
commands/achievementfix
난이도 달성 수정
command_help/achievementfix1
가능한 경우 쉬운 난이도에 대해서는 가산점을 부여합니다.
commands/stealth
그림자에서 수정
command_help/stealth1
해당 스킬을 보유하고 있다면 액션 키를 눌러도 은신 상태가 해제되지 않습니다.
commands/fastnap
빠른 낮잠
command_help/fastnap1
휴식 중에 Ctrl 키를 누르면 한 턴에 체력이 회복됩니다. 음식/체력 회복 비율은 동일합니다.
commands/nightvision
야간 투시경
command_help/nightvision1
맵의 어두운 부분을 완전히 투명하게 만듭니다. 즉시 적용되며, 재시작이 필요 없습니다.
commands/noclip
노클립
command_help/noclip1
지형, 벽, NPC를 통과할 수 있습니다. 오버월드의 변화가 멈춥니다.
commands/forageglow
포리지 글로우
command_help/forageglow1
채집 가능한 자원 노드를 더 쉽게 찾을 수 있도록 해줍니다.
commands/discard
폐기 방지
command_help/discard1
벗긴 옷은 인벤토리로 들어갑니다.
commands/unequip
옷을 벗으세요
commands/forceunequip
강제로 장비 해제
command_help/forceunequip1
사슬이나 목줄을 강제로 제거하는 데 사용됩니다.
commands/equip
무엇이든 장착하세요
command_help/equip1
무기 및 방어구 제한을 해제합니다.
commands/difficulty
어려움
commands/world
세계적 어려움
commands/diff
게임 난이도 초기화
command_help/diff
DOOM 모드 강제 비활성화
commands/addictioneffects
중독의 영향
command_help/addictioneffects1
오그라즘/정액/약물 중독 이벤트를 무시합니다.
commands/milkoverflow
우유 넘침
command_help/milkoverflow1
난이도에 따른 우유 넘침/튀김 이벤트를 무시합니다.
commands/despawnfix
품목 부식 방지
command_help/despawnfix1
떨어진 아이템의 지속 시간을 설정합니다.
commands/drops
드롭 증가
command_help/dropsfix1
적에게서 얻는 드롭 아이템의 양을 조정합니다.
commands/friendlyfire
아군 오사 수정
command_help/friendlyfire1
아군 오인 사격 방지를 위한 노력.
commands/endlesscontracts
끝없는 계약
command_help/endlesscontracts1
영입한 동료/추종자와의 계약은 만료되지 않습니다.
commands/immortal
사망을 예방하세요
command_help/immortal1
동료와 로나는 체력이 1 미만으로 떨어질 수 없습니다.
commands/irresistible
꼼짝 못하게 하는
command_help/irresistible1
체력이 0 미만일 경우 성적 목표 달성을 우선시하십시오.
commands/beastfix
야수 수정
command_help/beastfix1
차단된 일부 동물이 교미할 수 있도록 합니다.
commands/companionrape
동료 강간
command_help/companionrape1
동료가 자신의 선호에 따라 로나를 목표로 삼을 수 있도록 합니다.
@@ -0,0 +1,74 @@
commands/preg
임신
commands/difficulty
임신 관련 어려움
commands/seedbed
자궁 씨앗밭
commands/protect
임신을 보호하세요
commands/impreg
함침
info/babyRace
베이비 레이스
commands/days
생년월일까지
commands/health
아기 건강
commands/impreg/human
인간
commands/impreg/moot
혼합 인종
commands/impreg/deepone
딥 원
commands/impreg/fishkind
피쉬카인드
commands/impreg/orkind
오크 종족
commands/impreg/goblin
고블린
commands/impreg/abomination
어보미네이션
commands/clear
임신
menu_help/impreg_menu1
임신을 원하는 상대방의 인종을 선택하세요.
menu_help/impreg_menu4
Z 키를 눌러 로나를 임신시키세요!
command_help/difficulty
이는 임신 기간에만 영향을 미칠 뿐입니다.
command_help/seedbed
로나의 상태를 직접 조정합니다.
command_help/protect
아기의 건강 상태를 최대로 유지하고 '정리' 기능을 비활성화합니다.
command_help/length1
임신 기간을 수정하려면 선택하세요.
command_help/length2
제로를 움직이면 임신이 시작됩니다.
command_help/clear1
로나의 임신을 조용히 제거하세요.
command_help/clear2
비활성화된 경우, 임신 보호 기능이 활성화됩니다.
@@ -0,0 +1,92 @@
commands/revive
고유 NPC 부활
command/revive/menu3
죽은 NPC만 표시됩니다.
command/revive/menu4
Z를 눌러 선택한 NPC를 부활시킵니다.
NPC/UniqueCharUniqueCecily
세실리
NPC/UniqueCharUniqueGrayRat
회색 쥐
NPC/UniqueCharUniqueCocona
코코나
NPC/UniqueCharUniqueLisa
리사
NPC/UniqueCharUniqueElise
엘리스
NPC/UniqueCharUniqueMaani
마니
NPC/UniqueCharUniqueDavidBorn
데이비드본
NPC/UniqueCharUniquePigBobo
보보
NPC/UniqueCharUniqueAdam
아담
NPC/UniqueCharUniqueMilo
마일로
NPC/UniqueCharUniqueSeaWitch
바다 마녀
NPC/UniqueCharUniqueTeller
점쟁이
NPC/UniqueCharUniqueHappyMerchant
쾌활한 가게 주인
NPC/UniqueCharUniqueTavernWaifu
보스 마마
NPC/UniqueCharUniqueFerrum
Ferrum
NPC/UniqueCharUniqueCaptainEdward
에드워드 선장
NPC/UniqueCharUniqueFatdalf
회색 옷을 입은 마법사
NPC/UniqueCharNoerSnowflake
눈송이
NPC/UniqueChar_NorthFL_SGT
NorthFL_SGT
NPC/UniqueChar_NFL_MerCamp_Leader
NFL_MerCamp_Leader
NPC/UniqueCharNoerRelayOut_PoorBoy
PoorBoy
NPC/UniqueChar_FishTownT_Shaman
FishTownT_Shaman
NPC/UniqueCharUniqueKillerRabbit
KillerRabbit
NPC/UniqueCharUniqueOgreWarBoss
OgreWarBoss
NPC/UniqueCharUniqueGangBoss
GangBoss
NPC/UniqueCharSMCloudVillage_Boss
CloudVillage_Boss
NPC/UniqueCharSMCloudVillage_BossAtk
CloudVillage_BossAtk
NPC/UniqueChar_OrcSlaveMaster
OrcSlaveMaster
@@ -0,0 +1,434 @@
commands/title
순간 이동
category/settlements
정착지
category/noertown_locations
노어타운 지역
category/outposts
초소
category/camps
캠프
category/monster_lairs
몬스터 소굴
category/points_of_interest
관심 지점
location/noertown
노어타운
location/doom_stronghold
둠 요새
location/aris_village
아리스 마을
location/pirates_bane
해적의 저주
location/south_gate_camp
남문 캠프
location/coastal_fortress
해안 요새
location/nine_inch_tribe
나인인치 부족
location/fishtopia_market
피쉬토피아 시장
location/bridge_fort
다리 요새
location/tavern
선술집
location/coliseum
콜로세움
location/east_trade
동부 무역소
location/sewer
하수도
location/back_alleys
뒤골목
location/bubba_smith
버바 대장간
location/toy_house
장난감 가게
location/warehouse_13
13번 창고
location/prison
감옥
location/cemetery
묘지
location/parade_ground
열병장
location/elis_clinic
엘리스 클리닉
location/bank
은행
location/market
시장
location/port
항구
location/gold_ingot
금괴
location/east_gate
동문
location/east_noertown_outpost
노어타운 동쪽 초소
location/east_doom_outpost
둠 요새 동쪽 초소
location/north_pirates_outpost
해적의 저주 북쪽 초소
location/refugee_monastery
수도원 난민 캠프
location/refugee_doom
둠 요새 난민 캠프
location/mercenary_camp
용병 캠프
location/swamp_camp
늪지 캠프
location/fishfolk_camp
물고기인간 캠프
location/orkind_cave1
오크 동굴 1 (노어타운 근처)
location/orkind_cave2
오크 동굴 2 (망루)
location/orkind_cave3
오크 동굴 3
location/orkind_cave4
오크 동굴 4
location/orkind_forest
오크 숲
location/orkind_hut
오크 오두막
location/lost_caravan
길 잃은 대상단
location/fishfolk_cave1
물고기인간 동굴 1
location/fishfolk_cave1b2
물고기인간 동굴 1B2
location/fishfolk_cave2
물고기인간 동굴 2
location/fishfolk_cave3
물고기인간 동굴 3 (성소)
location/abomination_lair1
괴물 소굴 1
location/abomination_lair2
괴물 소굴 2
location/abomination_lair3
괴물 소굴 3
location/bat_cave
박쥐 동굴
location/saints_monastery
성인 수도원
location/mountain_monastery
산 수도원
location/cloud_village
구름 마을
location/bandit_shelter
도적 은신처
location/noertown_mine
노어타운 광산
location/berserk_tomb
광전사 무덤
location/abandoned_copper_mine
버려진 구리 광산
location/woodson_manor
우드슨 저택
location/doom_armory
둠 요새 무기고
location/south_granary
남부 곡물 창고 12호
location/perranwey_village
페란웨이 마을
location/fallen_fortress
무너진 요새
location/looted_caravan
약탈당한 대상단
location/abandoned_copper_town
버려진 구리 광산 마을
location/mass_grave
공동 묘지
location/good_island
선의의 섬
location/waterway
수로
location/remains_shore
잔해 해안
location/thorn_temple
가시 신전
location/krusty_krab_pot
크러스티 크랩 냄비 가게
help/noertown
노어타운으로 순간 이동
help/doom_stronghold
둠 요새로 순간 이동
help/aris_village
아리스 마을로 순간 이동
help/pirates_bane
해적의 저주로 순간 이동
help/south_gate_camp
남문 캠프로 순간 이동
help/coastal_fortress
해안 요새로 순간 이동
help/nine_inch_tribe
나인인치 부족으로 순간 이동
help/fishtopia_market
피쉬토피아 시장으로 순간 이동
help/bridge_fort
다리 요새로 순간 이동
help/tavern
선술집으로 순간 이동
help/coliseum
콜로세움으로 순간 이동
help/east_trade
동부 무역소로 순간 이동
help/sewer
하수도로 순간 이동
help/back_alleys
뒤골목으로 순간 이동
help/bubba_smith
버바 대장간으로 순간 이동
help/toy_house
장난감 가게로 순간 이동
help/warehouse_13
13번 창고로 순간 이동
help/prison
감옥으로 순간 이동
help/cemetery
묘지로 순간 이동
help/parade_ground
열병장으로 순간 이동
help/elis_clinic
엘리스 클리닉으로 순간 이동
help/bank
은행으로 순간 이동
help/market
시장으로 순간 이동
help/port
항구로 순간 이동
help/gold_ingot
금괴로 순간 이동
help/east_gate
동문으로 순간 이동
help/east_noertown_outpost
노어타운 동쪽 초소로 순간 이동
help/east_doom_outpost
둠 요새 동쪽 초소로 순간 이동
help/north_pirates_outpost
해적의 저주 북쪽 초소로 순간 이동
help/refugee_monastery
수도원 난민 캠프로 순간 이동
help/refugee_doom
둠 요새 난민 캠프로 순간 이동
help/mercenary_camp
용병 캠프로 순간 이동
help/swamp_camp
늪지 캠프로 순간 이동
help/fishfolk_camp
물고기인간 캠프로 순간 이동
help/orkind_cave1
오크 동굴 1로 순간 이동
help/orkind_cave2
오크 동굴 2로 순간 이동
help/orkind_cave3
오크 동굴 3으로 순간 이동
help/orkind_cave4
오크 동굴 4로 순간 이동
help/orkind_forest
오크 숲으로 순간 이동
help/orkind_hut
오크 오두막으로 순간 이동
help/lost_caravan
길 잃은 대상단으로 순간 이동
help/fishfolk_cave1
물고기인간 동굴 1로 순간 이동
help/fishfolk_cave1b2
물고기인간 동굴 1B2로 순간 이동
help/fishfolk_cave2
물고기인간 동굴 2로 순간 이동
help/fishfolk_cave3
물고기인간 동굴 3으로 순간 이동
help/abomination_lair1
괴물 소굴 1로 순간 이동
help/abomination_lair2
괴물 소굴 2로 순간 이동
help/abomination_lair3
괴물 소굴 3으로 순간 이동
help/bat_cave
박쥐 동굴로 순간 이동
help/saints_monastery
성인 수도원으로 순간 이동
help/mountain_monastery
산 수도원으로 순간 이동
help/cloud_village
구름 마을로 순간 이동
help/bandit_shelter
도적 은신처로 순간 이동
help/noertown_mine
노어타운 광산으로 순간 이동
help/berserk_tomb
광전사 무덤으로 순간 이동
help/abandoned_copper_mine
버려진 구리 광산으로 순간 이동
help/woodson_manor
우드슨 저택으로 순간 이동
help/doom_armory
둠 요새 무기고로 순간 이동
help/south_granary
남부 곡물 창고 12호로 순간 이동
help/perranwey_village
페란웨이 마을로 순간 이동
help/fallen_fortress
무너진 요새로 순간 이동
help/looted_caravan
약탈당한 대상단으로 순간 이동
help/abandoned_copper_town
버려진 구리 광산 마을로 순간 이동
help/mass_grave
공동 묘지로 순간 이동
help/good_island
선의의 섬으로 순간 이동
help/waterway
수로로 순간 이동
help/remains_shore
잔해 해안으로 순간 이동
help/thorn_temple
가시 신전으로 순간 이동
help/krusty_krab_pot
크러스티 크랩 냄비 가게로 순간 이동
@@ -0,0 +1,140 @@
commands/misc
Misc Cheats
commands/toggles
Toggles
commands/character
Character
commands/npc
NPC Tweaks
window_help/character1
Change various properties of the main character.
commands/config
Config
cheat_toggle/on
ON
cheat_toggle/off
OFF
cheat_toggle/default
DEFAULT
cheat_toggle/hard
HARD
cheat_toggle/hell
HELL
cheat_toggle/doom
DOOM
cheat_toggle/disable
DISABLE
cheat_toggle/infinite
INF
command_help/fixcommand2
Requires Restart. Disable unloads this fix.
command_help/execute
Press Z to run command.
command_help/scene
Press Z to enter a submenu.
command_help/toggle
Press Z to toggle.
command_help/edit
Press Z to edit.
command_help/set_hotkey_hint
Press C to set hotkey.
command_help/num_edit1
Press Left to decrease, Right to increase.
command_help/num_edit2
SHIFT = x10, CTRL = x100.
command_help/hotkey_capture1
Shift/Ctrl/Alt + a key to assign, Delete to clear.
command_help/hotkey_capture2
C or X to cancel.
commands_status/locked
Cheat Active
warnings/restart_required
Some cheats will not be effective until you restart the game.
commands_status/restart_needed
RESTART
commands/set_hotkeys
View/Clear Hotkeys
command_help/set_hotkeys1
See currently assigned hotkeys and clear them as desired.
command_help/set_hotkeys2
To add a hotkey, go to the command's menu and press C.
commands/edit_order
Edit Menu Order
command_help/edit_order1
Reorder any of this framework's menus.
command_help/edit_order2
You'll be prompted to Save or Discard changes.
commands/reset_order
Reset Menu Order
command_help/reset_order1
Clears all custom menu settings back to the framework's defaults.
command_help/reset_order2
Takes effect immediately, no restart needed.
commands/edit_globals
Edit Globals
command_help/edit_globals1
Force local value to behave as global variable (or vise versa).
command_help/edit_globals2
Z to toggle Local/Global or edit current value.
command_help/local
Not Global (can be changed in Config)
mode/local
Local
mode/global
Global
mode/value_row
Current Setting
commands/reset_all_settings
Reset Config Settings
command_help/reset_all_settings1
Reset hotkeys, menu order, and overrides.
command_help/reset_all_settings2
Module/cheat defaults need a restart.
commands/cheat_menu_keybind
Open Cheat Menu
@@ -0,0 +1,5 @@
name
Cheat Framework Rework
description
Cheats Mod reimagined (again). For detailed changes, see https://github.com/quin2k/Cheat-Menu-Framework.
@@ -0,0 +1,292 @@
commands/primary
Primary Stats
commands/primary/health
Health
commands/primary/stamina
Stamina
commands/primary/food
Food
commands/primary/mood
Mood
commands/primary/arousal
Arousal
commands/primary/morality
Morality
command_help/moral
Morality <30 will cause humans to attack.
commands/levels
Levels & Traits
commands/levels/level
Level
command_help/lvl
Recalculates Trait Points when set.
commands/levels/max_level
Max Level
commands/levels/exp_rate
Exp Rate
command_help/exp_rate1
Multiplies exp gained from all sources.
commands/levels/traits_per_level
Traits per Level
command_help/tpl1
Number of Traits earned at level up.
commands/traits
Traits
commands/traits/trait_points
Trait Points
command_help/tp1
Points you should have
command_help/tp2
Base
command_help/tp3
Skills
command_help/tp4
Traits
commands/traits/max_traits
Max Traits
commands/traits/combat
Combat Trait
commands/traits/scoutcraft
Scoutcraft Trait
commands/traits/wisdom
Wisdom Trait
commands/traits/survival
Survival Trait
commands/traits/constitution
Constitution Trait
commands/traits/reset
Reset Traits
command_help/reset1
Resets all traits (including skills)
command_help/reset2
Sets Trait Points based on Level * Traits per Level.
commands/appearance
Appearance
commands/appearance/dirt
Dirty
toggle/dirt
Disable Dirt
command_help/dirt
Sets maximum dirt to 0.
commands/appearance/freckles
Freckles
commands/appearance/vpubes
Pubic Hair
commands/appearance/apubes
Anal Hair
commands/appearance/vpubegrowth
Pubic Hair Growth
commands/appearance/apubegrowth
Anal Hair Growth
command_help/pubes1
Setting to 0 will prevent growth, 1+ enables growth.
command_help/pubegrowth1
Time between growth. Higher = slower.
command_help/pubegrowth2
Normally between 3-12 days.
commands/appearance/hair_color
Hair Color
commands/appearance/hair_color/0
Gray
commands/appearance/hair_color/1
Black
commands/appearance/hair_color/2
Bleached
commands/appearance/hair_color/3
Aqua
commands/appearance/hair_color/4
Red
commands/appearance/hair_color/5
Blonde
toggle/autobandage
Auto-Bandage
command_help/autobandage
Auto removes wounds, blood, and orifice damage.
toggle/autoclean
Auto-Clean
command_help/autoclean
Auto removes blood and cum (in and out).
toggle/autocure
Auto-Cure
command_help/autocure
Auto removes STDs and parasites.
commands/race
Set Race
window_help/race1
Select a race.
commands/race/human
Human
commands/race/moot
Mixed-Race
commands/race/deepone
Pre Deepone
commands/race/truedeepone
True Deepone
commands/race/abom_human
Abomination (Human)
commands/race/abom_moot
Abomination (Moot)
commands/racecheats
Race Cheats
commands/race/skills/deepone
Awaken (Sea Witch)
commands/race/skills/abomeat
Desecrate (Abomination)
commands/race/skills/abomgrab
Tendril Whip (Abomination)
commands/deeponecommunicate
Deepone Can Communicate
command_help/deeponecommunicate1
Removes hardcoded checks that lock True Deepone out of interactions.
commands/abomskillfix
Abomination Eat Fix
command_help/abomskillfix1
Desecrate skill will also fill food and heal wounds.
commands/siren
Deepone Summon Max
command_help/siren1
Edits total Siren Summons possible.
commands/sexual
Sexual
commands/sexual/dedit/v
Vaginal Damage
commands/sexual/dedit/u
Urethral Damage
commands/sexual/dedit/a
Anal Damage
commands/sexual/dtoggle/v
Vaginal Damage Toggle
commands/sexual/dtoggle/u
Urethral Damage Toggle
commands/sexual/dtoggle/a
Anal Damage Toggle
commands/sexual/reset
Reset Sex Stats
command_help/sexual/reset
Virginize Lona. May impact sex attack.
commands/levels/level_up
Level +1
commands/levels/level_down
Level -1
commands/levels/level_max
Set maximum level
commands/levels/level_reset
Reset to level 1
commands/male_skin
Male Skin
window_help/male_skin1
Choose a villager male skin (same as /maleskin).
commands/male_skin/off
Off (Lona)
commands/male_skin/random
Random villager
command_help/male_skin_random
Picks a random male villager skin and enables male mode.
commands/male_skin/cat_villagers
Villagers
commands/male_skin/cat_fat
Fat
commands/male_skin/cat_teens
Teens
commands/male_skin/cat_undead
Undead
commands/male_skin/cat_orkind
Orkind
commands/male_skin/cat_goblins
Goblins
commands/male_skin/cat_amphibians
Fish / Frog
commands/male_skin/cat_giants
Giants
@@ -0,0 +1,53 @@
commands/items
Items
commands/weapons
Weapons
commands/armors
Armors
command_help/items_0
Adjust items.
command_help/items_1
Press Left/Right to lose/gain.
command_help/items_2
Hold SHIFT for increments of 10.
command_help/items_3
Hold CTRL for increments of 100.
commands/status
Status
command_help/stats_0
Adjust Lona's status variables.
command_help/stats_1
Press Left/Right to lose/gain.
commands/bank
Open Bank Inventory
commands/summon
Summon
commands/lonacraft
LonaCraft items
commands/lc_materials
Materials / building
commands/lc_furniture
Furniture
commands/lc_weapons
Hatchet / tools
commands/lc_tier_weapons
Tiered weapons
commands/lc_tier_armors
Tiered armor
@@ -0,0 +1,32 @@
toggle/health
Infinite Health
toggle/food
Infinite Food
toggle/stamina
Infinite Stamina
toggle/money
Infinite Money
misc/heal
Heal
misc/heal_wound
Heal a Wound
command_help/heal_wound
Heals a single random wound.
misc/faint
Exhausted
misc/money
Give Money
toggle/vulnerable
Lona Vulnerable
command_help/vulnerable1
Caps Lona's stamina at 0 until she faints or you toggle this off.
@@ -0,0 +1,41 @@
commands/othermods
Other Mods
commands/roleplays/saves
Disable Save Limiter
commands/roleplays/mana
Infinite MP
commands/roleplays/mana_rage
Mana Rage
commands/roleplays/mana_rage_max
Mana Rage Max
commands/othermods/booba_cosmetic
Booba Cosmetic Mode
commands/othermods/booba_oldnipples
Old Nipples
commands/othermods/filter_whitecum
White Cum
commands/othermods/filter_events
Recolored Events
commands/othermods/filter_melanin
Filter Nipple Melanin
commands/othermods/filter_pubes
Filter Pubic Hair
commands/othermods/filter_dirt
Filter Dirt
commands/othermods/filter_wounds
Filter Wounds
commands/othermods/filter_bleeding
Filter Bleeding
@@ -0,0 +1,137 @@
commands/gallery
Unlock Gallery
command_help/gallery
Access at Fortune Teller in Noer.
commands/fix
Game Tweaks
commands/achievementfix
Difficulty Achievement Fix
command_help/achievementfix1
Gives credit for easier difficulties if applicable.
commands/stealth
From The Shadows Fix
command_help/stealth1
Action key won't cancel sneak if you have the skill.
commands/fastnap
Fast Nap
command_help/fastnap1
Hold Ctrl while resting to restore stamina in one round. Same food/stamina ratio.
commands/nightvision
Night Vision
command_help/nightvision1
Forces map darkness fully transparent. Applies instantly, no restart needed.
commands/noclip
Noclip
command_help/noclip1
Walk through terrain, walls, and NPCs. Freezes overworld changes.
commands/forageglow
Forage Glow
command_help/forageglow1
Makes forageable resource nodes easier to spot.
commands/discard
Prevent Discard
command_help/discard1
Stripped clothes go to your inventory.
commands/unequip
Remove Clothes
commands/forceunequip
Force Unequip
command_help/forceunequip1
Used to force-remove chains or collars.
commands/equip
Equip Anything
command_help/equip1
Removes weapon and armor restrictions.
commands/difficulty
Difficulty
commands/world
World Difficulty
commands/diff
Reset Game Difficulty
command_help/diff
Force-disable DOOM Mode
commands/addictioneffects
Addiction Effects
command_help/addictioneffects1
Override Ograsm/Semen/Drug addiction events.
commands/milkoverflow
Milk Overflow
command_help/milkoverflow1
Override difficulty-based milk overflow/splash events.
commands/despawnfix
Item Decay Control
command_help/despawnfix1
Set duration of dropped items.
commands/drops
Increase Drops
command_help/dropsfix1
Adjusts drops from enemies.
commands/friendlyfire
Friendly Fire Fix
command_help/friendlyfire1
Attempts to prevent friendly fire.
commands/endlesscontracts
Endless Contracts
command_help/endlesscontracts1
Recruited companions/followers contracts never expire.
commands/immortal
Prevent Death
command_help/immortal1
Companions and Lona cannot drop below 1 hp.
commands/irresistible
Irresistible
command_help/irresistible1
Prioritize sexual targeting if stamina <0.
commands/beastfix
Beast Fix
command_help/beastfix1
Allows some blocked animals to fornicate.
commands/companionrape
Companion Rape
command_help/companionrape1
Allows companions to target Lona based on their preferences.
@@ -0,0 +1,74 @@
commands/preg
Pregnancy
commands/difficulty
Pregnancy Difficulty
commands/seedbed
Womb Seedbed
commands/protect
Protect Pregnancy
commands/impreg
Impregnate Lona
info/babyRace
Baby Race:
commands/days
Days to Birth
commands/health
Baby Health
commands/impreg/human
Human
commands/impreg/moot
Mixed-Race
commands/impreg/deepone
Deep One
commands/impreg/fishkind
Fishkind
commands/impreg/orkind
Orkind
commands/impreg/goblin
Goblin
commands/impreg/abomination
Abomination
commands/clear
Clear Pregnancy
menu_help/impreg_menu1
Select race to be impregnated by.
menu_help/impreg_menu4
Press Z to impregnate Lona!
command_help/difficulty
This will only influence pregnancy length.
command_help/seedbed
Directly adjusts Lona's status.
command_help/protect
Keeps Baby Health at max, disables 'Clear'
command_help/length1
Select to edit duration of pregnancy.
command_help/length2
Zero will trigger pregnancy once you move.
command_help/clear1
Silently remove pregnancy from Lona.
command_help/clear2
If disabled, Protect Pregnancy is on.
@@ -0,0 +1,92 @@
commands/revive
Revive Unique NPCs
command/revive/menu3
Only dead NPCs will be displayed.
command/revive/menu4
Press Z to revive the selected NPC.
NPC/UniqueCharUniqueCecily
Cecily
NPC/UniqueCharUniqueGrayRat
Gray Rat
NPC/UniqueCharUniqueCocona
Cocona
NPC/UniqueCharUniqueLisa
Lisa
NPC/UniqueCharUniqueElise
Elise
NPC/UniqueCharUniqueMaani
Maani
NPC/UniqueCharUniqueDavidBorn
Davidborn
NPC/UniqueCharUniquePigBobo
Bobo
NPC/UniqueCharUniqueAdam
Adam
NPC/UniqueCharUniqueMilo
Milo
NPC/UniqueCharUniqueSeaWitch
Sea Witch
NPC/UniqueCharUniqueTeller
Fortune Teller
NPC/UniqueCharUniqueHappyMerchant
Cheerful Shopkeeper
NPC/UniqueCharUniqueTavernWaifu
Boss Mama
NPC/UniqueCharUniqueFerrum
Ferrum
NPC/UniqueCharUniqueCaptainEdward
Captain Edward
NPC/UniqueCharUniqueFatdalf
Gray-robed Mage
NPC/UniqueCharNoerSnowflake
Snowflake
NPC/UniqueChar_NorthFL_SGT
North FL SGT (quest npc)
NPC/UniqueChar_NFL_MerCamp_Leader
Mercenary Captain (quest npc)
NPC/UniqueCharNoerRelayOut_PoorBoy
Griot (quest npc)
NPC/UniqueChar_FishTownT_Shaman
Fish Town Shaman (quest npc)
NPC/UniqueCharUniqueKillerRabbit
Killer Rabbit (quest npc)
NPC/UniqueCharUniqueOgreWarBoss
Ogre War Boss (quest npc)
NPC/UniqueCharUniqueGangBoss
Noer Gang Boss (quest npc)
NPC/UniqueCharSMCloudVillage_Boss
Cloudy Village Chief (quest npc)
NPC/UniqueCharSMCloudVillage_BossAtk
Cloudy Village Chief A (quest npc)
NPC/UniqueChar_OrcSlaveMaster
Leather Face (quest npc)
@@ -0,0 +1,434 @@
commands/title
Teleport
category/settlements
Settlements
category/noertown_locations
Noertown Locations
category/outposts
Outposts
category/camps
Camps
category/monster_lairs
Monster Lairs
category/points_of_interest
Points of Interest
location/noertown
Noertown
location/doom_stronghold
Doom Stronghold
location/aris_village
Aris Village
location/pirates_bane
Pirate's Bane
location/south_gate_camp
South Gate Camp
location/coastal_fortress
Coastal Fortress
location/nine_inch_tribe
Nine Inch Tribe
location/fishtopia_market
Fishtopia Market
location/bridge_fort
Bridge Fort
location/tavern
Tavern
location/coliseum
Coliseum
location/east_trade
East Trade
location/sewer
Sewer
location/back_alleys
Back Alleys
location/bubba_smith
Bubba Smith
location/toy_house
Toy House
location/warehouse_13
Warehouse №13
location/prison
Prison
location/cemetery
Cemetery
location/parade_ground
Parade Ground
location/elis_clinic
Elis Clinic
location/bank
Bank
location/market
Market
location/port
Port
location/gold_ingot
Gold Ingot
location/east_gate
East Gate
location/east_noertown_outpost
East Noertown Outpost
location/east_doom_outpost
East Doom Outpost
location/north_pirates_outpost
North Pirate's Bane Outpost
location/refugee_monastery
Monastery Refugee Camp
location/refugee_doom
Doom Stronghold Refugee Camp
location/mercenary_camp
Mercenary Camp
location/swamp_camp
Swamp Camp
location/fishfolk_camp
Fishfolk Camp
location/orkind_cave1
Orkoid Cave 1 (near Noertown)
location/orkind_cave2
Orkoid Cave 2 (watchtower)
location/orkind_cave3
Orkoid Cave 3
location/orkind_cave4
Orkoid Cave 4
location/orkind_forest
Orkoid Forest
location/orkind_hut
Orkoid Hut
location/lost_caravan
Lost Caravan
location/fishfolk_cave1
Fishfolk Cave 1
location/fishfolk_cave1b2
Fishfolk Cave 1B2
location/fishfolk_cave2
Fishfolk Cave 2
location/fishfolk_cave3
Fishfolk Cave 3 (sanctuary)
location/abomination_lair1
Abomination Lair 1
location/abomination_lair2
Abomination Lair 2
location/abomination_lair3
Abomination Lair 3
location/bat_cave
Bat Cave
location/saints_monastery
Saints Monastery
location/mountain_monastery
Mountain Monastery
location/cloud_village
Cloud Village
location/bandit_shelter
Bandit Shelter
location/noertown_mine
Noertown Mine
location/berserk_tomb
Berserk Tomb
location/abandoned_copper_mine
Abandoned Copper Mine
location/woodson_manor
Woodson Manor
location/doom_armory
Doom Stronghold Armory
location/south_granary
South Granary №12
location/perranwey_village
Perranwey Village
location/fallen_fortress
Fallen Fortress
location/looted_caravan
Looted Caravan
location/abandoned_copper_town
Abandoned Copper Town
location/mass_grave
Mass Grave
location/good_island
Good Island
location/waterway
Waterway
location/remains_shore
Remains Shore
location/thorn_temple
Thorn Temple
location/krusty_krab_pot
Krusty Krab Pot Shop
help/noertown
Teleport to Noertown
help/doom_stronghold
Teleport to Doom Stronghold
help/aris_village
Teleport to Aris Village
help/pirates_bane
Teleport to Pirate's Bane
help/south_gate_camp
Teleport to South Gate Camp
help/coastal_fortress
Teleport to Coastal Fortress
help/nine_inch_tribe
Teleport to Nine Inch Tribe
help/fishtopia_market
Teleport to Fishtopia Market
help/bridge_fort
Teleport to Bridge Fort
help/tavern
Teleport to Tavern
help/coliseum
Teleport to Coliseum
help/east_trade
Teleport to East Trade
help/sewer
Teleport to Sewer
help/back_alleys
Teleport to Back Alleys
help/bubba_smith
Teleport to Bubba Smith
help/toy_house
Teleport to Toy House
help/warehouse_13
Teleport to Warehouse №13
help/prison
Teleport to Prison
help/cemetery
Teleport to Cemetery
help/parade_ground
Teleport to Parade Ground
help/elis_clinic
Teleport to Elis Clinic
help/bank
Teleport to Bank
help/market
Teleport to Market
help/port
Teleport to Port
help/gold_ingot
Teleport to Gold Ingot
help/east_gate
Teleport to East Gate
help/east_noertown_outpost
Teleport to East Noertown Outpost
help/east_doom_outpost
Teleport to East Doom Outpost
help/north_pirates_outpost
Teleport to North Pirate's Bane Outpost
help/refugee_monastery
Teleport to Monastery Refugee Camp
help/refugee_doom
Teleport to Doom Stronghold Refugee Camp
help/mercenary_camp
Teleport to Mercenary Camp
help/swamp_camp
Teleport to Swamp Camp
help/fishfolk_camp
Teleport to Fishfolk Camp
help/orkind_cave1
Teleport to Orkoid Cave 1
help/orkind_cave2
Teleport to Orkoid Cave 2
help/orkind_cave3
Teleport to Orkoid Cave 3
help/orkind_cave4
Teleport to Orkoid Cave 4
help/orkind_forest
Teleport to Orkoid Forest
help/orkind_hut
Teleport to Orkoid Hut
help/lost_caravan
Teleport to Lost Caravan
help/fishfolk_cave1
Teleport to Fishfolk Cave 1
help/fishfolk_cave1b2
Teleport to Fishfolk Cave 1B2
help/fishfolk_cave2
Teleport to Fishfolk Cave 2
help/fishfolk_cave3
Teleport to Fishfolk Cave 3
help/abomination_lair1
Teleport to Abomination Lair 1
help/abomination_lair2
Teleport to Abomination Lair 2
help/abomination_lair3
Teleport to Abomination Lair 3
help/bat_cave
Teleport to Bat Cave
help/saints_monastery
Teleport to Saints Monastery
help/mountain_monastery
Teleport to Mountain Monastery
help/cloud_village
Teleport to Cloud Village
help/bandit_shelter
Teleport to Bandit Shelter
help/noertown_mine
Teleport to Noertown Mine
help/berserk_tomb
Teleport to Berserk Tomb
help/abandoned_copper_mine
Teleport to Abandoned Copper Mine
help/woodson_manor
Teleport to Woodson Manor
help/doom_armory
Teleport to Doom Stronghold Armory
help/south_granary
Teleport to South Granary №12
help/perranwey_village
Teleport to Perranwey Village
help/fallen_fortress
Teleport to Fallen Fortress
help/looted_caravan
Teleport to Looted Caravan
help/abandoned_copper_town
Teleport to Abandoned Copper Town
help/mass_grave
Teleport to Mass Grave
help/good_island
Teleport to Good Island
help/waterway
Teleport to Waterway
help/remains_shore
Teleport to Remains Shore
help/thorn_temple
Teleport to Thorn Temple
help/krusty_krab_pot
Teleport to Krusty Krab Pot Shop
@@ -0,0 +1,140 @@
commands/misc
Разное
commands/toggles
Переключить
commands/character
Персонаж
commands/npc
Изменения для NPC
window_help/character1
Изменить свойства главного персонажа.
commands/config
Меню настроек
cheat_toggle/on
ВКЛ
cheat_toggle/off
ВЫКЛ
cheat_toggle/default
DEFAULT
cheat_toggle/hard
HARD
cheat_toggle/hell
HELL
cheat_toggle/doom
DOOM
cheat_toggle/disable
ОТКЛЮЧИТЬ
cheat_toggle/infinite
БЕСКОНЕЧ
command_help/fixcommand2
Требуется перезапуск. Отключение этой функции выгружает данное исправление.
command_help/execute
Нажмите Z, чтобы выполнить команду.
command_help/scene
Нажмите Z, чтобы войти в подменю.
command_help/toggle
Нажмите Z для переключения.
command_help/edit
Нажмите Z для редактирования.
command_help/set_hotkey_hint
Нажмите клавишу C, чтобы назначить горячую клавишу.
command_help/num_edit1
Нажимаем стрелку влево или вправо для настройки.
command_help/num_edit2
SHIFT = x10, CTRL = x100.
command_help/hotkey_capture1
Нажмите Shift/Ctrl/Alt + клавишу для назначения, Delete для удаления.
command_help/hotkey_capture2
Для отмены используйте C или X.
commands_status/locked
Чит Активен
warnings/restart_required
Некоторые читы не вступят в силу, пока вы не перезапустите игру.
commands_status/restart_needed
ПЕРЕЗАПУСК
commands/set_hotkeys
Просмотр/Очистка горячих клавиш
command_help/set_hotkeys1
Просмотрите назначенные в данный момент горячие клавиши и снимите их при необходимости.
command_help/set_hotkeys2
Чтобы добавить горячую клавишу, перейдите в меню команды и нажмите клавишу C.
commands/edit_order
Изменить порядок блюд в меню
command_help/edit_order1
Изменяйте порядок пунктов меню в этом фреймворке.
command_help/edit_order2
Вам будет предложено сохранить или отменить изменения.
commands/reset_order
Сбросить порядок пунктов меню
command_help/reset_order1
Сбрасывает все пользовательские настройки меню до значений по умолчанию, установленных в фреймворке.
command_help/reset_order2
Вступает в силу немедленно, перезапуск не требуется.
commands/edit_globals
Редактировать глобальные параметры
command_help/edit_globals1
Принудительное использование локального значения в качестве глобальной переменной (или наоборот).
command_help/edit_globals2
Нажмите Z для переключения между локальным и глобальным режимами или для редактирования текущего значения.
command_help/local
Не является глобальной настройкой (можно изменить в настройках).
mode/local
Местный
mode/global
Глобальный
mode/value_row
Текущие настройки
commands/reset_all_settings
Сбросить настройки конфигурации
command_help/reset_all_settings1
Сбросить горячие клавиши, порядок пунктов меню и переопределения.
command_help/reset_all_settings2
Для сброса настроек модуля/читов по умолчанию требуется перезапуск.
commands/cheat_menu_keybind
Открыть меню читов
@@ -0,0 +1,5 @@
name
Чит-меню
description
Мод Cheats снова переработан. Подробности изменений смотрите на странице https://github.com/quin2k/Cheat-Menu-Framework.
@@ -0,0 +1,291 @@
commands/primary
Основные статистические данные
commands/primary/health
Здоровье
commands/primary/stamina
Выносливость
commands/primary/food
Сытость
commands/primary/mood
Настроение
commands/primary/arousal
Возбуждение
commands/primary/morality
Мораль
command_help/moral
Мораль <30 приведет к нападению людей.
commands/levels
Уровни
commands/levels/level
Уровень
command_help/lvl
При установке пересчитывает очки черт.
commands/levels/max_level
Макс. уровень
commands/levels/exp_rate
Скорость экспонирования
command_help/exp_rate1
Умножает опыт, полученный из всех источников.
commands/levels/traits_per_level
Черты на уровень
command_help/tpl1
Количество черт, получаемых при повышении уровня.
commands/traits
Черты
commands/traits/trait_points
Очки Черт
command_help/tp1
Очки, которые у вас должны быть
command_help/tp2
Базовые
command_help/tp3
Навыки
command_help/tp4
Черты
commands/traits/max_traits
Макс. черты
commands/traits/combat
Боевые Навыки
commands/traits/scoutcraft
Разведка
commands/traits/wisdom
Мудрость
commands/traits/survival
Выживание
commands/traits/constitution
Телосложение
commands/traits/reset
Сбросить черты
command_help/reset1
Сбрасывает все черты (включая навыки)
command_help/reset2
Устанавливает очки черт на основе уровня * количество черт на уровне.
commands/appearance
Внешность
commands/appearance/dirt
Грязь
toggle/dirt
Отключить грязь
command_help/dirt
Устанавливает макс. грязи в 0. НЕ ГЛОБАЛЬНО.
commands/appearance/freckles
Веснушки
commands/appearance/vpubes
Рост Волосы (В)
commands/appearance/apubes
Рост Волосы (А)
commands/appearance/vpubegrowth
Рост лобковых волос
commands/appearance/apubegrowth
Рост анальных волос
command_help/pubes1
Установка 0 предотвратит рост, 1+ включит рост.
command_help/pubegrowth1
Время между ростом. Выше = медленнее.
command_help/pubegrowth2
Обычно от 3 до 12 дней.
commands/appearance/hair_color
Цвет волос
commands/appearance/hair_color/0
Серый цвет
commands/appearance/hair_color/1
Черный цвет
commands/appearance/hair_color/2
Белый цвет
commands/appearance/hair_color/3
Голубой цвет
commands/appearance/hair_color/4
Красный цвет
commands/appearance/hair_color/5
Блонди цвет
toggle/autobandage
Авто-перевязка
command_help/autobandage
Автоматически убирает раны, кровь и повреждения отверстий.
toggle/autoclean
Авто-Очистка
command_help/autoclean
Автоматически убирает кровь и сперму (внутри и снаружи).
toggle/autocure
Авто-Лечение
command_help/autocure
Автоматически убирает ЗППП и паразитов.
commands/race
Установить гонку
window_help/race1
Выберите расу.
commands/race/human
Человек
commands/race/moot
Смешанная
commands/race/deepone
Глубинная
commands/race/truedeepone
Морская ведьма
commands/race/abom_human
Мерзость (человек)
commands/race/abom_moot
Мерзость (смешанная)
commands/racecheats
Читы для гонок
commands/race/skills/deepone
Пробуждение (Морская Ведьма)
commands/race/skills/abomeat
Осквернение (Мерзость)
commands/race/skills/abomgrab
Плеть Тендрила (Мерзость)
commands/deeponecommunicate
Глубинная может общаться
command_help/deeponecommunicate1
Удаляет жёстко закодированные проверки, блокирующие взаимодействие с Морской ведьмой.
commands/abomskillfix
Осквернение
command_help/abomskillfix1
Навык "Осквернение" также будет насыщать и лечить раны.
commands/siren
Макс. призыв глубинных
command_help/siren1
Изменяет общее кол-во возможных призываемых Сирен.
commands/sexual
Сексуальность
commands/sexual/dedit/v
Повреждение вагины
commands/sexual/dedit/u
Повреждение уретры
commands/sexual/dedit/a
Повреждения ануса
commands/sexual/dtoggle/v
Перекл. поврежд. вагины
commands/sexual/dtoggle/u
Перекл. поврежд. уретры
commands/sexual/dtoggle/a
Перекл. поврежд. ануса
commands/sexual/reset
Сбросить секс-статистику
command_help/sexual/reset
Вернуть девственность. Может повлиять на атаки.
commands/levels/level_up
Уровень +1
commands/levels/level_down
Уровень -1
commands/levels/level_max
Максимальный уровень
commands/levels/level_reset
Сбросить уровень до 1
commands/male_skin
Мужской скин
window_help/male_skin1
Мужские скины по категориям (жители, орки, гоблины и др.).
commands/male_skin/off
Выкл (Lona)
commands/male_skin/random
Случайный житель
command_help/male_skin_random
Включает мужской режим и выбирает случайный скин жителя.
commands/male_skin/cat_villagers
Жители
commands/male_skin/cat_fat
Толстые
commands/male_skin/cat_teens
Подростки
commands/male_skin/cat_undead
Нежить
commands/male_skin/cat_orkind
Оркоиды
commands/male_skin/cat_goblins
Гоблины
commands/male_skin/cat_amphibians
Рыбы / Лягушки
commands/male_skin/cat_giants
Гиганты
@@ -0,0 +1,52 @@
commands/items
Предметы
commands/weapons
Оружие
commands/armors
Доспехи
command_help/items_0
Настройте элементы.
command_help/items_1
Нажимаем стрелку влево или вправо для настройки.
command_help/items_2
Удерживайте SHIFT для увеличения на 10.
command_help/items_3
Удерживайте CTRL для увеличения на 100.
commands/status
Статы
command_help/stats_0
Настроить статусные состояния Лоны.
command_help/stats_1
Нажимаем стрелку влево или вправо для настройки.
commands/bank
Открыть инвентарь банка
commands/summon
Призвать
commands/lonacraft
Предметы LonaCraft
commands/lc_materials
Материалы и постройки
commands/lc_furniture
Мебель
commands/lc_weapons
Топоры и инструменты
commands/lc_tier_weapons
Оружие по качеству
commands/lc_tier_armors
Броня по качеству
@@ -0,0 +1,32 @@
toggle/health
Бесконечное здоровье
toggle/food
Бесконечная еда
toggle/stamina
Бесконечная выносливость
toggle/money
Бесконечные деньги
misc/heal
Исцелить
misc/heal_wound
Вылечить рану
command_help/heal_wound
Вылечить одну случайную рану.
misc/faint
Упасть
misc/money
Получить очки обмена
toggle/vulnerable
Лона уязвима
command_help/vulnerable1
Не позволяет выносливости подняться выше 0, пока она не упадёт или вы не отключите переключатель.
@@ -0,0 +1,44 @@
commands/othermods
Другие моды
commands/roleplays
RolePlay-S
commands/roleplays/saves
Откл. лимит сохранений
commands/roleplays/mana
Бесконечная мана (МР)
commands/roleplays/mana_rage
Ярость маны
commands/roleplays/mana_rage_max
Макс. Ярость маны
commands/othermods/booba_cosmetic
Косметический режим (Дойки)
commands/othermods/booba_oldnipples
Старые соски
commands/othermods/filter_whitecum
Белая сперма
commands/othermods/filter_events
Цветные события
commands/othermods/filter_melanin
Фильтр меланина сосков
commands/othermods/filter_pubes
Фильтр лобковых волос
commands/othermods/filter_dirt
Фильтр грязи
commands/othermods/filter_wounds
Фильтр ран
commands/othermods/filter_bleeding
Фильтр кровотечения
@@ -0,0 +1,137 @@
commands/gallery
Открыть галерею
command_help/gallery
Доступно у Гадалки в Ноэртауне.
commands/fix
Настройки
commands/achievementfix
Исправление сложности достижения
command_help/achievementfix1
Учитываются более лёгкие уровни сложности, если таковые имеются.
commands/stealth
Из Тени
command_help/stealth1
Клавиша действия не отменит скрытность, если есть навык.
commands/fastnap
Быстрый сон
command_help/fastnap1
Удерживайте клавишу Ctrl во время отдыха, чтобы восстановить выносливость за один раунд. Соотношение еды и выносливости одинаково.
commands/nightvision
Ночное видение
command_help/nightvision1
Делает темноту на карте полностью прозрачной. Применяется мгновенно, перезапуск не требуется.
commands/noclip
Ноклип
command_help/noclip1
Проходить сквозь местность, стены и NPC. Замораживает изменения в игровом мире.
commands/forageglow
Свечение кормовых растений
command_help/forageglow1
Облегчает обнаружение мест сбора ресурсов.
commands/discard
Предотвратить выброс
command_help/discard1
Снятая одежда попадает в инвентарь.
commands/unequip
Снять одежду
commands/forceunequip
Принудительно снять
command_help/forceunequip1
Используется для принудительного снятия цепей или ошейников.
commands/equip
Экипировать что угодно
command_help/equip1
Снимает ограничения на оружие и броню.
commands/difficulty
Сложность
commands/world
Oпасность мира
commands/diff
Сбросить сложность игры
command_help/diff
Принудительно отключить режим DOOM
commands/addictioneffects
Эффекты зависимости
command_help/addictioneffects1
Отключите события, связанные с огремом/спермой/наркотической зависимостью.
commands/milkoverflow
Перелив молока
command_help/milkoverflow1
Отключить события перелива/разбрызгивания молока, зависящие от уровня сложности.
commands/despawnfix
Контроль выпадания предметов
command_help/despawnfix1
Установить продолжительность выпадения предметов.
commands/drops
Увеличить дроп
command_help/dropsfix1
Настраивает дроп с врагов.
commands/friendlyfire
Исправление дружественного огня
command_help/friendlyfire1
Попытки предотвратить дружественный огонь.
commands/endlesscontracts
Бесконечные контракты
command_help/endlesscontracts1
Контракты с привлеченными компаньонами/последователями не имеют срока действия.
commands/immortal
Предотвратить смерть
command_help/immortal1
Состояние здоровья спутников и Лоны не может опуститься ниже 1 HP.
commands/irresistible
Неотразимый
command_help/irresistible1
При выносливости <0 приоритет отдается сексуальным целям.
commands/beastfix
Исправление зверей
command_help/beastfix1
Позволяет некоторым заблокированным животным совокупляться.
commands/companionrape
Изнасилование спутниками
command_help/companionrape1
Позволяет спутникам преследовать Лону в соответствии с их предпочтениями.
@@ -0,0 +1,74 @@
commands/preg
Беременность
commands/difficulty
Трудности беременности
commands/seedbed
Лечение утробы
commands/protect
Защитить беременность
commands/impreg
Забеременеть
info/babyRace
Раса ребенка
commands/days
Дней до родов
commands/health
Здоровье плода
commands/impreg/human
Человек
commands/impreg/moot
Смешанная
commands/impreg/deepone
Глубинная
commands/impreg/fishkind
Рыбочеловек
commands/impreg/orkind
Оркоид
commands/impreg/goblin
Гоблин
commands/impreg/abomination
Мерзость
commands/clear
Выкидышь
menu_help/impreg_menu1
Выберите расу для оплодотворения.
menu_help/impreg_menu4
Нажмите Z, чтобы оплодотворить Лону!
command_help/difficulty
Это влияет только на длительность беременности.
command_help/seedbed
Напрямую изменяет статус Лоны.
command_help/protect
Держит здоровье ребенка на макс., отключает 'Выкидышь'
command_help/length1
Выберите, чтобы изменить продолжительность беременности.
command_help/length2
Ноль вызовет беременность, как только вы сдвинетесь.
command_help/clear1
Незаметно избавить Лону от беременности.
command_help/clear2
Если отключено, то "Защита Беременности" включена.
@@ -0,0 +1,92 @@
commands/revive
Воскресить Уникальных NPC
command/revive/menu3
Будут показаны только мертвые NPC.
command/revive/menu4
Нажмите Z, чтобы воскресить выбранного NPC.
NPC/UniqueCharUniqueCecily
Сесилия
NPC/UniqueCharUniqueGrayRat
Грейрат
NPC/UniqueCharUniqueCocona
Кокона
NPC/UniqueCharUniqueLisa
Лиза
NPC/UniqueCharUniqueElise
Элис
NPC/UniqueCharUniqueMaani
Маани
NPC/UniqueCharUniqueDavidBorn
Дэвид Борн
NPC/UniqueCharUniquePigBobo
Бобо
NPC/UniqueCharUniqueAdam
Адам
NPC/UniqueCharUniqueMilo
Мило
NPC/UniqueCharUniqueSeaWitch
Морская Ведьма
NPC/UniqueCharUniqueTeller
Гадалка
NPC/UniqueCharUniqueHappyMerchant
Торговец
NPC/UniqueCharUniqueTavernWaifu
Большая Мамочка
NPC/UniqueCharUniqueFerrum
Феррум
NPC/UniqueCharUniqueCaptainEdward
Капитан Эдвард
NPC/UniqueCharUniqueFatdalf
Седобородый Маг
NPC/UniqueCharNoerSnowflake
Снежинка
NPC/UniqueChar_NorthFL_SGT
Сержант СФ (NPC квеста)
NPC/UniqueChar_NFL_MerCamp_Leader
Капитан Наемников (NPC квеста)
NPC/UniqueCharNoerRelayOut_PoorBoy
Гриот (NPC квеста)
NPC/UniqueChar_FishTownT_Shaman
Шаман Рыбьего Города (NPC квеста)
NPC/UniqueCharUniqueKillerRabbit
Кролик-Убийца (NPC квеста)
NPC/UniqueCharUniqueOgreWarBoss
ВарБос огров (NPC квеста)
NPC/UniqueCharUniqueGangBoss
Босс Банды Ноэра (NPC квеста)
NPC/UniqueCharSMCloudVillage_Boss
Староста Облачной Деревни (NPC квеста)
NPC/UniqueCharSMCloudVillage_BossAtk
Староста Облачной Деревни А (NPC квеста)
NPC/UniqueChar_OrcSlaveMaster
Орочий рабовладелец (NPC квеста)
@@ -0,0 +1,434 @@
commands/title
Телепорт
category/settlements
Поселения
category/noertown_locations
Локации Ноэртауна
category/outposts
Посты
category/camps
Лагеря
category/monster_lairs
Обители монстров
category/points_of_interest
Точки интереса
location/noertown
Ноэртаун
location/doom_stronghold
Твердыня рока
location/aris_village
Деревня Арис
location/pirates_bane
Пиратская погибель
location/south_gate_camp
Лагерь у южных ворот Сибариса
location/coastal_fortress
Прибрежная крепость
location/nine_inch_tribe
Племя девяти дюймов
location/fishtopia_market
Рынок Рыбополиса
location/bridge_fort
Форт у моста
location/tavern
Таверна
location/coliseum
Колизей
location/east_trade
Восточная торговля
location/sewer
Канализация
location/back_alleys
Закоулки
location/bubba_smith
Кузнец Бубба
location/toy_house
Дом игрушек
location/warehouse_13
Склад №13
location/prison
Тюрьма
location/cemetery
Кладбище
location/parade_ground
Плацдарм
location/elis_clinic
Клиника Элиса
location/bank
Банк
location/market
Рынок
location/port
Порт
location/gold_ingot
Золотой слиток
location/east_gate
Восточные ворота
location/east_noertown_outpost
Восточный КПП у Ноэртауна
location/east_doom_outpost
Восточный КПП Твердыни рока
location/north_pirates_outpost
Северный форпост Пиратской погибели
location/refugee_monastery
Лагерь беженцев при монастыре
location/refugee_doom
Лагерь беженцев у Твердыни рока
location/mercenary_camp
Лагерь наемников
location/swamp_camp
Лагерь на болотах
location/fishfolk_camp
Лагерь рыболюдей
location/orkind_cave1
Пещера оркоидов 1 (у Ноэртауна)
location/orkind_cave2
Пещера оркоидов 2 (сторожевая башня)
location/orkind_cave3
Пещера оркоидов 3
location/orkind_cave4
Пещера оркоидов 4
location/orkind_forest
Лес оркоидов
location/orkind_hut
Хижина (оркоиды)
location/lost_caravan
Пропавший караван
location/fishfolk_cave1
Пещера рыболюдей 1
location/fishfolk_cave1b2
Пещера рыболюдей 1B2
location/fishfolk_cave2
Пещера рыболюдей 2
location/fishfolk_cave3
Пещера рыболюдей 3 (святилище)
location/abomination_lair1
Логово тварей 1
location/abomination_lair2
Логово тварей 2
location/abomination_lair3
Логово тварей 3
location/bat_cave
Логово летучих мышей
location/saints_monastery
Монастырь святых
location/mountain_monastery
Горный монастырь
location/cloud_village
Облачная деревня
location/bandit_shelter
Убежище бандитов
location/noertown_mine
Шахта у Ноэртауна
location/berserk_tomb
Гробница Берсерка
location/abandoned_copper_mine
Заброшеная медная шахта
location/woodson_manor
Поместье Вудсонов
location/doom_armory
Оружейная Твердыни Рока
location/south_granary
Южное зернохранилище №12
location/perranwey_village
Деревня Перранвей
location/fallen_fortress
Павшая крепость
location/looted_caravan
Разграбленный караван
location/abandoned_copper_town
Заброшенный город у медной шахты
location/mass_grave
Братская могила
location/good_island
Остров добра
location/waterway
Водный путь
location/remains_shore
Берег останков
location/thorn_temple
Храм торнов
location/krusty_krab_pot
Магазин горшок Красти Краба
help/noertown
Телепорт в Ноэртаун
help/doom_stronghold
Телепорт в Твердыню рока
help/aris_village
Телепорт в деревню Арис
help/pirates_bane
Телепорт в Пиратскую погибель
help/south_gate_camp
Телепорт в лагерь у южных ворот
help/coastal_fortress
Телепорт в Прибрежную крепость
help/nine_inch_tribe
Телепорт к племени девяти дюймов
help/fishtopia_market
Телепорт на рынок Рыбополиса
help/bridge_fort
Телепорт в форт у моста
help/tavern
Телепорт в таверну
help/coliseum
Телепорт в Колизей
help/east_trade
Телепорт в Восточную торговлю
help/sewer
Телепорт в канализацию
help/back_alleys
Телепорт в закоулки
help/bubba_smith
Телепорт к кузнецу Бубба
help/toy_house
Телепорт в Дом игрушек
help/warehouse_13
Телепорт на склад №13
help/prison
Телепорт в тюрьму
help/cemetery
Телепорт на кладбище
help/parade_ground
Телепорт на плацдарм
help/elis_clinic
Телепорт в клинику Элиса
help/bank
Телепорт в банк
help/market
Телепорт на рынок
help/port
Телепорт в порт
help/gold_ingot
Телепорт к Золотому слитку
help/east_gate
Телепорт к Восточным воротам
help/east_noertown_outpost
Телепорт на восточный КПП у Ноэртауна
help/east_doom_outpost
Телепорт на восточный КПП Твердыни рока
help/north_pirates_outpost
Телепорт на северный форпост Пиратской погибели
help/refugee_monastery
Телепорт в лагерь беженцев при монастыре
help/refugee_doom
Телепорт в лагерь беженцев у Твердыни рока
help/mercenary_camp
Телепорт в лагерь наемников
help/swamp_camp
Телепорт в лагерь на болотах
help/fishfolk_camp
Телепорт в лагерь рыболюдей
help/orkind_cave1
Телепорт в пещеру оркоидов 1
help/orkind_cave2
Телепорт в пещеру оркоидов 2
help/orkind_cave3
Телепорт в пещеру оркоидов 3
help/orkind_cave4
Телепорт в пещеру оркоидов 4
help/orkind_forest
Телепорт в лес оркоидов
help/orkind_hut
Телепорт в хижину оркоидов
help/lost_caravan
Телепорт к пропавшему каравану
help/fishfolk_cave1
Телепорт в пещеру рыболюдей 1
help/fishfolk_cave1b2
Телепорт в пещеру рыболюдей 1B2
help/fishfolk_cave2
Телепорт в пещеру рыболюдей 2
help/fishfolk_cave3
Телепорт в пещеру рыболюдей 3
help/abomination_lair1
Телепорт в логово тварей 1
help/abomination_lair2
Телепорт в логово тварей 2
help/abomination_lair3
Телепорт в логово тварей 3
help/bat_cave
Телепорт в логово летучих мышей
help/saints_monastery
Телепорт в Монастырь святых
help/mountain_monastery
Телепорт в Горный монастырь
help/cloud_village
Телепорт в Облачную деревню
help/bandit_shelter
Телепорт в убежище бандитов
help/noertown_mine
Телепорт в шахту у Ноэртауна
help/berserk_tomb
Телепорт в гробницу Берсерка
help/abandoned_copper_mine
Телепорт в заброшенную медную шахту
help/woodson_manor
Телепорт в поместье Вудсонов
help/doom_armory
Телепорт в оружейную Твердыни Рока
help/south_granary
Телепорт в южное зернохранилище №12
help/perranwey_village
Телепорт в деревню Перранвей
help/fallen_fortress
Телепорт в Павшую крепость
help/looted_caravan
Телепорт к разграбленному каравану
help/abandoned_copper_town
Телепорт в заброшенный город у медной шахты
help/mass_grave
Телепорт в братскую могилу
help/good_island
Телепорт на остров добра
help/waterway
Телепорт в водный путь
help/remains_shore
Телепорт на берег останков
help/thorn_temple
Телепорт в храм торнов
help/krusty_krab_pot
Телепорт в магазин горшок Красти Краба
@@ -0,0 +1,140 @@
commands/misc
Разное
commands/toggles
Переключить
commands/character
Персонаж
commands/npc
Изменения для NPC
window_help/character1
Изменить свойства главного персонажа.
commands/config
Меню настроек
cheat_toggle/on
ВКЛ
cheat_toggle/off
ВЫКЛ
cheat_toggle/default
DEFAULT
cheat_toggle/hard
HARD
cheat_toggle/hell
HELL
cheat_toggle/doom
DOOM
cheat_toggle/disable
ОТКЛЮЧИТЬ
cheat_toggle/infinite
БЕСКОНЕЧ
command_help/fixcommand2
Требуется перезапуск. Отключение этой функции выгружает данное исправление.
command_help/execute
Нажмите Z, чтобы выполнить команду.
command_help/scene
Нажмите Z, чтобы войти в подменю.
command_help/toggle
Нажмите Z для переключения.
command_help/edit
Нажмите Z для редактирования.
command_help/set_hotkey_hint
Нажмите клавишу C, чтобы назначить горячую клавишу.
command_help/num_edit1
Нажимаем стрелку влево или вправо для настройки.
command_help/num_edit2
SHIFT = x10, CTRL = x100.
command_help/hotkey_capture1
Нажмите Shift/Ctrl/Alt + клавишу для назначения, Delete для удаления.
command_help/hotkey_capture2
Для отмены используйте C или X.
commands_status/locked
Чит Активен
warnings/restart_required
Некоторые читы не вступят в силу, пока вы не перезапустите игру.
commands_status/restart_needed
ПЕРЕЗАПУСК
commands/set_hotkeys
Просмотр/Очистка горячих клавиш
command_help/set_hotkeys1
Просмотрите назначенные в данный момент горячие клавиши и снимите их при необходимости.
command_help/set_hotkeys2
Чтобы добавить горячую клавишу, перейдите в меню команды и нажмите клавишу C.
commands/edit_order
Изменить порядок блюд в меню
command_help/edit_order1
Изменяйте порядок пунктов меню в этом фреймворке.
command_help/edit_order2
Вам будет предложено сохранить или отменить изменения.
commands/reset_order
Сбросить порядок пунктов меню
command_help/reset_order1
Сбрасывает все пользовательские настройки меню до значений по умолчанию, установленных в фреймворке.
command_help/reset_order2
Вступает в силу немедленно, перезапуск не требуется.
commands/edit_globals
Редактировать глобальные параметры
command_help/edit_globals1
Принудительное использование локального значения в качестве глобальной переменной (или наоборот).
command_help/edit_globals2
Нажмите Z для переключения между локальным и глобальным режимами или для редактирования текущего значения.
command_help/local
Не является глобальной настройкой (можно изменить в настройках).
mode/local
Местный
mode/global
Глобальный
mode/value_row
Текущие настройки
commands/reset_all_settings
Сбросить настройки конфигурации
command_help/reset_all_settings1
Сбросить горячие клавиши, порядок пунктов меню и переопределения.
command_help/reset_all_settings2
Для сброса настроек модуля/читов по умолчанию требуется перезапуск.
commands/cheat_menu_keybind
Открыть меню читов
@@ -0,0 +1,5 @@
name
Чит-меню
description
Мод Cheats снова переработан. Подробности изменений смотрите на странице https://github.com/quin2k/Cheat-Menu-Framework.
@@ -0,0 +1,365 @@
commands/primary
Основные статистические данные
commands/primary/health
Здоровье
commands/primary/stamina
Выносливость
commands/primary/food
Сытость
commands/primary/mood
Настроение
commands/primary/arousal
Возбуждение
commands/primary/morality
Мораль
command_help/moral
Мораль <30 приведет к нападению людей.
commands/levels
Уровни
commands/levels/level
Уровень
command_help/lvl
При установке пересчитывает очки черт.
commands/levels/max_level
Макс. уровень
commands/levels/exp_rate
Скорость экспонирования
command_help/exp_rate1
Умножает опыт, полученный из всех источников.
commands/levels/traits_per_level
Черты на уровень
command_help/tpl1
Количество черт, получаемых при повышении уровня.
commands/traits
Черты
commands/traits/trait_points
Очки Черт
command_help/tp1
Очки, которые у вас должны быть
command_help/tp2
Базовые
command_help/tp3
Навыки
command_help/tp4
Черты
commands/traits/max_traits
Макс. черты
commands/traits/combat
Боевые Навыки
commands/traits/scoutcraft
Разведка
commands/traits/wisdom
Мудрость
commands/traits/survival
Выживание
commands/traits/constitution
Телосложение
commands/traits/reset
Сбросить черты
command_help/reset1
Сбрасывает все черты (включая навыки)
command_help/reset2
Устанавливает очки черт на основе уровня * количество черт на уровне.
commands/appearance
Внешность
commands/appearance/dirt
Грязь
toggle/dirt
Отключить грязь
command_help/dirt
Устанавливает макс. грязи в 0. НЕ ГЛОБАЛЬНО.
commands/appearance/freckles
Веснушки
commands/appearance/vpubes
Рост Волосы (В)
commands/appearance/apubes
Рост Волосы (А)
commands/appearance/vpubegrowth
Рост лобковых волос
commands/appearance/apubegrowth
Рост анальных волос
command_help/pubes1
Установка 0 предотвратит рост, 1+ включит рост.
command_help/pubegrowth1
Время между ростом. Выше = медленнее.
command_help/pubegrowth2
Обычно от 3 до 12 дней.
commands/appearance/hair_color
Цвет волос
commands/appearance/hair_color/0
Серый цвет
commands/appearance/hair_color/1
Черный цвет
commands/appearance/hair_color/2
Белый цвет
commands/appearance/hair_color/3
Голубой цвет
commands/appearance/hair_color/4
Красный цвет
commands/appearance/hair_color/5
Блонди цвет
toggle/autobandage
Авто-перевязка
command_help/autobandage
Автоматически убирает раны, кровь и повреждения отверстий.
toggle/autoclean
Авто-Очистка
command_help/autoclean
Автоматически убирает кровь и сперму (внутри и снаружи).
toggle/autocure
Авто-Лечение
command_help/autocure
Автоматически убирает ЗППП и паразитов.
commands/race
Установить гонку
window_help/race1
Выберите расу.
commands/race/human
Человек
commands/race/moot
Смешанная
commands/race/deepone
Глубинная
commands/race/truedeepone
Морская ведьма
commands/race/abom_human
Мерзость (человек)
commands/race/abom_moot
Мерзость (смешанная)
commands/racecheats
Читы для гонок
commands/race/skills/deepone
Пробуждение (Морская Ведьма)
commands/race/skills/abomeat
Осквернение (Мерзость)
commands/race/skills/abomgrab
Плеть Тендрила (Мерзость)
commands/deeponecommunicate
Глубинная может общаться
command_help/deeponecommunicate1
Удаляет жёстко закодированные проверки, блокирующие взаимодействие с Морской ведьмой.
commands/abomskillfix
Осквернение
command_help/abomskillfix1
Навык "Осквернение" также будет насыщать и лечить раны.
commands/siren
Макс. призыв глубинных
command_help/siren1
Изменяет общее кол-во возможных призываемых Сирен.
commands/sexual
Сексуальность
commands/sexual/dedit/v
Повреждение вагины
commands/sexual/dedit/u
Повреждение уретры
commands/sexual/dedit/a
Повреждения ануса
commands/sexual/dtoggle/v
Перекл. поврежд. вагины
commands/sexual/dtoggle/u
Перекл. поврежд. уретры
commands/sexual/dtoggle/a
Перекл. поврежд. ануса
commands/sexual/reset
Сбросить секс-статистику
command_help/sexual/reset
Вернуть девственность. Может повлиять на атаки.
commands/levels/level_up
Уровень +1
commands/levels/level_down
Уровень -1
commands/levels/level_max
Максимальный уровень
commands/levels/level_reset
Сбросить уровень до 1
commands/male_skin
Мужской скин
window_help/male_skin1
Выбор мужского скина жителя (как /maleskin).
commands/male_skin/off
Выкл (Lona)
commands/male_skin/random
Случайный житель
command_help/male_skin_random
Включает мужской режим и выбирает случайный скин жителя.
commands/male_skin/cat_villagers
Жители
commands/male_skin/cat_fat
Толстые
commands/male_skin/cat_teens
Подростки
commands/male_skin/cat_undead
Нежить
commands/male_skin/cat_orkind
Оркоиды
commands/male_skin/cat_goblins
Гоблины
commands/male_skin/cat_amphibians
Рыбы / Лягушки
commands/male_skin/cat_giants
Гиганты
commands/male_skin/skin_regular01
Житель 01
commands/male_skin/skin_regular02
Житель 02
commands/male_skin/skin_regular03
Житель 03
commands/male_skin/skin_regular04
Житель 04
commands/male_skin/skin_fat01
Толстяк 01
commands/male_skin/skin_fat_abom01
Толстяк-абоминация 01
commands/male_skin/skin_fat_fishkind01
Толстяк-рыболюд 01
commands/male_skin/skin_fat_frogman01
Толстяк-лягушколюд 01
commands/male_skin/skin_teen01
Подросток 01
commands/male_skin/skin_teen_fishkind01
Подросток-рыболюд 01
commands/male_skin/skin_teen_frogman01
Подросток-лягушколюд 01
commands/male_skin/skin_reg_undead01
Нежить 01
commands/male_skin/skin_teen_undead01
Подросток-нежить 01
commands/male_skin/skin_orc01
Орк 01
commands/male_skin/skin_ogre01
Огр 01
commands/male_skin/skin_goblin01
Гоблин 01
commands/male_skin/skin_hobgoblin01
Хобгоблин 01
commands/male_skin/skin_hobgoblin_rd01
Хобгоблин-разбойник 01
commands/male_skin/skin_fishkind01
Рыболюд 01
commands/male_skin/skin_frogman01
Лягушколюд 01
commands/male_skin/skin_gaint01
Гигант 01
commands/male_skin/skin_gaint_fishkind01
Гигант-рыболюд 01
@@ -0,0 +1,53 @@
commands/items
Предметы
commands/weapons
Оружие
commands/armors
Доспехи
command_help/items_0
Настройте элементы.
command_help/items_1
Нажимаем стрелку влево или вправо для настройки.
command_help/items_2
Удерживайте SHIFT для увеличения на 10.
command_help/items_3
Удерживайте CTRL для увеличения на 100.
commands/status
Статы
command_help/stats_0
Настроить статусные состояния Лоны.
command_help/stats_1
Нажимаем стрелку влево или вправо для настройки.
commands/bank
Открыть инвентарь банка
commands/summon
Призвать
commands/lonacraft
Предметы LonaCraft
commands/lc_materials
Материалы и постройки
commands/lc_furniture
Мебель
commands/lc_weapons
Топоры и инструменты
commands/lc_tier_weapons
Оружие по качеству
commands/lc_tier_armors
Броня по качеству
@@ -0,0 +1,32 @@
toggle/health
Бесконечное здоровье
toggle/food
Бесконечная еда
toggle/stamina
Бесконечная выносливость
toggle/money
Бесконечные деньги
misc/heal
Исцелить
misc/heal_wound
Вылечить рану
command_help/heal_wound
Вылечить одну случайную рану.
misc/faint
Упасть
misc/money
Получить очки обмена
toggle/vulnerable
Лона уязвима
command_help/vulnerable1
Не позволяет выносливости подняться выше 0, пока она не упадёт или вы не отключите переключатель.
Loaded 100 of 16283 files, more files were not shown because too many files have changed in this diff. Show more