~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to data/campaigns/emp04.wmf/scripting/mission_thread.lua

  • Committer: The Widelands Bunnybot
  • Date: 2024-11-28 20:22:28 UTC
  • Revision ID: bunnybot@widelands.org-20241128202228-y6lf5j9bw7rbplhn
Improve census and status lines of warehouses (rebased) (GH #6576 / CB #4936)

Co-authored-by: Tóth András <txa-dev@posteo.hu>
Co-authored-by: Widelands Bunnybot <bunnybot@widelands.org>
Co-authored-by: Tóth András <txa-dev@posteo.hu>
Co-committed-by: Tóth András <txa-dev@posteo.hu>

(by bunnybot)
8979d0082cfa193f3406e78698c3063ee5333a38

Show diffs side-by-side

added added

removed removed

Lines of Context:
482
482
      place_building_in_region(p1, "empire_well", {field_well})
483
483
      place_building_in_region(p1, "empire_brewery", {field_brewery})
484
484
      place_building_in_region(p1, "empire_mill", {field_mill})
485
 
      place_building_in_region(p1, "empire_temple_of_vesta", {field_warehouse}, {wares = {water = 30, flour = 30, beer = 40,}})
 
485
      local temple = place_building_in_region(p1, "empire_temple_of_vesta", {field_warehouse}, {wares = {water = 30, flour = 30, beer = 40,}})
 
486
      temple.warehousename = ""
486
487
      connected_road("normal", p1, field_warehouse.immovable.flag, "l, tl", true)
487
488
      connected_road("normal", p1, field_mill.immovable.flag, "tr, r", true)
488
489
      connected_road("normal", p1, field_mill.immovable.flag, "l, tl, tr", true)