Implement independent stance from every tribe to every other tribe
Bug #1794959 reported by
Benedikt Straub
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
It should be possible to set via scripting that player x may/mustn't attack player y.
This will be necessary to fix an issue in the second frisian scenario (see also bug 1792478, #28).
Related branches
lp:~widelands-dev/widelands/peaceful
- Widelands Developers: Pending requested
-
Diff: 793 lines (+289/-16)28 files modifieddata/campaigns/fri02.wmf/scripting/mission_thread.lua (+26/-9)
data/scripting/win_conditions/artifacts.lua (+1/-0)
data/scripting/win_conditions/collectors.lua (+1/-0)
data/scripting/win_conditions/defeat_all.lua (+1/-0)
data/scripting/win_conditions/endless_game.lua (+1/-0)
data/scripting/win_conditions/endless_game_fogless.lua (+1/-0)
data/scripting/win_conditions/territorial_lord.lua (+1/-0)
data/scripting/win_conditions/territorial_time.lua (+1/-0)
data/scripting/win_conditions/wood_gnome.lua (+1/-0)
src/game_io/game_player_info_packet.cc (+16/-2)
src/logic/game.cc (+13/-0)
src/logic/game_settings.h (+7/-1)
src/logic/player.cc (+17/-1)
src/logic/player.h (+5/-0)
src/logic/single_player_game_settings_provider.cc (+8/-0)
src/logic/single_player_game_settings_provider.h (+3/-0)
src/network/gameclient.cc (+13/-0)
src/network/gameclient.h (+3/-0)
src/network/gamehost.cc (+28/-0)
src/network/gamehost.h (+1/-0)
src/network/network_protocol.h (+9/-1)
src/scripting/lua_game.cc (+35/-0)
src/scripting/lua_game.h (+2/-0)
src/ui_fsmenu/launch_game.cc (+29/-0)
src/ui_fsmenu/launch_game.h (+9/-0)
src/ui_fsmenu/launch_mpg.cc (+11/-2)
src/ui_fsmenu/launch_spg.cc (+8/-0)
test/maps/port_space.wmf/scripting/test_attack_forbidden.lua (+38/-0)
Changed in widelands: | |
status: | New → Triaged |
summary: |
- Scripting attack bans between players + Implement independent stance from every tribe to every other tribe |
Changed in widelands: | |
assignee: | nobody → Benedikt Straub (nordfriese) |
status: | Triaged → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | Benedikt Straub (nordfriese) → nobody |
To post a comment you must log in.
This was discussed some time ago - perhaps putting the players into teams would do the trick... Might be available via LUA interface...