Kenny567

Well-Known Member
Oct 10, 2017
1,964
1,096
318
How does the "othermods" works in the Cheat Mod ?
I'd like to have the F3 UnequipÎtems work as a StripOnlyUnequip, to be precise i want to keep Lona's hair and not unequip them when i use the F3 hotkey.
othermods is just a secondary ModScripts folder that loads before the menu scripts and the addons.

UnequipItems is intended as a helper tool to unequipall when necessary, with an optional modifier for items that won't otherwise unequip (Shift+F3, specifically for items such as the cheat sunglasses)
For that purpose it shall remain as an unequipall.

UnequipItems and StripOnlyUnequip serve very different purposes and shouldn't be used for comparisons.
 

Michel Poubelle

New Member
Dec 19, 2017
4
0
166
othermods is just a secondary ModScripts folder that loads before the menu scripts and the addons.

UnequipItems is intended as a helper tool to unequipall when necessary, with an optional modifier for items that won't otherwise unequip (Shift+F3, specifically for items such as the cheat sunglasses)
For that purpose it shall remain as an unequipall.

UnequipItems and StripOnlyUnequip serve very different purposes and shouldn't be used for comparisons.
I understand, but what is the purpose of StripOnlyUnequip, there is a shortcut or a way to use it ingame ?
Is it something i can use to undress Lona quickly without having to undress her manually ?
 

Kenny567

Well-Known Member
Oct 10, 2017
1,964
1,096
318
I understand, but what is the purpose of StripOnlyUnequip, there is a shortcut or a way to use it ingame ?
Is it something i can use to undress Lona quickly without having to undress her manually ?
StripOnlyUnequip is a patch to prevent combat stripped items from dropping on the ground. Those items then stay in Lona's inventory instead.

As such, there is no shortcut nor a way to use it ingame. It is used automatically as it overrides the normal function.

If you must, change this in UnequipItems:
Code:
module CheatUtils
  def self.unequipall(force)
    if self.ingame?
      $game_player.actor.equip_slots.size.times do |i|
        $game_player.actor.change_equip(i, nil) if $game_player.actor.equip_change_ok?(i) or force
        SndLib.sound_equip_armor
      end
    end
  end
end
to this:
Code:
module CheatUtils
  def self.unequipall(force)
    if self.ingame?
      $game_player.actor.equip_slots.size.times do |i|
        next if i == 7 and force == false
        $game_player.actor.change_equip(i, nil) if $game_player.actor.equip_change_ok?(i) or force
        SndLib.sound_equip_armor
      end
    end
  end
end
This should make it skip the hair unless Shift is held while pressing F3.
 
Last edited:

Michel Poubelle

New Member
Dec 19, 2017
4
0
166
StripOnlyUnequip is a patch to prevent combat stripped items from dropping on the ground. Those items then stay in Lona's inventory instead.

As such, there is no shortcut nor a way to use it ingame. It is used automatically as it overrides the normal function.

If you must, change this in UnequipItems:
Code:
module CheatUtils
  def self.unequipall(force)
    if self.ingame?
      $game_player.actor.equip_slots.size.times do |i|
        $game_player.actor.change_equip(i, nil) if $game_player.actor.equip_change_ok?(i) or force
        SndLib.sound_equip_armor
      end
    end
  end
end
to this:
Code:
module CheatUtils
  def self.unequipall(force)
    if self.ingame?
      $game_player.actor.equip_slots.size.times do |i|
        unless force
          next if i == 7
        end
        $game_player.actor.change_equip(i, nil) if $game_player.actor.equip_change_ok?(i) or force
        SndLib.sound_equip_armor
      end
    end
  end
end
This should make it skip the hair unless Shift is held while pressing F3.
Wow ! Thank you very much !
Well i did not understand what was the purpose of the StripOnlyUnequip apparently, thank you too for these explainations btw.
 

Kenny567

Well-Known Member
Oct 10, 2017
1,964
1,096
318
Wow ! Thank you very much !
Well i did not understand what was the purpose of the StripOnlyUnequip apparently, thank you too for these explainations btw.
I've adjusted the Hair slot check in that extra code so that it is 1 extra line instead of 3 extras.

