List of events

Language

change_location:start#

Moving to a new location. The old location has disappeared, the new one hasn’t shown yet.

Parameters:

  • new_location - Place - New location
  • old_location - Place - Old location

change_location#

Moving to a new location. The new location is already on the screen.

Parameters:

  • new_location - Place - New location
  • old_location - Place - Old location

game_start#

The start of a new game.

game_loaded#

Loading the game from a save.

open_inventory#

Opening inventory.

Parameters:

  • first_inventory - Inventory - MC’s inventory.
  • second_inventory - Inventory - Inventory of the second character if it is an exchange or trade. Can be False if the player just opened his inventory.
  • is_trade - Boolean - True if it is an exchange and not a trade.

close_inventory#

Closing inventory.

Parameters:

  • first_inventory - Inventory - MC’s Inventory.
  • second_inventory - Inventory - Second character’s Inventory if this is an exchange or trade. Can be False if the player just opened his inventory.
  • is_trade - Boolean - True if this is an exchange and not a trade.

shop_transaction#

Transfers or sells an item from one inventory to another.

Parameters:

  • buyer - Inventory - buyer’s inventory.
  • seller - Inventory - Seller’s Inventory.
  • item - Item - Item.

location_click#

Clicks an interactive item/building/arrow on the map.

Parameters:

  • item - ClickableItem - The item you clicked on.

mod_enable#

The mod is on.

Parameters:

  • id - string - id of the mod.

mod_disable#

Mod is disabled.

Parameters:

  • id - string - mod id.

show#

Show image on screen.

Parameters:

  • name - string tuple - name of the image.

time_update#

Change of time of day.

Parameters:

  • is_morning - Boolean - True if it is day.
  • is_evening - Boolean - “True” if it is evening.
Last updated: Kunoichi Trainer Wiki