Save-Point
KBribe XP - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: KBribe XP (/thread-8551.html)



KBribe XP - kyonides - 07-14-2022

KBribe
XP Version

by Kyonides

Introduction

Admit it, there are times when you wish that you could simply Cash bribe your foes during battle.
Well, now you can do it! Winking
Oh and it is also possible to get an estimate of how much it might cost you! Shocked

By the way, it is not a Plug & Play script because you can customize several things like where to show the currency symbol, etc. So do not forget to check out the KBribe module, guys! Happy with a sweat

There are 2 methods to calculate the cost of you immoral bribe:
  • Percentage
  • Fixed Amount

Uploaded to the rpg-maker-scripts repository!

Terms & Conditions

MIT License.
It is an inexpensive script so you do not have to worry about this. Winking


RE: KBribe - kyonides - 12-27-2023

Script Update!

Starting from version 1.1.0, you can now set the number of times you can bribe monsters individually. This may work either for each battle or until you decide it's time to use a new script call to reset that counter.

Code:
$game_system.battle_end_clear_bribes = true

Or do it manually via this One-Time Script Call:
Code:
$game_party.bribe.clear



RE: KBribe - Ace_V - 09-19-2025

Hi, kyonides. Would it be possible to add an option to this script so that instead of needing to list the enemies/bosses to exclude, you instead set specific enemies that can be bribed? (And also be able to make the bribe a fixed amount instead of a percentage that goes up?)

I've got a couple Corrupt Politician enemies that this would be perfect for.  Laughing But I don't want any other enemy to be susceptible to bribe. (I'm considering adding the bribe skill to every member of the party before combat with politicians and then making them forget the skill after combat so the skill doesn't persist in their skill list and only appear whenever the player fights politicians.) (EDIT: I realized the learn/forget common event might already solve my first request of keeping the bribe mechanic unique to the politicians. Laughing So only the flat amount request remains)


RE: KBribe - kyonides - 09-21-2025

In a Gaming World Were Corrupt Politicians Also Exist...

Version 1.2.0 of your favorite script now allows you to set a percentage or a fixed amount of gold to pay those covetous guys or your infamous monsters, only hoping that would ever satisfy their insane greed. Happy with a sweat

Initial values:
  • START_GOLD_PERCENT
  • START_GOLD_MIN

START_CALC_TYPE accepts 2 values: :fixed and :percent

Script Calls

Change the way the script calculates the cost:
Code:
$game_party.bribe.calc_type = :percent
$game_party.bribe.calc_type = :fixed

Set a Percentage:
Code:
$game_party.bribe.gold_percent = 20

Set a Fixed Amount:
Code:
$game_party.bribe.gold = 1000

NOTE: This release might be incompatible with your old saved Gamer games. You've been warned! Police


RE: KBribe - Ace_V - 09-21-2025

NICE!! Thanks again, kyonides.


RE: KBribe XP - kyonides - 09-29-2025

Caveat Emptor!
Buyer beware!

Now that version 1.3.0 has been released, you should carefully analyze if your favorite corrupt politician or shady Lex Luthor business partner or greedy Ghost ghost can ever be bribed.

Why am I now warning you about this issue all of a sudden? Confused
Happy with a sweat You see, your targets can now become more and more Cash greedy every time you fail to bribe them! Shocked

The brand new DEF_FAILED_GOLD Constant defines how much the cost will be increased in coins, no percentages involved here.
And yeah, you still need to keep in mind that a failed bribe also means that your actor will get punished by your enemy. Winking I don't intend to change that default behavior at all. Laughing

Wizard Bosses won't increase that cost because they're not supposed to be ever bought by some corrupt or fearful actors.


RE: KBribe XP - kyonides - 07-26-2026

Maintenance Update!

After receiving a Bug bug report, a false positive by the way, I found the true, nasty Bug bug! Shocked

KBribe.exclude? script call was excluding not your game bosses but your average Ghost ghosts! Confused

Thus, I had to release version 1.3.1 to address this issue. All of the previous versions shared the same issue so I preferred to removed them to make sure nobody else will get a faulty copy of my script. Happy with a sweat

And yet, I discovered that you would not make any payment if the monster could not be bribed. This needed to be changed in version 1.3.2 because monsters wouldn't care to Thief rob you anyway. You're their enemy after all! Happy with a sweat