~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/scripting/map/lua_warehouse.h

  • Committer: The Widelands Bunnybot
  • Date: 2025-06-16 08:27:43 UTC
  • Revision ID: bunnybot@widelands.org-20250616082743-ttc14q6ld62yjz42
Improve warehouse soldier preference handling (CB #4952 / GH #6592)

Co-authored-by: Tóth András <txa-dev@posteo.hu>
Co-authored-by: Widelands Bunnybot <bunnybot@widelands.org>
Co-committed-by: Tóth András <txa-dev@posteo.hu>

(by bunnybot)
d9fe63d85ec006edeef2f05b68401b542801b59b

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        int get_expedition_in_progress(lua_State* L);
43
43
        int get_warehousename(lua_State* L);
44
44
        int set_warehousename(lua_State* L);
 
45
        int get_max_garrison(lua_State*);
 
46
        int get_soldier_preference(lua_State*);
 
47
        int set_soldier_preference(lua_State*);
 
48
        int get_garrison(lua_State*);
 
49
        int set_garrison(lua_State*);
45
50
 
46
51
        /*
47
52
         * Lua Methods