This change will be included in the next mod update.
 

JadedKnight

Member
Nov 12, 2021
132
126
142
I feel dumb for only now realizing that gold coins are the cheapest to buy at the Bank, don't know if there's a better way or not though.
 

Fingel

Newbie
Jan 16, 2022
18
3
13
CualquieraCan someone explain to me what is the time of the item drop rate in chests and their rarity chance
 

RLJFZ

Member
Sep 10, 2022
425
399
186
Being able to pull off strategies like this is the main reason I love this game so much. Idol of the Believer combines incredibly well with juicing and makes NPCs infighting so much easier without the need to use the Sexy/Weak strat (the most effective and safest way to have NPCs fight among them in SURVIVAL mod).
You don't have permission to view the spoiler content. Log in or register now.
 

AleDerXan

Newbie
Dec 30, 2023
25
6
50
Coming in the v1.0-rc.10 update (UMM compat code also will be commented out until it's usable again)
simply rename
Mod.json
to
_ModInfo.json
And then use @umm=true
Of course text_flags in names still there.
I found that its usable. But new mod manager need rename json file to work.
 

Kenny567

Well-Known Member
Oct 10, 2017
1,964
1,096
318
simply rename
Mod.json
to
_ModInfo.json
And then use @umm=true
Of course text_flags in names still there.
I found that its usable. But new mod manager need rename json file to work.
json file shouldn't be required, the mod should still work without it.
The Mod Manager UI just wouldn't have the mod version, mod description would be the contents of the info.txt file, mod name would be whatever the folder name is, etc.

Might be usable now, but if I kept it and tried to use the mod settings feature of the Mod Manager for the planned ingame mod config, the game would crash because the class is missing from the merge (surprised it hasn't already)
 

AleDerXan

Newbie
Dec 30, 2023
25
6
50
json file shouldn't be required, the mod should still work without it.
The Mod Manager UI just wouldn't have the mod version, mod description would be the contents of the info.txt file, mod name would be whatever the folder name is, etc.

Might be usable now, but if I kept it and tried to use the mod settings feature of the Mod Manager for the planned ingame mod config, the game would crash because the class is missing from the merge (surprised it hasn't already)
New Mod Manager makes textflags from mod by json data of mod.
If no json, $cheatmod:file:flag - doesnt work.
If you want to set (a)umm = true, then you should rename json file.
It neads to show version in game, and make description depend of language.
Two ways:
no json and (a)umm = false (or still rename json for description)
rename json and (a)umm = true
 
Last edited:

AleDerXan

Newbie
Dec 30, 2023
25
6
50
json file shouldn't be required, the mod should still work without it.
The Mod Manager UI just wouldn't have the mod version, mod description would be the contents of the info.txt file, mod name would be whatever the folder name is, etc.

Might be usable now, but if I kept it and tried to use the mod settings feature of the Mod Manager for the planned ingame mod config, the game would crash because the class is missing from the merge (surprised it hasn't already)
It works fine.
 
Last edited:

Kenny567

Well-Known Member
Oct 10, 2017
1,964
1,096
318
New Mod Manager makes textflags from mod by json data of mod.
If no json, $cheatmod:file:flag - doesnt work.
If you want to set (a)umm = true, then you should rename json file.
It neads to show version in game, and make description depend of language.
I'm aware of how the mod manager works. It is a modified UMM afterall.

The mod doesn't use $game_text["$cheatmod:file:flag"] for it's text.

It uses $mod_cheats.getText("file:flag") and internally automatically switches between the following depending on the state of (a)umm
Code:
@text["file:flag"]
Code:
$game_text["cheatmenu:file:flag"]
For reference, the mod text would be called like so from the mod manager ui (after it removes the textFlag identifier of $)
Code:
$game_text["cheatmenu:menu:mod/name"]
$game_text["cheatmenu:menu:mod/description"]
 
4.10 star(s) 230 Votes