Victory points

Bug #536487 reported by Sigra
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

Calculate victory points as a linear combination of the number of owned locations, wares (including workers), buildings and whatever.

The rulesets should define factors for their types. Scenarios could override the factors. A world could for example define factors for terrain types:
steppe: 6
berg1: 10
schnee: 1
sumpf: 3
strand: 30
wasser: 4
wiese1: 25
wiese2: 25
wiese3: 25
berg2: 10
berg3: 10
berg4: 10
steppe_kahl: 3
wiese4: 25
lava: 1
bergwiese: 17

Similar for wares, workers and buildings. The sum can then be used in trigger conditions or to calculate results in multiplayer games that are not (yet) played to the bitter end. It could be used during the game to show what is sometimes called a "power graph".

Revision history for this message
Raul Ferriz (raul.ferriz) wrote :

This should be converted to a blueprint if someone is interested of working on this. There are more 'victory condition systems' proposed alogn the bug report system. Could be good to unify all of this bugs on one or more blueprints and let only bugs on bug report system.
Until other developers say something, I will mark this as Whislist.

Changed in widelands:
importance: Undecided → Wishlist
Changed in widelands:
status: New → Incomplete
Revision history for this message
SirVer (sirver) wrote :

I mark this as confirmed and link it to the win condition blueprint so that the proposal won't get lost.

Changed in widelands:
status: Incomplete → Confirmed
Revision history for this message
SirVer (sirver) wrote :

I'll added a primitive game like this in the win conditions branch which I will merge in build16.

Changed in widelands:
status: Confirmed → In Progress
SirVer (sirver)
Changed in widelands:
assignee: nobody → SirVer (sirver)
Revision history for this message
SirVer (sirver) wrote :

The framework for such game types is implemented in r5213. The provided win conditions are rather basic and could use some fleshing out. They can be scripted in Lua now, so others will hopefully help with this.

Changed in widelands:
status: In Progress → Fix Committed
SirVer (sirver)
Changed in widelands:
assignee: SirVer (sirver) → nobody
Revision history for this message
SirVer (sirver) wrote :

Released in build16-rc1

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.