This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Celmin> Player | |
[0] Slot 0 of type RESULT clicked (raw slot 0) | |
[1] Slot 1 of type CRAFTING clicked (raw slot 1) | |
[2] Slot 2 of type CRAFTING clicked (raw slot 2) | |
[3] Slot 3 of type CRAFTING clicked (raw slot 3) | |
[4] Slot 4 of type CRAFTING clicked (raw slot 4) | |
[5] Slot 39 of type HELMET clicked (raw slot 5) | |
[6] Slot 38 of type ARMOR clicked (raw slot 6) | |
[7] Slot 37 of type LEGGINGS clicked (raw slot 7) | |
[8] Slot 36 of type BOOTS clicked (raw slot 8) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local helper = wesnoth.require "lua/helper.lua" | |
local location_set = wesnoth.require "lua/location_set.lua" | |
local wml_actions = wesnoth.wml_actions | |
local function get_image(cfg, speaker) | |
local image = cfg.image or "" | |
if image == "none" then | |
image = "" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local helper = wesnoth.require "lua/helper.lua" | |
local location_set = wesnoth.require "lua/location_set.lua" | |
local wml_actions = wesnoth.wml_actions | |
local function get_image(cfg, speaker) | |
local image = cfg.image | |
if speaker and image == nil then | |
image = speaker.profile |