Donate Share

Widelands

Tracker: Feature Requests

7 define defaut target quantity for each ware type - ID: 1819180
Last Update: Settings changed ( sigra )

It would be nice if you could choose what buildings have to produce (if the
building can produce different wares (e.g. the metalworks should produce an
axe)).


ATD ( arnetobedeprez ) - 2007-10-24 09:58

7

Closed

None

Erik Sigra

game engine (game logic)

None

Public


Comments ( 5 )

Date: 2008-11-24 14:59
Sender: sigra

Implemented in revision 3543.


Date: 2008-11-16 18:58
Sender: sigra

The attached patch implements both default target quantities (defined in
the conf-files of ware types) and a configuration dialog that lets the user
play with other values than the defaults.
File Added: target_quantity-1.diff


Date: 2008-11-15 18:29
Sender: sigra

Current SVN, build13rc and build13rc2 (released soon) has a simple form of
on-demand production. Buildings will produce what is needed. This will
eventually be improved in steps. The first step will be to define default
target quantities that should be kept in storage of each ware type. The
second step will be to add a user interface to allow changing those target
quantities in an economy.

For the first step, the conf-file of each tribe will have a section that
looks something like this:

[default target quantities]
beer=3
pick=3
.
.
.


Date: 2008-08-09 18:51
Sender: soyatti


hi! for me this is the most wanted feature in the game.


Date: 2007-10-24 11:59
Sender: sigra


On-demand production should be implemented to choose what is produced (for
example in the metalworks). Read about it here:
http://www.s.kth.se/sigra/widelands-economy-documents/transport-system.html#on-demand_production



Attached File

No Files Currently Attached

Changes ( 11 )

Field Old Value Date By
File Deleted 301685: 2008-11-24 18:38 sigra
close_date - 2008-11-24 14:59 sigra
status_id Open 2008-11-24 14:59 sigra
priority 5 2008-11-16 18:58 sigra
File Added 301685: target_quantity-1.diff 2008-11-16 18:58 sigra
summary define defaut target level for each ware type 2008-11-16 03:36 sigra
assigned_to nobody 2008-11-16 03:36 sigra
summary User specified production 2008-11-15 18:29 sigra
summary On-demand production 2008-11-15 18:12 dwarik
summary Choose what buildings produce 2008-01-26 01:12 sigra
category_id None 2007-10-24 11:59 sigra