Project

General

Profile

Actions

Feature #1237

closed

Lua - add (Player):has_embassy(other_player)

Added by Dean Brown 5 months ago. Updated 11 days ago.

Status:
Closed
Priority:
Normal
Category:
Scripting API
Target version:
Start date:
02/10/2025
Due date:
% Done:

0%

Estimated time:

Description

Currently there's nothing in the Lua functions dealing with embassies, except for notify.embassies().


Files

Actions #1

Updated by Marko Lindqvist 5 months ago

Maybe even more important than Player:has_embassy(other_player) would be Player:has_team_embassy(other_player)

Actions #2

Updated by Marko Lindqvist about 2 months ago

Actions #3

Updated by Marko Lindqvist 16 days ago

  • Status changed from In Review to In Progress

Considering naming change "Plr:has_team_embassy()" -> "Plr:team_has_embassy()" for increased clarity.

Actions #4

Updated by Marko Lindqvist 14 days ago

Marko Lindqvist wrote in #note-3:

Considering naming change "Plr:has_team_embassy()" -> "Plr:team_has_embassy()" for increased clarity.

Done

Actions #5

Updated by Marko Lindqvist 11 days ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF