Worker program "plant": Allow "attrib:" for tribe immovables

Bug #1731652 reported by Benedikt Straub
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Wishlist
Unassigned

Bug Description

Scripting worker programs: The "plant" command takes either tribe:<immovable> or attrib:<a> as an argument. Using "attrib:", only immovables belonging to the world but not to the tribes are permitted.
Please allow the worker to choose a tribe immovable when using "attrib:", or make it possible to pass several arguments (one of which will be selected at random) when using "tribe:".

Tags: lua tribes world

Related branches

Revision history for this message
GunChleoc (gunchleoc) wrote :

I have just had a look at the data, I think we should rename "attrib" to "world" and turn "tribe" into an attribute search as well.

tags: added: lua tribes world
Changed in widelands:
status: New → Confirmed
milestone: none → build20-rc1
assignee: nobody → GunChleoc (gunchleoc)
Revision history for this message
GunChleoc (gunchleoc) wrote :

Scratch that, just have "attrib" for both and let the engine figure it out - just like with findobject.

GunChleoc (gunchleoc)
Changed in widelands:
status: Confirmed → In Progress
kaputtnik (franku)
Changed in widelands:
status: In Progress → Fix Committed
assignee: GunChleoc (gunchleoc) → nobody
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build20-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

Remote bug watches

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