Rename folders of wares/workers to fit new names
Bug #1292799 reported by
wl-zocker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When doing the big string changes, also the name of workers and wares have changed. To keep the names (game, code, folders) consistent, I suggest to rename the folders, if possible. It would make the system more logical, also to new programmers, and avoid questions like "Why is the folder of the gardener called 'ferner'?"
Since save game compatibility is broken anyway, this is no problem.
List of wares/workers which need to be updated/moved:
Ferner -> Gardener
Trunk -> Log
Bakingtray -> Bread paddle
Goldstone -> Gold ore
Metalwork Shop -> Metal workshop
Fernery -> Reed Yard
Related branches
lp:~widelands-dev/widelands/bug-1292799
- Widelands Developers: Pending requested
-
Diff: 8461 lines (+1037/-1042)220 files modifiedcampaigns/atl01.wmf/allowed_worker_types (+1/-1)
campaigns/atl01.wmf/scripting/init.lua (+1/-1)
campaigns/emp01.wmf/scripting/starting_conditions.lua (+4/-4)
campaigns/emp02.wmf/scripting/mission_thread.lua (+3/-3)
campaigns/emp02.wmf/scripting/starting_conditions.lua (+9/-9)
campaigns/t01.wmf/scripting/init.lua (+1/-1)
campaigns/t02.wmf/scripting/mission_thread.lua (+4/-4)
campaigns/t02.wmf/scripting/mission_thread_texts.lua (+3/-3)
campaigns/t02.wmf/scripting/starting_conditions.lua (+4/-4)
campaigns/t03.wmf/scripting/mission_thread.lua (+5/-5)
campaigns/t03.wmf/scripting/starting_conditions.lua (+8/-8)
campaigns/tutorial01.wmf/scripting/init.lua (+2/-2)
doc/sphinx/source/introduction.rst (+9/-9)
maps/Desert Tournament.wmf/allowed_worker_types (+4/-4)
maps/MP Scenarios/Island Hopping.wmf/scripting/multiplayer_init.lua (+8/-8)
maps/MP Scenarios/Smugglers.wmf/scripting/multiplayer_init.lua (+5/-5)
maps/Plateau.wmf/scripting/initial_conditions.lua (+8/-8)
maps/Together we're strong.wmf/allowed_worker_types (+2/-2)
maps/Trident of Fire.wmf/scripting/initial_conditions.lua (+18/-19)
scripting/win_conditions/02_collectors.lua (+13/-13)
src/ai/ai_hints.cc (+1/-1)
src/ai/ai_hints.h (+2/-2)
src/ai/defaultai.cc (+4/-4)
src/logic/legacy.cc (+22/-22)
src/logic/worker.cc (+1/-1)
test/maps/expedition.wmf/scripting/init.lua (+5/-5)
test/maps/lua_testsuite.wmf/scripting/flag.lua (+21/-21)
test/maps/lua_testsuite.wmf/scripting/productionsite.lua (+6/-6)
test/maps/lua_testsuite.wmf/scripting/trainingsite.lua (+14/-14)
test/maps/lua_testsuite.wmf/scripting/warehouse.lua (+17/-17)
tribes/atlanteans/armorsmithy/conf (+4/-4)
tribes/atlanteans/baker/conf (+1/-1)
tribes/atlanteans/bakery/conf (+1/-1)
tribes/atlanteans/bakingtray/conf (+0/-5)
tribes/atlanteans/blackroot_farm/conf (+2/-2)
tribes/atlanteans/bread_paddle/conf (+5/-0)
tribes/atlanteans/burners_house/conf (+5/-5)
tribes/atlanteans/castle/conf (+2/-2)
tribes/atlanteans/coalmine/conf (+2/-2)
tribes/atlanteans/conf (+6/-6)
tribes/atlanteans/constructionsite/conf (+1/-1)
tribes/atlanteans/crystalmine/conf (+2/-2)
tribes/atlanteans/dungeon/conf (+2/-2)
tribes/atlanteans/farm/conf (+2/-2)
tribes/atlanteans/fish_breeders_house/conf (+1/-1)
tribes/atlanteans/fishers_house/conf (+1/-1)
tribes/atlanteans/foresters_house/conf (+3/-3)
tribes/atlanteans/goldmine/conf (+2/-2)
tribes/atlanteans/goldweaver/conf (+2/-2)
tribes/atlanteans/guardhall/conf (+2/-2)
tribes/atlanteans/guardhouse/conf (+1/-1)
tribes/atlanteans/high_tower/conf (+1/-1)
tribes/atlanteans/horsefarm/conf (+2/-2)
tribes/atlanteans/hunters_house/conf (+1/-1)
tribes/atlanteans/ironmine/conf (+2/-2)
tribes/atlanteans/labyrinth/conf (+2/-2)
tribes/atlanteans/log/conf (+10/-0)
tribes/atlanteans/mill/conf (+2/-2)
tribes/atlanteans/port/conf (+2/-2)
tribes/atlanteans/quarry/conf (+2/-2)
tribes/atlanteans/sawmill/conf (+4/-4)
tribes/atlanteans/scouts_house/conf (+2/-2)
tribes/atlanteans/scripting/sc00_headquarters_medium.lua (+3/-3)
tribes/atlanteans/scripting/sc01_castle_village.lua (+5/-5)
tribes/atlanteans/shipconstruction/conf (+1/-1)
tribes/atlanteans/shipyard/conf (+3/-3)
tribes/atlanteans/small_tower/conf (+1/-1)
tribes/atlanteans/smelting_works/conf (+1/-1)
tribes/atlanteans/smokery/conf (+7/-7)
tribes/atlanteans/spiderfarm/conf (+1/-1)
tribes/atlanteans/toolsmithy/conf (+19/-19)
tribes/atlanteans/tower/conf (+2/-2)
tribes/atlanteans/trunk/conf (+0/-10)
tribes/atlanteans/warehouse/conf (+2/-2)
tribes/atlanteans/weaponsmithy/conf (+2/-2)
tribes/atlanteans/weaving-mill/conf (+2/-2)
tribes/atlanteans/well/conf (+2/-2)
tribes/atlanteans/woodcutter/conf (+1/-1)
tribes/atlanteans/woodcutters_house/conf (+4/-4)
tribes/barbarians/axfactory/conf (+23/-23)
tribes/barbarians/axfactory/help.lua (+9/-9)
tribes/barbarians/baker/conf (+1/-1)
tribes/barbarians/bakery/conf (+2/-2)
tribes/barbarians/bakery/help.lua (+4/-4)
tribes/barbarians/bakingtray/conf (+0/-5)
tribes/barbarians/battlearena/conf (+2/-2)
tribes/barbarians/battlearena/help.lua (+2/-2)
tribes/barbarians/big_inn/conf (+1/-1)
tribes/barbarians/bread_paddle/conf (+5/-0)
tribes/barbarians/brewery/conf (+2/-2)
tribes/barbarians/burners_house/conf (+5/-5)
tribes/barbarians/cattlefarm/conf (+1/-1)
tribes/barbarians/cattlefarm/help.lua (+1/-1)
tribes/barbarians/citadel/conf (+2/-2)
tribes/barbarians/coalmine/conf (+2/-2)
tribes/barbarians/coalmine/help.lua (+3/-3)
tribes/barbarians/conf (+17/-17)
tribes/barbarians/constructionsite/conf (+1/-1)
tribes/barbarians/deep_coalmine/conf (+2/-2)
tribes/barbarians/deep_coalmine/help.lua (+4/-4)
tribes/barbarians/deep_goldmine/conf (+5/-5)
tribes/barbarians/deep_goldmine/help.lua (+6/-6)
tribes/barbarians/deep_oremine/conf (+2/-2)
tribes/barbarians/deep_oremine/help.lua (+3/-3)
tribes/barbarians/deeper_coalmine/conf (+2/-2)
tribes/barbarians/deeper_coalmine/help.lua (+4/-4)
tribes/barbarians/deeper_goldmine/conf (+5/-5)
tribes/barbarians/deeper_goldmine/help.lua (+6/-6)
tribes/barbarians/deeper_oremine/conf (+2/-2)
tribes/barbarians/deeper_oremine/help.lua (+3/-3)
tribes/barbarians/donjon/conf (+1/-1)
tribes/barbarians/farm/conf (+2/-2)
tribes/barbarians/farm/help.lua (+2/-2)
tribes/barbarians/ferner/conf (+0/-53)
tribes/barbarians/fernery/conf (+0/-38)
tribes/barbarians/fernery/help.lua (+0/-48)
tribes/barbarians/fishers_hut/conf (+2/-2)
tribes/barbarians/fishers_hut/help.lua (+3/-3)
tribes/barbarians/fortress/conf (+2/-2)
tribes/barbarians/gamekeepers_hut/conf (+2/-2)
tribes/barbarians/gamekeepers_hut/help.lua (+2/-2)
tribes/barbarians/gardener/conf (+53/-0)
tribes/barbarians/goldmine/conf (+4/-4)
tribes/barbarians/goldmine/help.lua (+5/-5)
tribes/barbarians/goldore/conf (+0/-4)
tribes/barbarians/granitemine/conf (+2/-2)
tribes/barbarians/granitemine/help.lua (+2/-2)
tribes/barbarians/hardener/conf (+4/-4)
tribes/barbarians/helmsmithy/conf (+8/-8)
tribes/barbarians/hunters_hut/conf (+2/-2)
tribes/barbarians/hunters_hut/help.lua (+3/-3)
tribes/barbarians/inn/conf (+2/-2)
tribes/barbarians/lime_kiln/conf (+2/-2)
tribes/barbarians/lime_kiln/help.lua (+3/-3)
tribes/barbarians/log/conf (+12/-0)
tribes/barbarians/lumberjack/conf (+2/-2)
tribes/barbarians/lumberjacks_hut/conf (+4/-4)
tribes/barbarians/lumberjacks_hut/help.lua (+9/-9)
tribes/barbarians/metalworks/conf (+25/-25)
tribes/barbarians/metalworks/help.lua (+9/-9)
tribes/barbarians/micro-brewery/conf (+2/-2)
tribes/barbarians/micro-brewery/help.lua (+2/-2)
tribes/barbarians/oremine/conf (+2/-2)
tribes/barbarians/oremine/help.lua (+2/-2)
tribes/barbarians/port/conf (+2/-2)
tribes/barbarians/quarry/conf (+2/-2)
tribes/barbarians/quarry/help.lua (+2/-2)
tribes/barbarians/rangers_hut/conf (+3/-3)
tribes/barbarians/rangers_hut/help.lua (+2/-2)
tribes/barbarians/reed_yard/conf (+38/-0)
tribes/barbarians/reed_yard/help.lua (+48/-0)
tribes/barbarians/scouts_hut/conf (+2/-2)
tribes/barbarians/scripting/sc00_headquarters_medium.lua (+5/-5)
tribes/barbarians/scripting/sc01_citadel_village.lua (+8/-8)
tribes/barbarians/shipconstruction/conf (+1/-1)
tribes/barbarians/shipyard/conf (+3/-3)
tribes/barbarians/smelting_works/conf (+4/-4)
tribes/barbarians/soldier/conf (+1/-1)
tribes/barbarians/tavern/conf (+2/-2)
tribes/barbarians/trainingcamp/conf (+17/-17)
tribes/barbarians/trainingcamp/help.lua (+8/-8)
tribes/barbarians/trunk/conf (+0/-12)
tribes/barbarians/warehouse/conf (+2/-2)
tribes/barbarians/warmill/conf (+50/-50)
tribes/barbarians/warmill/help.lua (+7/-7)
tribes/barbarians/weaving-mill/conf (+2/-2)
tribes/barbarians/well/conf (+2/-2)
tribes/barbarians/well/help.lua (+2/-2)
tribes/empire/arena/conf (+2/-2)
tribes/empire/armorsmithy/conf (+20/-20)
tribes/empire/baker/conf (+1/-1)
tribes/empire/bakery/conf (+1/-1)
tribes/empire/bakingtray/conf (+0/-5)
tribes/empire/barracks/conf (+1/-1)
tribes/empire/barrier/conf (+3/-3)
tribes/empire/bread_paddle/conf (+5/-0)
tribes/empire/brewery/conf (+1/-1)
tribes/empire/burners_house/conf (+5/-5)
tribes/empire/coalmine/conf (+2/-2)
tribes/empire/conf (+12/-12)
tribes/empire/constructionsite/conf (+1/-1)
tribes/empire/deep_coalmine/conf (+3/-3)
tribes/empire/deep_goldmine/conf (+7/-7)
tribes/empire/deep_marblemine/conf (+2/-2)
tribes/empire/deep_oremine/conf (+2/-2)
tribes/empire/donkeyfarm/conf (+2/-2)
tribes/empire/fishers_house/conf (+1/-1)
tribes/empire/foresters_house/conf (+2/-2)
tribes/empire/fortress/conf (+2/-2)
tribes/empire/goldmine/conf (+8/-8)
tribes/empire/hunters_house/conf (+1/-1)
tribes/empire/log/conf (+9/-0)
tribes/empire/lumberjack/conf (+2/-2)
tribes/empire/lumberjacks_house/conf (+4/-4)
tribes/empire/marblemine/conf (+2/-2)
tribes/empire/mill/conf (+2/-2)
tribes/empire/oremine/conf (+3/-3)
tribes/empire/outpost/conf (+1/-1)
tribes/empire/piggery/conf (+2/-2)
tribes/empire/port/conf (+2/-2)
tribes/empire/quarry/conf (+2/-2)
tribes/empire/sawmill/conf (+4/-4)
tribes/empire/scouts_house/conf (+2/-2)
tribes/empire/scripting/sc00_headquarters_medium.lua (+4/-4)
tribes/empire/scripting/sc01_castle_village.lua (+6/-6)
tribes/empire/sentry/conf (+1/-1)
tribes/empire/sheepfarm/conf (+2/-2)
tribes/empire/shipconstruction/conf (+1/-1)
tribes/empire/shipyard/conf (+3/-3)
tribes/empire/smelting_works/conf (+3/-3)
tribes/empire/stonemasons_house/conf (+1/-1)
tribes/empire/toolsmithy/conf (+26/-26)
tribes/empire/tower/conf (+1/-1)
tribes/empire/trainingcamp/conf (+8/-8)
tribes/empire/trunk/conf (+0/-9)
tribes/empire/warehouse/conf (+1/-1)
tribes/empire/weaponsmithy/conf (+2/-2)
tribes/empire/weaving-mill/conf (+2/-2)
tribes/empire/well/conf (+2/-2)
tribes/empire/wood/conf (+2/-2)
Changed in widelands: | |
status: | In Progress → Fix Committed |
Changed in widelands: | |
assignee: | GunChleoc (gunchleoc) → nobody |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I did a grep for "ferner" and "trunk" to see how widespread the changes would be. The following files will need to be changed:
CONTENT
- campaign scripts
- map definitions and scripts
- tribes' scripting for headquarters_medium and citadel_village
- tribe's conf and help files
PROGRAMMING expedition. wmf lua_testsuite. wmf
- src/ai/defaultai.cc
- src/ai/ai_hints.cc
- src/logic/legacy.cc
- test/maps/
- test/maps/
DOCUMENTATION source/ introduction. rst
- doc/sphinx/
I could handle all those, except for src/logic/legacy.cc where I don't know what the implications are - do I rename or not?
The current terminology changes are documented on the forum:
https:/ /wl.widelands. org/forum/ topic/1449/ ?page=3# post-10600
But there are also older changes (e.g. bakingtray -> bread paddle) that we will need to take care of.