~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to data/tribes/buildings/productionsites/barbarians/granitemine/init.lua

  • Committer: The Widelands Bunnybot
  • Date: 2020-08-15 06:09:43 UTC
  • Revision ID: bunnybot@widelands.org-20200815060943-j3nda0lqh09nj8kl
Use named parameters in ActMine (#4099)

The worker experience parameter is now optional.

(by gunchleoc)
2fc976bf387e701d88a32754904994ca636600a1

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
         descname = _"mining granite",
67
67
         actions = {
68
68
            "animate=working duration:10s",
69
 
            "mine=stones 2 100 5 2",
 
69
            "mine=stones radius:2 yield:100% when_empty:5% experience_on_fail:2%",
70
70
            "produce=granite",
71
71
         }
72
72
      },