Traditional Culture Encyclopedia - Hotel franchise - Where is the harem hotel derailed?

Where is the harem hotel derailed?

This game, regardless of the content,

This game is actually very difficult at first, because there is no money, so it is easy to spend money. Some people don't know how to make money. It's really urgent to pay only 10 20 a day.

In order to have fun, you must ...

Python software actually has a drawback, that is, the code of the game is almost open source, because it is all py files, which can be opened directly or modified at will. Of course, for the majority of players who can't write code, it's a gobbledygook.

Of course, I am not a developer of python applications, but I still know something about python, so I finally solved the problem of insufficient gold coins in the game after opening a large number of py files for analysis ~ ~

Please see the following for the specific cracking method:

First open the game installation directory /renpy/alt.py file with a text document, and then search in it: Say (

Search for class Say(Node): then scroll down to find def execute(self): this is the definition of a function, which will be called once every conversation, and then scroll down.

Scroll down and find renpy.exports.say (who, what, * args, * * kwargs) here, and then there is a finally, which is a trycatch statement.

We only need to make a simple modification, and add a sentence renpy.store.money += 1 before this finally statement to get the gold coins in each conversation+1! It's that simple ~ ~