Project

General

Profile

Actions

Feature #897

closed

Lua: Player:love()

Added by Marko Lindqvist 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Category:
Scripting API
Target version:
Start date:
09/20/2024
Due date:
% Done:

0%

Estimated time:

Description

Lua scripting API for modifying player diplomatic states would not work well without methods dealing with love. Without, AI is likely just to cancel any diplomatic changes the next turn because of the state of the love towards the other.

This ticket is about lua method Player:love(towards), for getting the current amount of love.


Files

Actions #1

Updated by Marko Lindqvist 2 months ago

Actions #2

Updated by Marko Lindqvist 2 months ago

- Scale the value based on MAX_AI_LOVE

Actions #3

Updated by Marko Lindqvist about 1 month ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF